Has anyone played with the PolarDataCanvas canvas object to annotate Pie
Charts? There are plenty of examples in the Live Docs and elsewhere on the web
on how to annotate Bar and Column Charts (using a CartesianDataCanvas), but
none that I can find using PieCharts.
Assuming that a valid NameField assigned to the chart's PieSeries is "Yellow",
is it as simple as the following code?
var columnLabel:Label = new Label();
columnLabel.setStyle("fontWeight", "bold");
columnLabel.setStyle("color", "0x660000");
columnLabel.text = "Hello"
annotationCanvas.addDataChild(columnLabel,'Yellow');
When called, this causes the chart to re-draw, but nothing appears inside the
"Yellow" wedge.
I know that I could use labelPosition="inside" to accomplish something similar,
but I already have callout labels and need an inner label in addition.
Thanks!
Toby