Important: This documentation is about an older version. It's relevant only to the release noted, many of the features and functions have been updated or replaced. Please view the current version.
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';