I Went to create a test case (as the source code is part of a much
larger app) and realized what is happening.

In an area chart the linearGradient is only creating a Matrix
transformation between the Min and Max values within that Series, not
the min/max for the overal Y Axis.  So if there is a small delta
between the min/max within the series, but the overall values are high
up on the Y axis you only have a very small area that the gradient
gets applied to.

Is there any way around this?


--- In [email protected], "Ely Greenfield" <[EMAIL PROTECTED]> wrote:
>
>  
>  
>  
> Tom, can you post a full sample with a description of what you're
> seeing, and what you expect to see?
>  
> Gradients should fill the bounding box defined by the area series.
>  
> E.
>  
> 
> ________________________________
> 
> From: [email protected] [mailto:[EMAIL PROTECTED] On
> Behalf Of twgonzalez01
> Sent: Wednesday, November 01, 2006 11:29 AM
> To: [email protected]
> Subject: [flexcoders] Linear Gradient with AreaChart bug?
> 
> 
> 
> I am trying to create an area chart and use a LinearGradient at 90
> degrees (top-bottom) fill for the areaFill.
> 
> The problem is that the matrix transformation appears to not be taking
> into account the full range of Y values, and all transitions are
> occuring in the very top of the chart. Maybe I am misunderstanding
> something?
> 
> Here is sample code for a fill:
> <mx:areaFill>
> <mx:LinearGradient angle="90" >
> <mx:GradientEntry color="0xFF0000" ratio="0"/>
> <mx:GradientEntry color="0xFFFFFF" ratio="1"/>
> </mx:LinearGradient> 
> </mx:areaFill>
>





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

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/flexcoders/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

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

Reply via email to