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

0
0

Hi all,

I have a IChartSeriesViewModel with the FastLineRenderableSeries. When I dynammically change it to the
FastMountainRenderableSeries, the scichart doesn’t update surface.

private static IChartSeriesViewModel Build(IChartSeriesViewModel seriesViewModel,
IDataSeries series,
IRenderableSeries newRenderSeries)
{
// Create viewmodel instance for the created chart.
if (seriesViewModel == null)
seriesViewModel = new ChartSeriesViewModel(series, newRenderSeries);

seriesViewModel.RenderSeries = newRenderSeries;
seriesViewModel.DataSeries = series;

return seriesViewModel;
}

What can I salve it?
Many thanks,

Arhur.

  • You must to post comments
Showing 0 results
Your Answer

Please first to submit.