no message

This commit is contained in:
2025-10-18 14:46:52 +08:00
commit 7a84025b05
387 changed files with 75711 additions and 0 deletions

34
assets/js/charts-bars.js Normal file
View File

@@ -0,0 +1,34 @@
/**
* For usage, visit Chart.js docs https://www.chartjs.org/docs/latest/
*/
const barConfig = {
type: 'bar',
data: {
labels: ['January', 'February', 'March', 'April', 'May', 'June', 'July'],
datasets: [
{
label: 'Shoes',
backgroundColor: '#0694a2',
// borderColor: window.chartColors.red,
borderWidth: 1,
data: [-3, 14, 52, 74, 33, 90, 70],
},
{
label: 'Bags',
backgroundColor: '#7e3af2',
// borderColor: window.chartColors.blue,
borderWidth: 1,
data: [66, 33, 43, 12, 54, 62, 84],
},
],
},
options: {
responsive: true,
legend: {
display: false,
},
},
}
const barsCtx = document.getElementById('bars')
window.myBar = new Chart(barsCtx, barConfig)