Вопрос

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

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top