Software: Apache/2.4.41 (Ubuntu). PHP/8.0.30 uname -a: Linux apirnd 5.4.0-204-generic #224-Ubuntu SMP Thu Dec 5 13:38:28 UTC 2024 x86_64 uid=33(www-data) gid=33(www-data) groups=33(www-data) Safe-mode: OFF (not secure) /var/www/html/queuepro/public/assets/task/ drwxr-xr-x | |
| Viewing file: Select action/file-type: /******/ (() => { // webpackBootstrap
var __webpack_exports__ = {};
/*!***************************************************!*\
!*** ./resources/js/pages/apexcharts-pie.init.js ***!
\***************************************************/
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
/*
Template Name: Velzon - Admin & Dashboard Template
Author: Themesbrand
Website: https://Themesbrand.com/
Contact: Themesbrand@gmail.com
File: Pie Chart init js
*/
// get colors array from the string
function getChartColorsArray(chartId) {
if (document.getElementById(chartId) !== null) {
var colors = document.getElementById(chartId).getAttribute("data-colors");
colors = JSON.parse(colors);
return colors.map(function (value) {
var newValue = value.replace(" ", "");
if (newValue.indexOf(",") === -1) {
var color = getComputedStyle(document.documentElement).getPropertyValue(newValue);
if (color) return color;else return newValue;
;
} else {
var val = value.split(',');
if (val.length == 2) {
var rgbaColor = getComputedStyle(document.documentElement).getPropertyValue(val[0]);
rgbaColor = "rgba(" + rgbaColor + "," + val[1] + ")";
return rgbaColor;
} else {
return newValue;
}
}
});
}
} // Simple Pie Charts
// stage 1
var chartPieBasicColors = getChartColorsArray("simple_pie_chart");
if (chartPieBasicColors) {
var options = {
series: [310, 30, 210],
chart: {
height: 300,
type: 'pie'
},
labels: ['Queue', 'Processing', 'Processed'],
legend: {
position: 'bottom'
},
dataLabels: {
dropShadow: {
enabled: false
}
},
colors: chartPieBasicColors
};
var chart = new ApexCharts(document.querySelector("#simple_pie_chart"), options);
chart.render();
} // Simple Donut Charts
// stage 2
var chartPieBasicColors1 = getChartColorsArray("simple_pie_chart");
if (chartPieBasicColors1) {
var options = {
series: [210, 30, 180],
chart: {
height: 300,
type: 'pie'
},
labels: ['Queue', 'Processing', 'Processed'],
legend: {
position: 'bottom'
},
dataLabels: {
dropShadow: {
enabled: false
}
},
colors: chartPieBasicColors
};
var chart1 = new ApexCharts(document.querySelector("#simple_pie_chart1"), options);
chart1.render();
} // Simple Donut Charts
// stage 3
var chartPieBasicColors3 = getChartColorsArray("simple_pie_chart");
if (chartPieBasicColors3) {
var options = {
series: [180, 20, 150],
chart: {
height: 300,
type: 'pie'
},
labels: ['Queue', 'Processing', 'Processed'],
legend: {
position: 'bottom'
},
dataLabels: {
dropShadow: {
enabled: false
}
},
colors: chartPieBasicColors
};
var chart3 = new ApexCharts(document.querySelector("#simple_pie_chart3"), options);
chart3.render();
} // Simple Donut Charts
// stage 4
var chartPieBasicColors4 = getChartColorsArray("simple_pie_chart");
if (chartPieBasicColors4) {
var options = {
series: [60, 10, 40],
chart: {
height: 300,
type: 'pie'
},
labels: ['Queue', 'Processing', 'Processed'],
legend: {
position: 'bottom'
},
dataLabels: {
dropShadow: {
enabled: false
}
},
colors: chartPieBasicColors
};
var chart4= new ApexCharts(document.querySelector("#simple_pie_chart4"), options);
chart4.render();
} // Simple Donut Charts
// stage 5
var chartPieBasicColors5 = getChartColorsArray("simple_pie_chart");
if (chartPieBasicColors5) {
var options = {
series: [30, 10, 50],
chart: {
height: 300,
type: 'pie'
},
labels: ['Queue', 'Processing', 'Processed'],
legend: {
position: 'bottom'
},
dataLabels: {
dropShadow: {
enabled: false
}
},
colors: chartPieBasicColors
};
var chart5= new ApexCharts(document.querySelector("#simple_pie_chart5"), options);
chart5.render();
} // Simple Donut Charts
// stage 6
var chartPieBasicColors6 = getChartColorsArray("simple_pie_chart");
if (chartPieBasicColors6) {
var options = {
series: [40, 10, 30],
chart: {
height: 300,
type: 'pie'
},
labels: ['Queue', 'Processing', 'Processed'],
legend: {
position: 'bottom'
},
dataLabels: {
dropShadow: {
enabled: false
}
},
colors: chartPieBasicColors
};
var chart6= new ApexCharts(document.querySelector("#simple_pie_chart6"), options);
chart6.render();
} // Simple Donut Charts
/******/ })()
; |
:: Command execute :: | |
--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0042 ]-- |