Spike Williams
Spike Williams

Reputation: 37335

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?

Upvotes: 3

Views: 3103

Answers (1)

Shea Frederick
Shea Frederick

Reputation: 439

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

Upvotes: 3

Related Questions