So, after much digging through documentation, a co-worker found that 
there's a color property on the AxisRenderer (rather than the stroke 
that's used by the AxisRenderer) that affects the label's color.

BTW, it would be very helpful if the documentation showed a picture 
of a customized graph with callouts or numbers that related to 
sections of the picture so that it would be easy to correlate 
certain customizations with renderers, styles, axis's, etc.

Regards.

--Kaleb

--- In flexcoders@yahoogroups.com, "kaleb_pederson" 
<[EMAIL PROTECTED]> wrote:
>
> 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