ColorSchemeDefinition Class
Declaration
export class ColorSchemeDefinition
constructor(dataSource, dataMember, dimensionDefinitions)
Initializes a new instance of the ColorSchemeDefinition
class with specified settings.
Declaration
constructor(
dataSource: string,
dataMember: string,
dimensionDefinitions: DevExpress.Dashboard.Model.IDimensionDefinition[],
colorByMeasures?: boolean,
componentName?: string,
name?: string
)
Parameters
Name |
Type |
dataSource |
string |
dataMember |
string |
dimensionDefinitions |
IDimensionDefinition[] |
colorByMeasures |
boolean |
componentName |
string |
name |
string |
Properties
colorByMeasures Property
Declaration
colorByMeasures: boolean
Property Value
componentName Property
Declaration
componentName: string
Property Value
dataItems Property
Declaration
dataItems: ko.Computed<string[]>
Property Value
dataMember Property
Declaration
dataMember: string
Property Value
dataSource Property
Declaration
dataSource: string
Property Value
dataSourceText Property
Declaration
dataSourceText: ko.Computed<string>
Property Value
dimensionDefinitions Property
Declaration
dimensionDefinitions: DevExpress.Dashboard.Model.IDimensionDefinition[]
Property Value
key Property
Declaration
key: ko.Computed<string>
Property Value
typeText Property
Declaration
typeText: ko.Computed<string>
Property Value
Methods
equals(definition) Method
Declaration
equals(
definition: ColorSchemeDefinition
): boolean
Parameters
Name |
Type |
definition |
ColorSchemeDefinition |
Returns