PDA

View Full Version : Resizeable Chart?



Shlomi
29 Mar 2012, 7:43 AM
I need to create a resizeable chart depend a window size.
I tried to:
set height and width properties to be relative like ="80%", results: the chart container was in the correct size but no chart!
using a viewPort - I got the resizeable chart =D> but it I could not place it inside any container, or render it to any element, It only renders on Body!!!(:|
using Resizer and add the chart to It, results: still need to supply initial height and width and the resize does not work when I change the window size, only when I move the Resizer bounds.

why the Chart does not support fit layout?
Is there any way to create a chart without supplying height & width? on loading and to be resizeable when changing the window size.

Thanks.

mitchellsimoens
29 Mar 2012, 8:09 AM
If you put it in a containing component (Window or Container or whatever) and that containing component uses layout : 'fit' then it should be fine.

Shlomi
17 Apr 2012, 10:35 PM
Thanks you are right...