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
Implements
IDashboardComponent
constructor
Initializes a new instance of the ColorSchemeEntry
class.
Declaration
constructor(
modelJson?: any,
serializer?: DevExpress.Analytics.Utils.ModelSerializer,
itemComponentName?: string,
name?: string
)
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.
|
itemComponentName |
string |
|
name |
string |
|
Properties
color Property
Declaration
color: ko.Observable<DevExpress.Dashboard.Model.Color>
Property Value
colorText Property
Declaration
colorText: ko.Computed<string>
Property Value
componentName Property
Declaration
componentName: ko.Subscribable<string>
Property Value
Type |
Subscribable<string> |
custom Property
Declaration
get custom(): boolean
Property Value
dataMember Property
Declaration
dataMember: ko.Observable<string>
Property Value
dataSource Property
Declaration
dataSource: ko.Observable<string>
Property Value
definition Property
Declaration
get definition(): DevExpress.Dashboard.Model.ColorSchemeDefinition
Property Value
dimensionKeys Property
Declaration
dimensionKeys: ko.ObservableArray<DevExpress.Dashboard.Model.DimensionKey>
Property Value
displayText Property
Declaration
displayText: ko.Subscribable<string>
Property Value
Type |
Subscribable<string> |
itemComponentName Property
Declaration
itemComponentName: string
Property Value
measureKeys Property
Declaration
measureKeys: ko.ObservableArray<DevExpress.Dashboard.Model.MeasureDefinition>
Property Value
paletteIndex Property
Declaration
paletteIndex: ko.Observable<number>
Property Value
Methods
clone Method
Declaration
clone(): ColorSchemeEntry
Returns
dispose Method
Disposes of all resources associated with this ColorSchemeEntry.
Declaration
dispose(): void
equals(entry) Method
Declaration
equals(
entry: ColorSchemeEntry
): boolean
Parameters
Name |
Type |
entry |
ColorSchemeEntry |
Returns
getInfo Method
Declaration
getInfo(): DevExpress.Analytics.Utils.ISerializationInfoArray
Returns
getUniqueNamePrefix Method
Declaration
getUniqueNamePrefix(): string
Returns