text: $(window).on("load",function(){require.config({paths:{echarts:"robust-assets/js/plugins/charts/echarts"}}),require(["echarts","echarts/chart/bar","echarts/chart/line"],function(a){var b=a.init(document.getElementById("basic-bar"));chartOptions={grid:{x:60,x2:40,y:45,y2:25},tooltip:{trigger:"axis"},legend:{data:["2011","2012"]},color:["#99B898","#FF847C"],xAxis:[{type:"value",boundaryGap:[0,.01]}],yAxis:[{type:"category",data:["Apple","Samsung","HTC","Nokia","Sony","LG"]}],series:[{name:"2011",type:"bar",data:[600,450,350,268,474,315]},{name:"2012",type:"bar",data:[780,689,468,174,436,482]}]},b.setOption(chartOptions),$(function(){function a(){setTimeout(function(){b.resize()},200)}$(window).on("resize",a),$(".menu-toggle").on("click",a)})})});