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.
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.
The following code shows how to create the Exporter widget using every supported library and framework. For more details on working with widgets in these libraries and frameworks, see the Widget Basics topic for jQuery, Angular, AngularJS, Knockout or ASP.NET MVC.
An object configuring options for the Exporter widget.
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.
var exporter = $('#exporterContainer').dxExporter('instance');