PanelMigrationHandler type
PanelMigrationHandler type
Called when a panel is first loaded with current panel model
Signature
export declare type PanelMigrationHandler<TOptions = any> = (panel: PanelModel<TOptions>) => Partial<TOptions>;
Import
import { PanelMigrationHandler } from '@grafana/data';