Home > @visualization-tools/cartesian-2d > CanvasCartesianUpdateHooks
Canvas update hook, called before and after a plot is drawn.
Signature:
export declare class CanvasCartesianUpdateHooks implements ICategoryUpdateHooks<ICanvasRenderer, ICartesian2dUpdateArg<Float64Array>>
Implements: ICategoryUpdateHooks<ICanvasRenderer, ICartesian2dUpdateArg<Float64Array>>
| Constructor | Modifiers | Description |
|---|---|---|
| (constructor)(getDrawRange) | Constructs a new instance of the CanvasCartesianUpdateHooks class |
| Method | Modifiers | Description |
|---|---|---|
| onAfterUpdate(renderer) | ||
| onBeforeUpdate(renderer, arg) |