Question

How can I remove the labels and keep the Y axis?

I don't want remove the axis, only the labels. Basically the y axis without text or numbers

enter image description here

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

            });
Was it helpful?

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top