1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586 |
- <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
- <%
- String path = request.getContextPath();
- %>
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <!--框架必需start-->
- <script type="text/javascript" src="<%=path%>/libs/js/jquery.js"></script>
- <script type="text/javascript" src="<%=path%>/libs/js/language/cn.js"></script>
- <script type="text/javascript" src="<%=path%>/libs/js/framework.js"></script>
- <link href="<%=path%>/libs/css/import_basic.css" rel="stylesheet" type="text/css"/>
- <link rel="stylesheet" type="text/css" id="skin" prePath="<%=path%>/"/>
- <link rel="stylesheet" type="text/css" id="customSkin"/>
- <!--框架必需end-->
- <script src="<%=path%>/libs/thirdparty/highcharts/js/highcharts.js"></script>
- <script src="<%=path%>/libs/thirdparty/highcharts/js/highcharts-more.js"></script>
- <script>
- $(function () {
- $('#container').highcharts({
-
- chart: {
- polar: true
- },
-
- title: {
- text: '雷达图'
- },
-
- pane: {
- startAngle: 0,
- endAngle: 360
- },
-
- xAxis: {
- tickInterval: 45,
- min: 0,
- max: 360,
- labels: {
- formatter: function () {
- return this.value + '°';
- }
- }
- },
-
- yAxis: {
- min: 0
- },
-
- plotOptions: {
- series: {
- pointStart: 0,
- pointInterval: 45
- },
- column: {
- pointPadding: 0,
- groupPadding: 0
- }
- },
-
- series: [{
- type: 'column',
- name: '条',
- data: [8, 7, 6, 5, 4, 3, 2, 1],
- pointPlacement: 'between'
- }, {
- type: 'line',
- name: '线',
- data: [1, 2, 3, 4, 5, 6, 7, 8]
- }, {
- type: 'area',
- name: '面',
- data: [1, 8, 2, 7, 3, 6, 4, 5]
- }]
- });
- });
- </script>
- </head>
- <body>
- <div id="container" style="min-width: 310px; height: 400px; margin: 0 auto"></div>
-
- </body>
- </html>
|