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、设计结果

最新文章

  1. 帮公司人事MM做了个工资条拆分工具
  2. 工厂方法(Factory Method),思考
  3. sql server中常用方法函数
  4. 【APP自动化测试】Monkey的测试原理和方法
  5. Javascript数组函数库
  6. android小游戏 飞机躲子弹
  7. 51nod B君的圆锥(数学)
  8. 什么是Scale Up和Scale Out?
  9. Yii框架tips
  10. xml程序 个人练习1
  11. Android自动化测试之Monkey工具
  12. css text-indent:999em
  13. 关于Iscroll.js 的滑动和Angular.js路由冲突问题
  14. 图像处理------Mean Shift滤波(边缘保留的低通滤波)
  15. spring-boot-devtools
  16. Q&amp;A in Power BI service and Power BI Desktop
  17. Java面试宝典2018
  18. java工程师学习计划
  19. Linux环境Tomcat运行报错java.lang.OutOfMemoryError
  20. C#后台调用LPT1端口实现小票机打印方法。

热门文章

  1. python多线程限制并发数示例
  2. iOS-CYLTabBarController【好用的TabbarController】
  3. vue项目实战总结
  4. ubuntu 新手入门第一天
  5. 2017年总结的前端文章——CSS高级技巧汇总
  6. testng 异常 截图
  7. php获取今日开始时间戳和结束时间戳
  8. ajax请求中contentType与dataType区别
  9. Mysql字符串截取总结:left()、right()、substring()、substring_index()
  10. 【记录】.net 通用log4net日志配置