案例:HighCharts案例     状态:可编辑再运行    进入横版
AخA
      backgroundColor: (Highcharts.theme && Highcharts.theme.legendBackgroundColor) || '#FFFFFF'
 
1
<html>
2
<head>
3
<meta charset="UTF-8" />
4
<title>Highcharts 教程 | W3xue教程(w3xue.com)</title>
5
<script src="/js/jquery-2.1.4.min.js"></script>
6
<script src="/js/hc/highcharts5.0.6.js"></script>
7
</head>
8
<body>
9
<div id="container" style="width: 550px; height: 400px; margin: 0 auto"></div>
10
<script language="JavaScript">
11
$(document).ready(function() {  
12
   var chart = {
13
      type: 'area',
14
     inverted: true
15
   };
16
   var title = {
17
      text: 'Average fruit consumption during one week'   
18
   }; 
19
   var subtitle = {
20
      style: {
21
         position: 'absolute',
22
         right: '0px',
23
         bottom: '10px'
24
      }

 运行结果 
 北美留学生论坛