SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and now iOS Charting & Android Chart Components
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.
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.