echarts
一、准备 1. echarts-3.3.2.min.js 2. jquery.1.11.1.min.js 二、圆角加多渐变条形(ie8+)统计图 function barChart(id,data1,data2) { var colorShow = [ [ {offset: 0, color: '#FDD841' }, {offset: 0.5, color: '#FAB84B' }, {offset: 1, color: '#F79E55' } ], [ {offset: 0, color: '#65D5FA' }, {offset: 0.5, color: '#2A93D6' }, {offset: 1, color: '#1868BC' } ], [ {offset: 0, color: '#36CBCE' }, {offset: 0.5, color: '#2EC7BF' }, {offset: 1, color: '#29C3AE' } ], [ {offset: 0, color: '#EC97A7' }, {offset: 0.5, color: '#DA6986' }, {offset: 1, color: '#CA426B' } ] ]; var colorHover = [ {offset: 1, color: '#1868BC' }, {offset: