ColorSchemeEntry Class

A color scheme entry used to map the dimension values/measures and the specified color.

Declaration

export class ColorSchemeEntry extends TypedSerializableModel implements IDashboardComponent

Inheritance

constructor

Declaration

constructor(modelJson?: any, serializer?: DxDesigner.Analytics.Utils.ModelSerializer, itemComponentName?: string, name?: string)

Parameters

Type Name Description
any modelJson
DxDesigner.Analytics.Utils.ModelSerializer serializer
string itemComponentName
string name

Properties

color Property

Declaration

color: KnockoutObservable<Color>

Property Value

Type Description
KnockoutObservable<Color>

colorText Property

Declaration

colorText: KnockoutComputed<string>

Property Value

Type Description
KnockoutComputed<string>

componentName Property

Declaration

componentName: KnockoutObservable<string>

Property Value

Type Description
KnockoutObservable<string>

computedColor Property

Declaration

computedColor: KnockoutComputed<Color>

Property Value

Type Description
KnockoutComputed<Color>

custom Property

Declaration

readonly custom: boolean

Property Value

Type Description
boolean

dataMember Property

Declaration

dataMember: KnockoutObservable<string>

Property Value

Type Description
KnockoutObservable<string>

dataSource Property

Declaration

dataSource: KnockoutObservable<string>

Property Value

Type Description
KnockoutObservable<string>

definition Property

Declaration

readonly definition: ColorSchemeDefinition

Property Value

Type Description
ColorSchemeDefinition

dimensionKeys Property

Declaration

dimensionKeys: KnockoutObservableArray<DimensionKey>

Property Value

Type Description
KnockoutObservableArray<DimensionKey>

displayText Property

Declaration

displayText: KnockoutObservable<string>

Property Value

Type Description
KnockoutObservable<string>

itemComponentName Property

Declaration

itemComponentName: string

Property Value

Type Description
string

measureKeys Property

Declaration

measureKeys: KnockoutObservableArray<MeasureDefinition>

Property Value

Type Description
KnockoutObservableArray<MeasureDefinition>

paletteIndex Property

Declaration

paletteIndex: KnockoutObservable<number>

Property Value

Type Description
KnockoutObservable<number>

Methods

clone Method

Declaration

clone(): ColorSchemeEntry

Returns

Type Description
ColorSchemeEntry

equals(entry) Method

Declaration

equals(entry: ColorSchemeEntry): boolean

Parameters

Type Name Description
ColorSchemeEntry entry

Returns

Type Description
boolean

getInfo Method

Declaration

getInfo(): DxDesigner.Analytics.Utils.ISerializationsInfo

Returns

Type Description
DxDesigner.Analytics.Utils.ISerializationsInfo

getUniqueNamePrefix Method

Declaration

getUniqueNamePrefix(): string

Returns

Type Description
string