Will do. We actually had user-replacable label renderers for the pie chart on the feature list for this release at some point, but it got dropped ;(
 
Ely.

 

From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Jason
Sent: Friday, June 16, 2006 11:43 AM
To: [email protected]
Subject: [flexcoders] Re: drop shadow on pie chart label text

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]ups.com, "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]ups.com [mailto:[EMAIL PROTECTED]ups.com] On
> Behalf Of Jason
> Sent: Friday, June 16, 2006 9:51 AM
> To: [EMAIL PROTECTED]ups.com
> 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.
>

__._,_.___

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





SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




__,_._,___

Reply via email to