FusionCharts 3D帕累托图

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


  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值