Pre loader

Scatter Chart Duplicate Dates

Welcome to the SciChart Forums!

  • Please read our Question Asking Guidelines for how to format a good question
  • Some reputation is required to post answers. Get up-voted to avoid the spam filter!
  • We welcome community answers and upvotes. Every Q&A improves SciChart for everyone

WPF Forums | JavaScript Forums | Android Forums | iOS Forums

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

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.

Try SciChart Today

Start a trial and discover why we are the choice
of demanding developers worldwide

Start TrialCase Studies