FusionCharts如何自定义图表导出菜单或界面.pdf

FusionCharts如何自定义图表导出菜单或界面.pdf

  1. 1、本文档共3页,可阅读全部内容。
  2. 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
FusionCharts如何自定义图表导出菜单或界面

FusionCharts的导出组件界面有两种模式: Compact Mode: 用于保存单张图片,每一个单独的导出组件实例都代表单独的图表。在这种模 式下,只有一个按钮和标题是可见的。 Full Mode: 保存多个图表,无论是单独或作为一个单独的文件。在这种模式下,用户可以选择需 要保存的图表以及保存的格式。 在两种模式下,你可以自定义导出组件的颜色、字体和标题。在进入属性之前,先快速看一下导出 组件的各种元素。如下图所示: 定制导出组件的属性 配置导出组件的属性时,同样需要在JavaScript中指定(其中的导出组件已经被初始化)。示例代 码如下所示: div id=fcexpDiv align=center FusionCharts Export Handler Component /div script type=text/javascript var myExportComponent = new FusionChartsExportObject(fcExporter1, ../../FusionCharts/FCExporter.swf); 慧都科技——帮助企业打造成功软件 ! 1 //Customize the component properties //Width and height myExportCponentAttributes.width = 400; myExportCponentAttributes.height = 60; //Background color myExportCponentAttributes.bgColor = ffffdd; //Border properties myExportCponentAttributes.borderThickness = 2; myExportCponentAttributes.borderColor = 0372AB; //Font properties myExportCponentAttributes.fontFace = Arial; myExportCponentAttributes.fontColor = 0372AB; myExportCponentAttributes.fontSize = 12; //Message - caption of export component myExportCponentAttributes.showMessage = 1; myExportCponentAttributes.message = Export the chart first, and then click on this button to save; //Button visual configuration myExportCponentAttributes.btnWidth = 200; myExportCponentAttributes.btnHeight= 25; myExportCponentAttributes.btnColor = E1f5ff; myExportCponentAttributes.btnBorderColor = 0372AB; //Button font properties myExportCponentAttributes.btnFontFace = Verdana; myExportCponentAttributes.btnFontColor = 0372AB; 慧都科技——帮助企业打造成功软件 ! 2 myExportCponentAttributes.btnFontSize = 15; //Title of button myExportCponentAttributes.btnsavetitl

文档评论(0)

liangyuehong + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档