You will have to superimposed two plots on the graph; one with all points
and the other with only the commented points keeping their value, other
points assigned a NaN value (that is not plotted). The second plot does not
need interpolation and can have a larger point style or a different color.
For user selection you create a cursor that locks to the "commented" plot.
Read the cursor position to retrieve the point and show its comment. Either
you always show the comment associated to the cursor point or have an other
boolean that the user clicks when the comment is needed. In LabVIEW you
cannot easyly
know when the user has clicked on a graph.
Hope this helps
--
Jean-Pierre Drolet
Scientech R&D inc
Trois-Rivieres-Ouest (Quebec)
CANADA G8Z 4H1
Dave Johnson
a écrit dans le message :
3905e836@newsgroups.ni.com...
>
> Sorry for the general post. Searching wasn't getting me anywhere. Has
anyone
> ever found a good way to highlight a single point on a graph? In my case,
> I would like to highlight datapoints which have a comment associated with
> them. When a user clicks on that point on the graph, the comment pops up.
> It sounds simple anyway. Various attribute node attempts haven't gotten
> me anywhere.
>
> Thanks for the help
> Dave