use areaFill instead of fill.  fill/stroke always apply to the individual items (i.e., on area and line series, the individual points).
 
Ely.
 


From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of tddclare
Sent: Friday, June 30, 2006 8:15 AM
To: [email protected]
Subject: [flexcoders] Help?: Fill not working in AreaSeries?

I'm making an AreaChart with 3 AreaSeries and a ColumnSeries to show my data.

I didn't like the nasty orange,green,blue,tan color scheme, so have set offf to customize it.

Here's what I have:

<mx:AreaChart dataProvider="{todd}">
        <mx:series>
            <mx:Array>
                <mx:AreaSeries name="total" displayName="Total" yField="total">
                    <mx:stroke>
                        <mx:Stroke color="0x9A9A00" weight="2"/>
         &nbs! p;          </mx:stroke>
                    <mx:fill>
                        <mx:SolidColor color="0x000000" alpha=".3"/>
                    </mx:fill>
                </mx:AreaSeries>
                <mx:AreaSeries name="pass" displayName="Passed" yField="pass"></mx:AreaSeries>
                <mx:AreaSeries name="fail" displayName="Failed" yField="fail"></mx:AreaSeries>
        &n! bsp;       <mx:ColumnSeries name="! vv" disp layName="In V&amp;V" yField="vv">
                    <mx:fill>
                        <mx:SolidColor color="0x000000" alpha=".3"/>
                    </mx:fill>
                </mx:ColumnSeries>
            </mx:Array>
        </mx:series>
    </mx:AreaChart>

The ColumnSeries IS looking the way I tell it to (faded black) but the AreaSeries is NOT (still orange and solid).  I copi! ed the stroke and fills right out of the Help system's example on how to use alphas in chart fills (Flex 2.0 Developer's Guide > Charting Components > Formatting Charts > Using fills)



I tried removing the ColumnSeries, wondering if that was having a bad effect on it somehow, but no change.

Any thoughts?

__._,_.___

--
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