04-06-2020 10:26 AM
Hi,
I'm working with create annotations and comments for the graph.
User point to the graph points (X- timestamp, Y-value) and create annotation and comments & save those info so next run, it will load the info to the graph if the file selected.
There's 2 problems facing here:
1. When mouse goto the graph point, the Time string follow the mouse pointer will display the timestamp & value, however if try to goto graph palette to zoom in the graph, the Time string seem cover the palette. Any idea or suggestion?
2. How to create & save the annotations and comments? any link or example i can refer to.
Thanks,
Simon
04-06-2020 01:43 PM
Hi Simon,
@SimonChin wrote:
1. When mouse goto the graph point, the Time string follow the mouse pointer will display the timestamp & value, however if try to goto graph palette to zoom in the graph, the Time string seem cover the palette. Any idea or suggestion?
2. How to create & save the annotations and comments? any link or example i can refer to.
1. You need to detect when the mouse cursor leave the plot area: check for mouse position vs. graph plot area size!
2. Look for the exaple VIs in the example finder. There is atleast one example explaining how to use graph annotations!
04-11-2020 08:51 AM
Hi GerdW,
Thanks for suggestion.
I have a question about the attach vi.
When i try to create annotations from the xy-graph, it never appear @ event structure "XY graph: Annotation menu selection (Item Tag or Item path), so i need to create event structure xy-graph:shortcut menu selection (app) item path.
What is the different between both?
thanks,
Simon