BarStyleSettings Class
Declaration
export class BarStyleSettings extends StyleSettingsBase
Inheritance
StyleSettingsBase
BarStyleSettings
constructor
Initializes a new instance of the BarStyleSettings
class.
Declaration
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
color Property
Declaration
color: ko.Observable<Color>
Property Value
Type |
---|
Observable<Color> |
predefinedColor Property
Specifies the predefined color used to color bars.
Declaration
predefinedColor: ko.Observable<string>
Property Value
Type | Description |
---|---|
Observable<string> | A FormatConditionAppearanceType value that specifies the predefined color. |
Methods
clone Method
Declaration
clone(): StyleSettingsBase
Returns
Type |
---|
StyleSettingsBase |
equals(style) Method
Declaration
equals(
style: StyleSettingsBase
): boolean
Parameters
Name | Type |
---|---|
style | StyleSettingsBase |
Returns
Type |
---|
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 |
---|---|
type | string |