Skip to main content

FormatConditionColorRangeBar Class

A format condition used to visualize numeric values using bars whose colors are contained in the specified color set.

Declaration

export class FormatConditionColorRangeBar extends FormatConditionRangeSet

constructor

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

barOptions Property

Declaration

barOptions: DevExpress.Dashboard.Model.FormatConditionBarOptions

Property Value

Type
FormatConditionBarOptions

Methods

createStyleSettings(styleListItem) Method

Declaration

createStyleSettings(
    styleListItem: any
): any

Parameters

Name Type
styleListItem any

Returns

Type
any

getActualPredefinedType Method

Declaration

getActualPredefinedType(): DevExpress.Dashboard.Model.FormatConditionRangeSetPredefinedType

Returns

Type
FormatConditionRangeSetPredefinedType

getInfo Method

For internal use.

Declaration

getInfo(): DevExpress.Analytics.Utils.ISerializationInfoArray

Returns

Type Description
ISerializationInfoArray

An array of objects that provide serialization info.

setActualPredefinedType(type) Method

Declaration

setActualPredefinedType(
    type: DevExpress.Dashboard.Model.FormatConditionRangeSetPredefinedType
): void

Parameters

Name Type
type FormatConditionRangeSetPredefinedType