tags:

views:

24

answers:

1

do you know whether it is possible to select a point and simply delete it off the graph so that the image can be saved without that point?

+1  A: 

You probably can do it in this way:
Subscribe for the MouseClick event, find the nearest point and delete it.

Here you can find an example how to subscribe for event in ZedGraph: http://zedgraph.org/wiki/index.php?title=Edit_Points_by_Dragging_the_Mouse

You will need to use FindNearestPoint method to find clicked point. this method will return you the CurveItem and ID of the clicked point. You can delete it just by using the RemovePoint method of the CurveItem object.

Just remember, that after every change you need to call Invalidate or Refresh method of your control to refresh the chart.

Gacek
@gacek: you deserve at least 1000 extra point for this
i am a girl
Glad it helped :)
Gacek