2013-03-07 56 views
0

有沒有辦法導出像FusionXT圖表這樣的javascript amcharts?Javascript安全出口

http://docs.fusioncharts.com/charts/?exporting-image/ECPureJS.html

+0

這樣http://blog.amcharts.com/2012/09/exporting-javascript-charts-maps-as.html? http://jsfiddle.net/maertz/qf5m3/ http://jsfiddle.net/maertz/bbTKg/ – Daniel 2013-03-07 06:52:00

+0

是的。但我不能在IE8中實現這一點,因爲這在SVG支持瀏覽器中工作正常。 – Siddharth 2013-03-07 07:59:48

回答

0

是的。

查看github上的AmCharts Export插件庫,其中包含api詳細信息。

此外,還查看本文從amCharts網站:

從插件導出選項是高度可配置;此外,該工具還允許註釋圖表。

一旦包含導出插件js和css文件,默認配置只需要設置在amChart配置中啓用的「導出」。

type: "serial", 
theme: "light", 
... 
export: { 
    enabled: true 
} 

下面是一個小提琴例如基於版本:出口插件33年1月4日(對不起,不得不手動添加JS和CSS)。

enter image description here

enter image description here

enter image description here

enter image description here

enter image description here

enter image description here