TimeSeriesPanel: Fixed default value for gradientMode (#30484)

This commit is contained in:
Torkel Ödegaard authored and GitHub committed 2021-01-21 12:51:12 +01:00
1 parent 1c6897776a
commit 59ef36812e
1 file changed
+1 -1
@@ -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,
},