visualization-tools

Home > @visualization-tools/core > OnCanvasResized

OnCanvasResized class

Provides events for chart resizing, emitted on IChartComponent.resize() call.

Signature:

export declare class OnCanvasResized implements TOnCanvasResized 

Implements: TOnCanvasResized

Constructors

Constructor Modifiers Description
(constructor)(onCanvasResized)   Constructs a new instance of the OnCanvasResized class

Properties

Property Modifiers Type Description
callbackKey static “onCanvasResized”  
onCanvasResized   (canvasDims: ICanvasDimensions) => void  

Methods

Method Modifiers Description
emit(eventService, canvasDims) static  
registerListener(eventService, onEvent) static