I have custom item renderer for a ColumnChart in Flex 3 b3.

I can make it work in MXML or ActionScript, but I get errors when I do
it with CSS.

works:
columnSeries.setStyle("itemRenderer", new ClassFactory(MyRenderer));

works:
<ColumnSeries itemRenderer="package.MyRenderer" />

Doesn't work:
.mySeries {
    itemRenderer:ClassReference('package.MyRenderer');
}


The error is that it can't convert MyRenderer$ to IFactory. I have
tried using a class that implements IFactory too, but it still falls
over because it's not creating an instance, to even be able to call
the newInstance() method.

It looks like a bug in the charts, because other components can handle
this ok, but t's hard to know without the chart source...


Peter

Reply via email to