Functions
Const sparkline
- sparkline(_: any, _opts: Partial<SparklineOpts>, vals: number[]): (string | { fill: string; height: number; stroke: string; width: number } | (string | { points: string })[] | (string | { cx: number; cy: number; fill: string; r: number })[])[]
Parameters
Returns (string | { fill: string; height: number; stroke: string; width: number } | (string | { points: string })[] | (string | { cx: number; cy: number; fill: string; r: number })[])[]
Customizable, stateless SVG sparkline component.