ChartCanvas
The chart root.
import { ChartCanvas } from "@reincharts/core";The chart root. Owns data, the time axis viewport and the render loop; children
(panes, series, axes, tools) register with it. The ref exposes the ChartEngine
(zoomIn, zoomOut, resetView, scrollToRealtime, setVisibleRange, fitContent, screenshot...).
Props
Prop
Type
See also
- ChartCanvas & panes (guide)
- Data & x modes (guide)
- Syncing charts (guide)
- Analytics dashboard (example)
- Examples (example)
- Annotated line chart (example)
- Crossover signals (example)
- Reference lines & areas (example)
- Area (example)
- Band (example)
- Axes & grid (example)