Skip to main content

CardSparklineRow Class

A sparkline row in the CardItem‘s layout.

#Declaration

TypeScript
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

#constructor

Initializes a new instance of the CardSparklineRow class.

#Declaration

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

#Parameters

Name Type Description
modelJson 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

#height Property

#Declaration

TypeScript
height: ko.Observable<number>

#Property Value

Type
Observable<number>

#sparklineOptions Property

#Declaration

TypeScript
sparklineOptions: DevExpress.Dashboard.Model.SparklineOptions

#Property Value

Type
SparklineOptions

#Methods

#getInfo Method

For internal use.

#Declaration

TypeScript
getInfo(): DevExpress.Analytics.Utils.ISerializationInfoArray

#Returns

Type Description
ISerializationInfoArray

An array of objects that provide serialization info.