Pre loader

if series has different amount of data

Answered Closed
-1
0

why show incorrectly

Version
6.1
Images
  • You must to post comments
Best Answer
0
1

Are you using CategoryDateTimeAxis?

If yes, then all series must have the same number of points as this axis type measures by index, not date value.

You can ensure series have the same number of points by inserting null or empty points with X=value and Y=double.NaN

Please see our example here which shows how to do this:

WPF Candlestick Chart and Moving Averages

The example uses the CategoryDateTimeAxis which collapses overnight and weekend gaps in data, but, uses the Index to the data to calculate X-position. This means that all DataSeries must have the same number of data-points (you can pad DataSeries using double.NaN for null or empty points).

Best regards
Andrew

  • You must to post comments
Showing 1 result

Try SciChart Today

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

Start TrialCase Studies