What is the best way to specify the color on an AxisLabel?

I've been working with some charts recently and set the AxisLabel 
color by setting a labelRenderer on the AxisRenderer.  My 
LabelRender then returns a mx.controls.Label that has the color 
set appropriately and the data function overridden so that it can
display everything correctly.

Although this works, it causes problems if I'm not very careful 
about making sure that my graph component is not reused in a 
different component because the supplied DisplayObject wouldn't be a 
child of the caller (eg. the Label wouln't be a child).

Is there an easier way?

Thanks.

--Kaleb

Reply via email to