Hi Pete,
If you would like to add text to a particular (x, y) data value coordinate, you may add a scatter layer with just one point at (x, y). The scatter layer can use a transparent symbol. Then attach the label to that symbol.
For example:
layer = c.addScatterLayer([x], [y], "", ChartDirector::DiamondSymbol, 1, ChartDirector::Transparent, ChartDirector::Transparent)
layer.addCustomDataLabel(0, 0, "My Label", "arialbd.ttf", 8, 0x000000).setAlignment(ChartDirector::Center)
Hope this can help.
Regards
Peter Kwan |