Home > d3-blueprint > Plugin_2
Plugin_2 interface
A plugin object that hooks into the chart lifecycle.
Signature:
typescript
export interface Plugin<TData = unknown>Properties
Property | Modifiers | Type | Description |
|---|---|---|---|
string | (Optional) Used as the event namespace (e.g. |
Methods
Method | Description |
|---|---|
(Optional) Called when the chart is destroyed. | |
Called once immediately when the plugin is installed. | |
(Optional) Called on every postDraw event. | |
(Optional) Called after all transitions have completed. | |
(Optional) Called on every preDraw event. |