Replies: 4   Views: 1374
How to create a colchart with grouped values
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  · 06-04-2017 - 06:24


The option groupBar allows to group the data in bar and columns chart. Please check this option in the API documentation:

and the included example addChart/sample_3.php

About customize major and minor units, it's supported in bar bar and line charts through majorUnit and minorUnit parameters (and also scalingMax and scalingMin).

To customize charts using parameters or styles not supported in the API method

we recommend to use the replaceChartData method available in Advanced and Premium licenses:

with the MultiMerge class: