Skip to content

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 ​

ParameterType
dataD | null | undefined
options?O

Returns ​

ExpressFigure

Call Signature ​

ts
GraphFunction(
   el,
   data,
   options?
): Promise<Chart>;

Experimental

Parameters ​

ParameterType
elHTMLElement
dataD | null | undefined
options?O

Returns ​

Promise<Chart>

Released under the MIT License.