FusionCharts 3D帕累托图
2024-08-22 11:29:31
1、设计3D帕累托图的页面
Pareto3D.html:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>FusionCharts Pareto3D</title> <meta http-equiv="keywords" content="keyword1,keyword2,keyword3"> <meta http-equiv="description" content="this is my page"> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <script type="text/javascript" src="../scripts/jquery-2.0.3.js"></script> <script type="text/javascript" src="../scripts/Charts/FusionCharts.js"></script> <script type="text/javascript"> $(function(){ var pareto3D = new FusionCharts( "../scripts/Charts/Pareto3D.swf", "pareto3DId", "100%", "540", "0" ); pareto3D.setXMLUrl("data/pareto3D.xml"); pareto3D.render("pareto3DChart"); }); </script> </head> <body> <div id="pareto3DChart"></div> </body> </html>
2、设计3D帕累托图的数据源
pareto3D.xml:
<?xml version="1.0" encoding="UTF-8"?> <chart caption="一周统计人数" xAxisName="星期" PYAxisName ="人数" plotGradientColor="" showValues='0' baseFont='微软雅黑' baseFontSize='20' baseFontColor='#654545' outCnvBaseFont='宋体' outCnvBaseFontSize='24' outCnvBaseFontColor='#989899' drawAnchors='1' anchorSides='4' anchorRadius='10' anchorBorderColor='#FF0000' anchorBorderThickness='1' anchorBgColor='#00FF00' anchorAlpha='50' anchorBgAlpha='50' numDivLines='8' divLineIsDashed='1'> <set label="星期一" value="205"/> <set label="星期二" value="165"/> <set label="星期三" value="85"/> <set label="星期四" value="62"/> <set label="星期五" value="73"/> <set label="星期六" value="109"/> <set label="星期日" value="121"/> </chart>
3、设计结果
最新文章
- 帮公司人事MM做了个工资条拆分工具
- 工厂方法(Factory Method),思考
- sql server中常用方法函数
- 【APP自动化测试】Monkey的测试原理和方法
- Javascript数组函数库
- android小游戏 飞机躲子弹
- 51nod B君的圆锥(数学)
- 什么是Scale Up和Scale Out?
- Yii框架tips
- xml程序 个人练习1
- Android自动化测试之Monkey工具
- css text-indent:999em
- 关于Iscroll.js 的滑动和Angular.js路由冲突问题
- 图像处理------Mean Shift滤波(边缘保留的低通滤波)
- spring-boot-devtools
- Q&;A in Power BI service and Power BI Desktop
- Java面试宝典2018
- java工程师学习计划
- Linux环境Tomcat运行报错java.lang.OutOfMemoryError
- C#后台调用LPT1端口实现小票机打印方法。
热门文章
- python多线程限制并发数示例
- iOS-CYLTabBarController【好用的TabbarController】
- vue项目实战总结
- ubuntu 新手入门第一天
- 2017年总结的前端文章——CSS高级技巧汇总
- testng 异常 截图
- php获取今日开始时间戳和结束时间戳
- ajax请求中contentType与dataType区别
- Mysql字符串截取总结:left()、right()、substring()、substring_index()
- 【记录】.net 通用log4net日志配置