Domanda

Come posso rimuovere le etichette e mantenere l'asse y?

Non voglio rimuovere l'asse, solo le etichette.Fondamentalmente l'asse y senza testo o numeri

Inserisci Descrizione dell'immagine qui

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

            });
.

È stato utile?

Soluzione

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

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top