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

Welcome to the SciChart Community Forums!

Please use the forums below to ask questions about SciChart. Take a moment to read our Question asking guidelines on how to ask a good question and our support policy. We also have a tag=SciChart on Stackoverflow.com where you can earn rep for your questions!

Please note: SciChart team will only answer questions from customers with active support subscriptions. Expired support questions will be ignored. If your support status shows incorrectly, contact us and we will be glad to help.

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
    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.