adding span gaps to annual
This commit is contained in:
parent
17d9bbfe1a
commit
5535fb860f
@ -128,7 +128,8 @@ export function GrossAnualChart({ title, subtitle, dataProps, label, dataset, ba
|
|||||||
type: 'bar',
|
type: 'bar',
|
||||||
stacked: true,
|
stacked: true,
|
||||||
label: 'Estimado',
|
label: 'Estimado',
|
||||||
data: [0].concat(dataProps.filter(value => value.dad_estimado === true).map((value, index) => {
|
spanGaps: true,
|
||||||
|
data: [null].concat(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)
|
||||||
else
|
else
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user