all years
This commit is contained in:
parent
7db8830c43
commit
1583cbeda1
@ -103,11 +103,11 @@ export function GrossAnualChart({ title, subtitle, dataProps, label, dataset, ba
|
|||||||
};
|
};
|
||||||
|
|
||||||
let labels: string[];
|
let labels: string[];
|
||||||
if (bruta) {
|
//if (bruta) {
|
||||||
labels = [`Até ${new Date().getFullYear()-1}`, `${new Date().getFullYear()}`]
|
// labels = [`Até ${new Date().getFullYear()-1}`, `${new Date().getFullYear()}`]
|
||||||
} else {
|
//} else {
|
||||||
labels = label
|
labels = label;
|
||||||
}
|
//}
|
||||||
|
|
||||||
const data: any = {
|
const data: any = {
|
||||||
labels,
|
labels,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user