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

AppearanceSettings Class

Declaration

export class AppearanceSettings extends StyleSettingsBase

Inheritance

StyleSettingsBase
AppearanceSettings

constructor

Initializes a new instance of the AppearanceSettings 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

appearanceType Property

Declaration

appearanceType: ko.Observable<FormatConditionAppearanceType>

Property Value

Type Description
ko.Observable<FormatConditionAppearanceType>

backColor Property

Declaration

backColor: ko.Observable<Color>

Property Value

Type Description
ko.Observable<Color>

fontFamily Property

Declaration

fontFamily: ko.Observable<string>

Property Value

Type Description
ko.Observable<string>

fontStyle Property

Declaration

fontStyle: ko.Observable<FontStyle>

Property Value

Type Description
ko.Observable<FontStyle>

foreColor Property

Declaration

foreColor: ko.Observable<Color>

Property Value

Type Description
ko.Observable<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(): DxDesigner.Analytics.Utils.ISerializationInfoArray

Returns

Type Description
DxDesigner.Analytics.Utils.ISerializationInfoArray

 

init Method

Declaration

init(): void

setSpecificType(type) Method

Declaration

setSpecificType(type: FormatConditionAppearanceType): void

Parameters

Name Type Description
type FormatConditionAppearanceType