Pre loader

FastLineRenderableSeries

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,
I’m using the latest release version of SciChart (v 1.5.1694). And now I have a problem which didn’t appear in v 1.3. I want to add FastLineRenderableSeries dynamically to the ChartPanel.
Something like this:

var series = dataSet.AddSeries();
var fastLineSeries = new FastLineRenderableSeries { DataSeries = series, StrokeThickness = 1 };
ChartSurface.RenderableSeries.Add(fastLineSeries);

Then I append values to this series. The X values are shifted from left border of ChartPanel (X axis is CategoryDateTimeAxis and candlesticks starts for example from 10:55 and my series from 11:40), but it appears on ChartPanel that this serie starts right from left border.
I can’t remember that I change something in this part of my code when upgrading from 1.3 to 1.5 and I can’t understand why this happens.
Do you have any suggestions?

Thank you.

  • You must to post comments
0
0

Hi,

Sorry for disturbing. I have already found the solution in one of your examples while trying to make example projects:
“To get the effect of hiding the line for the first N points of a moving average, you can insert double.NaN into the XyDataSeries. double.NaN can be used to render gaps or continuous lines.”

Thanks.

  • Yuriy Zadereckiy
    Hi Vasile, Yes, this is a good solution - I'm glad that your issue is resolved. Please don't hesitate to ask if you have any more questions! Yuriy
  • 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