题
如何删除标签并保持y轴?
我不希望删除轴,只有标签。基本上没有文本或数字的Y轴
chart1.addAxis("y", {
labels: false,
vertical : true,
leftBottom : true,
});
. 解决方案
can you try like this:
addAxis("y", {
vertical: true,
fixLower: "major",
fixUpper: "major",
labelFunc:function(){
return " ";
}
});
Pls. Dont remove the one single space inside the quotes.
or here is a post which shows how to delete an axis from the chart. Hiding x Axis in dojox.charting
不隶属于 StackOverflow