hi
I have 1 chart with 3 sampledataseries. I have 3 Y-axis. So my chart has 3 stacked graphics.
I want to know where I can get each graphic location coordinates (x,y, width,height).
Each series has a IsMouseOver property.
ViewXY has a IsMouseOverGraphArea.
But where is this property for each graphic in my chart ?
thanks
graph area
Moderator: Queue Moderators
- ArctionPasi
- Posts: 1367
- Joined: Tue Mar 26, 2013 10:57 pm
- Location: Finland
- Contact:
Re: graph area
Hi,
the stack segments have equal height. ViewXY.GetGraphSegmentInfo() returns the first segment top, segment count, segment shift and segment height.
When a stacked view is selected, you adjust the vertical space between graph segments by using ViewXY.AxisLayout.StackedYAxesGap property. If there’s a myriad of Y axes defined, you should enable ViewXY.AxisLayout.AutoShrinkYAxesGap property, for automatically decrease the gaps. By doing so, every Y axis gets at least some vertical space to be drawn. Use ViewXY.GetGraphSegmentInfo() method to find out where the graph segment borders are, if you need to have segment specific user interface logic.
the stack segments have equal height. ViewXY.GetGraphSegmentInfo() returns the first segment top, segment count, segment shift and segment height.
When a stacked view is selected, you adjust the vertical space between graph segments by using ViewXY.AxisLayout.StackedYAxesGap property. If there’s a myriad of Y axes defined, you should enable ViewXY.AxisLayout.AutoShrinkYAxesGap property, for automatically decrease the gaps. By doing so, every Y axis gets at least some vertical space to be drawn. Use ViewXY.GetGraphSegmentInfo() method to find out where the graph segment borders are, if you need to have segment specific user interface logic.
LightningChart Support Team, PT