PDA

View Full Version : Charts - how to set max X?



raip
24 Mar 2010, 7:15 AM
Hi experts -

Can you help me to define max X on charts?

I tried "maximum:120", which seems not working.

thanks,
Prakash

raip
30 Mar 2010, 6:34 AM
I figured out the solution as,

var minx = <min_val>;
var maxx = <max_val>;

daysAxis = new Ext.chart.NumericAxis();
daysAxis.minimum =minx ;
daysAxis.maximum =maxx;

regards,
Prakash