Server IP : 150.95.80.236 / Your IP : 3.14.247.9 Web Server : Apache System : Linux host-150-95-80-236 3.10.0-1160.105.1.el7.x86_64 #1 SMP Thu Dec 7 15:39:45 UTC 2023 x86_64 User : social-telecare ( 10000) PHP Version : 7.4.33 Disable Function : opcache_get_status MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/www/vhosts/pcu.in.th/uat.pcu.in.th/assets/js/custom/documentation/charts/flotcharts/ |
Upload File : |
"use strict";var KTFlotDemoStack={init:function(){!function(){for(var t=[],a=0;a<=10;a+=1)t.push([a,parseInt(30*Math.random())]);var i=[];for(a=0;a<=10;a+=1)i.push([a,parseInt(30*Math.random())]);var e=[];for(a=0;a<=10;a+=1)e.push([a,parseInt(30*Math.random())]);var l=0,s=!0,n=!1,r=!1;function o(){$.plot($("#kt_docs_flot_stack"),[{label:"sales",data:t,lines:{lineWidth:1},shadowSize:0},{label:"tax",data:i,lines:{lineWidth:1},shadowSize:0},{label:"profit",data:e,lines:{lineWidth:1},shadowSize:0}],{colors:[KTUtil.getCssVariableValue("--bs-active-danger"),KTUtil.getCssVariableValue("--bs-active-primary")],series:{stack:l,lines:{show:n,fill:!0,steps:r,lineWidth:0},bars:{show:s,barWidth:.5,lineWidth:0,shadowSize:0,align:"center"}},grid:{tickColor:KTUtil.getCssVariableValue("--bs-light-dark"),borderColor:KTUtil.getCssVariableValue("--bs-light-dark"),borderWidth:1}})}$(".stackControls input").click((function(t){t.preventDefault(),l="With stacking"==$(this).val()||null,o()})),$(".graphControls input").click((function(t){t.preventDefault(),s=-1!=$(this).val().indexOf("Bars"),n=-1!=$(this).val().indexOf("Lines"),r=-1!=$(this).val().indexOf("steps"),o()})),o()}()}};KTUtil.onDOMContentLoaded((function(){KTFlotDemoStack.init()}));