PDA

View Full Version : Resizable Ext JS 4 Chart on mobile devices



reis3k
29 Aug 2012, 1:52 AM
Hi,
I'd like to have a resizeble Ext JS 4 charts. I've tried to change the values of width and height to '100%' as well as wrapping div's style's width and height, but I'm not able get the new size when I change the orientation of the device w.g. horizintal to vertical. Table's whose width set to '100%' adapts to orientation of the device correctly.

reis3k
30 Aug 2012, 12:14 AM
I've solved this issue by adding a function when the window size is resized (Jquery), and generating the chart again with new height and width values according to a relative size. But, it would be nice if Ext JS natively support this.