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

0
0

Hi, if I have multiple graphs stacking on top of one another, is there any way for me to align them by the Y axis on the left?

I noticed that padding is applied to the most outer edge drawn item, so in many cases that would be the label, not the axis.

Version
2.2.2.2459
Images
  • You must to post comments
0
0

Hi Sen Li,

Have you tried to use SciChartVerticalGroup class like we do in Multipane Stock Charts example?

You’ll need to define group somewhere in your code:

private final SciChartVerticalGroup verticalGroup = new SciChartVerticalGroup();

and then add SciChartSurfaces which you stack in this group to align them:

verticalGroup.addSurfaceToGroup(surface);

Hope this will help you!

Best regards,
Yura

  • Sen Lin
    This doesn’t allow me to add my custom views, right? which means I have to add all my custom actions within each surface?
  • Yura Khariton
    I’m not sure that I understand what you mean. Can you explain?
  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.