Barchart: Fixes barchart switching from palette to thresholds color mode (#40954)
This commit is contained in:
@@ -19,6 +19,7 @@ export const plugin = new PanelPlugin<BarChartOptions, BarChartFieldConfig>(BarC
|
|||||||
[FieldConfigProperty.Color]: {
|
[FieldConfigProperty.Color]: {
|
||||||
settings: {
|
settings: {
|
||||||
byValueSupport: true,
|
byValueSupport: true,
|
||||||
|
preferThresholdsMode: false,
|
||||||
},
|
},
|
||||||
defaultValue: {
|
defaultValue: {
|
||||||
mode: FieldColorModeId.PaletteClassic,
|
mode: FieldColorModeId.PaletteClassic,
|
||||||
|
|||||||
Reference in New Issue
Block a user