XmlApi - pdx:replaceChartData

pdx:replaceChartData

Replaces the data associated with a given chart.

Description

Element definition

This element allows to replace the chart data in an existing Word document. You may fully customize the chart via the Word interface before inserting the real data with the help of phpdocx.

Attributes and sub-elements

source

Path to the DOCX.

target

Path to the resulting DOCX.

Code samples

Example #1

config.xml

content.xml

settings.xml

PHP code