Pre loader

Common x-values

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

0
0

Hello.
Is there any way to create charts in a scichart group that will have a common x-values?
I know that exists a way to synchronize x-values by adding a Double.NaN values, but this operation take a lots of time (if charts have a 1200000 points).

  • You must to post comments
0
0

Hi there,

From your question, I’m guessing that you are using CategoryDateTimeAxis with SciChartSurface in a SciChartGroup, and you wish to create multi-pane stock charts like this example, am I right?

Create Multi-Pane Stock Charts with SciChartGroup

If you are, then you have two choices for your data

  1. Is to use CategoryDateTimeAxis (which will remove weekend and overnight gaps, but assumes that all data-series have the same number of data points

  2. Is to use DateTimeAxis (which allows different numbers of points on each series, but will plot all dates, including weekends and overnight)

I’m afraid those are the only two options at this time. Please also take a further look at the article CategoryDateTimeAxis vs DateTimeAxis which talks about the differences between the two axis types.

Best regards,
Andrew

  • l1pton17
    Thanks. Actually, i need a categorydatetimeaxis where data-series have the different number of data points =) Will added this feature?
  • Andrew Burnett-Thompson
    Not possible I'm afraid. The performance hit of us calculating the X-coordinates when DataSeries have different numbers of data-points and removing weekend and overnight gaps would mean that you could not render 1.2M points. Sorry to be the bearer of bad news, but the two options above are the best we have. 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