Chart Line
Time-series line charts built on unovis-vue. Pass an array of rows plus a config that maps each series key to a label and color.
Default
A single-series line with a natural curve, gradient-free.
Usage
Import the parts you need from the component's folder.
ts
import {
ChartLineDefault,
ChartLine,
ChartLineLinear,
ChartLineStep,
ChartLineInteractive,
} from "@/components/ui/chart";Comparison
ChartLine overlays a dashed previous-period line and a gradient area fill for at-a-glance trends.
Linear
Straight segments between points (CurveType.Linear).
Step
Stepped interpolation (CurveType.Step).
Interactive
Toggle between series; totals update in the header.