From 1952e01e488f2ddb212c332b3597ea97f2c090c4 Mon Sep 17 00:00:00 2001 From: "Grot (@grafanabot)" <43478413+grafanabot@users.noreply.github.com> Date: Wed, 27 Oct 2021 02:15:52 -0600 Subject: [PATCH] Barchart: Fixes barchart switching from palette to thresholds color mode (#40954) (#40974) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit (cherry picked from commit 858d654d1c2191aedb46a7b1e1deee4179a2e9fb) Co-authored-by: Torkel Ödegaard --- public/app/plugins/panel/barchart/module.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/public/app/plugins/panel/barchart/module.tsx b/public/app/plugins/panel/barchart/module.tsx index 9dd8271b548..d27c66b065b 100755 --- a/public/app/plugins/panel/barchart/module.tsx +++ b/public/app/plugins/panel/barchart/module.tsx @@ -18,6 +18,7 @@ export const plugin = new PanelPlugin(BarC [FieldConfigProperty.Color]: { settings: { byValueSupport: true, + preferThresholdsMode: false, }, defaultValue: { mode: FieldColorModeId.PaletteClassic,