문제

레이블을 제거하고 Y 축을 유지하려면 어떻게합니까?

축을 제거하고 레이블만을 제거하지 않습니다.기본적으로 텍스트 또는 숫자가없는 Y 축

여기에 이미지 설명

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

            });
.

도움이 되었습니까?

해결책

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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top