chartjs customization

This commit is contained in:
Eduardo Silva 2025-02-25 15:45:30 -03:00
parent e99d910dbd
commit 703a05b18c

View File

@ -203,23 +203,24 @@
] ]
}, },
options: { options: {
legend: {
display: false
},
responsive: true, responsive: true,
plugins: {
legend: {
display: false // Hide the legend to only show the lines
}
},
scales: { scales: {
x: { xAxes: [{
display: false // Hide the X-axis labels if not needed
},
y: {
min: 0,
beginAtZero: true,
display: false, display: false,
grid: { display: false } ticks: { display: false },
} gridLines: { display: false }
}],
yAxes: [{
display: false,
ticks: { display: false, beginAtZero: true },
gridLines: { display: false }
}]
}, },
animation: { animation: {
duration: 1000 duration: 1000
} }