- 1、本文档共3页,可阅读全部内容。
- 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 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
您可能关注的文档
- ERP操作说明第二章.pdf
- EVE——无人机克制各族巡洋舰级别以上舰船全功略.pdf
- Eviews操作手册2.doc
- eviews6.0上机多重共线性.pdf
- Excel中Sumifs函数的使用方法.docx
- EXCEL在通径分析中的应用.pdf
- EXCEL绘制正态概率坐标纸.pdf
- Excel色彩渐变的数据系列.pdf
- execl点数据转arcgis点、线、面文件.doc
- e的“自然”之处.ppt
- 山东省威海乳山市银滩高级中学2022-2023学年高三9月月考物理试题.docx
- 山东省日照第一中学2020届高三上学期期中考试英语试题 Word版含答案.doc
- 山东省实验中学2023届高三第二次诊断考试语文试题.docx
- 山东省威海乳山市银滩高级中学2023届高三上学期9月月考日语试题 word版无答案.docx
- 山东省实验中学2023届高三第二次诊断考试地理试题.docx
- 山西省运城市2022-2023学年高三年级入学新生教学质量监测考试地理试题.docx
- 山东省实验中学2023届高三第二次诊断考试历史试题.docx
- 山东省实验中学2019届高三第二次诊断性考试数学试题(文).doc
- 山东省济南市历城第二中学2020届高三上学期期中考试化学试题 Word版含答案.doc
- 山东省威海乳山市银滩高级中学2022-2023学年高三9月月考政治试题.docx
文档评论(0)