I think the axisrenderer supports the fontSize property. Have you tried
that?

-matt  

> -----Original Message-----
> From: [email protected] 
> [mailto:[EMAIL PROTECTED] On Behalf Of anewgene
> Sent: Wednesday, September 12, 2007 8:07 PM
> To: [email protected]
> Subject: [flexcoders] How to increase the font size of 
> CategoryAxis labels
> 
> Hi, Group,
> I have made a BarChart to display data with many categories (~90). 
> I have the verticalAxis as a CategoryAxis. The label for each 
> category is too small to be readable with the default. How 
> can I force increasing the font size for these labels? I 
> notice that there is still some empty space between labels to 
> allow larger font size without overlapping. I searched manual 
> and this forum, but cannot find the answer.
> 
> The below is my code for "verticalAxis"
> 
> <mx:verticalAxisRenderer>
> <mx:AxisRenderer axisStroke="{axis_stroke1}" showLine="true" 
> showLabels="true"
> tickPlacement="none" canDropLabels="false" labelGap="0"/> 
> </mx:verticalAxisRenderer> <mx:verticalAxis> <mx:CategoryAxis 
> categoryField="sample"
> />
> </mx:verticalAxis>
> 
> Thanks in advance.
> 
> Lei
> 
> 
> 
>  
> 

Reply via email to