CardSparklineRow Class
In This Article
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.
#Inheritance
SerializableModel
TypedSerializableModel
CardRowBase
CardSparklineRow
#constructor
Initializes a new instance of the CardSparklineRow
class.
#Declaration
TypeScript
constructor(
modelJson?: any,
serializer?: DevExpress.Analytics.Utils.ModelSerializer
)
#Parameters
Name | Type | Description |
---|---|---|
model |
any | A JSON object used for dashboard deserialization. Do not pass this parameter directly. |
serializer | Model |
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 |
---|
Sparkline |
#Methods
#getInfo Method
For internal use.
#Declaration
TypeScript
getInfo(): DevExpress.Analytics.Utils.ISerializationInfoArray
#Returns
Type | Description |
---|---|
ISerialization |
An array of objects that provide serialization info. |