1
我希望有人能指出我在這裏的正確方向。我有一系列跨越不規則日期時間間隔的數據。但是在點上徘徊只顯示第一個日期點。Highcharts:日期時間x軸的不規則時間間隔沒有懸停在所有點上
$(function() {
$('#container').highcharts({
exporting: {
enabled: false
},
chart: {
type: 'spline',
},
title: {
text: 'Debt Obligations'
},
xAxis: {
type: 'datetime',
title: {
text: 'Date'
}
},
yAxis: {
title: {
text: 'Debt'
},
min: 0
},
tooltip: {
headerFormat: '<b>{series.name}</b><br>',
pointFormat: '{point.x:%e. %b}: {point.y}'
},
series: [{
name: 'Debt Obligation',
data: [
[Date.UTC(2014, 6, 7), 4500],
[Date.UTC(2014, 5, 24), 5454],
[Date.UTC(2014, 5, 23), 222],
[Date.UTC(2014, 5, 21), 1000]
]
}]
});
});
感謝您的幫助。
謝謝