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: {
legend: {
display: false
},
responsive: true,
plugins: {
legend: {
display: false // Hide the legend to only show the lines
}
},
scales: {
x: {
display: false // Hide the X-axis labels if not needed
},
y: {
min: 0,
beginAtZero: true,
xAxes: [{
display: false,
grid: { display: false }
}
ticks: { display: false },
gridLines: { display: false }
}],
yAxes: [{
display: false,
ticks: { display: false, beginAtZero: true },
gridLines: { display: false }
}]
},
animation: {
duration: 1000
}