-
1. Re: Flex charts: How to increase space between columns?
dwaynie Oct 25, 2011 4:16 AM (in response to dwaynie)Here you can see my problem:
How do I fix this? I've looked everywhere to no avail: http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/mx/charts/ColumnChart.h tml
-
2. Re: Flex charts: How to increase space between columns?
Fletchgqc Oct 26, 2011 5:46 AM (in response to dwaynie)What you want to do is revert the columnWidthRatio to a sensible number to create the desired spacing.
The columns will stretch to fit the width of the chart. In order to make the columns appear fatter, adjust the height and width of the chart (in particular, the ratio between these two).
As an example, use the following with your dataset and you'll have columns that appear fat and you'll have a space between them:
<mx:ColumnChart id="column" height="200" width="400" dataProvider="{...}" columnWidthRatio="0.8">
-
3. Re: Flex charts: How to increase space between columns?
dwaynie Oct 26, 2011 7:38 AM (in response to Fletchgqc)Somehow setting width="400" did not change anything. I also tried:
mx|ColumnChart { columnWidthRatio: 0.8; width: 1000; columnWidth: 1000; }to no avail.
Anyhow, I've reduced my columnWidthRatio to 0.8 though as you suggested. It looks better, but I'd still like some more space between the columns.
Thanks!
--Dwayne
-
4. Re: Flex charts: How to increase space between columns?
Fletchgqc Oct 27, 2011 2:13 AM (in response to dwaynie)You need to figure out why setting the chart width is not making it wider - there must be something else limiting it. Start with the most basic code you can in an empty project and work from there. columnWidthRatio is the way to create more space between the columns. Try to follow the philosophy of what I've written above and you will get it working.

