Hello,
The StretchMarginModeUC demonstrates (well!) “live” data by adding data to the front of the LineSeries DataSeries, while removing data from the end of the LineSeries if its larger than some maximum display value:
m_Line1.Values.RemoveAt(0);
m_Chart.Axis(StandardAxis.PrimaryX).Labels.RemoveAt(0);
I would be interested in the same effect but for GridSurfaceSeries, however I cannot see GridSurfaceSeries RemoveAt in the API manual? Is it possible to achive the same effect with grid surfaces?
If not, the alternative to get the same live data effect would be to redraw the grid cell by cell, which may be too slow/jerky for live data.
A related question: In the StretchMarginModeUC demo, the chart automatically resizes to show all the data. Can charts displaying GridSurfaceSeries do the same? What I guess I am implying is if the GridSurfaceSeries is a fixed width x height or whether its a combination of two LineSeries DataSeries types in a jagged array type structure.
Thanks!
Imported from legacy forums. Posted by Keith (had 2690 views)