ASE Home Page Products Download Purchase Support About ASE
ChartDirector Support
Forum HomeForum Home   SearchSearch

Message ListMessage List     Post MessagePost Message

  Single Stacked Bar chart show all values PERL
Posted by Donavon Lerman on Dec-05-2018 06:33
Attachments:
I have created a single stacked bar chart.

If the "bar segment" is to small the value doesn't show up.

Is there a way to force the display of the value even if the "bar segment" is to small?

The Yellow & Red bar segments in the attached picture are not displaying values.

Thank You,
~Donavon
singleStackedBar.PNG

  Re: Single Stacked Bar chart show all values PERL
Posted by Peter Kwan on Dec-05-2018 14:38
Hi Donavon,

Yes, there is an API BarLayer.setMinLabelSize to set the threshold for hiding the label:

https://www.advsofteng.com/doc/cdperl.htm#BarLayer.setMinLabelSize.htm

If you set the threshold to 0, that means the label will always be displayed:

$layer->setMinLabelSize(0);

Hope this can help.

Regards
Peter Kwan