Skip to main content

FormatConditionBar Class

A format condition used to visualize numeric values using bars.

#Declaration

TypeScript
export class FormatConditionBar extends FormatConditionMinMaxBase

#constructor

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

#barOptions Property

#Declaration

TypeScript
barOptions: DevExpress.Dashboard.Model.FormatConditionBarOptions

#Property Value

Type
FormatConditionBarOptions

#currentStyleSettings Property

#Declaration

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

#Property Value

Type
Computed<StyleSettingsBase>

#currentStyleSettingsType Property

#Declaration

TypeScript
currentStyleSettingsType: ko.Observable<string>

#Property Value

Type
Observable<string>

#getSpecificType Property

#Declaration

TypeScript
getSpecificType: () => any

#Property Value

Type
() => any

#negativeStyleSettings Property

#Declaration

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

#Property Value

Type
Observable<StyleSettingsBase>

#setSpecificType Property

#Declaration

TypeScript
setSpecificType: (type: string) => void

#Property Value

Type
(type: string) => void

#Methods

#init Method

#Declaration

TypeScript
init(): void