一 代码
<html>
<head>
<meta charset="UTF-8" />
<title>带标记曲线图</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: '月平均气温'
};
//子标题
var subtitle = {
text: '世界范围'
};
//X轴分类
var xAxis = {
categories: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun',
'Jul', 'Aug', 'Sep', 'Oct',