style: label grafico vendas

This commit is contained in:
2025-01-20 17:07:12 -03:00
parent 3ef4aefaa0
commit 6673fac076
2 changed files with 1 additions and 2 deletions

Binary file not shown.

View File

@@ -15,6 +15,7 @@ var chartVendas = new Chart("vendas", {
data: { data: {
labels: [], labels: [],
datasets: [{ datasets: [{
label:'',
fill: true, fill: true,
data: [], data: [],
backgroundColor: barColors, backgroundColor: barColors,
@@ -80,7 +81,6 @@ var chartCuisine = new Chart("cuisine", {
} }
}); });
// O restante do código permanece inalterado
const genericOptions = { const genericOptions = {
responsive: true, responsive: true,
hoverBackgroundColor: 'white', hoverBackgroundColor: 'white',
@@ -177,7 +177,6 @@ var chartCuisine = new Chart("cuisine", {
case 'Dez': case 'Dez':
titulo = 'Dezembro' titulo = 'Dezembro'
break; break;
// ... outros dias
default: default:
console.log("Dia inválido"); console.log("Dia inválido");
} }