当我将鼠标移到图表上时,我希望标记移动并且工具提示会出现并突出显示每个点。但是,它只是停留在开始。如果我在起点左右移动鼠标,它会突出显示第一个点和最后一个点?
任何想法如何解决这个问题,以便在每个点上正确突出显示?
$(function() {
var chart;
chart = new Highcharts.Chart({
chart: {
renderTo: "renderChart",
type: 'line'
},
xAxis: {
type: 'datetime'
},
series: [{
data: [[1317772800000, 1087.5], [1317686400000, 1087.5], [1317600000000, 1087.5], [1317340800000, 1087.5], [1317254400000, 1087.5], [1317168000000, 1087.5], [1317081600000, 1087.5], [1316995200000, 1100], [1316736000000, 1100], [1316649600000, 1100], [1316563200000, 1100], [1316476800000, 1100], [1316390400000, 1100], [1316131200000, 1100], [1316044800000, 1100], [1315958400000, 1100], [1315872000000, 1100], [1315785600000, 1100], [1315526400000, 1125], [1315440000000, 1125]]
}]
});
});
谢谢