Gauge: Hide orientation option in panel options (#25511)

This commit is contained in:
Torkel Ödegaard 2020-06-10 17:27:59 +02:00 committed by GitHub
parent ed694fd88a
commit c7aac1fd40
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,7 +7,7 @@ import { gaugePanelMigrationHandler, gaugePanelChangedHandler } from './GaugeMig
export const plugin = new PanelPlugin<GaugeOptions>(GaugePanel) export const plugin = new PanelPlugin<GaugeOptions>(GaugePanel)
.useFieldConfig() .useFieldConfig()
.setPanelOptions(builder => { .setPanelOptions(builder => {
addStandardDataReduceOptions(builder); addStandardDataReduceOptions(builder, false);
builder builder
.addBooleanSwitch({ .addBooleanSwitch({
path: 'showThresholdLabels', path: 'showThresholdLabels',