This is the code I am using to make the series (working):
var localSeries:PieSeries = new PieSeries();
localSeries.dataProvider = questionData;
localSeries.field = "value";
localSeries.nameField = "generation";
localSeries.explodeRadius = .1;
localSeries.setStyle("labelPosition", "inside");
When I add the line:
localSeries.labelFunction(display());
I get an error saying I don't have enough arguments. It doesn't
appear you need to specify them with MXML.
display(data:Object, field:String, index:Number,
percentValue:Number):String
data:Object is questionData
field:String is "value"
index:Number is ____________
percentValue:Number is ____________
What values do I use for index and percentValue?
TIA,
Sandy