2 Replies Latest reply on Aug 24, 2010 10:34 PM by Malena Mesarina

    How to set itemRenderer property of LineSeries

    Malena Mesarina



      I tried to set the itemRenderer property of a LineSeries like this;


      TargetSeries.setStyle("itemRenderer", "CircleItemRenderer")   and I get the following error:


      >>TypeError: Error #1034: Type Coercion failed: cannot convert "CircleItemRenderer" to mx.core.IFactory.


      any ideas?


      I can't find documentation that gives you examples on how to set the "itemRenderer" property, so maybe I am doing this wrong.