Skip to content

grafit-charts


Interface: SparklineOptions ​

Simplified sparkline options: a miniature chart with no chrome.

Properties ​

container? ​

optional container?: HTMLElement


data? ​

optional data?: Datum[]


field ​

field: string

Value field; categories are the data indices.


fill? ​

optional fill?: string


height? ​

optional height?: number


stroke? ​

optional stroke?: string


theme? ​

optional theme?: unknown


type? ​

optional type?: "line" | "area" | "bar"


width? ​

optional width?: number