mirror of
https://github.com/welton89/RRBEC.git
synced 2026-04-05 21:45:41 +00:00
style: label grafico vendas
This commit is contained in:
Binary file not shown.
@@ -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");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user