fc41f0b7bff1b6580d725c6c81586b70879b0dde.svn-base 3.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. <%@page language="java" pageEncoding="UTF-8"%>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml">
  4. <head>
  5. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  6. <title>Highcharts Example</title>
  7. <script type="text/javascript" src="http://cdn.hcharts.cn/jquery/jquery-1.8.2.min.js"></script>
  8. <style type="text/css">
  9. ${demo.css}
  10. </style>
  11. <script type="text/javascript" src="/nwyj/scripts/highcharts/highcharts.js"></script>
  12. <script type="text/javascript" src="/nwyj/scripts/highcharts/modules/exporting.js"></script>
  13. <script type="text/javascript" src="/nwyj/scripts/business/em/evaluate/resultShow/ResultShow.js"></script>
  14. <script type="text/javascript">
  15. alert("000");
  16. $(function () {
  17. $('#container').highcharts({
  18. title: {
  19. text: 'Monthly Average Temperature',
  20. x: -20 //center
  21. },
  22. alert("00"),
  23. subtitle: {
  24. text: 'Source: WorldClimate.com',
  25. x: -20
  26. },
  27. xAxis: {
  28. categories: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun',
  29. 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec']
  30. },
  31. yAxis: {
  32. title: {
  33. text: 'Temperature (°C)'
  34. },
  35. plotLines: [{
  36. value: 0,
  37. width: 1,
  38. color: '#808080'
  39. }]
  40. },
  41. tooltip: {
  42. valueSuffix: '°C'
  43. },
  44. legend: {
  45. layout: 'vertical',
  46. align: 'right',
  47. verticalAlign: 'middle',
  48. borderWidth: 0
  49. },
  50. series: [{
  51. name: 'Tokyo',
  52. data: [7.0, 6.9, 9.5, 14.5, 18.2, 21.5, 25.2, 26.5, 23.3, 18.3, 13.9, 9.6]
  53. }, {
  54. name: 'New York',
  55. data: [-0.2, 0.8, 5.7, 11.3, 17.0, 22.0, 24.8, 24.1, 20.1, 14.1, 8.6, 2.5]
  56. }, {
  57. name: 'Berlin',
  58. data: [-0.9, 0.6, 3.5, 8.4, 13.5, 17.0, 18.6, 17.9, 14.3, 9.0, 3.9, 1.0]
  59. }, {
  60. name: 'London',
  61. data: [3.9, 4.2, 5.7, 8.5, 11.9, 15.2, 17.0, 16.6, 14.2, 10.3, 6.6, 4.8]
  62. }]
  63. });
  64. });
  65. </script>
  66. </head>
  67. <body>
  68. <div class="box2" panelTitle="评估体系管理" id="searchPanel" statusType="none">
  69. <div style="background:yellow;width:100%;height:300px">
  70. <div id="dataGrid"></div>
  71. </div>
  72. <table>
  73. <tr>
  74. <td>得分</td>
  75. <td>供电局A</td>
  76. <td>供电局B</td>
  77. <td>供电局C</td>
  78. <td>供电局D</td>
  79. </tr>
  80. </table>
  81. <!-- <script src="nwyj/scripts/highcharts/highcharts.js"></script>
  82. <script src="nwyj/scripts/highcharts/modules/exporting.js"></script> -->
  83. <!-- <div class="padding_right5">
  84. <div id="dataGrid"></div>
  85. </div> -->
  86. <div id="container" style="background:red;float:left;width: 50%; height: 400px; margin: 0 auto"></div>
  87. <div id="container1" style="background:blue;float:right;width: 50%; height: 400px; margin: 0 auto"></div>
  88. <div id="container2" style="background:white;float:left;min-width: 310px; height: 400px; margin: 0 auto"></div>
  89. <div id="container3" style="background:red;float:right;min-width: 310px; height: 400px; margin: 0 auto"></div>
  90. </div>
  91. </body>
  92. </html>