mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
StatPanels: set default to last (#28617)
This commit is contained in:
parent
db637a3630
commit
028c770963
@ -59,7 +59,7 @@ export function addStandardDataReduceOptions(
|
||||
name: 'Calculation',
|
||||
description: 'Choose a reducer function / calculation',
|
||||
editor: standardEditorsRegistry.get('stats-picker').editor as any,
|
||||
defaultValue: [ReducerID.mean],
|
||||
defaultValue: [ReducerID.lastNotNull],
|
||||
// Hides it when all values mode is on
|
||||
showIf: currentConfig => currentConfig.reduceOptions.values === false,
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user