TimeSeriesPanel: Allow threshold indicators without change handler (#60575)

This commit is contained in:
Gilles De Mey
2022-12-21 16:18:35 +01:00
committed by GitHub
parent 44232569a8
commit 16c6f223ba
8 changed files with 53 additions and 68 deletions

View File

@@ -45,6 +45,13 @@ export interface PanelContext {
*/
canEditThresholds?: boolean;
/**
* Shows threshold indicators on the right-hand side of the panel
*
* @alpha -- experimental
*/
showThresholds?: boolean;
/**
* Called when a panel wants to change default thresholds configuration
*