TimeSeriesPanel: Fixed default value for gradientMode (#30484) (#30492)

(cherry picked from commit 59ef36812e)

Co-authored-by: Torkel Ödegaard <torkel@grafana.org>
This commit is contained in:
Grot (@grafanabot)
2021-01-21 14:24:38 +01:00
committed by GitHub
co-authored by Torkel Ödegaard
parent 804c3a9be0
commit 8b9cb9d034
@@ -89,7 +89,7 @@ export function getGraphFieldConfig(cfg: GraphFieldConfig): SetFieldConfigOption
.addRadio({
path: 'gradientMode',
name: 'Gradient mode',
defaultValue: graphFieldOptions.fillGradient[0],
defaultValue: graphFieldOptions.fillGradient[0].value,
settings: {
options: graphFieldOptions.fillGradient,
},