I'll look into the subclassing, but it might be a good idea to put on the wishlist. The problem is that frequently the text color that would look good on one wedge doesn't look good on others. Compare a yellow wedge with a dark blue one, for example. Or, if a callout has to be used for a small slice, the text color might be unreadable on the background. Drop shadows or outlines are popular because they avoid these problems. I actually feel outlines are more readable, but drop shadows are usually what's provided (if anything). I'm already running into this problem and it's my first attempt to make a real app with pie charts.
--- In [email protected], "Ely Greenfield" <[EMAIL PROTECTED]> wrote: > > > > Typically, when you place labels on a chart, you want them to go on top, > so they don't get clipped by other data or series. To accomplish this, > when you place an element in a chart, the element can provide the chart > with a 'label container': a UIComponent that contains all of its labels. > The chart will make sure this UIComponent goes above all data. > > > So one way to get drop shadows on the labels would be to subclass > PieSeries, override the get labelContainer function, and make sure that > the label container returned by the base implementation has a nice > dropshadow filter applied to it. > > A more general way would be to replace the class the PieSeries uses to > render its labels, but that's not supported by this release. > > Ely. > > > ________________________________ > > From: [email protected] [mailto:[EMAIL PROTECTED] On > Behalf Of Jason > Sent: Friday, June 16, 2006 9:51 AM > To: [email protected] > Subject: [flexcoders] drop shadow on pie chart label text > > > > Is there some way to add a drop shadow to the label text (set using > labelFunction) of a pie chart? I've tried poking around with styles > and renderers but I can't figure it out. > ------------------------ Yahoo! Groups Sponsor --------------------~--> See what's inside the new Yahoo! Groups email. http://us.click.yahoo.com/2pRQfA/bOaOAA/yQLSAA/nhFolB/TM --------------------------------------------------------------------~-> -- 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/ <*> 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/

