Hi,
I have memory problems now have been blocked.
In Line and StepLineSeries,
If I add DataPoint programmatically per every 5 seconds, then the memroy goes 1.3GB and cpus high in few minites.
see mem1.png and app1.png
DataSeries.Add(new DataPoint() {XValue=t, YValue=sp} );
So, I created a hole DataPoint array and added OnLoaded. and update each YValues. the memory & cpu seems to be stabled.
But, I need Empty YValue not ZERO. I can't use AxisX AutoRange because empty series have all zeros.
see mem2.png and app2.png
double t = FindPosition(currentTime);
DataSeries[t].YValue = sp;
Of course, I see LiveData demo sample code. but I can't use this.
the LiveData sample have multple axis with same Y values.
But my app have max 6 series having each YValues per chart.
only one of thoes series is a live data. I don't know how to MVVM in this case.
How to use MVVM having different Ys and mixed static and livedata.
====
If I collapsing all chart, then no more increasing memory and CPU usage is stabled.
I think the memory and CPU problems are caused visual effects when DataSeries.Add(new DataPoit()).
see mem3.png
EnableAnimations, EnableTransitionAnimations are not enough!
How to disable all visual effects?
Thanks.
I have memory problems now have been blocked.
In Line and StepLineSeries,
If I add DataPoint programmatically per every 5 seconds, then the memroy goes 1.3GB and cpus high in few minites.
see mem1.png and app1.png
DataSeries.Add(new DataPoint() {XValue=t, YValue=sp} );
So, I created a hole DataPoint array and added OnLoaded. and update each YValues. the memory & cpu seems to be stabled.
But, I need Empty YValue not ZERO. I can't use AxisX AutoRange because empty series have all zeros.
see mem2.png and app2.png
double t = FindPosition(currentTime);
DataSeries[t].YValue = sp;
Of course, I see LiveData demo sample code. but I can't use this.
the LiveData sample have multple axis with same Y values.
But my app have max 6 series having each YValues per chart.
only one of thoes series is a live data. I don't know how to MVVM in this case.
How to use MVVM having different Ys and mixed static and livedata.
====
If I collapsing all chart, then no more increasing memory and CPU usage is stabled.
I think the memory and CPU problems are caused visual effects when DataSeries.Add(new DataPoit()).
see mem3.png
EnableAnimations, EnableTransitionAnimations are not enough!
How to disable all visual effects?
Thanks.