CardCenteredLayoutTemplate Class
The Centered layout template used to center card elements so that they occupy a specified width/height.
Declaration
export class CardCenteredLayoutTemplate extends CardLayoutTemplate
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 CardCenteredLayoutTemplate class:
constructor
Initializes a new instance of the CardCenteredLayoutTemplate
class.
Declaration
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
bottomSubValue1 Property
Declaration
bottomSubValue1: DevExpress.Dashboard.Model.CardLayoutTemplateDataElement
Property Value
bottomSubValue2 Property
Declaration
bottomSubValue2: DevExpress.Dashboard.Model.CardLayoutTemplateDataElement
Property Value
bottomValue Property
Declaration
bottomValue: DevExpress.Dashboard.Model.CardLayoutTemplateDataElement
Property Value
deltaIndicator Property
Declaration
deltaIndicator: DevExpress.Dashboard.Model.CardLayoutTemplateDeltaElement
Property Value
mainValue Property
Declaration
mainValue: DevExpress.Dashboard.Model.CardLayoutTemplateDataElement
Property Value
sparkline Property
Provides access to the sparkline displayed within the card.
Declaration
sparkline: DevExpress.Dashboard.Model.CardLayoutTemplateSparklineElement
Property Value
subValue Property
Declaration
subValue: DevExpress.Dashboard.Model.CardLayoutTemplateDataElement
Property Value
type Property
Declaration
type: ko.Observable<string>
Property Value
Methods
getInfo Method
Declaration
getInfo(): DevExpress.Analytics.Utils.ISerializationInfoArray
Returns
getType Method
Declaration
getType(): string
Returns