|
Append data to contour chart |
Posted by eunsung on Aug-02-2016 13:01 |
|
I am dealing with contour chart where I have 100 y value and 100 x values therefore
Z values will be 100*100.
X values represents a scan,0 to 100 scans.During end of each scan graph is updated.
My concern is,when i have to create new chart object and assigning values to the contour layer every time. |
Re: Append data to contour chart |
Posted by Peter Kwan on Aug-02-2016 23:25 |
|
Hi eunsung,
Appending data to the contour chart or creating a new contour chart itself consumes only very small amount of CPU. The majority of the CPU is used for rendering and displaying the updated chart, which has to be done when your data changes. It means even if you do not need to create a new chart object, the CPU consumption is similar because the chart still needs to be updated.
Would you mind to clarify how fast you need to update the chart? Is it once per second, or once per 0.05 second? If it is once per second, you probably do not need to worry about the overhead. If it is once per 0.05 second, some optimization may be necessary depending on your chart pixel size. In this case, please let me know so I can suggest some methods.
Regards
Peter Kwan |
|