diff --git a/src/plugin/timeline.js b/src/plugin/timeline.js index 2b2b166da..249ca5ca3 100644 --- a/src/plugin/timeline.js +++ b/src/plugin/timeline.js @@ -100,7 +100,7 @@ export default class TimelinePlugin { } else if (pxPerSec * 15 >= 25) { return 15; } - return 60; + return Math.ceil(0.5 / pxPerSec) * 60; }, primaryLabelInterval(pxPerSec) { if (pxPerSec >= 25) {