Hi,
Using 1.14.0-dev we found the following behavior:
- Preconditions: The time chart is initially loaded with 7 days of data at "d" unit resolution.
- When the user clicks on the current day, our application uses
chart.time()
to zoom in the current day, for example (pseudocode):
chart.time("Fri May 20 2016 02:00:00 GMT+0200 (CEST)", "Sat May 21 2016 02:00:00 GMT+0200 (CEST)", true);
- At this moment we noticed that the chart issues a data request (with "m" units) from
2016-05-12 23:20:00 (GMT)
to 2016-05-19 22:00:00 (GMT)
.
- Then it issues a new request for the data of the current day (e.g. from
2016-05-19 22:04:00 (GMT)
to 2016-05-20 09:05:20 (GMT)
).
Why does it request a whole week of data on step 3, when it's displaying only one day on the screen?
I'm not sure if it's because of prefetchRatio
, since our application uses the default value (1) and according to the documentation, it should be a day.
Thanks & regards.