File manager - Edit - /home/cipherteam/htdocs/cipherteam.in/yogi/dist/js/pages/widget-charts.min.js
Back
$(function(){"use strict";new Chartist.Line(".total-revenue4",{labels:["0","4","8","12","16","20","24","30"],series:[[0,2,3.5,0,13,1,4,1],[0,4,0,4,0,4,0,4]]},{high:15,low:0,showArea:!0,fullWidth:!0,plugins:[Chartist.plugins.tooltip()],axisY:{onlyInteger:!0,offset:20,labelInterpolationFnc:function(e){return e/1+"k"}}}),new Chartist.Line(".user-analytics",{labels:["10 jan","15 jan","20 jan","25 jan","30 jan","05 Feb","10 Feb"],series:[[0,2,3.5,0,13,1,4]]},{high:25,low:0,showArea:!0,lineSmooth:Chartist.Interpolation.simple({divisor:10}),fullWidth:!0,chartPadding:0,plugins:[Chartist.plugins.tooltip()],axisY:{onlyInteger:!0,offset:20,labelInterpolationFnc:function(e){return e/1+"k"}}});var o=[],a=300;function t(){for(0<o.length&&(o=o.slice(1));o.length<a;){var e=(0<o.length?o[o.length-1]:50)+10*Math.random()-5;e<0?e=0:100<e&&(e=100),o.push(e)}for(var t=[],i=0;i<o.length;++i)t.push([i,o[i]]);return t}var i=250;$("#updateInterval").val(i).change(function(){var e=$(this).val();e&&!isNaN(+e)&&((i=+e)<1?i=1:3e3<i&&(i=3e3),$(this).val(""+i))});var n=$.plot("#placeholder",[t()],{series:{shadowSize:0},yaxis:{min:0,max:100},xaxis:{show:!1},colors:["#26c6da"],grid:{color:"#AFAFAF",hoverable:!0,borderWidth:0,backgroundColor:"#FFF"},tooltip:!0,tooltipOpts:{content:"Visit: %y",defaultTheme:!1}});$(window).resize(function(){$.plot($("#placeholder"),o)}),function e(){n.setData([t()]),n.draw(),setTimeout(e,i)}(),new Chartist.Line(".andvios",{labels:["0","4","8","12","16","20","24","30","16","20","24","30","34","38","42","46","50","54"],series:[[11,4,3,14,9,10,18,15,24,17,19,26,31,26,37,41,46,51],[8,1,1,10,11,6,12,14,21,15,21,24,28,23,34,38,41,47]]},{low:0,showArea:!0,fullWidth:!0,chartPadding:0,axisX:{showLabel:!1,divisor:2,showGrid:!1,offset:0},plugins:[Chartist.plugins.tooltip()],axisY:{onlyInteger:!0,showLabel:!1,offset:0}}),new Chartist.Line(".usage",{labels:["0","4","8","12","16","20","24","30"],series:[[5,0,12,1,8,3,12,15]]},{high:13,low:0,showArea:!0,fullWidth:!0,plugins:[Chartist.plugins.tooltip()],axisY:{onlyInteger:!0,offset:20,showLabel:!1,showGrid:!1,labelInterpolationFnc:function(e){return e/1+"k"}},axisX:{showLabel:!1,divisor:2,showGrid:!1,offset:0}});function s(){$(".spark-count").sparkline([4,5,0,10,9,12,4,9,4,5,3,10,9,12,10,9,12,4,9],{type:"bar",width:"100%",height:"100",barWidth:"8",resize:!0,barSpacing:"5",barColor:"rgba(255, 255, 255, 0.3)"})}var l;$(window).resize(function(e){clearTimeout(l),l=setTimeout(s,500)}),s(),new Chartist.Bar(".download-state",{labels:["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],series:[[5,4,3,7,5,10,3],[3,2,9,5,4,6,4]]},{high:11,low:0,showArea:!0,seriesBarDistance:10,fullWidth:!0,plugins:[Chartist.plugins.tooltip()],axisX:{showGrid:!1}},{})});var doughnutChart=echarts.init(document.getElementById("m-piechart"));option={tooltip:{trigger:"item",formatter:"{a} <br/>{b} : {c} ({d}%)"},legend:{orient:"horizontal",x:"center",show:!1,y:"bottom",data:["80","60","20","140"]},toolbox:{show:!1,feature:{dataView:{show:!0,readOnly:!1},magicType:{show:!1,type:["pie","funnel"],option:{funnel:{x:"25%",width:"50%",funnelAlign:"center",max:1548}}},restore:{show:!0},saveAsImage:{show:!0}}},color:["#745af2","#f62d51","#26c6da","#dadada"],calculable:!0,series:[{name:"Source",type:"pie",radius:["80%","90%"],itemStyle:{normal:{label:{show:!1},labelLine:{show:!1}},emphasis:{label:{show:!0,position:"center",textStyle:{fontSize:"30",fontWeight:"bold"}}}},data:[{value:335,name:"80%"},{value:110,name:"60%"},{value:234,name:"20%"},{value:300,name:"140%"}]}]},doughnutChart.setOption(option,!0),$(function(){function e(){setTimeout(function(){doughnutChart.resize()},100)}$(window).on("resize",e),$(".sidebartoggler").on("click",e)});
| ver. 1.4 |
Github
|
.
| PHP 8.2.9 | Generation time: 0.01 |
proxy
|
phpinfo
|
Settings