Hello,
We recommend you to check the API page of the method:
https://www.phpdocx.com/api-documentation/word-content/add-chart-Word-document-with-PHP
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:
https://www.phpdocx.com/api-documentation/docxutilities/replace-chart-data-Word-document
with the MultiMerge class:
https://www.phpdocx.com/api-documentation/docxutilities/replace-chart-data-Word-document
Regards.