UI Automation around Markers

A forum dedicated to WPF version of LightningChart Ultimate.

Moderator: Arction_LasseP

zzoubian
Posts: 3
Joined: Wed May 16, 2018 3:17 pm

UI Automation around Markers

Post by zzoubian » Fri Oct 19, 2018 3:53 pm

Is it possible to have UI automation support around markers, such as identifying their location, accessing tool tip information, etc?

ArctionKestutis
Posts: 383
Joined: Mon Mar 14, 2016 9:22 am

Re: UI Automation around Markers

Post by ArctionKestutis » Mon Oct 22, 2018 9:52 am

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.

TobyNi
Posts: 1
Joined: Wed Oct 24, 2018 9:08 am

Re: UI Automation around Markers

Post by TobyNi » Wed Oct 31, 2018 12:22 pm

Is there a tutorial on this that someone can point me to? Cheers.

ArctionKestutis
Posts: 383
Joined: Mon Mar 14, 2016 9:22 am

Re: UI Automation around Markers

Post by ArctionKestutis » Wed Oct 31, 2018 3:23 pm

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.