getgraphsegmentinfo

A forum dedicated to WinForms version of LightningChart Ultimate.

Moderator: Queue Moderators

Post Reply
fredd41
Posts: 113
Joined: Fri Sep 05, 2014 6:46 pm

getgraphsegmentinfo

Post by fredd41 » Wed Dec 10, 2014 9:53 pm

hi

very good job for your segmented view, very easy to implement.

but the getgraphsegmentinfo function doesn't return the good information when the layout is set to segmented

example :

Chart.ViewXY.AxisLayout.Segments.Count = 2
Chart.ViewXY.GetGraphSegmentInfo.SegmentCount = 1

it would be nice if you can adjust the second function if you have a segmented view.
otherwise, we must add a lot of "if" to check the layout.
Or you can combine both functions into one function.


and how you can get the segment height (in pixel) ?
like chart.ViewXY.GetGraphSegmentInfo.SegmentHeight

because chart.ViewXY.AxisLayout.Segments(i).height return always 1

thanks

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

Re: getgraphsegmentinfo

Post by ArctionPasi » Wed Dec 10, 2014 9:54 pm

There's a fix coming in v.6.3.2 on Friday. It will tell all segment tops and bottoms in pixels.
LightningChart Support Team, PT

Post Reply