ascvh@#%(^-^)V ?host,ip,port,protocol,title,domain,country,city,link,org ???à JFIF x x ?? C ?? C ?à " ?? ?? μ } !1AQa "q2?‘?#B±áR?e$3br? %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz??…???‰?’“”?–—???¢£¤¥|§¨?a23′μ?·?1o??????èéêòó???×?ùúáa?????èéê?òó???÷?ùú?? ?? μ w !1AQ aq"2?B‘?±á #3Rebr?{
File "admin-dashboard.js"
Full Path: /home/zcziejy/ryadselyen/plugins/cookie-notice/js/admin-dashboard.js
File size: 1.33 KB
MIME-type: text/plain
Charset: utf-8
( function( $ ) {
// ready event
$( function() {
var charts = cnDashboardArgs.charts;
if ( Object.entries(charts).length > 0 ) {
for ( const [key, config] of Object.entries( charts ) ) {
// create canvas
var canvas = document.getElementById( 'cn-' + key + '-chart' );
if ( canvas ) {
// options per chart type
var options = {
doughnut: {
responsive: true,
plugins: {
legend: {
position: 'top',
}
},
hover: {
mode: 'label'
},
layout: {
padding: 0
}
},
line: {
scales: {
x: {
display: true,
title: {
display: false
}
},
y: {
display: true,
grace: 0,
beginAtZero: true,
title: {
display: false
},
ticks: {
precision: 0,
maxTicksLimit: 12
}
}
}
}
}
config.options = options.hasOwnProperty( config.type ) ? options[config.type] : {};
var chart = new Chart( canvas, config );
chart.update();
}
}
}
} );
} )( jQuery );