我正在使用CanvasJS.Chart创建一个图表,其间隔设置为14天。如何将图形中Xaxis的起始索引设置为指定日期(例如:02/08/2018)?
var chart = new CanvasJS.Chart("chartContainer", {
animationEnabled: true,
title:{
text: ""
},
axisX: {
title: "Time",
valueFormatString: "DD MMM,YY",
interval: 14,
intervalType: "day",
minimum: new Date(2018,08,02)
},
...