| Server IP : 216.106.184.20 / Your IP : 216.73.216.234 Web Server : LiteSpeed System : Linux asmodeus.in-hell.com 5.14.0-570.58.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Oct 29 06:24:11 EDT 2025 x86_64 User : sekoaid1 ( 1891) PHP Version : 7.3.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /home/sekoaid1/public_html/rdmts/assets/js/ |
Upload File : |
/* eslint-disable object-curly-newline */
/* global Chart */
/**
* --------------------------------------------------------------------------
* CoreUI Boostrap Admin Template (v3.4.0): main.js
* Licensed under MIT (https://coreui.io/license)
* --------------------------------------------------------------------------
*/
/* eslint-disable no-magic-numbers */
// random Numbers
var random = function random() {
return Math.round(Math.random() * 100);
}; // eslint-disable-next-line no-unused-vars
var lineChart = new Chart(document.getElementById('canvas-1'), {
type: 'line',
data: {
labels: ['January', 'February', 'March', 'April', 'May', 'June', 'July'],
datasets: [{
label: 'My First dataset',
backgroundColor: 'rgba(220, 220, 220, 0.2)',
borderColor: 'rgba(220, 220, 220, 1)',
pointBackgroundColor: 'rgba(220, 220, 220, 1)',
pointBorderColor: '#fff',
data: [random(), random(), random(), random(), random(), random(), random()]
}, {
label: 'My Second dataset',
backgroundColor: 'rgba(151, 187, 205, 0.2)',
borderColor: 'rgba(151, 187, 205, 1)',
pointBackgroundColor: 'rgba(151, 187, 205, 1)',
pointBorderColor: '#fff',
data: [random(), random(), random(), random(), random(), random(), random()]
}]
},
options: {
responsive: true
}
}); // eslint-disable-next-line no-unused-vars
var barChart = new Chart(document.getElementById('canvas-2'), {
type: 'bar',
data: {
labels: ['January', 'February', 'March', 'April', 'May', 'June', 'July'],
datasets: [{
backgroundColor: 'rgba(220, 220, 220, 0.5)',
borderColor: 'rgba(220, 220, 220, 0.8)',
highlightFill: 'rgba(220, 220, 220, 0.75)',
highlightStroke: 'rgba(220, 220, 220, 1)',
data: [random(), random(), random(), random(), random(), random(), random()]
}, {
backgroundColor: 'rgba(151, 187, 205, 0.5)',
borderColor: 'rgba(151, 187, 205, 0.8)',
highlightFill: 'rgba(151, 187, 205, 0.75)',
highlightStroke: 'rgba(151, 187, 205, 1)',
data: [random(), random(), random(), random(), random(), random(), random()]
}]
},
options: {
responsive: true
}
}); // eslint-disable-next-line no-unused-vars
var doughnutChart = new Chart(document.getElementById('canvas-3'), {
type: 'doughnut',
data: {
labels: ['Red', 'Green', 'Yellow'],
datasets: [{
data: [300, 50, 100],
backgroundColor: ['#FF6384', '#36A2EB', '#FFCE56'],
hoverBackgroundColor: ['#FF6384', '#36A2EB', '#FFCE56']
}]
},
options: {
responsive: true
}
}); // eslint-disable-next-line no-unused-vars
var radarChart = new Chart(document.getElementById('canvas-4'), {
type: 'radar',
data: {
labels: ['Eating', 'Drinking', 'Sleeping', 'Designing', 'Coding', 'Cycling', 'Running'],
datasets: [{
label: 'My First dataset',
backgroundColor: 'rgba(220, 220, 220, 0.2)',
borderColor: 'rgba(220, 220, 220, 1)',
pointBackgroundColor: 'rgba(220, 220, 220, 1)',
pointBorderColor: '#fff',
pointHighlightFill: '#fff',
pointHighlightStroke: 'rgba(220, 220, 220, 1)',
data: [65, 59, 90, 81, 56, 55, 40]
}, {
label: 'My Second dataset',
backgroundColor: 'rgba(151, 187, 205, 0.2)',
borderColor: 'rgba(151, 187, 205, 1)',
pointBackgroundColor: 'rgba(151, 187, 205, 1)',
pointBorderColor: '#fff',
pointHighlightFill: '#fff',
pointHighlightStroke: 'rgba(151, 187, 205, 1)',
data: [28, 48, 40, 19, 96, 27, 100]
}]
},
options: {
responsive: true
}
}); // eslint-disable-next-line no-unused-vars
var pieChart = new Chart(document.getElementById('canvas-5'), {
type: 'pie',
data: {
labels: ['Red', 'Green', 'Yellow'],
datasets: [{
data: [300, 50, 100],
backgroundColor: ['#FF6384', '#36A2EB', '#FFCE56'],
hoverBackgroundColor: ['#FF6384', '#36A2EB', '#FFCE56']
}]
},
options: {
responsive: true
}
}); // eslint-disable-next-line no-unused-vars
var polarAreaChart = new Chart(document.getElementById('canvas-6'), {
type: 'polarArea',
data: {
labels: ['Red', 'Green', 'Yellow', 'Grey', 'Blue'],
datasets: [{
data: [11, 16, 7, 3, 14],
backgroundColor: ['#FF6384', '#4BC0C0', '#FFCE56', '#E7E9ED', '#36A2EB']
}]
},
options: {
responsive: true
}
});
//# sourceMappingURL=charts.js.map