Exporting Charts as PDF or Images |
In FusionWidgets XT, you could export your charts/gauges as images, PDFs, and also choose whether to export at client-side or server-side. |
Flash Export Overview |
Shown below is an example image, where users can export the chart using the context menu of chart. |
When users select an export format, they get a screen as under: |
Once the capturing process is complete, the data is sent to our export handlers which in turn return the image/PDF to you. Now, before we jump into the instruction of the usage, let us first see what all can be made possible using FusionCharts Export Component. Using FusionWidgets XT export charts routine, you can do the following:
|
Pure JavaScript rendering (HTML5) Export Overview |
FusionWidgets XT allows Export of JavaScript(HTML5) based charts as image/PDF. During export of the pure JavaScript charts, the chart data is sent to FusionCharts servers for processing and converting to image/PDF. User must have an active internet connection for this feature to work. In case you want to process the exported data on your own server, you may setup the chart to send the data to your own server. For this you will require PHP and JAVA (1.3 or above) support at your server. Also you will require FusionCharts PHP export handler and Apache Batik SVG Rasterizer library. The details of how to do the same has been explained later. Please take note of the few limitations regarding customizability and features, when using the pure JavaScript(HTML5) Export method, listed below:
When rendered using JavaScript (HTML5), there is only one mode of export - at server-side. By default, JavaScript (HTML5) charts use FusionCharts server to get exported image. However you can place the PHP and JAR files on your servers and then over-ride the URL. To know more about the present possibilities and limitations of exporting process using pure JavaScript charts, refer to Exporting Pure JavaScript Charts. |