Charts
Chart Frame
A responsive, accessible host for typed TanStack Charts definitions.
idle
Usage
Examples
Team activity
Recommendations
| Guidance | Practice |
|---|---|
| Do | Name the chart's question and provide readable units. Keep detailed values available beyond pointer hover. |
Usage boundaries
| Guidance | Boundary |
|---|---|
| Scope | The chart definition owns the plot. Aggregation, filtering, and a readable data alternative belong to the application. |
API reference
Public props from @mizen-labs/ui. Use exported prop types for the complete TypeScript contract.
| Prop | Type | Default | Description |
|---|---|---|---|
| | Responsive width | Hosts a typed TanStack Charts definition and preserves datum inference for callbacks. |
| | Required | Names the chart surface for assistive technology. |
| | 320px height | Choose fixed height or a positive width-to-height ratio. |
| | 640 | Sets deterministic server and first-frame width before responsive measurement. |
| | Optional | Receive typed points from chart-owned keyboard and pointer interactions. |
| | Engine tooltip | Provides caller-authored content inside the chart engine's tooltip surface. |