SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and now iOS Charting & Android Chart Components
We also have a tag=SciChart on Stackoverflow.com where you can earn rep for your questions!
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.
Please login first to submit.