Question

Comment puis-je supprimer les étiquettes et garder l'axe Y?

Je ne veux pas retirer l'axe, seules les étiquettes.Fondamentalement, l'axe Y sans texte ni chiffres

Entrez la description de l'image ici

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

            });

Était-ce utile?

La 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

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top