开发者

In extjs charts, how do you hide the axis and axis labels?

开发者 https://www.devze.com 2022-12-18 04:23 出处:网络
I\'m using extjs charts to display some data. In this data, the axis and axis labels are irrelevant - only the data trend is important. So I want to turn 开发者_运维问答off the axises. How do I do tha

I'm using extjs charts to display some data. In this data, the axis and axis labels are irrelevant - only the data trend is important. So I want to turn 开发者_运维问答off the axises. How do I do that?


You want to set the extraStyles for the x/yAxis.

...,                
extraStyle: {
    xAxis:{showLabels:false},
    yAxis:{showLabels:false}
},
...

More info can be found in the YUI charts API Docs

0

精彩评论

暂无评论...
验证码 换一张
取 消