mirror of
https://github.com/grafana/grafana.git
synced 2024-11-30 12:44:10 -06:00
TimeSeries: disable fill when fillBelowTo field is missing (#44498)
This commit is contained in:
parent
5148250366
commit
6533eb9244
@ -272,9 +272,12 @@ export const preparePlotConfigBuilder: UPlotConfigPrepFn<{
|
|||||||
series: [t, b],
|
series: [t, b],
|
||||||
fill: undefined, // using null will have the band use fill options from `t`
|
fill: undefined, // using null will have the band use fill options from `t`
|
||||||
});
|
});
|
||||||
}
|
|
||||||
if (!fillOpacity) {
|
if (!fillOpacity) {
|
||||||
fillOpacity = 35; // default from flot
|
fillOpacity = 35; // default from flot
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
fillOpacity = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user