Page 1 of 1

tradingchart

Posted: Wed Aug 24, 2022 1:05 pm
by babak51
Hi I am new to tradingchart
I am using it through elementHost in windowsform.
I want to know if it is possible to have several data sets at the same time
as _chart.Setdata accepts only one data.
I also tried chart = _chart.GetInternalChart();
but when I add new stockseries setrange does not work for new series
Also I want to show new series by line but stockseries does not have it.
sincerely

Re: tradingchart

Posted: Fri Aug 26, 2022 9:04 am
by ArctionKestutis
There are WinForm and WPF version of TradingChart. Therefore, there is no need to use ElementHost.
I believe, currently only one data set could be shown per TradingChart instance - at least it works that way best.
However, you can use LightningChart(R) .NET library directly. With LightningChart you can create same layout as TradingChart and add much more. For example, application may have multiple Series on the same segment.

LightningChart is using StockSeries for stock exchange data visualization in candle-stick or stock bars format. If you need line, most likely most optimal would be LiteLineSeries / PointLineSeries.