Exporter

Deprecated
NOTE
This widget is deprecated. Instead of it, use the built-in client-side exporting. For further information, refer to the export option of a particular widget.

The Exporter widget allows you to export your chart, gauge or any other DevExtreme data visualization widget into an image or a document. The Exporter works in conjunction with other widgets and should not be used separately.

Included in: dx.viz.js, dx.viz-web.js, dx.all.js
Type: Object

To operate, Exporter requires the PhantomJS WebKit version 1.9.X, 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 Exporter onto your page.

You can add the widget using one of the following approaches.

jQuery
JavaScript
HTML
$(function() {
    $("#exportMenu").dxExporter({
        // ...
        });
});
<div id="exportMenu"></div>
Angular
HTML
<dx-exporter></dx-exporter>
AngularJS
HTML
<div dx-exporter="{
    // ...
}"></div>
Knockout
HTML
<div data-bind="dxExporter: {
    // ...
}"></div>

Note that DevExtreme widgets require you to link the jQuery library to your application. If you use the Knockout or AngularJS approach, the Knockout or AngularJS library is also required. For detailed information on linking these libraries to your project, refer to the topics in the Installation section.

Configuration

An object configuring options for the Exporter widget.

Methods

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

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

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

Events

This section describes events fired by this widget.

See Also