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.

0
0

I noticed that the width of the bars is not consistent. This is the XAML:

<Abt:SciChartSurface Margin="2,117,0,0" SeriesSource="{Binding LoadChartSeries}" Grid.Column="1">
<Abt:SciChartSurface.ChartModifier>
<Abt:ModifierGroup>
<Abt:CursorModifier ShowTooltip="True" ShowAxisLabels="True" IsEnabled="True" />
</Abt:ModifierGroup>
</Abt:SciChartSurface.ChartModifier>

&lt;Abt:SciChartSurface.XAxis&gt;
    &lt;Abt:NumericAxis DrawMinorTicks=&quot;False&quot; DrawMinorGridLines=&quot;False&quot; AutoRange=&quot;Always&quot; AxisTitle=&quot;Load&quot; /&gt;
&lt;/Abt:SciChartSurface.XAxis&gt;
&lt;Abt:SciChartSurface.YAxis&gt;
    &lt;Abt:NumericAxis DrawMinorTicks=&quot;False&quot; DrawMinorGridLines=&quot;False&quot; AutoRange=&quot;Always&quot; AxisTitle=&quot;Occurances&quot;/&gt;
&lt;/Abt:SciChartSurface.YAxis&gt;

</Abt:SciChartSurface>

How do I get the bars to all be the same size?

  • You must to post comments
0
0

Hi there,

Thanks for getting in touch.

The thing is that FastColumnRenderableSeries Class expects datapoints to be evenly spaced. Therefore, to make things works the way you want you should set UseUniformWidth property as True.
In addition you may set DataPointWidth Property in order to control spacing between the columns.

Let us know if this helps or if we could be of more help.

All the best,
Olya

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.