ColorSchemeDefinition Class

Declaration

export class ColorSchemeDefinition

constructor(dataSource, dataMember, dimensionDefinitions)

Declaration

constructor(dataSource: string, dataMember: string, dimensionDefinitions: IDimensionDefinition[], colorByMeasures?: boolean, componentName?: string, name?: string)

Parameters

Name Type Description
dataSource string
dataMember string
dimensionDefinitions IDimensionDefinition[]

Optional Parameters

Name Type Default Description
colorByMeasures boolean null
componentName string null
name string null

Properties

colorByMeasures Property

Declaration

colorByMeasures: boolean

Property Value

Type Description
boolean

componentName Property

Declaration

componentName: string

Property Value

Type Description
string

dataItems Property

Declaration

dataItems: ko.Computed<string[]>

Property Value

Type Description
ko.Computed<string[]>

dataMember Property

Declaration

dataMember: string

Property Value

Type Description
string

dataSource Property

Declaration

dataSource: string

Property Value

Type Description
string

dataSourceText Property

Declaration

dataSourceText: ko.Computed<string>

Property Value

Type Description
ko.Computed<string>

dimensionDefinitions Property

Declaration

dimensionDefinitions: IDimensionDefinition[]

Property Value

Type Description
IDimensionDefinition[]

key Property

Declaration

key: ko.Computed<string>

Property Value

Type Description
ko.Computed<string>

typeText Property

Declaration

typeText: ko.Computed<string>

Property Value

Type Description
ko.Computed<string>

Methods

equals(definition) Method

Declaration

equals(definition: ColorSchemeDefinition): boolean

Parameters

Name Type Description
definition ColorSchemeDefinition

Returns

Type Description
boolean