Dynamic Flex verticalaxisrenderers
- by user276424
Hi,
I've created a linechart in flex using pure as3. I need now to convert it to a dynamic multi axis chart. What I mean by dynamic, is that I can programmatically add or remove axisrenderers from the verticalaxisrenderer array at runtime. It seems i can remove axisrenderers at runtime by simply doing this:
verticalAxisRenderers = verticalAxisRenderers.splice(index,1);
However, ADDING axisrenderers is not working. I am doing it by so:
verticalAxisRenderers.push(ar2);
verticalAxisRenderers = verticalAxisRenderers;
Where am I going wrong? Please help!
Thanks,
Tone