Forum


Replies: 6   Views: 2214
How to set up line chart without curve when created from a template
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 dawenloni  · 27-09-2019 - 22:50

I need to create line chart with straight lines (no curve nor smooth lines), and the chart border with no round borders. When create a doc file from scratch,  using " $docx = new CreateDocx(); ", it is the way like that.

However, when create a doc from a template, such as

$docx = new CreateDocxFromTemplate('files/Template_PT_Resource_Allocation_Form_Grants_2019-09-23.docx');

with the same codes to generate a line chart, things changed. all lines are smoothly curved, and the chart borders have round corners, that are NOT what we want.

 

Any suggetion so we would archive the line charts with straight lines (No curved smoothling lines), and chart borders are not round corners?