Question about label in axis
-
14-11-2019 - |
Question
How can I remove the labels and keep the Y axis?
I don't want remove the axis, only the labels. Basically the y axis without text or numbers
chart1.addAxis("y", {
labels: false,
vertical : true,
leftBottom : true,
});
Solution
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
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow