TimeSeries: disable fill when fillBelowTo field is missing (#44498) (#44500)

(cherry picked from commit 6533eb9244)

Co-authored-by: Leon Sorokin <leeoniya@gmail.com>
This commit is contained in:
Grot (@grafanabot)
2022-01-27 00:22:37 +01:00
committed by GitHub
co-authored by Leon Sorokin
parent 7c9c60b853
commit 2585ad1ddc
@@ -253,9 +253,12 @@ export const preparePlotConfigBuilder: UPlotConfigPrepFn<{
series: [t, b],
fill: undefined, // using null will have the band use fill options from `t`
});
}
if (!fillOpacity) {
fillOpacity = 35; // default from flot
if (!fillOpacity) {
fillOpacity = 35; // default from flot
}
} else {
fillOpacity = 0;
}
}
}