Hi Steve, changing the itemrenderer dynamically (once the series and
items have already been created) in charts is not supported, pls. file
an enhancement request at http://bugs.adobe.com/flex , so that it can be
considered. 

 

Thanks

-Sunil

 

________________________________

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of hworke
Sent: Monday, November 26, 2007 10:43 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Multiple Bubble Chart itemRenderer

 

Hello All!!!

I am creating a bubble chart with custom renderer. The render item
is basically
a button in a canvas. Depending on the bubbles' value the buttons
get their color.
This part works fine.

I have another custom itemRenderer which I want to assign to the
bubbleSeries
if a particular event occurs.

The problem I am having is -- assigning itemrenderer dynamically to
a bubbleserier.

Here are the lines that I tried but did not work:

var series:Object = bubblechart.series[0];
// bubblechart is main charts id
series.itemRenderer = new ClassFactory(bubbleRenderer1); //
bubbleRenderer1 is custom renderer

Any help will be appreciated.

Best regards...

Steve

 

Reply via email to