gpt4 book ai didi

jquery float Axis 标签

转载 作者:行者123 更新时间:2023-12-01 08:18:33 25 4
gpt4 key购买 nike

请引用http://jsfiddle.net/UEePE/1025/

对于x轴,当我不想跳过标签上的任何月份时,我该怎么做?

谢谢

最佳答案

指定ticks参数 - http://jsfiddle.net/UEePE/1029/

var data = [[-373597200000, 315.71], [-370918800000, 317.45], [-368326800000, 317.50],  [-99968400000, 319.79]];

$.plot($("#placeholder"), data, {
yaxis: {
},
xaxis: { mode: "time",
ticks: 18,
minTickSize: [1, "month"],
tickLength: 1,
min: (new Date("2000/01/01")).getTime(),
max: (new Date("2001/07/02")).getTime()
},
"lines": {"show": "true"},
"points": {"show": "true"},
clickable:true,hoverable: true
});

关于jquery float Axis 标签,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8838392/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com