00daaf912337da0560df01c4e62d31b34071ce1c.svn-base 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
  2. <%
  3. String path = request.getContextPath();
  4. %>
  5. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  6. <html xmlns="http://www.w3.org/1999/xhtml">
  7. <head>
  8. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  9. <title>多序列图表</title>
  10. <!--框架必需start-->
  11. <script type="text/javascript" src="<%=path%>/libs/js/jquery1.4.2_min.js"></script>
  12. <script type="text/javascript" src="<%=path%>/libs/js/language/cn.js"></script>
  13. <script type="text/javascript" src="<%=path%>/libs/js/framework.js"></script>
  14. <link href="<%=path%>/libs/css/import_basic.css" rel="stylesheet" type="text/css"/>
  15. <link rel="stylesheet" type="text/css" id="skin" prePath="<%=path%>/"/>
  16. <link rel="stylesheet" type="text/css" id="customSkin"/>
  17. <!--框架必需end-->
  18. <!--图表脚本start-->
  19. <script language="JavaScript" src="<%=path%>/libs/thirdparty/fusioncharts/js/FusionCharts.js"></script>
  20. <script type="text/javascript">
  21. function initComplete(){
  22. FusionCharts.setCurrentRenderer('javascript');
  23. var chartPath = "<%=path%>/libs/thirdparty/fusioncharts/swf/";
  24. var dataUrlPath = "<%=path%>/libs/thirdparty/fusioncharts/data/";
  25. var chart1 = new FusionCharts(chartPath + "MSColumn2D.swf", "chart1", "100%", "300", "0", "0");
  26. chart1.setDataURL(dataUrlPath + "JS_MSColumn2D.xml");
  27. chart1.render("chartdiv1");
  28. var chart2 = new FusionCharts(chartPath + "MSLine.swf", "chart2", "100%", "300", "0", "0");
  29. chart2.setDataURL(dataUrlPath + "MSLine.xml");
  30. chart2.render("chartdiv2");
  31. var chart3 = new FusionCharts(chartPath + "MSBar2D.swf", "chart3", "100%", "300", "0", "0");
  32. chart3.setDataURL(dataUrlPath + "JS_MSBar2D.xml");
  33. chart3.render("chartdiv3");
  34. var chart4 = new FusionCharts(chartPath + "MSArea.swf", "chart4", "100%", "300", "0", "0");
  35. chart4.setDataURL(dataUrlPath + "MSArea2D.xml");
  36. chart4.render("chartdiv4");
  37. }
  38. </script>
  39. </head>
  40. <body>
  41. <div class="box1" panelWidth="800">
  42. <fieldset>
  43. <legend>柱状图</legend>
  44. <div id="chartdiv1">
  45. <div class="flash_install">
  46. <div class="msg_icon3"></div>
  47. <div class="flash_install_con" >
  48. 您需要升级Flash播放器,<span class="forIE"><a href="<%=path%>/libs/flash/flash_IE.exe">点击这里</a>安装</span>
  49. <span class="forFF"><a href="<%=path%>/libs/flash/flash_FF.exe">点击这里</a>进行安装</span><br />安装后请关闭浏览器再重新打开
  50. </div>
  51. </div>
  52. </div>
  53. </fieldset>
  54. <div class="height_50"></div>
  55. <fieldset>
  56. <legend>曲线图</legend>
  57. 注意:该图表在IE6下显示不正常。
  58. <div id="chartdiv2">
  59. <div class="flash_install">
  60. <div class="msg_icon3"></div>
  61. <div class="flash_install_con" >
  62. 您需要升级Flash播放器,<span class="forIE"><a href="<%=path%>/libs/flash/flash_IE.exe">点击这里</a>安装</span>
  63. <span class="forFF"><a href="<%=path%>/libs/flash/flash_FF.exe">点击这里</a>进行安装</span><br />安装后请关闭浏览器再重新打开
  64. </div>
  65. </div>
  66. </div>
  67. </fieldset>
  68. <div class="height_50"></div>
  69. <fieldset>
  70. <legend>条形图</legend>
  71. <div id="chartdiv3">
  72. <div class="flash_install">
  73. <div class="msg_icon3"></div>
  74. <div class="flash_install_con" >
  75. 您需要升级Flash播放器,<span class="forIE"><a href="<%=path%>/libs/flash/flash_IE.exe">点击这里</a>安装</span>
  76. <span class="forFF"><a href="<%=path%>/libs/flash/flash_FF.exe">点击这里</a>进行安装</span><br />安装后请关闭浏览器再重新打开
  77. </div>
  78. </div>
  79. </div>
  80. </fieldset>
  81. <div class="height_50"></div>
  82. <fieldset>
  83. <legend>面状图</legend>
  84. <p>将图例放在右侧显示,且不显示边框,图例背景透明。</p>
  85. <div id="chartdiv4">
  86. <div class="flash_install">
  87. <div class="msg_icon3"></div>
  88. <div class="flash_install_con" >
  89. 您需要升级Flash播放器,<span class="forIE"><a href="<%=path%>/libs/flash/flash_IE.exe">点击这里</a>安装</span>
  90. <span class="forFF"><a href="<%=path%>/libs/flash/flash_FF.exe">点击这里</a>进行安装</span><br />安装后请关闭浏览器再重新打开
  91. </div>
  92. </div>
  93. </div>
  94. </fieldset>
  95. <div class="height_50"></div>
  96. </div>
  97. </body>
  98. </html>