SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and now iOS Charting & Android Chart Components

Answered
0
0

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

  • You must to post comments
Best Answer
1
0

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

  • Nigel Dove
    Perfect, thank you
  • Andrew
    Great! Glad to be of help :)
  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.