SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and now iOS Charting & Android Chart Components

1
0

I would like to synchronise the alignment/zooming of a proprietary control displaying a schematic with a SciChartSurface axis range. What events/properties should I be looking at?
My attempt so far involves determining the visible range of the SciChart axis and its limits in pixels. I’ve seen there are events for AxisAlignmentChanged, SizedChanged, VisibleRangeChanged but these do not help if, for example, a legend is made visible to the right of the chart. I’m guessing I need an event for a change in the ModifierSurface size/position.

  • You must to post comments
1
0

Hi Yuriy,

the event I failed to look at was SciChartSurface.Rendered. No that I have hooked into this, I can detect a change in the charting area when the legend is displayed.

Thanks for helping with this.

Simon

  • You must to post comments
0
0

Hi Simon,

Thanks for your question. May I ask you to clarify your intentions with a couple of screenshots? From what I understood, the SizedChanged event of SciChartSurface should suit your needs perfectly.

If you want to access the main container of SciChartSurface, there is the property called RootGrid which returns an object of type MainGrid. You could try to use it for your purposes.

Please let us know if this helps,

Best regards,
Yuriy

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.