Вопрос о метке в оси
-
14-11-2019 - |
Вопрос
Как я могу удалить этикетки и сохранить ось 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