Page 1 of 1

IntensityMeshSeries setSize adding new data

Posted: Mon Sep 12, 2022 3:51 pm
by tingyunwang120
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

Re: IntensityMeshSeries setSize adding new data

Posted: Tue Sep 13, 2022 12:56 pm
by ArctionKestutis
Could you contact Support by email? Please include your LightningChart license/subscription ID in the email.
If possible also include (test) project, where problem is manifested.