我的xAx不像工具提示那样显示
我试过放入xAxis:pointInterval:24 * 3600 * 1000 //一天
我有一天300-350点(2点差异是5-10分钟)
series: [{
name: 'Price',
type: 'area',
data: (() => {
var data = [];
for (let i = 0; i < this.data.length; i++) {
let timeHistory = (new Date(this.data[i].d).toLocaleString()).valueOf();
this.firstPoint = (new Date(this.data[0].d).toLocaleString()).valueOf();
data[i] = [timeHistory, this.data[i].p];
}
this.$scope.graphSeries = data;
return data;
})(),
}]
提前感谢