visualization-tools

Home > @visualization-tools/core > OnPlotRequiresUpdate

OnPlotRequiresUpdate class

Used to indicate that a redraw is required, which is performed by IChartComponent.updateOnNextFrame(). Multiple calls will be rolled up into a single update.

Signature:

export declare class OnPlotRequiresUpdate implements TOnPlotRequiresUpdate 

Implements: TOnPlotRequiresUpdate

Constructors

Constructor Modifiers Description
(constructor)(onPlotRequiresUpdate)   Constructs a new instance of the OnPlotRequiresUpdate class

Properties

Property Modifiers Type Description
callbackKey static “onPlotRequiresUpdate”  
onPlotRequiresUpdate   (plot: IReadonlyPlot<IPlotRange, unknown>, updateFlag: EEntityUpdateFlag) => void  

Methods

Method Modifiers Description
emit(plot, updateFlag) static  
registerListener(eventService, onEvent) static