var options = {
series: {
editMode: 'xy',
lines: {show: true},
points: {show: true},
},
grid: {
hoverable: true,
clickable: true,
editable: true,
backgroundColor: "#F5F8EF",
//fix these they dont work
markings: [{xaxis:{from: 0, to: 0 }, yaxis:{from: 0, to: 0 }, color: "#0000FF"}],
markingsLineWidth: 2.5
},
xaxis: {min: -10, max: 60, tickLength: gridToggle},
yaxis: {min: -5, max:40, tickLength: gridToggle}
};
据我所知,我添加的标记应该写得正确。我只是想制作XY轴。但是为了确保它不是因为我设置的0到0限制,我还改变了边界以占用更多的空间(例如-5到10),并且仍然没有任何效果。我猜这与JUMflot有关,但我不确定。