SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, iOS Chart, Android Chart and JavaScript Chart Components
We have 2 graph surfaces with 2 Y axes on each side, but the label formatting of the axes is different. That makes the axes widths different and therefore both the graphs appear as they have different widths. Is there a way to make the axis widths fixed so the graphs can be the same size?
Hello Lazar,
Please take a look at our Xamarin Multi-Pane Stock Charts example, which showcase how to use SCIAxisAreaSizeSynchronization class, to sync axes area size.
EDIT:
Also, you can force axis to has predefined size despite the layout process. To do so, please use properties on sciChart surface as below;
surface.leftAxisAreaForcedSize = 100;
surface.topAxisAreaForcedSize = 100;
surface.rightAxisAreaForcedSize = 100;
surface.bottomAxisAreaForcedSize = 100;
Hope that helps.
Best Regards,
Nazar R.
Please login first to submit.