Replies: 3   Views: 1154
Barchart with autoheight
Topic closed:
Please note this is an old forum thread. Information in this post may be out-to-date and/or erroneous.
Every phpdocx version includes new features and improvements. Previously unsupported features may have been added to newer releases, or past issues may have been corrected.
We encourage you to download the current phpdocx version and check the Documentation available.

Posted by admin  · 27-04-2017 - 08:40


The size of a chart is set by the internal MS WORD wp:extent tag. It doesn't allow to set an 'auto' value, only integer values set as EMUs (English Metric Unit).

phpdocx doesn't include an option to calculate the height depending on the number of bars nor other values.