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[];
|
||||
if (bruta) {
|
||||
labels = [`Até ${new Date().getFullYear()-1}`, `${new Date().getFullYear()}`]
|
||||
} else {
|
||||
labels = label
|
||||
}
|
||||
//if (bruta) {
|
||||
// labels = [`Até ${new Date().getFullYear()-1}`, `${new Date().getFullYear()}`]
|
||||
//} else {
|
||||
labels = label;
|
||||
//}
|
||||
|
||||
const data: any = {
|
||||
labels,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user