From c86c321c46a7ae865eec18e3b70c288cc27f4c81 Mon Sep 17 00:00:00 2001 From: mdluo Date: Thu, 12 Apr 2018 19:26:38 +0800 Subject: [PATCH] Fix TimelineChart time format issue (#1283) --- src/components/Charts/TimelineChart/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/Charts/TimelineChart/index.js b/src/components/Charts/TimelineChart/index.js index f00c9bb6..e7ab6b11 100644 --- a/src/components/Charts/TimelineChart/index.js +++ b/src/components/Charts/TimelineChart/index.js @@ -71,8 +71,8 @@ export default class TimelineChart extends React.Component { const timeScale = { type: 'time', - tickCount: 10, - mask: 'HH:MM', + tickInterval: 60 * 60 * 1000, + mask: 'HH:mm', range: [0, 1], }; -- GitLab