Pre loader

Synchronous positioning of Y-Axis of multiple charts.

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

Answered
1
0

Hello,

I have several simple SciChartSurfaces in my WPF-grid. They are in the same WPF-column but in different WPF-rows, so they are arranged in a vertical manner.

I have noticed that the Y-Axis (a NumericAxis-objcet) moves automatically slightly to the left to make room for the numbers on the Y-Axis, if necessary.

I would like to ask if there is a way to “synchronize” the position of several similar Charts (or their Y-Axis´s, respectively.), so the different Y-Axis´s would always be in the same position. Ideally, the Y-Axis´s of all the Charts would move as far to the left as necessary to make room for the longest number of all the Axis´s.

I have attached an example of my current situation and the solution I would ideally like to achieve.

Is there any way to “connect” the different Axis of the charts to create the desired result?

Thank you.

Version
v6.6.0.26505
Images
  • You must to post comments
Best Answer
0
0

Hi Marc

Easy question & answer – this has been asked before

Synchronize YAxis Size with Vertically Aligned Charts

The API hasn’t changed for this in 10 years if you can believe it!

Let me know if this helps

Best regards
Andrew

  • You must to post comments
0
0

Thank you Andrew, works perfectly,

I used “SciChartGroup.SetVerticalChartGroup()” to sort all the SciChartSurfaces in the right vertical groups and now they are perfectly synchronized.

  • 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