Skip to main content
A newer version of this page is available. .

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?: 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

actualStyles Property

Declaration

readonly actualStyles: Array<StyleSettingsBase>

Property Value

Type
Array<StyleSettingsBase>

getSpecificType Property

Declaration

getSpecificType: () => any

Property Value

Type
() => any

rangeSet Property

Declaration

rangeSet: RangeSet

Property Value

Type
RangeSet

setSpecificType Property

Declaration

setSpecificType: (specificType: any) => any

Property Value

Type
(specificType: any) => any

stopStyles Property

Declaration

readonly stopStyles: Array<StyleSettingsBase>

Property Value

Type
Array<StyleSettingsBase>

valueType Property

Declaration

valueType: ko.Observable<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(): DxDesigner.Analytics.Utils.ISerializationInfoArray

Returns

Type Description
DxDesigner.Analytics.Utils.ISerializationInfoArray

 

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 Array<any>