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