From 59ef36812e3be1c64d664e8f8ff9d7a640815bfb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torkel=20=C3=96degaard?= Date: Thu, 21 Jan 2021 12:51:12 +0100 Subject: [PATCH] TimeSeriesPanel: Fixed default value for gradientMode (#30484) --- public/app/plugins/panel/timeseries/config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/app/plugins/panel/timeseries/config.ts b/public/app/plugins/panel/timeseries/config.ts index d45b2ea542c..9dde12d7c04 100644 --- a/public/app/plugins/panel/timeseries/config.ts +++ b/public/app/plugins/panel/timeseries/config.ts @@ -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, },