I'm trying to find a way (in screen coordinates) to get the entire graphing area.
What i'm doing right now is innefficient: get all all yMin and yMax of all y axis, convert to screen coordinates, and find the lowest and highest values (and do the same for X axes).
Is there a better way?
viewxy - get screen coordinates of graphing area
Moderator: Queue Moderators
-
- Posts: 183
- Joined: Tue Mar 18, 2014 2:55 pm
- ArctionPasi
- Posts: 1367
- Joined: Tue Mar 26, 2013 10:57 pm
- Location: Finland
- Contact:
Re: viewxy - get screen coordinates of graphing area
Yes. Use ViewXY.GetMarginsRect().
Segments info can be read by ViewXY.GetGraphSegmentInfo(), that reveals top and bottom of each segment.
Segments info can be read by ViewXY.GetGraphSegmentInfo(), that reveals top and bottom of each segment.
LightningChart Support Team, PT