Skip to content

Class: BaseScales

Vega like definition for scales which specifies a collection of mappings from a data domain

(e.g., numbers, categories, dates) to a visual range (e.g., position on the screen, color spectrum, size).

Due to LinkML currently not supporting assigning classes as values for ranged in any_of, this class

should be used as an abstract base class.

  • NOTE: this is an abstract class and should not be instantiated directly

URI: vega_scverse:BaseScales

classDiagram class BaseScales click BaseScales href "../BaseScales" BaseScales : scales

Slots

Name Cardinality and Range Description Inheritance
scales *
String or 
BaseAxisScale or 
BaseCategoricalColorScale or 
LinearColorScale
direct

Usages

used by used in type used
ViewConfiguration scales range BaseScales

Identifier and Mapping Information

Schema Source

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

Mappings

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

LinkML Source

Direct

name: BaseScales
description: 'Vega like definition for scales which specifies a collection of mappings
  from a data domain

  (e.g., numbers, categories, dates) to a visual range (e.g., position on the screen,
  color spectrum, size).

  Due to LinkML currently not supporting assigning classes as values for ranged in
  any_of, this class

  should be used as an abstract base class.'
from_schema: https://w3id.org/scverse/vega-scverse/specification
abstract: true
attributes:
  scales:
    name: scales
    from_schema: https://w3id.org/scverse/vega-scverse/scales
    domain_of:
    - ViewConfiguration
    - BaseScales
    - GroupMark
    multivalued: true
    any_of:
    - range: BaseAxisScale
    - range: BaseCategoricalColorScale
    - range: LinearColorScale

Induced

name: BaseScales
description: 'Vega like definition for scales which specifies a collection of mappings
  from a data domain

  (e.g., numbers, categories, dates) to a visual range (e.g., position on the screen,
  color spectrum, size).

  Due to LinkML currently not supporting assigning classes as values for ranged in
  any_of, this class

  should be used as an abstract base class.'
from_schema: https://w3id.org/scverse/vega-scverse/specification
abstract: true
attributes:
  scales:
    name: scales
    from_schema: https://w3id.org/scverse/vega-scverse/scales
    alias: scales
    owner: BaseScales
    domain_of:
    - ViewConfiguration
    - BaseScales
    - GroupMark
    range: string
    multivalued: true
    any_of:
    - range: BaseAxisScale
    - range: BaseCategoricalColorScale
    - range: LinearColorScale