开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜