Forum


Replies: 3   Views: 2939
How to set font size on 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 andrzej.morun  · 06-03-2017 - 20:38

How to set fontSize of chart (axis, value)?

'fontSize' parameter is correct?

For example I have param chart defiinition as above

    $paramsChart = array (
            'data' => $data,
            'type' => 'colChart',
            'title' => $title,
            'color' => 26,
            'sizeX' => $x,
            'sizeY' => $y,
            'jc' => 'center',
            'groupBar' => 'clustered',
            'font' => 'Calibri',
            'legendpos' => 'none',
            'fontSize' => 9,
            'border' => 'none'
    );

'fontSize' desn't give efect.