Method Used
Parameters:API Tags:
Return: instance
Access: public
Example:
... $chart = new jqChart(); $chart->setChartOptions(array("defaultSeriesType"=>"line","marginRight"=>130,"marginBottom"=>25)) // disable exporting ->setExporting(array("enabled"=>false)) ...
| Option name | Type | Default |
|---|---|---|
| buttons | exporting.buttons - object | See below |
| Configuration options for the buttons associated with the exporting module. See detail | ||
| enabled | boolean | true |
| Whether to enable the exporting module. | ||
| filename | string | chart |
| The filename, without extension, to use for the exported chart. | ||
| type | string | image/png |
| Default MIME type for exporting if chart.exportChart() is called without specifying a type option. Possible values are image/png, image/jpeg, application/pdf and image/svg+xml. | ||
| url | string | http://trirand.com/jqcharts/ |
| The URL for the server module converting the SVG string to an image format. By default this points to Trirand Inc free web service. | ||
| width | number | 800 |
| The pixel width of charts exported to PNG or JPG. | ||