i try it but this is the error
CreateBarChart::$_rId as non static
$docx = new DocxUtilities();
$source = storage_path('reporteword2017/grafica1.docx');
$target = storage_path('reporteword2017/grafica2.docx');
$data = array();
$data[0] = array(
'title' => 'New titleaaaa',
'legends' => array(
'new legend',
),
'categories' => array(
'cat 1',
'cat 2',
'cat 3',
'cat 4',
),
'values' => array(
array(25,12,22,33),
array(25,12,22,33),
array(25,12,22,33),
array(25,12,22,33),
array(25,12,22,33),
array(25,12,22,33),
array(25,12,22,33),
array(25,12,22,33),
array(25,12,22,33),
array(25,12,22,33),
array(25,12,22,33),
array(25,12,22,33)
),
);
$docx->replaceChartData($source, $target, $data);