Software: Apache. PHP/8.1.30 uname -a: Linux server1.tuhinhossain.com 5.15.0-163-generic #173-Ubuntu SMP Tue Oct 14 17:51:00 UTC uid=1002(picotech) gid=1003(picotech) groups=1003(picotech),0(root) Safe-mode: OFF (not secure) /home/picotech/domains/picomail.picotech.app/public_html/public/js/admin/ drwxr-xr-x | |
| Viewing file: Select action/file-type: "use strict";
var salesGraphChartCanvas = $('#line-chart').get(0).getContext('2d');
var sentCanvas = $('#sent-chart').get(0).getContext('2d');
//$('#revenue-chart').get(0).getContext('2d');
var salesGraphChartData = {
labels: weeklyData,
datasets: [
{
label: 'Email',
fill: false,
borderWidth: 2,
lineTension: 0,
spanGaps: true,
borderColor: '#efefef',
pointRadius: 3,
pointHoverRadius: 7,
pointColor: '#efefef',
pointBackgroundColor: '#efefef',
data: chartInbox
}
]
}
var sentGraphChartData = {
labels: weeklyData,
datasets: [
{
label: 'Email',
fill: false,
borderWidth: 2,
lineTension: 0,
spanGaps: true,
borderColor: '#efefef',
pointRadius: 3,
pointHoverRadius: 7,
pointColor: '#efefef',
pointBackgroundColor: '#efefef',
data: chartSent
}
]
}
var salesGraphChartOptions = {
maintainAspectRatio: false,
responsive: true,
legend: {
display: false,
},
scales: {
xAxes: [{
ticks: {
fontColor: '#efefef',
},
gridLines: {
display: false,
color: '#efefef',
drawBorder: false,
}
}],
yAxes: [{
ticks: {
stepSize: 5000,
fontColor: '#efefef',
},
gridLines: {
display: true,
color: '#efefef',
drawBorder: false,
}
}]
}
}
var sentGraphChartOptions = {
maintainAspectRatio: false,
responsive: true,
legend: {
display: false,
},
scales: {
xAxes: [{
ticks: {
fontColor: '#efefef',
},
gridLines: {
display: false,
color: '#efefef',
drawBorder: false,
}
}],
yAxes: [{
ticks: {
stepSize: 5000,
fontColor: '#efefef',
},
gridLines: {
display: true,
color: '#efefef',
drawBorder: false,
}
}]
}
};
var salesGraphChart = new Chart(salesGraphChartCanvas, {
type: 'line',
data: salesGraphChartData,
options: salesGraphChartOptions
}
);
var sentGraphChart = new Chart(sentCanvas, {
type: 'line',
data: sentGraphChartData,
options: sentGraphChartOptions
}
);
|
:: Command execute :: | |
--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0039 ]-- |