Pre loader

Chart custom data series in the form List

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

I have a C# program that produces a custom data series in the form List, where the Dataline members are Date, Open, High, Low, Close, Volume. Is there some way I can plot my data series in SciChart, without converting it element-by-element into OhlcDataSeries?

Version
SciChart WPF v5.3
  • You must to post comments
0
0

Thank you for your response.
Regards,
Steven

  • You must to post comments
0
0

Hi Steven,

Thanks for your question.
Unfortunately, it is not possible. You should append the data from your List to the new series of the type OhlcDataSeries<DateTime, double>() first.
There is an Append() method override which takes 4 collections, to make it more convenient:
https://www.scichart.com/documentation/v5.x/SciChart.Charting~SciChart.Charting.Model.DataSeries.OhlcDataSeries%602~Append(IEnumerable%7B%600%7D,IEnumerable%7B%601%7D,IEnumerable%7B%601%7D,IEnumerable%7B%601%7D,IEnumerable%7B%601%7D).html

Please see the documentation regarding the OHLC charts Type:
https://www.scichart.com/documentation/v5.x/webframe.html#The%20OHLC%20charts%20Type.html

And our Stock Chart examples:
https://www.scichart.com/example/wpf-chart-example-using-scistockchart/

  • You must to post comments
Showing 2 results
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