mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Barchart: Fixes barchart switching from palette to thresholds color mode (#40954)
This commit is contained in:
parent
fadf72dd34
commit
858d654d1c
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user