Skip to main content

FormatConditionTopBottom Class

A format condition used to apply formatting to top/bottom values.

Declaration

export class FormatConditionTopBottom extends FormatConditionStyleBase

constructor

Initializes a new instance of the FormatConditionTopBottom 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

getSpecificType Property

Declaration

getSpecificType: () => DevExpress.Dashboard.Model.DashboardFormatConditionTopBottomType

Property Value

Type
() => DashboardFormatConditionTopBottomType

rank Property

Declaration

rank: ko.Observable<number>

Property Value

Type
Observable<number>

rankType Property

Declaration

rankType: ko.Observable<DevExpress.Dashboard.Model.DashboardFormatConditionValueType>

Property Value

Type
Observable<DashboardFormatConditionValueType>

setSpecificType Property

Declaration

setSpecificType: (type: DevExpress.Dashboard.Model.DashboardFormatConditionTopBottomType) => void

Property Value

Type
(type: DashboardFormatConditionTopBottomType) => void

topBottom Property

Declaration

topBottom: ko.Observable<DevExpress.Dashboard.Model.DashboardFormatConditionTopBottomType>

Property Value

Type
Observable<DashboardFormatConditionTopBottomType>