The workaround is to use event.stopImmediatePropagation() on the chart's change 
event.  Looks like this has been filed as a bug before but not addressed as it 
couldn't be replicated.

Jeff

________________________________
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf 
Of Battershall, Jeff
Sent: Friday, December 11, 2009 10:36 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] cannot convert mx.charts.events::ChartItemEvent to 
mx.events.IndexChangedEvent.




Hello,

I have a LineChart with selectionMode = multiple, living inside a container and 
finally a ViewStack.

I'm getting this error:

cannot convert mx.charts.events::chartitemev...@ea1e341 to 
mx.events.IndexChangedEvent.

If I remove the selectionMode attribute, everything works fine, except I need 
the LineChart and its associated LineSeries to be selectable.

Anyone encountered this?

Jeff Battershall
Application Architect
Dow Jones Indexes
jeff.battersh...@dowjones.com
(609) 520-5637 (p)

(484) 477-9900 (c)





Reply via email to