Hi Dan. The maxColumnRatio, maxColumnWidth, and offset properties are managed automatically by the ColumnChart to give you clustering or stacking behavior. If you want to manage them yourself, you should use a CartesianChart instead, and set the values explicitly on the individual ColumnSeries.
Ely. -----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Dan Sent: Monday, December 05, 2005 5:32 PM To: [email protected] Subject: [flexcoders] offset in ColumnChart. Importance: High Hi, Does anyone has try the offset of Column chart? I try to make some column chart with column overlapping one another. However, the example using Gradient in the Macromedia example will have Shadowrender and ToopTips appear in incorrect position. So I try to draw the column in a position not in the center, but seems the offset attribute is not working. my code is like this. Any One can help? Daniel Attach Code <mx:ColumnChart id="chart" dataProvider="{zingerManufacturingData}" width="900" height="100%" showDataTips="true" type="overlaid" columnWidthRatio=".2" > <mx:horizontalAxisRenderer> <mx:AxisRenderer tickLength="2" tickAlignment="between" canDropLabels="false" canStagger="false"/> </mx:horizontalAxisRenderer> <mx:horizontalAxis> <mx:CategoryAxis dataProvider="{zingerManufacturingData}" categoryField="Month" name="Month" /> </mx:horizontalAxis> <mx:verticalAxis> <mx:LinearAxis name="Units Sold" /> </mx:verticalAxis> <mx:series> <mx:Array> <mx:ColumnSeries yField="Apple3" name="Apple3" renderer="{new ShadowBoxRenderer()}" offset="-50"> <mx:fill> <mx:SolidColor color="0x000000" alpha="80" /> </mx:fill> </mx:ColumnSeries> <mx:ColumnSeries yField="Blinkies" name="Blinkies" renderer="{new ShadowBoxRenderer()}" offset="-50"> <mx:fill> <mx:SolidColor color="0xFFFF00" alpha="80" /> </mx:fill> </mx:ColumnSeries> <mx:ColumnSeries yField="Widgets" name="luxury Widgets" renderer="{new ShadowBoxRenderer()}" offset="-50"> <mx:fill> <mx:SolidColor color="0x00FF00" alpha="80" /> </mx:fill> </mx:ColumnSeries> <mx:ColumnSeries yField="Apple" name="Apple" renderer="{new ShadowBoxRenderer()}" offset="0"> <mx:fill> <mx:SolidColor color="0x0000FF" alpha="80" /> </mx:fill> </mx:ColumnSeries> <mx:ColumnSeries yField="Apple2" name="Apple2" renderer="{new ShadowBoxRenderer()}" offset="50"> <mx:fill> <mx:SolidColor color="0xFF0000" alpha="80" /> </mx:fill> </mx:ColumnSeries> </mx:Array> </mx:series> </mx:ColumnChart> ------------------------ Yahoo! Groups Sponsor --------------------~--> Most low income households are not online. Help bridge the digital divide today! http://us.click.yahoo.com/I258zB/QnQLAA/TtwFAA/nhFolB/TM --------------------------------------------------------------------~-> -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links ------------------------ Yahoo! Groups Sponsor --------------------~--> Fair play? Video games influencing politics. Click and talk back! http://us.click.yahoo.com/2jUsvC/tzNLAA/TtwFAA/nhFolB/TM --------------------------------------------------------------------~-> -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

