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.
Specifies a set of formats available for exporting into.
Specifies a name that should be assigned to the file with the exported widget.
A handler for the initialized event. Executed only once, after the widget is initialized.
A handler for the optionChanged event. Executed after an option of the widget is changed.
Specifies whether or not to enable printing operation.
Specifies the URL of the server that supplies the exporting service.
Specifies whether to show the export menu or not.
Specifies a div container that holds the widget to be exported.
Prevents the widget from refreshing until the endUpdate() method is called.
Refreshes the widget after a call of the beginUpdate() method.
Exports the widget.
Gets the widget's instance. Use it to access other methods of the widget.
Detaches all event handlers from a single event.
Detaches a particular event handler from a single event.
Subscribes to an event.
Subscribes to events.
Gets all widget options.
Gets the value of a single option.
Updates the value of a single option.
Updates the values of several options.
Calls the browser's print window.
Raised only once, after the widget is initialized.
Raised after a widget option is changed.