visualization-tools

Home > @visualization-tools/core > OnPlotAttachChanged

OnPlotAttachChanged class

Emitted on plot attaching or detaching from chart.

Signature:

export declare class OnPlotAttachChanged<TRenderer extends TUnknownRenderer> implements TOnPlotAttachChanged<TRenderer> 

Implements: TOnPlotAttachChanged<TRenderer>

Constructors

Constructor Modifiers Description
(constructor)(onPlotAttachChanged)   Constructs a new instance of the OnPlotAttachChanged class

Properties

Property Modifiers Type Description
callbackKey static “onPlotAttachChanged”  
onPlotAttachChanged   (…args: TOnPlotAttachChangedArgs<TRenderer>) => void  

Methods

Method Modifiers Description
emit(plot, chart, isAttached) static  
registerListener(plot, onEvent) static  
registerOneTimeListener(plot, onEvent) static