Pre loader

Column graph with same distance

Welcome to the SciChart Forums!

  • Please read our Question Asking Guidelines for how to format a good question
  • Some reputation is required to post answers. Get up-voted to avoid the spam filter!
  • We welcome community answers and upvotes. Every Q&A improves SciChart for everyone

WPF Forums | JavaScript Forums | Android Forums | iOS Forums

Answered
0
0

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
0
0

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,
Andrew

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.

Try SciChart Today

Start a trial and discover why we are the choice
of demanding developers worldwide

Start TrialCase Studies