// http://blog.sina.com.cn/s/blog_74f702e60102vplh.html
// 解决横坐标数值过多无法显示全的办法
xAxis: [{
boundaryGap: true, //表示不从0开始, 柱状图比较明显
axisLabel: {
interval: 0, //横轴信息全部显示
rotate: 60, //60度角倾斜显示
formatter: function (val) {
return val.split("").join("\n"); //横轴信息文字竖直显示
}
}
}];