Documentation

@kanunilabs/datagrid-react-enterprise


@kanunilabs/datagrid-react-enterprise / SparklineProps

Interface: SparklineProps

Extends

Properties

ariaLabel?

optional ariaLabel?: string

Screen-reader description. Falls back to a generated summary.

Inherited from

SparklineOptions.ariaLabel


data

data: unknown

The series. Non-numeric entries are skipped, not read as zero.


max?

optional max?: number

Force the high end.

Inherited from

SparklineOptions.max


min?

optional min?: number

Force the low end of the scale — for comparing rows against each other.

Inherited from

SparklineOptions.min


showBaseline?

optional showBaseline?: boolean

Draw the zero line when the series crosses it. Default true for bar.

Inherited from

SparklineOptions.showBaseline


showLast?

optional showLast?: boolean

Mark the last reading with a dot. Default true for line/area.

It is the point the reader is actually after — "where did it end up" — and a line without it makes them find the right edge themselves.

Inherited from

SparklineOptions.showLast


type?

optional type?: SparklineType

Inherited from

SparklineOptions.type