Vertical constant lines

Need a new feature to LightningChart Ultimate? Post it here and perhaps it will be implemented in the next version...

Vertical constant lines

Postby jrvdboom » Thu Aug 28, 2014 8:58 am

I would like to have a vertical ConstantLine, with a property like Band.Binding to determine if it should be a horizontal or vertical line.

(I know I could misuse a Cursor to get a vertical constant line, but I like to keep it simple!)

Posts: 61
Joined: Thu Apr 10, 2014 1:50 pm

Re: Vertical constant lines

Postby 0uss » Tue May 31, 2016 2:15 pm


I'm interested in the same thing. Did you find a solution to your problem?
I would like to use a simple ConstantLine with some text and no need for all the cursors features in my application.

Thank you.
Posts: 16
Joined: Mon Apr 18, 2016 5:05 pm

Re: Vertical constant lines

Postby jrvdboom » Wed Jun 01, 2016 7:28 am

No, still using a LineSeriesCursor as a workaround.
Posts: 61
Joined: Thu Apr 10, 2014 1:50 pm

Re: Vertical constant lines

Postby ArctionNitin » Fri Aug 03, 2018 3:05 pm


You can create a LineCollection with 1 SegmentLine in it.

Vertical line at x= 1 from y= 1 to y = 5
LineCollection lineCollection = new LineCollection();
SegmentLine[] segmentLines = new SegmentLine[1];
SegmentLine segmentLine = new SegmentLine();
segmentLine.AX = 1;
segmentLine.BX = 1;
segmentLine.AY = 1;
segmentLine.BY = 5;
segmentLines[0] = segmentLine;
lineCollection.Lines = segmentLines;

To add more lines, just add more SegmentLine's in the LineCollection.

Let me know if the requirement was different.

Nitin Shrivastava
Posts: 3
Joined: Fri Aug 03, 2018 1:18 pm

Return to LightningChart Feature Requests

Who is online

Users browsing this forum: No registered users and 1 guest