Several Independant cursorCoordinateGraphs on one plotter

Oct 14, 2011 at 8:34 AM

Is it possible to create such model?

Oct 14, 2011 at 8:59 AM


This is possible. Try this,  this works for me.

CursorCoordinateGraph cursorCoordinateGraph = new CursorCoordinateGraph();
CursorCoordinateGraph cursorCoordinateGraph1 = new CursorCoordinateGraph();
public MainWindow()
            this.plotter.MouseMove += new MouseEventHandler(plotter_MouseMove);
void plotter_MouseMove(object sender, MouseEventArgs e)
            //cursorCoordinateGraph.Position = new Point(e.GetPosition(cursorCoordinateGraph).X + 10.0d, e.GetPosition(cursorCoordinateGraph).Y + 10.0d);
            cursorCoordinateGraph1.Position = new Point(e.GetPosition(cursorCoordinateGraph1).X + 50.0d, e.GetPosition(cursorCoordinateGraph1).Y + 50.0d);

You have to control visibility of cursorcoordinate lines and position.




Oct 14, 2011 at 9:23 AM
Edited Oct 14, 2011 at 1:19 PM

Thank you very much. I will try to use this technique.


I have seen different discussions about CursorCoordinateGraph and still have not realized how to make such thing that on the instercest point of ccg and linegraph I will get a textblock with intersect coordinates 

how can I set those textblock near intersect point? 

May be the way to achive this is to use datafollowchart ?


I made it =)

I wish I knew xaml  deeper))