1
我正在使用JQPLOT創建圖形。但是我有很多關於x軸的數據。現在,我需要限制滴答的數量。我正在使用numberTicks,但不起作用。我如何限制jqplot(線圖)中的蜱數量?
xaxis: {
numberTicks:15,
max: x_limits.max,
min: x_limits.min,
renderer:$.jqplot.CategoryAxisRenderer,
rendererOptions:{tickRenderer:$.jqplot.CanvasAxisTickRenderer},
tickOptions:{formatString:'%#m/%#d/%Y'}
},
我正在使用CategoryAxisRenderer。當我使用DateAxisRenderer時,它可以工作。 -.-
這是行不通的! -.- – user2688737