PDA

View Full Version : Style individual chart label


zonathen
06-27-2008, 07:15 PM
I know how to style every label on an axisrenderer after the chart loads but how do you style an individual label only before the chart loads? I need to style one label differently depending on the data in that column. I have tried something like:

var status:String = chartData[t]['status'];
if(status && status == "pending")
{

haxisrenderer.getChildAt(3).alpha = .3;

}

In the application init() method but the haxisrenderer doesn't seem to have any children at that stage in the application. Is there a better place to do this before the axis is rendered to the screen?

Please help!