Skip to main content

FormatConditionBar Class

A format condition used to visualize numeric values using bars.

Declaration

export class FormatConditionBar extends FormatConditionMinMaxBase

constructor

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

currentStyleSettings Property

Declaration

currentStyleSettings: ko.Computed<DevExpress.Dashboard.Model.StyleSettingsBase>

Property Value

Type
Computed<StyleSettingsBase>

currentStyleSettingsType Property

Declaration

currentStyleSettingsType: ko.Observable<string>

Property Value

Type
Observable<string>

getSpecificType Property

Declaration

getSpecificType: () => any

Property Value

Type
() => any

negativeStyleSettings Property

Declaration

negativeStyleSettings: ko.Observable<DevExpress.Dashboard.Model.StyleSettingsBase>

Property Value

Type
Observable<StyleSettingsBase>

setSpecificType Property

Declaration

setSpecificType: (type: string) => void

Property Value

Type
(type: string) => void

Methods

init Method

Declaration

init(): void