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


Hi everyone,

When I ‘m working with column graph, I want to display the column with the same distance

enter image description here

But I don’t know how to do it?
Does anybody could help me?

Thanks in advance.

  • You must to post comments
Best Answer

Hi Quan,

I’m assuming your data has X-values 1,3, 4, 6, 8, 12, 13, 15 right?

If so, this is expected behaviour for a Value-axis, which uses the X-Value to space data-points. Please see What is a Value Axis vs. a Category Axis?.

What you need is a CategoryAxis. Right now SciChart supports only CategoryDateTimeAxis, but we are developing now a CategoryNumericAxis which will solve this problem and be available in v4.1 of SciChart.

Until then, you can give your data X-values that are sequential e.g. 1,2,3,4,5,6 … and it will space data correctly.

Best regards,

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.