Friday, October 19, 2012

Change Chart Axis properties dynamically

The axis properties can be changed dynamically:

Ext.getCmp('chartid').axes.get("gauge").maximum =  100;

However,this will not be applied. 
For it to be applies the chart has to be re-drawn.

Ext.getCmp('chartid').redraw();