代码编辑器:
x
1
2
<meta charset="utf-8" />
3
<title>Highcharts 基础教程 | 简单教程(www.twle.cn)</title>
4
<script src="https://cdn.hcharts.cn/highcharts/highcharts.js"></script>
5
<script src="https://cdn.hcharts.cn/highcharts/highcharts-more.js"></script>
6
<div id="container" style="width: 500px; height: 400px; margin: 0 auto"></div>
7
<script>
8
9
var ranges = [
10
[1246406400000, 14.3, 27.7],
11
[1246492800000, 14.5, 27.8],
12
[1246579200000, 15.5, 29.6],
13
[1246665600000, 16.7, 30.7],
14
[1246752000000, 16.5, 25.0],
15
[1246838400000, 17.8, 25.7],
16
[1246924800000, 13.5, 24.8],
17
[1247011200000, 10.5, 21.4],
18
[1247097600000, 9.2, 23.8],