SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and now iOS Charting & Android Chart Components
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.
I am trying to keep stacked charts the same with, however when the Y-Axis values contain a decimal point the grid background width scales automatically therefore causing the edge of stacked charts to be mis aligned. I have attached an image to demonstrate. How can I work around this.
Two ways you can do this – you can set an explicit Width, or MaxWidth on the Y-Axes, or alternatively you can use the attached property SciChartGroup.VerticalChartGroup which will lock the sizes of Y-Axes to the same width.
<!-- A first vertically aligned chart --> <s:SciChartSurface x:Name="chart0" s:SciChartGroup.VerticalChartGroup="myGroup"> <!-- RenderableSeries, DataSet, XAxis omitted for brevity --> </s:SciChartSurface> <!-- A second vertically aligned chart --> <s:SciChartSurface x:Name="chart1" s:SciChartGroup.VerticalChartGroup="myGroup"> <!-- RenderableSeries, DataSet, XAxis omitted for brevity --> </s:SciChartSurface>
Please login first to submit.