The requested page is not available for the requested platform. You are viewing the content for Default platform.
All docs
V18.2
19.1 (preview)
18.2
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

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

CardLayoutTemplate
CardLightweightLayoutTemplate

constructor

Initializes a new instance of the CardLightweightLayoutTemplate class.

Declaration

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

Optional Parameters

Type Name Default Description
any modelJson null

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

DxDesigner.Analytics.Utils.ModelSerializer serializer null

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

Properties

allowEdit Property

Declaration

allowEdit: KnockoutObservable<boolean>

Property Value

Type Description
KnockoutObservable<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: KnockoutObservable<string>

Property Value

Type Description
KnockoutObservable<string>

Methods

getInfo Method

For internal use.

Declaration

getInfo(): DxDesigner.Analytics.Utils.ISerializationsInfo

Returns

Type Description
DxDesigner.Analytics.Utils.ISerializationsInfo

 

getType Method

Declaration

getType(): string

Returns

Type Description
string