可以参考echarts的条形堆积图,主要靠数据拼装
http://echarts.baidu.com/doc/example/bar4.html
http://echarts.baidu.com/doc/example/bar6.html