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

Welcome to the SciChart Community Forums!

Please use the forums below to ask questions about SciChart. Take a moment to read our Question asking guidelines on how to ask a good question and our support policy. We also have a tag=SciChart on Stackoverflow.com where you can earn rep for your questions!

Please note: SciChart team will only answer questions from customers with active support subscriptions. Expired support questions will be ignored. If your support status shows incorrectly, contact us and we will be glad to help.

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.