You're using Beta 2?  You need to set lineStroke, not stroke. The stroke property affects the color of the points on the line, not the line itself.
 
There's a bug in beta2 where the legend is currently rendering the stroke color, not the lineStroke color.  So for now, set both.  It will be fixed in the next drop.
 
Ely.
 
 


From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Torben Nielsen
Sent: Thursday, March 23, 2006 11:13 PM
To: [email protected]
Subject: [flexcoders] Flex 2: Chart - Line color problem

Hi,

I have made a linechart with 3 lineseries. Here is a lineseries definition:

<mx:LineSeries form="curve" id="lineEuribor3" displayName="Euribor 3 mese lettera" yField="Euribor3" showDataEffect="fadeIn" hideDataEffect="fadeOut">

                        <mx:stroke>

                                    <mx:Stroke color="#FF0000" weight="3" alpha="0.8"/>

                        </mx:stroke>

            </mx:LineSeries>

My problem is as follows:

The color in the legend is red, but the line in the chart is orange. I have tried to take away the alpha setting, but that does not change anything.

Any ideas?

Thanks.

Best regards.

Torben Nielsen



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




Reply via email to