Good day!
In PhpWord one can generate a chart with:
$chart = $section->addChart('pie', array('A', 'B', 'C', 'D', 'E'), array(1, 3, 2, 5, 4));
I'd like to add that chart to a doc template that uses ${graph} as placeholder:
$templateProcessor->setValue("graph", $chart);
Obviously, this doesn't work, but is there a possibility to do that?