Documentation

@kanunilabs/datagrid-react-enterprise


@kanunilabs/datagrid-react-enterprise / SparklineOptions

Interface: SparklineOptions

Extends

  • SparklineGeometryOptions

Extended by

Properties

ariaLabel?

optional ariaLabel?: string

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


max?

optional max?: number

Force the high end.

Inherited from

SparklineGeometryOptions.max


min?

optional min?: number

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

Inherited from

SparklineGeometryOptions.min


showBaseline?

optional showBaseline?: boolean

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


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.


type?

optional type?: SparklineType