Group: Forum Members
Last Active: Last Week
Posts: 3,054,
Visits: 4,009
|
Hi Randy, Most likely you need to implement a line that shows a relative position on the chart rather than a fixed scale position which is what the axis cursor points at. If this is the case you need to adjust the cursor value from code when you add new data (so that it retains it relative position on the chart if you add new data on the right).
Best Regards, Nevron Support Team
|
Group: Forum Members
Last Active: 11 Years Ago
Posts: 3,
Visits: 1
|
I put up a topic a couple hours ago about trying to create a Data Cursor tool. After deleting every line of code I had and re-wrote it, it started working which is great! But after that I realized that because I am doing real time data I can not let the vertical line move with the grid. What I am looking for is when the user moves the cursor over the chart it shows a vertical line (already expected behavior), than once the mouse stops moving that vertical line needs to stay in the same place and NOT move with the chart.
Meanwhile whenever this vertical line is shown on the chart, I want to be able to create labels for the current y Value for each line intersecting the vertical line.
I am not asking for the code but just a nudge in the right direction, or just curious if this is even possible. I know that I can do it without the "vertical line" that comes with the Data Cursor tool, using the mouse position, but that vertical line is essential for the user to know where they are pointing at.
Thank you in advance for your time.
|