IntensityMeshSeries setSize adding new data

A forum dedicated to WinForms version of LightningChart Ultimate.

Moderator: Queue Moderators

Post Reply
tingyunwang120
Posts: 9
Joined: Mon Jun 20, 2022 3:23 pm

IntensityMeshSeries setSize adding new data

Post by tingyunwang120 » 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

ArctionKestutis
Posts: 555
Joined: Mon Mar 14, 2016 9:22 am

Re: IntensityMeshSeries setSize adding new data

Post by ArctionKestutis » Tue Sep 13, 2022 12:56 pm

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.

Post Reply