mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
NewPanelEdit: Minor style and description tweaks, AND PanelQueryRunner & autoMinMax (#23445)
* NewPanelEdit: Minor style and description tweaks * Removed the worst snapshot of all time
This commit is contained in:
@@ -17,13 +17,14 @@ export const plugin = new PanelPlugin<BarGaugeOptions>(BarGaugePanel)
|
||||
settings: {
|
||||
options: displayModes,
|
||||
},
|
||||
defaultValue: 'lcd',
|
||||
defaultValue: 'gradient',
|
||||
})
|
||||
.addBooleanSwitch({
|
||||
path: 'showUnfilled',
|
||||
name: 'Show unfilled area',
|
||||
description: 'When enabled renders the unfilled region as gray',
|
||||
defaultValue: true,
|
||||
showIf: options => options.displayMode !== 'lcd',
|
||||
});
|
||||
})
|
||||
.setPanelChangeHandler(sharedSingleStatPanelChangedHandler)
|
||||
|
||||
@@ -51,6 +51,7 @@ export function addStandardDataReduceOptions(
|
||||
min: 1,
|
||||
max: 5000,
|
||||
},
|
||||
showIf: options => options.reduceOptions.values,
|
||||
});
|
||||
|
||||
builder.addCustomEditor({
|
||||
|
||||
Reference in New Issue
Block a user