$(function () { var returnsValue; // Type: any // Parameters var exportSettings; // Type: undefined var type; // Type: undefined var pdfSettings; // Type: undefined var serviceUrl; // Type: undefined var exportMethod; // Type: undefined returnsValue = $(".selector").wijchartcore("exportChart", exportSettings, type, pdfSettings, serviceUrl, exportMethod); });
function exportChart( exportSettings : undefined, type : undefined, pdfSettings : undefined, serviceUrl : undefined, exportMethod : undefined ) : any;
Parameters
- exportSettings
- 1.The name of the exported file. 2.Settings of exporting, should be conformed to wijmo.exporter.ChartExportSetting
- type
- The type of the exported file.
- pdfSettings
- The setting of pdf.
- serviceUrl
- The export service url.
- exportMethod
- with different mode, 1. "Content" Sending chart markup to the service for exporting. It requires IE9 or high version installed on the service host. It has better performance than Options mode. 2. "Options" Sending chart widget options to the service for exporting.