Ranges annotation

A forum dedicated to WPF version of LightningChart Ultimate.

Moderator: Queue Moderators

Post Reply
vifani
Posts: 49
Joined: Thu May 02, 2013 8:35 am

Ranges annotation

Post by vifani » Wed Oct 01, 2014 9:43 am

Hi,
Is there a simple way to draw a range on x axis with mouse and display an annotation with the value of the selected range?
Is possible to add markers where the range edges intersect the series too?

Thank you

User avatar
ArctionPasi
Posts: 1367
Joined: Tue Mar 26, 2013 10:57 pm
Location: Finland
Contact:

Re: Ranges annotation

Post by ArctionPasi » Wed Oct 01, 2014 3:11 pm

To draw a range, use a Band. In band.ValuesChanged event handler, update the annotation.

To put markers on the range edges, again use the band.ValuesChanged event handler and use pointLineSeries.SolveNearestDataPointByValue and set that to marker's X value.

Something like that...
LightningChart Support Team, PT

Post Reply