Barchart: Fixes barchart switching from palette to thresholds color mode (#40954)

pull/39579/head^2
Torkel Ödegaard 4 years ago committed by GitHub
parent fadf72dd34
commit 858d654d1c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      public/app/plugins/panel/barchart/module.tsx

@ -19,6 +19,7 @@ export const plugin = new PanelPlugin<BarChartOptions, BarChartFieldConfig>(BarC
[FieldConfigProperty.Color]: {
settings: {
byValueSupport: true,
preferThresholdsMode: false,
},
defaultValue: {
mode: FieldColorModeId.PaletteClassic,

Loading…
Cancel
Save