UI Automation around Markers
Moderator: Queue Moderators
UI Automation around Markers
Is it possible to have UI automation support around markers, such as identifying their location, accessing tool tip information, etc?
-
- Posts: 557
- Joined: Mon Mar 14, 2016 9:22 am
Re: UI Automation around Markers
EventMarkers (as any other LightningChart item) have event handlers for mouse actions. Those include mouse hover (MouseOverOn, MouseOverOff), click etc. There is also PositionChange event, which is raised then Marker is moved by mouse or value(s) changed.
It should not be difficult to create desired behavior with those event handlers. For example, read mouse coordinates from input arguments or mouse cursor position, show ToolTip as another Annotation or Marker's Label. Please check our Demo App group of examples under XY -> Cursor tracking, as they are using that logic.
Hope this helps.
All the best.
It should not be difficult to create desired behavior with those event handlers. For example, read mouse coordinates from input arguments or mouse cursor position, show ToolTip as another Annotation or Marker's Label. Please check our Demo App group of examples under XY -> Cursor tracking, as they are using that logic.
Hope this helps.
All the best.
Re: UI Automation around Markers
Is there a tutorial on this that someone can point me to? Cheers.
Last edited by TobyNi on Thu Oct 06, 2022 1:33 pm, edited 3 times in total.
-
- Posts: 557
- Joined: Mon Mar 14, 2016 9:22 am
Re: UI Automation around Markers
There is Demo App, which contains a lot of examples. Each example has the source code, which you can reuse. Start from there.
If you have valid LightningChart subscription, write your ID to Support email account and we will help you with proof of concept example.
If you have valid LightningChart subscription, write your ID to Support email account and we will help you with proof of concept example.