I'm mainly interested in the real time aspects of zoomcharts since there is barely any chart library around combining both the features and the performance that zoomcharts provides.
While evaluating/testing I stumbled across a few issues/questions regarding zooming in connection with real time updates.
Example is here:
https://jsfiddle.net/d42hhnfk/4/
Version at time of testing: 1.12.2-dev
I specified a few custom zooming steps in toolbar.periods but the usage of those buttons raises a few issues:
1) Using one of the 3 period buttons without the data stream being started does change the zooming level properly but the "Custom" string of the button is not always updated to the period.name property. Hitting F5 a couple of time and sometimes it changes and sometimes it does not.
2) When starting the data stream (button below the chart) the period buttons pretty much become useless. Clicking one of them barely changes the zoom level of the chart, even though interaction.scrolling.limitMode is deliberately disabled. The only thing that seems to work as expected is the displayAnchor: "now" setting.
3) When switching to "Last 5 Minutes" and starting the data stream, the "Custom" button flickers between custom and the period.name string
4) Is there any way to have the behavior of initialDisplayAnchor = "now" but with "now" being on the left side of the chart without major calculations (chart width, period, etc.)?
I'd basically would like the stream to fill a full chart screen before the scrolling starts.
5) Is there away to shorten or skip the chart scrolling animation when scrolling over large areas?
For example scrolling back, zooming in to a small time period and then clicking on "Last 30 seconds" makes the chart scroll for quite a while before the end is reached.
Another way to reproduce this long scrolling is clicking on the "Zoom-Out" button directly after the jsfiddle example is loaded. It seems to scroll infinitely even though there is no data added yet and limitMode is disabled too.
6) Just when the streaming starts there is barely any data available, but I still want to be able to show higher zoom levels without the automatic data snapping preventing it. To achieve that I used the limitMode: "null" setting to disable the data snapping. Due to the nature of real time streaming the upper boundary of the data is constantly moving. What is the best approach to limit the maximum zoom level?
I appreciate your feedback.