Hi Randy,
Yes. You can display anything you like on the stacked bar chart. The exact code depends on where you want to display them.
The easiest case is to display the labels on the blue bar segment itself. However, for your case, the blue bar segments seem too small and there may be insufficient space for the labels. Anyway, you may try something like (in VB/VBScript):
'display percentage
Call layer.setDataLabelFormat("{percent}%")
Call layer.setDataLabelStyle("arialbd.ttf", 8, &Hffffff).setAlignment(cd.Bottom)
Call layer.setMinLabelSize(0) 'force label to display even if there is insufficient space
If you need further help, please kindly clarify where would you like to display the labels.
Regards
Peter Kwan |