text: $(window).on("load",function(){require.config({paths:{echarts:"robust-assets/js/plugins/charts/echarts"}}),require(["echarts","echarts/chart/pie","echarts/chart/funnel"],function(a){var b=a.init(document.getElementById("timeline")),c=1;chartOptions={timeline:{x:10,x2:10,data:["2014-01-01","2014-02-01","2014-03-01","2014-04-01","2014-05-01",{name:"2014-06-01",symbol:"emptyStar2",symbolSize:8},"2014-07-01","2014-08-01","2014-09-01","2014-10-01","2014-11-01",{name:"2014-12-01",symbol:"star2",symbolSize:8}],label:{formatter:function(a){return a.slice(0,7)}},autoPlay:!0,playInterval:3e3},options:[{title:{text:"Browser statistics",subtext:"Based on shared research",x:"center"},tooltip:{trigger:"item",formatter:"{a} <br/>{b}: {c} ({d}%)"},legend:{x:"left",orient:"vertical",data:["Chrome","Firefox","Safari","IE9+","IE8-"]},color:["#FECEA8","#FF847C","#E84A5F","#2A363B","#99B898"],toolbox:{show:!0,orient:"vertical",feature:{mark:{show:!0,title:{mark:"Markline switch",markUndo:"Undo markline",markClear:"Clear markline"}},dataView:{show:!0,readOnly:!1,title:"View data",lang:["View chart data","Close","Update"]},magicType:{show:!0,title:{pie:"Switch to pies",funnel:"Switch to funnel"},type:["pie","funnel"],option:{funnel:{x:"25%",width:"50%",funnelAlign:"left",max:1700}}},restore:{show:!0,title:"Restore"},saveAsImage:{show:!0,title:"Same as image",lang:["Save"]}}},series:[{name:"Browser",type:"pie",center:["50%","50%"],radius:"60%",data:[{value:128*c+80,name:"Chrome"},{value:64*c+160,name:"Firefox"},{value:32*c+320,name:"Safari"},{value:16*c+640,name:"IE9+"},{value:8*c++ +1280,name:"IE8-"}]}]},{series:[{name:"Browser",type:"pie",data:[{value:128*c+80,name:"Chrome"},{value:64*c+160,name:"Firefox"},{value:32*c+320,name:"Safari"},{value:16*c+640,name:"IE9+"},{value:8*c++ +1280,name:"IE8-"}]}]},{series:[{name:"Browser",type:"pie",data:[{value:128*c+80,name:"Chrome"},{value:64*c+160,name:"Firefox"},{value:32*c+320,name:"Safari"},{value:16*c+640,name:"IE9+"},{value:8*c++ +1280,name:"IE8-"}]}]},{series:[{name:"Browser",type:"pie",data:[{value:128*c+80,name:"Chrome"},{value:64*c+160,name:"Firefox"},{value:32*c+320,name:"Safari"},{value:16*c+640,name:"IE9+"},{value:8*c++ +1280,name:"IE8-"}]}]},{series:[{name:"Browser",type:"pie",data:[{value:128*c+80,name:"Chrome"},{value:64*c+160,name:"Firefox"},{value:32*c+320,name:"Safari"},{value:16*c+640,name:"IE9+"},{value:8*c++ +1280,name:"IE8-"}]}]},{series:[{name:"Browser",type:"pie",data:[{value:128*c+80,name:"Chrome"},{value:64*c+160,name:"Firefox"},{value:32*c+320,name:"Safari"},{value:16*c+640,name:"IE9+"},{value:8*c++ +1280,name:"IE8-"}]}]},{series:[{name:"Browser",type:"pie",data:[{value:128*c+80,name:"Chrome"},{value:64*c+160,name:"Firefox"},{value:32*c+320,name:"Safari"},{value:16*c+640,name:"IE9+"},{value:8*c++ +1280,name:"IE8-"}]}]},{series:[{name:"Browser",type:"pie",data:[{value:128*c+80,name:"Chrome"},{value:64*c+160,name:"Firefox"},{value:32*c+320,name:"Safari"},{value:16*c+640,name:"IE9+"},{value:8*c++ +1280,name:"IE8-"}]}]},{series:[{name:"Browser",type:"pie",data:[{value:128*c+80,name:"Chrome"},{value:64*c+160,name:"Firefox"},{value:32*c+320,name:"Safari"},{value:16*c+640,name:"IE9+"},{value:8*c++ +1280,name:"IE8-"}]}]},{series:[{name:"Browser",type:"pie",data:[{value:128*c+80,name:"Chrome"},{value:64*c+160,name:"Firefox"},{value:32*c+320,name:"Safari"},{value:16*c+640,name:"IE9+"},{value:8*c++ +1280,name:"IE8-"}]}]},{series:[{name:"Browser",type:"pie",data:[{value:128*c+80,name:"Chrome"},{value:64*c+160,name:"Firefox"},{value:32*c+320,name:"Safari"},{value:16*c+640,name:"IE9+"},{value:8*c++ +1280,name:"IE8-"}]}]},{series:[{name:"Browser",type:"pie",data:[{value:128*c+80,name:"Chrome"},{value:64*c+160,name:"Firefox"},{value:32*c+320,name:"Safari"},{value:16*c+640,name:"IE9+"},{value:8*c++ +1280,name:"IE8-"}]}]}]},b.setOption(chartOptions),$(function(){function a(){setTimeout(function(){b.resize()},200)}$(window).on("resize",a),$(".menu-toggle").on("click",a)})})});