The requested page is not available for the requested platform. You are viewing the content for Default platform.

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)

Optional Parameters

Name Type Default Description
modelJson any null

A JSON object used for a dashboard deserialization. Do not pass this parameter directly.

serializer DxDesigner.Analytics.Utils.ModelSerializer null

An object used for a dashboard deserialization. Do not pass this parameter directly.

Properties

actualStyles Property

Declaration

readonly actualStyles: Array<StyleSettingsBase>

Property Value

Type Description
Array<StyleSettingsBase>

getSpecificType Property

Declaration

getSpecificType: () => any

Property Value

Type Description
() => any

rangeSet Property

Declaration

rangeSet: RangeSet

Property Value

Type Description
RangeSet

setSpecificType Property

Declaration

setSpecificType: (specificType: any) => any

Property Value

Type Description
(specificType: any) => any

stopStyles Property

Declaration

readonly stopStyles: Array<StyleSettingsBase>

Property Value

Type Description
Array<StyleSettingsBase>

valueType Property

Declaration

valueType: ko.Observable<DashboardFormatConditionValueType>

Property Value

Type Description
ko.Observable<DashboardFormatConditionValueType>

Methods

createStyleSettings(styleListItem) Method

Declaration

createStyleSettings(styleListItem: any): any

Parameters

Name Type Description
styleListItem any

Returns

Type Description
any

getActualPredefinedType Method

Declaration

abstract getActualPredefinedType(): any

Returns

Type Description
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 Description
boolean

isValid Method

Declaration

isValid(): boolean

Returns

Type Description
boolean

setActualPredefinedType(specificType) Method

Declaration

abstract setActualPredefinedType(specificType: any): any

Parameters

Name Type Description
specificType any

Returns

Type Description
any

setValues(values) Method

Declaration

setValues(values: Array<any>): void

Parameters

Name Type Description
values Array<any>