Replies: 3   Views: 1394
Color scheme for graphs
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  · 04-04-2017 - 16:07

Edited by admin · 10-10-2019 - 10:54


phpdocx 9.5 Premium licenses include options to customize series and values colors using addChart.

That scheme color is quite similar to Style 3 of phpdocx base template. The only option available to set colors with the addChart method is using the color option.

If you are using MS Word 2016 and you need to use a scheme or palette from this version of MS Word, we recommend you to use a custom empty base template and the CreateDocxFromTemplate class. Using this custom base template you can use the schemes from MS Word 2016: Style 7 is a blue style using this DOCX version.

Advanced and Premium licenses also include this function:

to create custom charts and change their values dynamically. This method allows to customize Word charts in templates, and with MultiMerge class merge the charts in other DOCX.