Hi Steve,
If you are referring to the numeric labels at the top or bottom of the bars, you can remove them by removing the following line.
$layer->setAggregateLabelStyle("arialbd.ttf", 8, $layer->yZoneColor(0, 0xcc3300, 0x3333ff));
For the bars, there are two kinds of labels - data labels and aggregate labels. An example that uses both types of labels are at:
https://www.advsofteng.com/doc/cdperl.htm#stackedbar.htm
By default, those labels are not drawn. If the code configures the style or format of those labels, ChartDirector assumes the intention is to display them, so it will draw them.
Regards
Peter Kwan |