5
A
回答
6
axesDefaults: {
showTickMarks:false
}
showTicks切换的刻度线和刻度标记,并showTickMarks只有切换的刻度线。 http://www.jqplot.com/docs/files/jqPlotOptions-txt.html
编辑:
在退房的选项我误了在代码片段showTicks,这是我固定的。
0
不知道框架是否因为这个答案而改变,但它不适用于我。
这是什么(我离开了所有的绒毛,所以你可以看到axesDefaults居住在哪里)。
var plot1 = $.jqplot ('chart1', [line1, badLine], {
title:'Data Point Highlighting',
axesDefaults:{
tickOptions:{
showMark: false
}
},
axes:{
xaxis:{
tickInterval:1,
min:0.5,
ticks: [[0.5,""],[1,"1"],[2,"2"],[2.5,""]]
},
yaxis:{
ticks: [['25', ""], ['24', "12am"], ['22', "2am"], '20', '18', ['16',"4pm"], '14', '12', '10', '8', '6', '4', '2', '0'],
min:0,
max:24,
}
},
series:[
{
showLine: false
},
{
showLine: false,
markerOptions: { style:"x" }
}
],
highlighter:{
show: true,
sizeAdjust: 7.5
},
cursor:{
show: false
}
});
http://www.jqplot.com/docs/files/jqplot-core-js.html#jqPlot.axesDefaults
相关问题
- 1. 隐藏坐标轴
- 2. 坐标轴中隐藏的轴标签?
- 3. jqplot无法隐藏x轴
- 4. 如何在matplotlib.pyplot中隐藏坐标轴
- 5. jqPlot坐标轴上的重复值
- 6. 如何隐藏jqplot条形图的y轴标签
- 7. 隐藏轴标签
- 8. 如何让x轴ticks更接近jqPlot中的坐标轴?
- 9. jqplot按钮隐藏/启用标签
- 10. jQuery隐藏(),易于坐标
- 11. 隐藏轴标签SSRS图
- 12. jqplot - 轴标中的上标
- 13. Android AChartEngine:隐藏坐标轴中的刻度线
- 14. 如何在MPAndroidChart中隐藏图例和坐标轴?
- 15. 如何隐藏Matplotlib中的坐标轴和网格线(python)
- 16. 如何隐藏matplotlib 3d中的坐标轴?
- 17. JQPlot隐藏线点击
- 18. 将轴标签隐藏,同时将jqPlot图保存到图像文件
- 19. 如何格式化jqPlot中的坐标轴和日期?
- 20. jqPlot插件钩单击事件轴坐标刻度
- 21. jqplot垂直轴标签
- 22. jqplot:使x轴标签rorate
- 23. 旋转轴标签在jqplot
- 24. ShinobiCharts隐藏轴
- 25. Papervision3D坐标轴
- 26. 隐藏与坐标的弹出框
- 27. 隐藏Bing地图坐标为用户
- 28. 谷歌地图的隐藏坐标
- 29. Primefaces条形图 - 隐藏X轴标签?
- 30. 如何隐藏图表轴标签
这难道不给结果在我的第二个屏幕? – 2011-09-18 16:10:01
@OllieGlass谢谢,我解决了我的问题 – reckbo 2011-10-14 20:34:43
不再适用于我(版本:jquery.jqplot.1.0.8r1250.zip)。请参阅下面的答案。 – Olmstov 2018-02-23 22:25:18