04-25-2007 02:08 PM
05-01-2007 10:34 AM
05-06-2007 08:11 PM
That's what the cursors are for. Just show the cursor legend, and add a cursor (you probably want "single plot" for type) to your graph. With the graph palette visible, clicking on the first icon will allow you to move the cursor on the plot and the values will be displayed in the cursor legend box.
To do a popup like a tip strip, which is what you seem to be suggesting by your picture would require your own code, and that, to me, doesn't seem to have much value added given the existence of the cursors.
Thank you in advance .
Could you give me a simple sample ?
05-06-2007 08:43 PM
Charts don't have cursors and they also don't have the "plot images" options, so your tools are limited.
Of course you can simulate a chart using a graph by keeping your own history and display it on a graph. Use cursor move events to trigger the calculation of the distances from the new cursor position to all points on the graph and pick the one with the shortest distance to the cursor. Now you can get the annotation tools to label the point, or get its x and y value and write the info using picture tools with the "plot images" property.