I'm building a custom datatip for a pie chart.

How do I get to the percent values for the pie wedges? (In the 
labelFunction this is expressed as percentValue.)

Here's how I'm getting to other values so far:

        private function buildDataTip(e:HitData) : String
        {
            var pie:PieSeries = PieSeries(e.element);
            var pieName:String = e.item[pie.nameField];
            var pieValue:Number = e.item[pie.field];
             var piePercent = ?????????
             .....
             return .....
       }

- Tom




--
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/
 


Reply via email to