Commit 59ef3681 by Torkel Ödegaard Committed by GitHub

TimeSeriesPanel: Fixed default value for gradientMode (#30484)

parent 1c689777
...@@ -89,7 +89,7 @@ export function getGraphFieldConfig(cfg: GraphFieldConfig): SetFieldConfigOption ...@@ -89,7 +89,7 @@ export function getGraphFieldConfig(cfg: GraphFieldConfig): SetFieldConfigOption
.addRadio({ .addRadio({
path: 'gradientMode', path: 'gradientMode',
name: 'Gradient mode', name: 'Gradient mode',
defaultValue: graphFieldOptions.fillGradient[0], defaultValue: graphFieldOptions.fillGradient[0].value,
settings: { settings: {
options: graphFieldOptions.fillGradient, options: graphFieldOptions.fillGradient,
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment