Skip to main content

FormatConditionRangeBase Class

Serves as a base for classes that are used to apply conditional formatting using value ranges.

Declaration

export abstract class FormatConditionRangeBase extends FormatConditionBase

constructor

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

actualStyles Property

Declaration

get actualStyles(): Array<DevExpress.Dashboard.Model.StyleSettingsBase>

Property Value

Type
StyleSettingsBase[]

getSpecificType Property

Declaration

getSpecificType: () => any

Property Value

Type
() => any

rangeSet Property

Declaration

rangeSet: DevExpress.Dashboard.Model.RangeSet

Property Value

Type
RangeSet

setSpecificType Property

Declaration

setSpecificType: (specificType: any) => any

Property Value

Type
(specificType: any) => any

stopStyles Property

Declaration

get stopStyles(): Array<DevExpress.Dashboard.Model.StyleSettingsBase>

Property Value

Type
StyleSettingsBase[]

valueType Property

Declaration

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

Property Value

Type
Observable<DashboardFormatConditionValueType>

Methods

createStyleSettings(styleListItem) Method

Declaration

createStyleSettings(
    styleListItem: any
): any

Parameters

Name Type
styleListItem any

Returns

Type
any

getActualPredefinedType Method

Declaration

abstract getActualPredefinedType(): any

Returns

Type
any

getInfo Method

For internal use.

Declaration

getInfo(): DevExpress.Analytics.Utils.ISerializationInfoArray

Returns

Type Description
ISerializationInfoArray

An array of objects that provide serialization info.

isRange Method

Declaration

isRange(): boolean

Returns

Type
boolean

isValid Method

Declaration

isValid(): boolean

Returns

Type
boolean

setActualPredefinedType(specificType) Method

Declaration

abstract setActualPredefinedType(
    specificType: any
): any

Parameters

Name Type
specificType any

Returns

Type
any

setValues(values) Method

Declaration

setValues(
    values: Array<any>
): void

Parameters

Name Type
values any[]