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?: 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: 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: ko.Observable<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