A widget that allows you to export any ChartJS widget into an image or a document.

Type: Object

The dxExporter widget allows you to export your chart, gauge or any other ChartJS widget into a PNG, PDF or SVG file. dxExporter works in conjunction with your widget and should not be used separately.

To operate, dxExporter requires the PhantomJS WebKit, which allows you to use the client-server model where PhantomJS performs as a server. Refer to the Deploy a Server topic for details on how to setup your server.

When your server is ready, add dxExporter onto your page. The dxExporter widget, like any other ChartJS widget, can be created using one of three possible approaches: jQuery, Knockout or AngularJS. The following code demonstrates how to do this within the "exporterContainer" div container using the jQuery approach.

  $(function () {
      //Options of the configuration object are specified here

To configure dxExporter, specify the options described in the Configuration reference section.

NOTE: This widget does not support Internet Explorer 8.

Start Tutorial Watch Video


An object configuring options for the dxExport widget.


This section describes methods that can be used in code to manipulate the dxExporter widget.

All the methods listed in this section should be called out of the dxExporter widget's instance. To obtain it, use the following construction.

var exporter = $('#exporterContainer').dxExporter('instance');