Draw series by mouse click

Oystein Bjorke 4 years ago 0
This discussion was imported from CodePlex

liuzu wrote at 2012-11-08 05:35:

I am afraid that just write with poor English.

I want to draw a series by the mouse left button click.

1)       Mouse left click to get the Point form the chart and the Point’s value is relation with x,y axes that don’t relation with screen point.

2)       Add the getting Point to the series ‘s DataPoint


So,how can I get the point that value relation with x,y axes from the chart?


Best Regards.

objo wrote at 2012-11-08 06:12:

see the "Mouse events > LineSeries and PlotModel MouseDown event" example in the example browser, I think that one does exactly what you need.

liuzu wrote at 2012-11-08 06:27:

I appreciate your help very much. objo