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

This commit is contained in:
Torkel Ödegaard
2021-10-27 09:42:47 +02:00
committed by GitHub
parent fadf72dd34
commit 858d654d1c

View File

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