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!
4 points with dates duplicated:
Dim dataSeriesBack As New XyDataSeries(Of Date, Double) dataSeriesBack.Append(New Date(2012, 6, 4, 13, 38, 0, 0), 2400) dataSeriesBack.Append(New Date(2012, 6, 4, 13, 38, 0, 0), 2600) dataSeriesBack.Append(New Date(2012, 6, 4, 13, 39, 0, 0), 2900) dataSeriesBack.Append(New Date(2012, 6, 4, 13, 39, 0, 0), 3200) sciChart.RenderableSeries(1).DataSeries = dataSeriesBack
Can these stack on top of each other so the dates are not repeated on the axis?
You’ll probably direct me the way of a heat map but adding these to a date axis with a line chart (line chart data is date driven) on top didn’t strike me as easy.
Thanks for any assistance,
Yes, certainly, you can create a chart with X-Y values where there are multiple points with the same X-Value.
You will need a Value Axis though. It is not possible to do this on a Category Axis, as a Category Axis by its very nature uses the index to the data to compute X-position. You can see an article about the difference here:
Assuming you have a NumericAxis, or a DateTimeAxis, then you can create points anywhere on the plot.
If that doesn’t answer your question, please comment below and I will update.
Please login first to submit.