View Full Version : Chart width in percentage

31 Aug 2011, 4:22 AM
Hi all,

In ExtJS 4.0.2 docs for chart i read:

width (file:///C:/Users/sam-yangazov.nn/Desktop/ext-4.0.2a/docs/index.html#/api/-cfg-width) : Number
The width of this component in pixels.

Can I specify width in percentage?

1 Sep 2011, 12:15 PM
Percentage of what? If you've put it in a container then you can, though not using the width option. It all depends on what layout manager you choose to use on the container and what you want to fill the remainder of the width.