Chart.js:是否可以为每种类型的单位设置time.stepSize

时间:2018-10-12 10:54:38

标签: chart.js

是否可以为每种类型的单位设置 time.stepSize ,如下所示:

time: {
    stepSize: {
        minute: 10,
        hour: 2,
        day: 2,
        week:  3,
        month: 1,
        quarter: 1,
        year: 1 
    }
},

0 个答案:

没有答案