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

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

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

Thank you for your response.
Regards,
Steven

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.