0604278819e967648734257ca260bfb410f3209f.svn-base 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  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. <!--框架必需start-->
  10. <script type="text/javascript" src="<%=path%>/libs/js/jquery.js"></script>
  11. <script type="text/javascript" src="<%=path%>/libs/js/language/cn.js"></script>
  12. <script type="text/javascript" src="<%=path%>/libs/js/framework.js"></script>
  13. <link href="<%=path%>/libs/css/import_basic.css" rel="stylesheet" type="text/css"/>
  14. <link rel="stylesheet" type="text/css" id="skin" prePath="<%=path%>/"/>
  15. <link rel="stylesheet" type="text/css" id="customSkin"/>
  16. <!--框架必需end-->
  17. <script src="<%=path%>/libs/thirdparty/highcharts/js/highcharts.js"></script>
  18. <script src="<%=path%>/libs/thirdparty/highcharts/js/highcharts-more.js"></script>
  19. <script>
  20. $(function () {
  21. $('#container').highcharts({
  22. chart: {
  23. polar: true
  24. },
  25. title: {
  26. text: '雷达图'
  27. },
  28. pane: {
  29. startAngle: 0,
  30. endAngle: 360
  31. },
  32. xAxis: {
  33. tickInterval: 45,
  34. min: 0,
  35. max: 360,
  36. labels: {
  37. formatter: function () {
  38. return this.value + '°';
  39. }
  40. }
  41. },
  42. yAxis: {
  43. min: 0
  44. },
  45. plotOptions: {
  46. series: {
  47. pointStart: 0,
  48. pointInterval: 45
  49. },
  50. column: {
  51. pointPadding: 0,
  52. groupPadding: 0
  53. }
  54. },
  55. series: [{
  56. type: 'column',
  57. name: '条',
  58. data: [8, 7, 6, 5, 4, 3, 2, 1],
  59. pointPlacement: 'between'
  60. }, {
  61. type: 'line',
  62. name: '线',
  63. data: [1, 2, 3, 4, 5, 6, 7, 8]
  64. }, {
  65. type: 'area',
  66. name: '面',
  67. data: [1, 8, 2, 7, 3, 6, 4, 5]
  68. }]
  69. });
  70. });
  71. </script>
  72. </head>
  73. <body>
  74. <div id="container" style="min-width: 310px; height: 400px; margin: 0 auto"></div>
  75. </body>
  76. </html>