Hi Ely,

Thanks for your reply, it works!!! Thanks so much!!

Daniel


From: "Ely Greenfield" <[EMAIL PROTECTED]>
Reply-To: flexcoders@yahoogroups.com
To: <flexcoders@yahoogroups.com>
Subject: RE: [flexcoders] offset in ColumnChart.
Date: Tue, 6 Dec 2005 10:03:59 -0800



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: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Dan
Sent: Monday, December 05, 2005 5:32 PM
To: flexcoders@yahoogroups.com
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









--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS

  •  Visit your group "flexcoders" on the web.
    ?lt;/tt>
  •  To unsubscribe from this group, send an email to:
    ?lt;a href="">[EMAIL PROTECTED]
    ?lt;/tt>
  •  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




Reply via email to