一 代码
<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: 'column'
};
// 主标题
var title = {
text: '分支利润优化'
};
// X 轴
var xAxis = {
categories: ['西雅图总部', '旧金山', '东京']
};
// Y 轴
var yAxis = [{
min: 0,
title: {
text: '员工'
}
}, {
title: {