IntensityMeshSeries setSize adding new data
Posted: Mon Sep 12, 2022 3:51 pm
Hi,
Hope you are well, and thanks in advance for helping.
We are plotting a plot where new data will be created and added to the original plot every second;
This is the code
CODE: SELECT ALL
var gridSeries = Chart.ViewXY.IntensityMeshSeries[0];
gridSeries.SetSize(iSizeX, iSizeY);
Where iSizeX and iSizeY are the XY size of old data + new data.
Is it possible to just extent the size of new data to exiting plot, instead of setting the whole size again?
The issue we are trying to solve is:
At the 0 second, it takes 0ms to execute this line of code
CODE: SELECT ALL
gridSeries.SetSize(iSizeX, iSizeY)
, after 700 second, it takes 2 seconds to execute the code.
Beat regards,
Ting-Yun
Hope you are well, and thanks in advance for helping.
We are plotting a plot where new data will be created and added to the original plot every second;
This is the code
CODE: SELECT ALL
var gridSeries = Chart.ViewXY.IntensityMeshSeries[0];
gridSeries.SetSize(iSizeX, iSizeY);
Where iSizeX and iSizeY are the XY size of old data + new data.
Is it possible to just extent the size of new data to exiting plot, instead of setting the whole size again?
The issue we are trying to solve is:
At the 0 second, it takes 0ms to execute this line of code
CODE: SELECT ALL
gridSeries.SetSize(iSizeX, iSizeY)
, after 700 second, it takes 2 seconds to execute the code.
Beat regards,
Ting-Yun