The requested page is not available for the requested platform. You are viewing the content for Default platform.

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:

Card_LightweightLayoutTemplate_API

Inheritance

SerializableModel
CardLayoutTemplate
CardLightweightLayoutTemplate

constructor

Initializes a new instance of the CardLightweightLayoutTemplate class.

Declaration

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

Optional Parameters

Name Type Default Description
modelJson any null

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

serializer DxDesigner.Analytics.Utils.ModelSerializer null

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

Properties

allowEdit Property

Declaration

allowEdit: ko.Observable<boolean>

Property Value

Type Description
ko.Observable<boolean>

bottomValue Property

Declaration

bottomValue: CardLayoutTemplateDataElement

Property Value

Type Description
CardLayoutTemplateDataElement

deltaIndicator Property

Declaration

deltaIndicator: CardLayoutTemplateDeltaElement

Property Value

Type Description
CardLayoutTemplateDeltaElement

mainValue Property

Declaration

mainValue: CardLayoutTemplateDataElement

Property Value

Type Description
CardLayoutTemplateDataElement

sparkline Property

Declaration

sparkline: CardLayoutTemplateSparklineElement

Property Value

Type Description
CardLayoutTemplateSparklineElement

subValue Property

Declaration

subValue: CardLayoutTemplateDataElement

Property Value

Type Description
CardLayoutTemplateDataElement

type Property

Declaration

type: ko.Observable<string>

Property Value

Type Description
ko.Observable<string>

Methods

getInfo Method

For internal use.

Declaration

getInfo(): DxDesigner.Analytics.Utils.ISerializationInfoArray

Returns

Type Description
DxDesigner.Analytics.Utils.ISerializationInfoArray

 

getType Method

Declaration

getType(): string

Returns

Type Description
string