Documentation

@kanunilabs/datagrid-enterprise


@kanunilabs/datagrid-enterprise / renderSparkline

Function: renderSparkline()

renderSparkline(data, options?): SVGSVGElement | null

Draws one sparkline, or null when the series holds nothing numeric — the caller then falls through to the grid's ordinary cell text.

Parameters

data

unknown

options?

ColumnSparkline & object = {}

Returns

SVGSVGElement | null