Forum


Replies: 7   Views: 1919
Docxprem - custom colors for charts
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  · 29-07-2020 - 09:45

Hello,

addChart allows applying the following styles to the title:

*  'stylesTitle' (array)
     *      'bold' (boolean)
     *      'color' (ffffff, ff0000...)
     *      'font' (Arial, Times New Roman...)
     *      'fontSize' (8, 9, 10, ...) size as drawing content (10 to 400000). 1420 as default
     *      'italic' (boolean)

superscript and subscript styles are not supported yet. The same styles are applied to the whole title. We have moved the request to the dev team to add suport.

Regards.