FusionCharts 2D帕累托图
2014-01-27 22:55
204 查看
1、了解帕累托图的特性以及和其他图的共性
2、设计帕累托图页面中引入图的类型以及怎么引入到页面
Pareto2D.html:
pareto2D.xml:
4、运行结果
2、设计帕累托图页面中引入图的类型以及怎么引入到页面
Pareto2D.html:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>FusionCharts Pareto2D</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 pareto2D = new FusionCharts( "../scripts/Charts/Pareto2D.swf", "pareto2DId", "100%", "540", "0" ); pareto2D.setXMLUrl("data/pareto2D.xml"); pareto2D.render("pareto2DChart"); }); </script> </head> <body> <div id="pareto2DChart"></div> </body> </html>3、设计帕累托图的数据源
pareto2D.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>
4、运行结果
相关文章推荐
- FusionCharts 2D帕累托图
- 项目二在写的一个网盘管理程序, 目前是半成品, 贴几张图给大家看看.
- 觉得好玩的小游戏
- C#学习之类
- .net的垃圾回收机制简述
- python,flask,web,login
- Web高性能读书笔记
- 创建线程的方法二
- 多个提高C#编程能力的建议
- C中如何调用C++函数、类内函数 \混编\链接
- C#正则表达式教程和示例
- Android OpenGL 教程 第六课
- 够快云库可用性测试记
- 2.2 python中的操作符 [python入门教程]
- Android OpenGL 教程 第五课
- 《巨富》:财富榜前0.1%的那群人的状况
- Android OpenGL 教程 第四课
- Android OpenGL 教程 第三课
- Pell方程及其一般形式
- C#与Java多态方面的语法差异