(values: number[], options: SparklineOptions): SparklineGeometry | null import {sparkline_geometry} from '@fuzdev/fuz_ui/sparkline.js'; Computes the rendering geometry for a sparkline of values.
Returns null when values has fewer than 2 points, which cannot form a line.
values
number[]options
returns
SparklineGeometry | null