SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and iOS Chart & Android Chart Components
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.
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,
Please login first to submit.