Page 1 of 1

Limit constant lines

Posted: Thu Aug 25, 2016 2:37 pm
by jorge
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

Re: Limit constant lines

Posted: Thu Aug 25, 2016 5:00 pm
by ArctionPasi
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 9312 times
If you need to show e.g. from X = 5 to 10, you can use e.g. LineCollections for them. Or another PointLineSeries.