Great! That helps. Thank you very much, Oscar.

----- Original Message ----
From: Oscar Cortes <[EMAIL PROTECTED]>
To: [email protected]
Sent: Tuesday, April 17, 2007 10:50:10 AM
Subject: [flexcoders] Re: Help! How can I display different colors in one 
BarSeries?

 
 
See if this entry that I posted while ago on the Flex cookbook helps you...
http://www.adobe. com/cfusion/ communityengine/ index.cfm? event=showdetail 
s&postId=2021&productId=2
 

--- In [EMAIL PROTECTED] ups.com, haiqing <[EMAIL PROTECTED]> wrote:
>
> Can somebody help here? I want verticalAxis display different colors for a 
> single BarSeries. When I tried to use "setStyle" it does not work. Is it 
> doable?
> 
> Thanks,
> hq.
> 
> ----- Original Message ----
> From: haiqing7 [EMAIL PROTECTED]
> To: [EMAIL PROTECTED] ups.com
> Sent: Sunday, April 15, 2007 9:59:53 AM
> Subject: [flexcoders] Help! How can I display different colors for one 
> BarSeries?
> 
> here is part of my sample code and it can only display one color for 
> one BarSeries:
> 
> var ls:BarSeries = new BarSeries();
> var colorArray:Array = [0x299C39, 0xFF3118];
> var st:String;
> if(st == "pass"){
> ls.setStyle( "fill",colorArra y[0]);
> }else{
> ls.setStyle( "fill",colorArra y[1]);
> }
> currentSeries. push(ls);
> 
> thanks in advance.
> hq.
>

Reply via email to