auto scrolling and reduced windows view in chart
Posted: Wed May 17, 2006 6:35 pm
Hi,
I'm building some real time charts and I'm interesting in showing only the <n> last points of it
- using the pages in the chart (with the maxPointPerPage property) is nice but I need the current page (the last one) to be filled at its max and not only one point when we get on a new one
- I've got one method that deletes the first point when I'm adding a point above the configured number of points
(but the problem is that if I change in real time this number of point, I'll have to manage my own buffer to remember the old ones)
- I've got another method using the min and max of the bottomAxis but I'm only controling the time interval, or I can go from my index in the series to its XValues but if I have a bunch of points on the same XValue, I'm not really controlling it...
Anyway, I don't really want to take care of it from my side and I want to know if there is a property, or anything, that can manage that for me.
Maybe even auto-flushing the old point, but something doing it alone...
I'm building some real time charts and I'm interesting in showing only the <n> last points of it
- using the pages in the chart (with the maxPointPerPage property) is nice but I need the current page (the last one) to be filled at its max and not only one point when we get on a new one
- I've got one method that deletes the first point when I'm adding a point above the configured number of points
(but the problem is that if I change in real time this number of point, I'll have to manage my own buffer to remember the old ones)
- I've got another method using the min and max of the bottomAxis but I'm only controling the time interval, or I can go from my index in the series to its XValues but if I have a bunch of points on the same XValue, I'm not really controlling it...
Anyway, I don't really want to take care of it from my side and I want to know if there is a property, or anything, that can manage that for me.
Maybe even auto-flushing the old point, but something doing it alone...