From d9d19b3ce119fc2389f5509cf84b929692ce0203 Mon Sep 17 00:00:00 2001 From: pavelpashkovsky Date: Fri, 2 Dec 2022 16:43:09 +0300 Subject: [PATCH] fix: timeline ticks overlapping --- .../components/TimelineChart/TimelineChartWrapper.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/webapp/javascript/components/TimelineChart/TimelineChartWrapper.tsx b/webapp/javascript/components/TimelineChart/TimelineChartWrapper.tsx index a54711cfbb..af058d3b96 100644 --- a/webapp/javascript/components/TimelineChart/TimelineChartWrapper.tsx +++ b/webapp/javascript/components/TimelineChart/TimelineChartWrapper.tsx @@ -167,6 +167,8 @@ class TimelineChartWrapper extends React.Component< mode: 'time', timezone: props.timezone, reserveSpace: false, + // according to https://github.com/flot/flot/blob/master/API.md#customizing-the-axes + minTickSize: [3, 'second'], }, };