Skip to content

charton API


charton API / @chart-on/react / index / Chart

Variable: Chart ​

const Chart: ForwardRefExoticComponent<ChartProps & RefAttributes<Chart | null>>

Defined in: chart.ts:37

The chart engine alone, in a div. The chart is created when the component mounts and destroyed when it unmounts; prop changes update it in place. The ref receives the Chart while the component is mounted, and null otherwise (always null on a server).