You should be able to set fontSize on the PieSeries:

<mx:PieSeries field="Amount" nameField="Expense" labelPosition="callout"
fontSize="40"/> 

hth,

matt horn
flex docs

> -----Original Message-----
> From: [email protected] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Pan Troglodytes
> Sent: Thursday, September 28, 2006 3:06 PM
> To: [email protected]
> Subject: Re: [flexcoders] custom outlined pie labels
> 
> Thanks Ely.  Would be nice in a future release to more easily 
> fiddle with the series labels.
> 
> On a related note, how would you go about changing the font 
> size for the pie labels?  I've tried a lot of different 
> things, none of which worked. 
> 
> 
> On 9/28/06, Ely Greenfield <[EMAIL PROTECTED] 
> <mailto:[EMAIL PROTECTED]> > wrote:
> 
>        
>        
>        
>       Can't think of any reason why that would be 
> problematic. The PieSeries currently always creates a label 
> layer, and never recreates it, so at least for now that 
> should be Copacetic.
>        
>       Ely.
>        
> 
> ________________________________
> 
>       From: [email protected] 
> <mailto:[email protected]>  
> [mailto:[email protected] 
> <mailto:[email protected]> ] On Behalf Of Pan Troglodytes
>       Sent: Thursday, September 28, 2006 9:29 AM
>       To: flexcoders
>       Subject: [flexcoders] custom outlined pie labels
>       
>       
>       
> 
>       I'm making an outline around my pie labels using the 
> following code for the pie chart:
>       
>       public function creationComplete():void
>       {
>         UIComponent(labelElements[0]).filters = 
>           [new DropShadowFilter(1, 0, 0xFFFFFF, 1, 0, 0),
>           new DropShadowFilter(1, 90, 0xFFFFFF, 1, 0, 0),
>           new DropShadowFilter(1, 180, 0xFFFFFF, 1, 0, 0),
>           new DropShadowFilter(1, 270, 0xFFFFFF, 1, 0, 0)]; 
>       }
>       
>       Is there anything about this that's not kosher?  I 
> suppose I could put a check in for labelElements.length != 0, 
> but this isn't really for general purpose use.  Are there any 
> situations in a pie chart where this could blow up? 
>       
>       -- 
>       Jason 
> 
>       
> 
> 
> 
> 
> --
> Jason 
> 
>  
> 


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/flexcoders/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to