Interface: GraphFunction()<D, O>
A graph function: called with data it returns the figure, with an element first it renders.
Type Parameters
| Type Parameter |
|---|
D |
O |
Call Signature
ts
GraphFunction(data, options?): ExpressFigure;Experimental
Parameters
| Parameter | Type |
|---|---|
data | D | null | undefined |
options? | O |
Returns
Call Signature
ts
GraphFunction(
el,
data,
options?
): Promise<Chart>;Experimental
Parameters
| Parameter | Type |
|---|---|
el | HTMLElement |
data | D | null | undefined |
options? | O |
Returns
Promise<Chart>