You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: js/Chart/Exporting.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,13 +10,13 @@ api : /api/js/ejchart
10
10
11
11
# Exporting in JavaScript Chart
12
12
13
-
The exporting of the chart is done using the [`exportSettings`](https://help.syncfusion.com/api/js/ejchart#members:exportsettings) property. The chart export can be done in both client-side and in server-side.This can be modified by setting values to the property [`mode`](https://help.syncfusion.com/api/js/ejchart#members:exportsettings-mode) in exporting. Default value for mode is client.
13
+
The exporting of the chart is done using the [`exportSettings`](../api/js/ejchart#members:exportsettings) property. The chart export can be done in both client-side and in server-side.This can be modified by setting values to the property [`mode`](../api/js/ejchart#members:exportsettings-mode) in exporting. Default value for mode is client.
14
14
15
15
## Client-side Exporting
16
16
17
-
In client-side rendered chart can be exported as PNG image or as SVG file.The type of export is controlled by using the [`type`](https://help.syncfusion.com/api/js/ejchart#members:exportsettings-type)property of the exportSettings.
17
+
In client-side rendered chart can be exported as PNG image or as SVG file.The type of export is controlled by using the [`type`](../api/js/ejchart#members:exportsettings-type)property of the exportSettings.
18
18
19
-
* Export as PNG - The chart can be exported to image when it is rendered in HTML5 Canvas.To render a chart in canvas, set the [`enableCanvasRendering`](https://help.syncfusion.com/api/js/ejchart#members:enablecanvasrendering) option to *true*. To export the chart, you can use the [`export`](https://help.syncfusion.com/api/js/ejchart#methods:export) method of the chart. Refer to the online [`KB for exporting`](https://support.syncfusion.com/kb/article/4957/how-to-export-the-chart-in-javascript) to know more about chart exporting.
19
+
* Export as PNG - The chart can be exported to image when it is rendered in HTML5 Canvas.To render a chart in canvas, set the [`enableCanvasRendering`](../api/js/ejchart#members:enablecanvasrendering) option to *true*. To export the chart, you can use the [`export`](../api/js/ejchart#methods:export) method of the chart. Refer to the online [`KB for exporting`](https://support.syncfusion.com/kb/article/4957/how-to-export-the-chart-in-javascript) to know more about chart exporting.
20
20
21
21
* Export as SVG - Chart can be exported as SVG if it is rendered as a scalable vector graphics element. By default chart will be rendered as SVG.
22
22
@@ -62,7 +62,7 @@ Server-side operation can be done by using the server-side frameworks such as We
62
62
* Create an MVC application and add a controller.
63
63
* Add Syncfusion.EJ, Syncfusion.EJ.MVC and Syncfusion.EJ.Export as references to the application.
64
64
* Parse the data from client in MVC controller and export the chart to client.
65
-
* Host the MVC application in your server and get the link for exporting action method. The [`action`](https://help.syncfusion.com/api/js/ejchart#members:exportsettings-action) property is used for specifying the hosted link. Example: http://js.syncfusion.com/ExportingServices/api/JSChartExport/ExcelExport.
65
+
* Host the MVC application in your server and get the link for exporting action method. The [`action`](../api/js/ejchart#members:exportsettings-action) property is used for specifying the hosted link. Example: http://js.syncfusion.com/ExportingServices/api/JSChartExport/ExcelExport.
66
66
* To pass client data to server-side, you need to call the export method and pass export type (either image or excel) and server-side URL as an argument. The third argument of the export method is a Boolean property that specifies whether only the current chart should be exported or all charts in page should be exported.
67
67
68
68
{% highlight html %}
@@ -269,11 +269,11 @@ Export multiple chart to excel at server-side
269
269
270
270
## Naming the exported file
271
271
272
-
ejChart provides options to customize the name of the file to be exported. This can be done by setting the name of the file to the property [`fileName`](https://help.syncfusion.com/api/js/ejchart#members:exportsettings-filename) in exporting.
272
+
ejChart provides options to customize the name of the file to be exported. This can be done by setting the name of the file to the property [`fileName`](../api/js/ejchart#members:exportsettings-filename) in exporting.
273
273
274
274
## Rotating the chart
275
275
276
-
We can also rotate the chart and can export it. Possible angles of rotation are 0, 90, -90 and 180 degree. This can be achieved by setting values to the [`angle`](https://help.syncfusion.com/api/js/ejchart#members:exportsettings-angle) property in exporting.
276
+
We can also rotate the chart and can export it. Possible angles of rotation are 0, 90, -90 and 180 degree. This can be achieved by setting values to the [`angle`](../api/js/ejchart#members:exportsettings-angle) property in exporting.
277
277
278
278
{% highlight javascript %}
279
279
@@ -289,11 +289,11 @@ We can also rotate the chart and can export it. Possible angles of rotation are
289
289
290
290
## Setting orientation for the document
291
291
292
-
This is applicable for PDF, excel and word documents. By setting values to the [`orientation`](https://help.syncfusion.com/api/js/ejchart#members:exportsettings-orientation) property in exporting, we can change the orientation of those documents. By default it will export with portrait orientation.
292
+
This is applicable for PDF, excel and word documents. By setting values to the [`orientation`](../api/js/ejchart#members:exportsettings-orientation) property in exporting, we can change the orientation of those documents. By default it will export with portrait orientation.
293
293
294
294
### Multiple Chart Export
295
295
296
-
Multiple charts can be exported by setting the [`multipleExport`](https://help.syncfusion.com/api/js/ejchart#members:exportsettings-multipleexport) property as true.
296
+
Multiple charts can be exported by setting the [`multipleExport`](../api/js/ejchart#members:exportsettings-multipleexport) property as true.
0 commit comments