text: $(window).on("load",function(){require.config({paths:{echarts:"app-assets/vendors/js/charts/echarts"}}),require(["echarts","echarts/chart/funnel","echarts/chart/gauge"],function(e){var o=e.init(document.getElementById("angular-gauge"));anggaugeOptions={tooltip:{formatter:"{a} <br/>{b} : {c}%"},toolbox:{show:!0,feature:{mark:{show:!0},restore:{show:!0},saveAsImage:{show:!0}}},calculable:!0,series:[{name:"Personalized Dashboard",type:"gauge",center:["50%","50%"],radius:[0,"75%"],startAngle:140,endAngle:-140,min:0,max:100,precision:0,splitNumber:10,axisLine:{show:!0,lineStyle:{color:[[.2,"lightgreen"],[.4,"orange"],[.8,"skyblue"],[1,"#ff4500"]],width:30}},axisTick:{show:!0,splitNumber:5,length:8,lineStyle:{color:"#eee",width:1,type:"solid"}},axisLabel:{show:!0,formatter:function(e){switch(e+""){case"10":return"Weak";case"30":return"Low";case"60":return"In";case"90":return"High";default:return""}},textStyle:{color:"#333"}},splitLine:{show:!0,length:30,lineStyle:{color:"#eee",width:2,type:"solid"}},pointer:{length:"80%",width:8,color:"auto"},title:{show:!0,offsetCenter:["-65%",-10],textStyle:{color:"#333",fontSize:15}},detail:{show:!0,backgroundColor:"rgba(0,0,0,0)",borderWidth:0,borderColor:"#ccc",width:100,height:40,offsetCenter:["-60%",10],formatter:"{value}%",textStyle:{color:"auto",fontSize:30}},data:[{value:50,name:"Dashboard"}]}]},o.setOption(anggaugeOptions),$(function(){function e(){setTimeout(function(){o.resize()},200)}$(window).on("resize",e),$(".menu-toggle").on("click",e),clearInterval(t);var t=setInterval(function(){anggaugeOptions.series[0].data[0].value=(100*Math.random()).toFixed(2)-0,o.setOption(anggaugeOptions,!0)},2e3)})})});