|
1. Are you using Flex 1.5, or Flex 2 (note to all
flexcoders members....you'll probably get your answer faster if you let us all
know this up front).
2. When the user clicks on a bar, do you want to make it
darker, or the other bars lighter?
3. When the user clicks on a bar, are you trying to change
its appearance relative to the other bars in the series, or change the
appearance of its BarSeries relative to the other BarSeries in the
chart?
Thanks,
Ely.
From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Graham, Jason Sent: Sunday, February 19, 2006 7:24 PM To: [email protected] Subject: [flexcoders] ColumnChart question When I click on one of the bars in
my column chart I want to show the selection of that bar by fading the
rest. I create the items with a fill of
linear gradient and an alpha of 50. So when the user clicks I want to set
that bars alpha to 100. When the bar is clicked I use the
mouseClickedData. I do the
following I have tried just about every
invalidation I can think of after setting the
alpha. function chartClicked( event
) { var fill =
event.hitData.element.getStyle("fill"); for ( var
i=0;i<fill.entries.length;i++)
{
fill.entries[i].alpha=100;
}
event.hitData.element.invalidateStyle(“fill); . . . } -- 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
YAHOO! GROUPS LINKS
|
- [flexcoders] ColumnChart question Graham, Jason
- RE: [flexcoders] ColumnChart question Ely Greenfield
- RE: [flexcoders] ColumnChart question Graham, Jason
- RE: [flexcoders] ColumnChart question Ely Greenfield

