| 1234567891011 |
- import { PanelPlugin, sharedSingleStatOptionsCheck } from '@grafana/ui';
- import { BarGaugePanel } from './BarGaugePanel';
- import { BarGaugePanelEditor } from './BarGaugePanelEditor';
- import { BarGaugeOptions, defaults } from './types';
- import { barGaugePanelMigrationCheck } from './BarGaugeMigrations';
- export const plugin = new PanelPlugin<BarGaugeOptions>(BarGaugePanel)
- .setDefaults(defaults)
- .setEditor(BarGaugePanelEditor)
- .setPanelChangeHandler(sharedSingleStatOptionsCheck)
- .setMigrationHandler(barGaugePanelMigrationCheck);
|