Hi Tom.  You'll need a custom renderer to do this.  If it's just the first column you want, a one-off renderer should be pretty easy...just extend mx/charts/renderers/BoxItemRenderer, and in the updateDisplayList code, check the index property of the ChartItem in the data property...if it's 0, set your alpha to .3 (or whatever), otherwise, 1:
 
public function updateDisplayList(...):void
{
    super.updateDisplayList();
    alpha = (data.index == 0)? .3:1;
}
 
You can obviously get more complex if you need to...define a static variable that contains the index you want to alpha out, etc. 
 
 
Ely.
 


From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tom Fitzpatrick
Sent: Wednesday, November 08, 2006 7:18 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Setting alpha style on a single stacked column

I've created a stacked column chart using a ColumnSet that contains
three column series.

When building a group of four stacked columns, I'd like to
programmatically set the alpha for all the elements in the first stacked
column to .5.

What is the way to set the alpha style on the elements of just that one
stacked column?

- Tom

__._,_.___

--
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
Software development tool Software development Software development services
Home design software Software development company

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___

Reply via email to