Limit constant lines

A forum dedicated to WinForms version of LightningChart Ultimate.

Moderator: Arction_LasseP

Posts: 20
Joined: Tue Jun 28, 2016 7:54 am

Limit constant lines

Post by jorge » Thu Aug 25, 2016 2:37 pm


If I add a ConstantLine, it is rendered as an infinite line. Is it possible to limit these lines? For example to be only rendered on a X axis range.


User avatar
Posts: 1366
Joined: Tue Mar 26, 2013 10:57 pm
Location: Finland

Re: Limit constant lines

Post by ArctionPasi » Thu Aug 25, 2016 5:00 pm

Hi Jorge,

The Constant lines always go from left edge to right edge of the chart area:
ConstantLine.png (42.78 KiB) Viewed 5831 times
If you need to show e.g. from X = 5 to 10, you can use e.g. LineCollections for them. Or another PointLineSeries.
LightningChart Support Team, PT