The requested page is not available for the requested platform. You are viewing the content for Default platform.
All docs
V18.2
19.1 (preview)
18.2
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

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

Type Name Default Description
boolean colorByMeasures null
string componentName null
string name 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: KnockoutComputed<string[]>

Property Value

Type Description
KnockoutComputed<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: KnockoutComputed<string>

Property Value

Type Description
KnockoutComputed<string>

dimensionDefinitions Property

Declaration

dimensionDefinitions: IDimensionDefinition[]

Property Value

Type Description
IDimensionDefinition[]

key Property

Declaration

key: KnockoutComputed<string>

Property Value

Type Description
KnockoutComputed<string>

typeText Property

Declaration

typeText: KnockoutComputed<string>

Property Value

Type Description
KnockoutComputed<string>

Methods

equals(definition) Method

Declaration

equals(definition: ColorSchemeDefinition): boolean

Parameters

Name Type Description
definition ColorSchemeDefinition

Returns

Type Description
boolean