How can I change names od Series and Categories?
In advanced version phpdocx I use bellow code, but only values changes.
I need to change names od X axis. Is it possible?
require_once 'classes/DocxUtilities.inc';
$docx = new DocxUtilities();
$source = 'example_area_chart.docx';
$target = 'example_area_chart_replace_data.docx';
$completedData = array(
    'legend' => array('Seria 1', 'Seria 2', 'Temp'),
    'Marzec' => array(11, 10, 12),
    'Luty' => array(12, 6, 32),
    'Maj' => array(10, 3, 20),
    'Czerwiec' => array(25, 70, 20)
);
$data = array(
0 => $completedData,    
);
$docx->replaceChartData($source, $target, $data); 
 
                 Log in
                                    Log in
                                 Contact
                                Contact
                             Forum
                                Forum