09-20-2012 02:27 AM
Hi,
I am using a waveform graph with multiple Y axis. As I am using only one cursor, Is it possible that when ever I move my cursor it displays x,y positions of all the plots on the waveform graph.
Regards,
Naureen.
09-20-2012 11:44 AM
Hi Naureen,
The MultiPlotCursor will display data across all of your plots that share a common axis. So if you have multiple y-axes that share a single x-axis, binding or setting MultiPlotCursor.HorizontalAxis to that x-axis will give you a vertical cursor that displays data across all of those plots, at least when they share x-values.
-Aaron
09-21-2012 07:01 AM
Hello,
Please can I have some code sample in C#.
Regards,
Naureen.
09-21-2012 10:59 AM
Hey Naureen,
I realized you are likely talking about Windows Forms controls, while I was referring to the WPF graph. Unfortunately, my expertise is on WPF, not Winows Forms, so someone else will have to respond to your question.
09-21-2012 11:30 AM
Hi Naureen,
Unfortunately, the cursor in Windows Forms is bound to only 1 plot. However, you can write your own custom methods to draw the cursor. In this forum post here, Vijet provides some sample code on how to do this.