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.

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.