Hi,
We're using a bar time chart to display some historical data on our mobile app. When zooming out (via pinch gesture with 2 fingers) to display more data in the past, the bars become wider (data aggregation happens), which is good.
Nevertheless at some point while zooming further out, the aggregation units change back and forth, depending on whether the two fingers are touching the screen or not, see the following video:
Link to video
Between seconds 23 and 30 notice that the bar aggregation changes because the fingers are lifted from the screen.
Here's some configuration parameters used in our chart:
area: {
displayPeriods = [ //Time axis display units
{ unit: "5 m" },
{ unit: "1 h" },
{ unit: "1 d" },
{ unit: "1 M" },
{ unit: "1 y" }
];
displayUnits = [ //Aggregation units
{ unit: "5 m", name: "5-minute" },
{ unit: "1 d", name: "day" },
{ unit: "1 w", name: "week" },
{ unit: "1 M", name: "month" },
{ unit: "1 y", name: "year" }
];
...
},
navigation: {
initialDisplayAnchor: "now",
initialDisplayPeriod: "7 d",
followAnchor: false
}
Please let us know in case you need other configuration parameters.
We confirmed that this issue happens only on mobile devices (tested on Android 6 and iPhone 5s with iOS 10.2.1), not on desktop browsers (tested on Chromium 55 in device mode -iPhone 6 Plus simulation-).
We're using ZoomCharts v1.15.7 though we confirmed the same issue on v1.17.1.
Could you please provide any pointer about what may the problem be?
Thanks in advance.