diff --git a/packages/grafana-schema/src/schema/mudball.cue b/packages/grafana-schema/src/schema/mudball.cue index e101d9ea65c..054e8e8a44b 100644 --- a/packages/grafana-schema/src/schema/mudball.cue +++ b/packages/grafana-schema/src/schema/mudball.cue @@ -133,7 +133,8 @@ GraphThresholdsStyleConfig: { LegendPlacement: "bottom" | "right" @cuetsy(kind="type") // TODO docs -LegendDisplayMode: "list" | "table" @cuetsy(kind="enum") +// Note: "hidden" needs to remain as an option for plugins compatibility +LegendDisplayMode: "list" | "table" | "hidden" @cuetsy(kind="enum") // TODO docs TableSortByFieldState: { diff --git a/packages/grafana-schema/src/schema/mudball.gen.ts b/packages/grafana-schema/src/schema/mudball.gen.ts index 078650f0b56..42d93744643 100644 --- a/packages/grafana-schema/src/schema/mudball.gen.ts +++ b/packages/grafana-schema/src/schema/mudball.gen.ts @@ -168,6 +168,7 @@ export interface GraphThresholdsStyleConfig { export type LegendPlacement = ('bottom' | 'right'); export enum LegendDisplayMode { + Hidden = 'hidden', List = 'list', Table = 'table', }