mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
PieChart: Always show the calculation options dropdown in the editor. (#34267)
* Fix bug hiding calculation from piechart
This commit is contained in:
@@ -33,8 +33,6 @@ export const plugin = new PanelPlugin<PieChartOptions>(PieChartPanel)
|
||||
description: 'Choose a reducer function / calculation',
|
||||
editor: standardEditorsRegistry.get('stats-picker').editor as any,
|
||||
defaultValue: [ReducerID.lastNotNull],
|
||||
// Hides it when all values mode is on
|
||||
showIf: (currentConfig) => currentConfig.reduceOptions.values === false,
|
||||
})
|
||||
.addRadio({
|
||||
name: 'Piechart type',
|
||||
|
||||
Reference in New Issue
Block a user