Replies: 1   Views: 874
Selectively show datavalues in chart
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 dev@ram  · 11-04-2017 - 20:03

I am using showValue => 1 in chart. 

This displays data labels for all bars in a colChart. Is there a way to selectively show it for some bars while hide it for others?

Posted by admin  · 12-04-2017 - 07:28


We recommend you to check the API page of the method:

If you don't find an option to accomplish what you need in the available options, then that customization is not supported in the current version of phpdocx.

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: