DashboardItemFormatRule Class
A format rule used to apply conditional formatting to dashboard items.
Declaration
export abstract class DashboardItemFormatRule extends TypedSerializableModel
Inherited Members
Inheritance
DashboardItemFormatRule
constructor
Initializes a new instance of the DashboardItemFormatRule
class.
Declaration
constructor(
modelJson?: any,
serializer?: DxDesigner.Analytics.Utils.ModelSerializer
)
Parameters
Name | Type | Description |
---|---|---|
modelJson | any | A JSON object used for a dashboard deserialization. Do not pass this parameter directly. |
serializer | DxDesigner.Analytics.Utils.ModelSerializer | An object used for a dashboard deserialization. Do not pass this parameter directly. |
Properties
condition Property
Specifies a condition used to apply formatting to a dashboard item.
Declaration
condition: ko.Computed<FormatConditionBase>
Property Value
Type | Description |
---|---|
Computed<FormatConditionBase> | A FormatConditionBase descendant that specifies a condition used to apply formatting to a dashboard item. |
enabled Property
Declaration
enabled: ko.Observable<boolean>
Property Value
Type |
---|
Observable<boolean> |
name Property
Declaration
name: ko.Observable<string>
Property Value
Type |
---|
Observable<string> |
Methods
getInfo Method
For internal use.
Declaration
getInfo(): DxDesigner.Analytics.Utils.ISerializationInfoArray
Returns
Type | Description |
---|---|
DxDesigner.Analytics.Utils.ISerializationInfoArray |
|