Skip to main content

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

Type
boolean

componentName Property

Declaration

componentName: string

Property Value

Type
string

dataItems Property

Declaration

dataItems: ko.Computed<string[]>

Property Value

Type
Computed<string[]>

dataMember Property

Declaration

dataMember: string

Property Value

Type
string

dataSource Property

Declaration

dataSource: string

Property Value

Type
string

dataSourceText Property

Declaration

dataSourceText: ko.Computed<string>

Property Value

Type
Computed<string>

dimensionDefinitions Property

Declaration

dimensionDefinitions: DevExpress.Dashboard.Model.IDimensionDefinition[]

Property Value

Type
IDimensionDefinition[]

key Property

Declaration

key: ko.Computed<string>

Property Value

Type
Computed<string>

typeText Property

Declaration

typeText: ko.Computed<string>

Property Value

Type
Computed<string>

Methods

equals(definition) Method

Declaration

equals(
    definition: ColorSchemeDefinition
): boolean

Parameters

Name Type
definition ColorSchemeDefinition

Returns

Type
boolean