FusionCharts V3 chart export image and PDF attributes

Source: Internet
Author: User
If you see this text, the description is transferred from <a tree-blog garden>, original link: http://www.cnblogs.com/atree/archive/2010/07/21/FusionCharts-Export-Image-Pdf.html

 

Click here to download the demo: (the demo document is incorrect and cannot be downloaded. Wait for a new demonstration document to come out .)

Many of my friends said that the above DEMO could not be used. The official fusioncharts demo is very good, that is, it is too late to sort it out. You can study it. Web: http://www.fusioncharts.com/Demos/ExportChart/Contents/batch_export.html

Attribute name Type Description
FusionCharts V3 attributes related to core export functions
ExportEnabled Boolean (0, 0/1) Can images/PDFs be exported for charts?
ExportShowMenuItem Boolean (0, 0/1) Whether to display the export image button in the right-click menu of the chart
ExportFormats String

The formatted list chart is displayed in the context menu for each label at the same time.

The values of this attribute should be separated by key-value pairs. '|' To be used as the delimiter ). The syntax for this attribute value is as follows:
KEY = Value [| KEY = Value] *

For example, the custom context menu is in PNG and PDF format.

ExportType = "PNG = Export as High Quality Image; JPG; PDF = Export as PDF File"

ExportAtClient Boolean (0, 0/1) Export to client or server
ExportHandler String

In terms of server export, this refers to the server-side Output Processing Program (available scripts, the path we provide ).

In terms of customer export, this refers to the export of FusionCharts, a component of DOM, is embedded on your web page, with the same chart as above.

ExportAction 'Save' or 'Download' When exporting on the server side, the Action specifies whether the exported image will be sent back to the client for download or whether it will be saved on the server.
ExportTargetWindow _ Self or _ blank When used on the server side, the export is used as the download of the action. Whether the left-side configuration returns the image/PDF format will be opened in the same window as the attachment to download (), or whether a new window is opened.
ExportCallback String

The name of the JavaScript function will be called and returned to the process when export finished:

CLIENT Export
Batch Export
Server-side export operation using 'save'

ExportFileName String You can specify the name (excluding the extension) of this attribute by using output (export.
     
Configure related properties in the Export Dialog Box:
ShowExportDialog Boolean (0, 0/1) Whether to display the exit dialog box in the capture phase. If no, the capture process starts, but no chart dialog box is visible.
ExportDialogMessage String The message is displayed in the dialog box. The default value is "capture data :"
ExportDialogColor Hex Color The background color of the dialog box.
ExportDialogBorderColor Hex Color The foreground color of the dialog box.
ExportDialogFontColor Hex Color Font color of the dialog box text.
ExportDialogPBColor Hex Color The color of the progress bar of the dialog box.

Simple XML case:

<Chart yAxisName = 'sales Figure 'caption = 'top 5 Sales person' numberPrefix =' $ 'useRoundEdges = '1' bgColor = 'ffffffff, ffff' showBorder = '0'ExportEnabled = '1' exportAtClient = '1' exportHandler = 'fcexporter1'>
<Set label = 'Alex 'value = '000000'/>
<Set label = 'mark' value = '000000'/>
<Set label = 'David' value = '000000'/>
<Set label = 'Graham 'value = '000000'/>
<Set label = 'john' value = '000000'/>
</Chart>

URL: http://www.cnblogs.com/atree/archive/2010/07/21/FusionCharts-Export-Image-Pdf.html

Related documents: Detailed descriptions and features of FusionCharts Parameters

FusionCharts cracked Version Download

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.