add estimated annual
This commit is contained in:
parent
e8a7581539
commit
b53b6436bb
@ -126,7 +126,7 @@ export function GrossAnualChart({ title, subtitle, dataProps, label, dataset, ba
|
|||||||
type: 'bar',
|
type: 'bar',
|
||||||
stacked: true,
|
stacked: true,
|
||||||
label: 'Estimado',
|
label: 'Estimado',
|
||||||
data: dataProps.filter(value => value.ano === '2022').map((value, index) => {
|
data: dataProps.filter(value => value.dad_estimado === true).map((value, index) => {
|
||||||
if (value.dad_estimado)
|
if (value.dad_estimado)
|
||||||
return parseFloat(value.economia_acumulada)
|
return parseFloat(value.economia_acumulada)
|
||||||
}),
|
}),
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user