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

BarStyleSettings Class

Declaration

export class BarStyleSettings extends StyleSettingsBase

Inheritance

constructor

Initializes a new instance of the BarStyleSettings class.

Declaration

constructor(modelJson?: any, serializer?: DevExpress.Analytics.Utils.ModelSerializer)

Optional Parameters

Name Type Default Description
modelJson any null

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

serializer ModelSerializer null

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

Properties

color Property

Declaration

color: ko.Observable<Color>

Property Value

Type Description
ko.Observable<Color>

predefinedColor Property

Specifies the predefined color used to color bars.

Declaration

predefinedColor: ko.Observable<string>

Property Value

Type Description
ko.Observable<string>

A FormatConditionAppearanceType value that specifies the predefined color.

Methods

clone Method

Declaration

clone(): StyleSettingsBase

Returns

Type Description
StyleSettingsBase

equals(style) Method

Declaration

equals(style: StyleSettingsBase): boolean

Parameters

Name Type Description
style StyleSettingsBase

Returns

Type Description
boolean

getInfo Method

For internal use.

Declaration

getInfo(): DevExpress.Analytics.Utils.ISerializationInfoArray

Returns

Type Description
ISerializationInfoArray

An array of objects that provide serialization info.

init Method

Declaration

init(): void

setSpecificType(type) Method

Declaration

setSpecificType(type: string): void

Parameters

Name Type Description
type string