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 -- 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
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 __,_._,___ |
- [flexcoders] Setting alpha style on a single stacked colum... Tom Fitzpatrick
- RE: [flexcoders] Setting alpha style on a single stac... Ely Greenfield
- Re: [flexcoders] Setting alpha style on a single ... Tom Fitzpatrick
- Re: [flexcoders] Setting alpha style on a single ... Tom Fitzpatrick
- RE: [flexcoders] Setting alpha style on a sin... Ely Greenfield
- [flexcoders] Re: Setting alpha style on a... oliver langan
- RE: [flexcoders] Re: Setting alpha s... Ely Greenfield
- [flexcoders] Re: Setting alpha s... oliver langan
- RE: [flexcoders] Re: Setting... Ely Greenfield