diff --git a/packages/grafana-data/src/types/legacyEvents.ts b/packages/grafana-data/src/types/legacyEvents.ts index 868830de83c..10c0092b32c 100644 --- a/packages/grafana-data/src/types/legacyEvents.ts +++ b/packages/grafana-data/src/types/legacyEvents.ts @@ -22,6 +22,7 @@ export const PanelEvents = { dataSnapshotLoad: eventFactory('data-snapshot-load'), editModeInitialized: eventFactory('init-edit-mode'), initPanelActions: eventFactory('init-panel-actions'), + initialized: eventFactory('panel-initialized'), panelTeardown: eventFactory('panel-teardown'), render: eventFactory('render'), }; diff --git a/public/app/features/panel/panel_ctrl.ts b/public/app/features/panel/panel_ctrl.ts index 1942fb80a51..aabbcd6fcef 100644 --- a/public/app/features/panel/panel_ctrl.ts +++ b/public/app/features/panel/panel_ctrl.ts @@ -51,6 +51,7 @@ export class PanelCtrl { panelDidMount() { this.events.emit(PanelEvents.componentDidMount); + this.events.emit(PanelEvents.initialized); this.dashboard.panelInitialized(this.panel); }