Pregunta

¿Cómo puedo quitar las etiquetas y mantener el eje Y?

No quiero quitar el eje, solo las etiquetas.Básicamente el eje Y sin texto o números

ingrese la descripción de la imagen aquí

chart1.addAxis("y", {
                labels: false,
                vertical : true,
                leftBottom : true,

            });

¿Fue útil?

Solución

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

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top