Hi
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,
Nigel
- Nigel Dove asked 9 years ago
- last edited 9 years ago
- You must login to post comments
Hi Nigel,
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:
SciChart – Axis Fundamentals – Category vs. Value Axis
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.
Best regards,
Andrew
- Andrew Burnett-Thompson answered 9 years ago
-
Perfect, thank you
-
Great! Glad to be of help :)
- You must login to post comments
Please login first to submit.