Skip to main content

FormatConditionRangeBase Class

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

#Declaration

TypeScript
export abstract class FormatConditionRangeBase extends FormatConditionBase

#constructor

Initializes a new instance of the FormatConditionRangeBase class.

#Declaration

TypeScript
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

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

#Property Value

Type
StyleSettingsBase[]

#getSpecificType Property

#Declaration

TypeScript
getSpecificType: () => any

#Property Value

Type
() => any

#rangeSet Property

#Declaration

TypeScript
rangeSet: DevExpress.Dashboard.Model.RangeSet

#Property Value

Type
RangeSet

#setSpecificType Property

#Declaration

TypeScript
setSpecificType: (specificType: any) => any

#Property Value

Type
(specificType: any) => any

#stopStyles Property

#Declaration

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

#Property Value

Type
StyleSettingsBase[]

#valueType Property

#Declaration

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

#Property Value

Type
Observable<DashboardFormatConditionValueType>

#Methods

#createStyleSettings(styleListItem) Method

#Declaration

TypeScript
createStyleSettings(
    styleListItem: any
): any

#Parameters

Name Type
styleListItem any

#Returns

Type
any

#getActualPredefinedType Method

#Declaration

TypeScript
abstract getActualPredefinedType(): any

#Returns

Type
any

#getInfo Method

For internal use.

#Declaration

TypeScript
getInfo(): DevExpress.Analytics.Utils.ISerializationInfoArray

#Returns

Type Description
ISerializationInfoArray

An array of objects that provide serialization info.

#isRange Method

#Declaration

TypeScript
isRange(): boolean

#Returns

Type
boolean

#isValid Method

#Declaration

TypeScript
isValid(): boolean

#Returns

Type
boolean

#setActualPredefinedType(specificType) Method

#Declaration

TypeScript
abstract setActualPredefinedType(
    specificType: any
): any

#Parameters

Name Type
specificType any

#Returns

Type
any

#setValues(values) Method

#Declaration

TypeScript
setValues(
    values: Array<any>
): void

#Parameters

Name Type
values any[]