CardLayoutTemplateDeltaElement Class
In This Article
A visual element within a card layout that displays delta.
#Declaration
TypeScript
export class CardLayoutTemplateDeltaElement extends CardLayoutTemplateElementBase
#Remarks
Cards allow you to visualize the difference between the actual and target values using special delta values and a delta indicator. If the default layout is used (Stretched layout type), the card displays the following delta values/elements:
- Delta Indicator - Indicates whether the actual value is less or greater than the target value.
- Percent Variation and Absolute Variation - delta values that show a difference between the actual and target value. You can also display the Percent of Target value. To do this, customize the card’s layout.
#Inheritance
SerializableModel
CardLayoutTemplateElementBase
CardLayoutTemplateDeltaElement
See Also
#constructor
Initializes a new instance of the CardLayoutTemplateDeltaElement
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. |