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

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

barOptions Property

Declaration

barOptions: FormatConditionBarOptions

Property Value

Type
FormatConditionBarOptions

currentStyleSettings Property

Declaration

currentStyleSettings: ko.Computed<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: BarStyleSettings

Property Value

Type
BarStyleSettings

setSpecificType Property

Declaration

setSpecificType: (type: string) => void

Property Value

Type
(type: string) => void

Methods

getDefaultStyleSettingsType Method

Declaration

getDefaultStyleSettingsType(): string

Returns

Type
string

init Method

Declaration

init(): void