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

CardSparklineRow Class

A sparkline row in the CardItem‘s layout.

Declaration

export class CardSparklineRow extends CardRowBase

Remarks

Use the CardLayout.rows property to access rows that constitute a card’s layout. Refer to the CardLayoutTemplate class description to learn how to manage the layout of cards in the CardItem.

Inherited Members

Inheritance

CardRowBase
CardSparklineRow

constructor

Initializes a new instance of the CardSparklineRow class.

Declaration

constructor(
    modelJson?: any,
    serializer?: DxDesigner.Analytics.Utils.ModelSerializer
)

Parameters

Name Type Description
modelJson any

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

serializer DxDesigner.Analytics.Utils.ModelSerializer

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

Properties

height Property

Declaration

height: ko.Observable<number>

Property Value

Type
Observable<number>

sparklineOptions Property

Declaration

sparklineOptions: SparklineOptions

Property Value

Type
SparklineOptions

Methods

getInfo Method

For internal use.

Declaration

getInfo(): DxDesigner.Analytics.Utils.ISerializationInfoArray

Returns

Type Description
DxDesigner.Analytics.Utils.ISerializationInfoArray