CardLightweightLayoutTemplate Class
The Lightweight layout template that displays the minimum set of elements within a card.
#Declaration
export class CardLightweightLayoutTemplate extends CardLayoutTemplate
#Remarks
Use the Card.layoutTemplate property to specify a card’s layout template. To learn how to manage the layout of cards in the CardItem, refer to the CardLayoutTemplate class description.
The image below shows which card elements correspond to properties exposed by the CardLightweightLayoutTemplate class:
#Inheritance
#constructor
Initializes a new instance of the CardLightweightLayoutTemplate
class.
#Declaration
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
#bottomValue Property
#Declaration
bottomValue: DevExpress.Dashboard.Model.CardLayoutTemplateDataElement
#Property Value
Type |
---|
Card |
#deltaIndicator Property
#Declaration
deltaIndicator: DevExpress.Dashboard.Model.CardLayoutTemplateDeltaElement
#Property Value
Type |
---|
Card |
#mainValue Property
#Declaration
mainValue: DevExpress.Dashboard.Model.CardLayoutTemplateDataElement
#Property Value
Type |
---|
Card |
#sparkline Property
Provides access to the sparkline displayed within the card.
#Declaration
sparkline: DevExpress.Dashboard.Model.CardLayoutTemplateSparklineElement
#Property Value
Type | Description |
---|---|
Card |
A Card |
#subValue Property
#Declaration
subValue: DevExpress.Dashboard.Model.CardLayoutTemplateDataElement
#Property Value
Type |
---|
Card |
#type Property
#Declaration
type: ko.Observable<string>
#Property Value
Type |
---|
Observable<string> |
#Methods
#getInfo Method
For internal use.
#Declaration
getInfo(): DevExpress.Analytics.Utils.ISerializationInfoArray
#Returns
Type | Description |
---|---|
ISerialization |
An array of objects that provide serialization info. |
#getType Method
#Declaration
getType(): string
#Returns
Type |
---|
string |