Limit constant lines

A forum dedicated to WinForms version of LightningChart Ultimate.

Moderator: Queue Moderators

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

Limit constant lines

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

Hi,

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.

Thanks

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

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
ConstantLine.png (42.78 KiB) Viewed 9173 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

Post Reply