Home > @visualization-tools/core > OnPlotRequiresUpdate
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
| Constructor | Modifiers | Description |
|---|---|---|
| (constructor)(onPlotRequiresUpdate) | Constructs a new instance of the OnPlotRequiresUpdate class |
| Property | Modifiers | Type | Description |
|---|---|---|---|
| callbackKey | static |
“onPlotRequiresUpdate” | |
| onPlotRequiresUpdate | (plot: IReadonlyPlot<IPlotRange, unknown>, updateFlag: EEntityUpdateFlag) => void |
| Method | Modifiers | Description |
|---|---|---|
| emit(plot, updateFlag) | static |
|
| registerListener(eventService, onEvent) | static |