Class: LinearColorScale
A vega like scale specifically for mapping from a linear continuous data domain to a visual color range.
URI: vega_scverse:LinearColorScale
classDiagram
class LinearColorScale
click LinearColorScale href "../LinearColorScale"
ColorScale <|-- LinearColorScale
click ColorScale href "../ColorScale"
LinearColorScale : domain
LinearColorScale --> "1" ContinuousColorDomain : domain
click ContinuousColorDomain href "../ContinuousColorDomain"
LinearColorScale : name
LinearColorScale : range
LinearColorScale --> "1" ContinuousColorMapRange : range
click ContinuousColorMapRange href "../ContinuousColorMapRange"
LinearColorScale : type
LinearColorScale --> "1" ScaleEnum : type
click ScaleEnum href "../ScaleEnum"
Inheritance
- Scale
- ColorScale
- LinearColorScale
- ColorScale
Slots
Name | Cardinality and Range | Description | Inheritance |
---|---|---|---|
domain | 1 ContinuousColorDomain |
The data used as a source for the visual color range | direct |
range | 1 ContinuousColorMapRange |
The range to which to map the data domain | direct |
name | 1 String |
color followed by '_pseudoUUID' used to refer to this scale elsewhere in the ... | Scale |
type | 1 ScaleEnum |
Only linear is supported for an LinearColorScale for now |
Scale |
Usages
used by | used in | type | used |
---|---|---|---|
BaseScales | scales | any_of[range] | LinearColorScale |
Identifier and Mapping Information
Schema Source
- from schema: https://w3id.org/scverse/vega-scverse/specification
Mappings
Mapping Type | Mapped Value |
---|---|
self | vega_scverse:LinearColorScale |
native | vega_scverse:LinearColorScale |
LinkML Source
Direct
name: LinearColorScale
description: A vega like scale specifically for mapping from a linear continuous data
domain to a visual color range.
from_schema: https://w3id.org/scverse/vega-scverse/specification
is_a: ColorScale
slot_usage:
type:
name: type
description: Only linear is supported for an `LinearColorScale` for now.
ifabsent: string(linear)
equals_string: linear
attributes:
domain:
name: domain
description: The data used as a source for the visual color range
from_schema: https://w3id.org/scverse/vega-scverse/scales
domain_of:
- BaseAxisScale
- LinearColorScale
- BaseCategoricalColorScale
- Axis
range: ContinuousColorDomain
required: true
range:
name: range
description: The range to which to map the data domain. In this case one that
refers to a colormap range.
from_schema: https://w3id.org/scverse/vega-scverse/scales
domain_of:
- BaseAxisScale
- LinearColorScale
- BaseCategoricalColorScale
range: ContinuousColorMapRange
required: true
Induced
name: LinearColorScale
description: A vega like scale specifically for mapping from a linear continuous data
domain to a visual color range.
from_schema: https://w3id.org/scverse/vega-scverse/specification
is_a: ColorScale
slot_usage:
type:
name: type
description: Only linear is supported for an `LinearColorScale` for now.
ifabsent: string(linear)
equals_string: linear
attributes:
domain:
name: domain
description: The data used as a source for the visual color range
from_schema: https://w3id.org/scverse/vega-scverse/scales
alias: domain
owner: LinearColorScale
domain_of:
- BaseAxisScale
- LinearColorScale
- BaseCategoricalColorScale
- Axis
range: ContinuousColorDomain
required: true
range:
name: range
description: The range to which to map the data domain. In this case one that
refers to a colormap range.
from_schema: https://w3id.org/scverse/vega-scverse/scales
alias: range
owner: LinearColorScale
domain_of:
- BaseAxisScale
- LinearColorScale
- BaseCategoricalColorScale
range: ContinuousColorMapRange
required: true
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: LinearColorScale
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: Only linear is supported for an `LinearColorScale` for now.
from_schema: https://w3id.org/scverse/vega-scverse/scales
ifabsent: string(linear)
alias: type
owner: LinearColorScale
domain_of:
- Transform
- BaseFormat
- Scale
- Legend
- Mark
- TextMark
- GroupMark
range: ScaleEnum
required: true
equals_string: linear