The requested page is not available for the requested platform. You are viewing the content for Default platform.

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)

Optional Parameters

Name Type Default Description
modelJson any null

A JSON object used for a dashboard deserialization. Do not pass this parameter directly.

serializer DxDesigner.Analytics.Utils.ModelSerializer null

An object used for a dashboard deserialization. Do not pass this parameter directly.

Properties

barOptions Property

Declaration

barOptions: FormatConditionBarOptions

Property Value

Type Description
FormatConditionBarOptions

currentStyleSettings Property

Declaration

currentStyleSettings: ko.Computed<StyleSettingsBase>

Property Value

Type Description
ko.Computed<StyleSettingsBase>

currentStyleSettingsType Property

Declaration

currentStyleSettingsType: ko.Observable<string>

Property Value

Type Description
ko.Observable<string>

getSpecificType Property

Declaration

getSpecificType: () => any

Property Value

Type Description
() => any

negativeStyleSettings Property

Declaration

negativeStyleSettings: BarStyleSettings

Property Value

Type Description
BarStyleSettings

setSpecificType Property

Declaration

setSpecificType: (type: string) => void

Property Value

Type Description
(type: string) => void

Methods

getDefaultStyleSettingsType Method

Declaration

getDefaultStyleSettingsType(): string

Returns

Type Description
string

init Method

Declaration

init(): void