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.
- Vasile asked 11 years ago
- You must login to post comments
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.
- Vasile answered 11 years ago
-
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 login to post comments
Please login first to submit.