I used the example ScrollApplication to build an application for a Pirani vacuum pressure sensor. I added the ChartZoom class. Zooming works well, but the first datapoint with the starting time of the application is always visible. We would like to zoom also to the last datapoints only without displaying the first datapoints too. Is this possible and how is it done?
You should not be zooming, and updating the display in real-time on a timer tick. Is that what you are doing? You can continue to update the data in real-time, but not the display. Most of our examples have the display update, and the data collection on different timers, so this is easy to do. Our two examples which combine scrolling graphs and zooming (FetalMonitor and RTStockDisplay) use a button to enable zooming, and turn off the display update at the same time. When you are done zooming you can then press another button to disable zooming and enable display updates.