Class: ColorScale
Abstract class to map a data domain to a color range. Not to be used on its own.
- NOTE: this is an abstract class and should not be instantiated directly
classDiagram
class ColorScale
click ColorScale href "../ColorScale"
Scale <|-- ColorScale
click Scale href "../Scale"
ColorScale <|-- LinearColorScale
click LinearColorScale href "../LinearColorScale"
ColorScale <|-- BaseCategoricalColorScale
click BaseCategoricalColorScale href "../BaseCategoricalColorScale"
ColorScale : name
ColorScale : type
ColorScale --> "1" ScaleEnum : type
click ScaleEnum href "../ScaleEnum"
Inheritance
- Scale
- ColorScale
Slots
Name | Cardinality and Range | Description | Inheritance |
---|---|---|---|
name | 1 String |
color followed by '_pseudoUUID' used to refer to this scale elsewhere in the ... | Scale |
type | 1 ScaleEnum |
The type of scale which is a description of what kind of mapping is performed... | Scale |
Identifier and Mapping Information
Schema Source
- from schema: https://w3id.org/scverse/vega-scverse/specification
Mappings
Mapping Type | Mapped Value |
---|---|
self | vega_scverse:ColorScale |
native | vega_scverse:ColorScale |
LinkML Source
Direct
name: ColorScale
description: Abstract class to map a data domain to a color range. Not to be used
on its own.
from_schema: https://w3id.org/scverse/vega-scverse/specification
is_a: Scale
abstract: true
slot_usage:
name:
name: name
description: color followed by '_pseudoUUID' used to refer to this scale elsewhere
in the view configuration.
pattern: ^color_[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}$
Induced
name: ColorScale
description: Abstract class to map a data domain to a color range. Not to be used
on its own.
from_schema: https://w3id.org/scverse/vega-scverse/specification
is_a: Scale
abstract: true
slot_usage:
name:
name: name
description: color followed by '_pseudoUUID' used to refer to this scale elsewhere
in the view configuration.
pattern: ^color_[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}$
attributes:
name:
name: name
description: color followed by '_pseudoUUID' used to refer to this scale elsewhere
in the view configuration.
from_schema: https://w3id.org/scverse/vega-scverse/scales
identifier: true
alias: name
owner: ColorScale
domain_of:
- DataObject
- Scale
range: string
required: true
pattern: ^color_[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}$
type:
name: type
description: "The type of scale which is a description of what kind of mapping\
\ is performed between data domain and \nvisual range, e.g. `linear`."
from_schema: https://w3id.org/scverse/vega-scverse/scales
alias: type
owner: ColorScale
domain_of:
- Transform
- BaseFormat
- Scale
- Legend
- Mark
- TextMark
- GroupMark
range: ScaleEnum
required: true