|
|
@ -79,7 +79,13 @@ export const plugin = new PanelPlugin<PanelOptions>(Panel).setPanelOptions((buil |
|
|
|
category: ['Extremum'], |
|
|
|
category: ['Extremum'], |
|
|
|
showIf: (config) => config.visualizationType === Pod.GAUGE, |
|
|
|
showIf: (config) => config.visualizationType === Pod.GAUGE, |
|
|
|
}) |
|
|
|
}) |
|
|
|
|
|
|
|
.addBooleanSwitch({ |
|
|
|
|
|
|
|
path: 'gauge.reversed', |
|
|
|
|
|
|
|
name: 'Reversed', |
|
|
|
|
|
|
|
defaultValue: false, |
|
|
|
|
|
|
|
category: ['Direction'], |
|
|
|
|
|
|
|
showIf: (config) => config.visualizationType === Pod.GAUGE, |
|
|
|
|
|
|
|
}) |
|
|
|
.addCustomEditor({ |
|
|
|
.addCustomEditor({ |
|
|
|
id: 'icons', |
|
|
|
id: 'icons', |
|
|
|
path: 'gauge.icons', |
|
|
|
path: 'gauge.icons', |
|
|
|