useChart
The chart engine of the closest <ChartCanvas>.
import { useChart } from "@reincharts/core";Signature
function useChart<T = any>(): ChartEngine<T>See also
- Custom series (example)
- Draggable line (example)
- Events (example)
- Custom legend (example)