一 代码
<html>
<head>
<meta charset="UTF-8" />
<title>Highcharts 标示区曲线图</title>
<script src="http://apps.bdimg.com/libs/jquery/2.1.4/jquery.min.js"></script>
<script src="http://code.highcharts.com/highcharts.js"></script>
</head>
<body>
<div id="container" style="width: 550px; height: 400px; margin: 0 auto"></div>
<script language="JavaScript">
$(document).ready(function() {
//图表类型
var chart = {
type: 'spline'
};
//标题
var title = {
text: '2天的风速'
};
//子标题
var subtitle = {
text: '2009年10月6号和7号,地点索恩,挪威'
};
//X轴
var xAxis = {
type: 'datetime',
labels: {
overflow: 'justify'
}
};
//Y轴
var yAxis = {
title: {
text: '风速 (m/s)'
},
min: 0,
minorGridLineWidth: 0,
gridLineWidth: 0,
alternateGridColor: null,
/