Question sur l'étiquette dans l'axe
-
14-11-2019 - |
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
chart1.addAxis("y", {
labels: false,
vertical : true,
leftBottom : true,
});
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