07-06-2025 03:26 AM
Hi all,
I'd like to show the legend label dynamically when moving the mouse over a curve.
I’ve already set the Node property of the graph legend label, but it doesn’t achieve the effect I want.
Does anyone have tips on how to solve this? For example, something similar to how Excel shows information dynamically when you hover over a data point.
07-06-2025 08:46 AM - edited 07-06-2025 08:52 AM
If you spin the loop and update the graph millions of times per second, it is difficult to move over any specific curve. What you are trying to do has nothing to do with the plot legend and your properties are already set and retained between sessions. No need to set them with every run. One of your signals has an amplitude of zero, what's the point?
You can work with mouse-move events, annotations and maybe plotimages overlay. What have you tried?.
07-08-2025 06:42 AM
Thank you for your comments.
It's just a demo, don't mind the amplitude value, I just wanted to know how to hover the mouse to show the plot legend.
Finally, I achieved this using a mouse move event that displays the legend.