Viewmodel binding Arrays LineSeries

Hello,

my Viewmodel contains several arrays with measurementvalues (double) and one array with timestamps (double values).
The arrays contain > 100000 values/timestamps. What is the best way to display them in chart as lins without having to convert the arrays.
Example?

Thanks in advance

Jens

3 Replies

DV Divya Venkatesan Syncfusion Team May 30, 2018 03:35 AM UTC

Hi Jens,

Thanks for using Syncfusion products.

We would like to let you know that we cannot bind array directly to the chart series. Hence, we have created a model, converted the array to model and set to ItemsSource property of a class extended from SfChart (please refer ChartExt.cs file). Please download the sample from the following link.


Please let us know if you need any further assistance.

Regards,
Divya Venkatesan



JB Jens Bohrmann June 4, 2018 05:09 AM UTC

It is working :-).

Thnak you!


DV Divya Venkatesan Syncfusion Team June 4, 2018 05:32 AM UTC

Hi Jens, 
 
Thanks for the update. We are glad to know that the given solution works.  
 
Please let us know if you need any further assistance. 
 
Regards,  
Divya Venkatesan 
 


Loader.
Up arrow icon