Skip to main content
A newer version of this page is available. .

GridSparklineColumn Class

Declaration

export class GridSparklineColumn extends GridColumn

Remarks

A sparkline column visualizes historical data using sparklines.

The GridSparklineColumn.showStartEndValues property allows you to specify whether to display the start/end values of a sparkline. Use the GridSparklineColumn.sparklineOptions property to access sparkline appearance settings.

Inheritance

GridColumn
GridSparklineColumn

constructor(dataItemProvider)

Initializes a new instance of the GridSparklineColumn class with specified settings.

Declaration

constructor(
    dataItemProvider: DataDashboardItem,
    dashboardItemJSON?: any,
    serializer?: ModelSerializer
)

Parameters

Name Type Description
dataItemProvider DataDashboardItem
dashboardItemJSON any

A JSON object used for dashboard deserialization. Do not pass this parameter directly.

serializer ModelSerializer

An object used for dashboard deserialization. Do not pass this parameter directly.

Properties

measure Property

Declaration

measure: ko.Observable<Measure>

Property Value

Type
Observable<Measure>

showStartEndValues Property

Declaration

showStartEndValues: ko.Observable<boolean>

Property Value

Type
Observable<boolean>

sparklineOptions Property

Provides access to options used to control the sparkline appearance.

Declaration

sparklineOptions: SparklineOptions

Property Value

Type Description
SparklineOptions

A SparklineOptions object containing options used to control the sparkline appearance.