Pre loader

Reacting to changes in chart range and pixel location

Welcome to the SciChart Forums!

  • Please read our Question Asking Guidelines for how to format a good question
  • Some reputation is required to post answers. Get up-voted to avoid the spam filter!
  • We welcome community answers and upvotes. Every Q&A improves SciChart for everyone

WPF Forums | JavaScript Forums | Android Forums | iOS Forums

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.

Try SciChart Today

Start a trial and discover why we are the choice
of demanding developers worldwide

Start TrialCase Studies