Home > @visualization-tools/core > OnPlotAttachChanged
Emitted on plot attaching or detaching from chart.
Signature:
export declare class OnPlotAttachChanged<TRenderer extends TUnknownRenderer> implements TOnPlotAttachChanged<TRenderer>
Implements: TOnPlotAttachChanged<TRenderer>
| Constructor | Modifiers | Description |
|---|---|---|
| (constructor)(onPlotAttachChanged) | Constructs a new instance of the OnPlotAttachChanged class |
| Property | Modifiers | Type | Description |
|---|---|---|---|
| callbackKey | static |
“onPlotAttachChanged” | |
| onPlotAttachChanged | (…args: TOnPlotAttachChangedArgs<TRenderer>) => void |
| Method | Modifiers | Description |
|---|---|---|
| emit(plot, chart, isAttached) | static |
|
| registerListener(plot, onEvent) | static |
|
| registerOneTimeListener(plot, onEvent) | static |