# Configuring Chart to use PCXML templates

During deployment, you added PCXML templates to your Corda implementation. Now you can configure the Chart component to use these templates.

The endeca-corda-chart-portlet-<version>.war archive file is included in components-<version>.zip.

To configure the Chart component's PCXML templates:

Update the WEB-INF/analytics-portlet-config.xml file in endeca-corda-chart-portlet-<version>.war and add or remove the CordaChartConfiguration elements.
Note: This Java archive file can be expanded and re-packaged with Java's jar tool or with a zip utility.
For example, to add a new chart called 3D Pie with PCXML template 3DPie.pcxml, update the file to include the following XML:

    <bean id="3dPieChart" class="com.endeca.portlet.corda.CordaChartConfiguration">
      <property name="chartDisplayName" value="3D Pie" />
      <property name="pcxml" value="3DPie.pcxml" />
    </bean>

This configuration causes the Chart component to display an additional option on its Preferences panel, allowing the use of 3D Pie as a chart style.