Forum


Replies: 7   Views: 3645
Wordfragment with 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 WestPoint  · 01-07-2014 - 09:56

Hi, this code is givin me error, someone can help me please? Thanks $grafico = new WordFragment($docx, 'document'); $data = array( 'Legend 1' => array(20), 'Legend 2' => array(30), 'Legend 3' => array(40) ); $paramsChart = array( 'data' => $data, 'type' => 'pie3DChart', 'rotX' => 20, 'rotY' => 20, 'perspective' => 30, 'color' => 2, 'sizeX' => 10, 'sizeY' => 5, 'chartAlign' => 'center', 'showPercent' => 1, ); $grafico->addChart($paramsChart);