Explorar o código

Fix TimelineChart time format issue (#1283)

mdluo %!s(int64=8) %!d(string=hai) anos
pai
achega
c86c321c46
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      src/components/Charts/TimelineChart/index.js

+ 2 - 2
src/components/Charts/TimelineChart/index.js

@@ -71,8 +71,8 @@ export default class TimelineChart extends React.Component {
 
 
     const timeScale = {
     const timeScale = {
       type: 'time',
       type: 'time',
-      tickCount: 10,
-      mask: 'HH:MM',
+      tickInterval: 60 * 60 * 1000,
+      mask: 'HH:mm',
       range: [0, 1],
       range: [0, 1],
     };
     };