Is it possible to call a xaction file through doChart() method?

I have tried this but its giving an error


Could not retrieve chart type from xml definition - I/O error.

Server Version: Pentaho Platform Engine Core 3.5.2.stable.41050 Chart type not found in xml definition nor as a parameter. Can not generate chart without a chart type. Server Version: Pentaho Platform Engine Core 3.5.2.stable.41050


Plzz can anyone help me in this????

Note:

I did't create any XML file instead of that I have set all the chart properties in xaction file itself.

doChart(), Is required XML file to call a xaction file???