Server IP : 150.95.80.236 / Your IP : 18.227.209.207 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/demo15/dist/assets/js/custom/documentation/charts/flotcharts/ |
Upload File : |
"use strict";var KTFlotDemoTracking={init:function(){!function(){for(var a=[],t=[],i=0;i<14;i+=.1)a.push([i,Math.sin(i)]),t.push([i,Math.cos(i)]);var e=$.plot($("#kt_docs_flot_tracking"),[{data:a,label:"sin(x) = -0.00",lines:{lineWidth:1},shadowSize:0},{data:t,label:"cos(x) = -0.00",lines:{lineWidth:1},shadowSize:0}],{colors:[KTUtil.getCssVariableValue("--bs-active-primary"),KTUtil.getCssVariableValue("--bs-active-warning")],series:{lines:{show:!0}},crosshair:{mode:"x"},grid:{hoverable:!0,autoHighlight:!1,tickColor:KTUtil.getCssVariableValue("--bs-light-dark"),borderColor:KTUtil.getCssVariableValue("--bs-light-dark"),borderWidth:1},yaxis:{min:-1.2,max:1.2}}),l=$("#kt_docs_flot_tracking .legendLabel");l.each((function(){$(this).css("width",$(this).width())}));var s=null,o=null;function n(){s=null;var a=o,t=e.getAxes();if(!(a.x<t.xaxis.min||a.x>t.xaxis.max||a.y<t.yaxis.min||a.y>t.yaxis.max)){var i,n,r=e.getData();for(i=0;i<r.length;++i){var d=r[i];for(n=0;n<d.data.length&&!(d.data[n][0]>a.x);++n);var c,h=d.data[n-1],g=d.data[n];c=null==h?g[1]:null==g?h[1]:h[1]+(g[1]-h[1])*(a.x-h[0])/(g[0]-h[0]),l.eq(i).text(d.label.replace(/=.*/,"= "+c.toFixed(2)))}}}$("#kt_docs_flot_tracking").bind("plothover",(function(a,t,i){o=t,s||(s=setTimeout(n,50))}))}()}};KTUtil.onDOMContentLoaded((function(){KTFlotDemoTracking.init()}));