Skip to content

Class: ContinuousColorDomain

A data domain or source for a LinearColorScale.

URI: vega_scverse:ContinuousColorDomain

classDiagram class ContinuousColorDomain click ContinuousColorDomain href "../ContinuousColorDomain" ContinuousColorDomain : data ContinuousColorDomain : field

Slots

Name Cardinality and Range Description Inheritance
data 1
String
The identifier of the particular data object in the data array to which the c... direct
field 1
String
If the data source is a table, then the field is the column within the table ... direct

Usages

used by used in type used
LinearColorScale domain range ContinuousColorDomain

Identifier and Mapping Information

Schema Source

  • from schema: https://w3id.org/scverse/vega-scverse/specification

Mappings

Mapping Type Mapped Value
self vega_scverse:ContinuousColorDomain
native vega_scverse:ContinuousColorDomain

LinkML Source

Direct

name: ContinuousColorDomain
description: A data domain or source for a LinearColorScale.
from_schema: https://w3id.org/scverse/vega-scverse/specification
attributes:
  data:
    name: data
    description: "The identifier of the particular data object in the data array to\
      \ which the color mapping in \nLinearColorScale must be applied. In Vega this\
      \ is only defined when the type of Scale is\nordinal, but we deviate from that."
    from_schema: https://w3id.org/scverse/vega-scverse/scales
    domain_of:
    - ViewConfiguration
    - ContinuousColorDomain
    - MarkDataSource
    required: true
    pattern: ^.*_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$
  field:
    name: field
    description: "If the data source is a table, then the field is the column within\
      \ the table that is used as \na source for the color mapping. In case of raster\
      \ data with a single channel, the field equals\n'value' and if multichannel\
      \ raster data it is the name or index of the image channel."
    from_schema: https://w3id.org/scverse/vega-scverse/scales
    domain_of:
    - AggregateTransform
    - SpreadTransform
    - ContinuousColorDomain
    - ColorItem
    - AxisItem
    - ConditionalFillUpdate
    range: string
    required: true

Induced

name: ContinuousColorDomain
description: A data domain or source for a LinearColorScale.
from_schema: https://w3id.org/scverse/vega-scverse/specification
attributes:
  data:
    name: data
    description: "The identifier of the particular data object in the data array to\
      \ which the color mapping in \nLinearColorScale must be applied. In Vega this\
      \ is only defined when the type of Scale is\nordinal, but we deviate from that."
    from_schema: https://w3id.org/scverse/vega-scverse/scales
    alias: data
    owner: ContinuousColorDomain
    domain_of:
    - ViewConfiguration
    - ContinuousColorDomain
    - MarkDataSource
    range: string
    required: true
    pattern: ^.*_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$
  field:
    name: field
    description: "If the data source is a table, then the field is the column within\
      \ the table that is used as \na source for the color mapping. In case of raster\
      \ data with a single channel, the field equals\n'value' and if multichannel\
      \ raster data it is the name or index of the image channel."
    from_schema: https://w3id.org/scverse/vega-scverse/scales
    alias: field
    owner: ContinuousColorDomain
    domain_of:
    - AggregateTransform
    - SpreadTransform
    - ContinuousColorDomain
    - ColorItem
    - AxisItem
    - ConditionalFillUpdate
    range: string
    required: true