Skip to content

Class: AxisItem

A axis item which for a mark can define the scale and field used for the axis definition in the mark.

URI: vega_scverse:AxisItem

classDiagram class AxisItem click AxisItem href "../AxisItem" AxisItem : field AxisItem --> "1" AxisEnum : field click AxisEnum href "../AxisEnum" AxisItem : scale

Slots

Name Cardinality and Range Description Inheritance
scale 1
String
The scale on which the axis is based direct
field 1
AxisEnum
The mark's field value transformed by the scale direct

Usages

used by used in type used
PointsEncodeEnter x range AxisItem
PointsEncodeEnter y range AxisItem
PathEncodeEnter x range AxisItem
PathEncodeEnter y range AxisItem

Identifier and Mapping Information

Schema Source

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

Mappings

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

LinkML Source

Direct

name: AxisItem
description: A axis item which for a mark can define the scale and field used for
  the axis definition in the mark.
from_schema: https://w3id.org/scverse/vega-scverse/specification
attributes:
  scale:
    name: scale
    description: The scale on which the axis is based.
    from_schema: https://w3id.org/scverse/vega-scverse/marks
    domain_of:
    - Axis
    - ColorItem
    - AxisItem
    - ConditionalFillUpdate
    required: true
    pattern: ^[XY]_scale(_\d+)?$
  field:
    name: field
    description: The mark's field value transformed by the scale. Either x or y.
    from_schema: https://w3id.org/scverse/vega-scverse/marks
    domain_of:
    - AggregateTransform
    - SpreadTransform
    - ContinuousColorDomain
    - ColorItem
    - AxisItem
    - ConditionalFillUpdate
    range: AxisEnum
    required: true

Induced

name: AxisItem
description: A axis item which for a mark can define the scale and field used for
  the axis definition in the mark.
from_schema: https://w3id.org/scverse/vega-scverse/specification
attributes:
  scale:
    name: scale
    description: The scale on which the axis is based.
    from_schema: https://w3id.org/scverse/vega-scverse/marks
    alias: scale
    owner: AxisItem
    domain_of:
    - Axis
    - ColorItem
    - AxisItem
    - ConditionalFillUpdate
    range: string
    required: true
    pattern: ^[XY]_scale(_\d+)?$
  field:
    name: field
    description: The mark's field value transformed by the scale. Either x or y.
    from_schema: https://w3id.org/scverse/vega-scverse/marks
    alias: field
    owner: AxisItem
    domain_of:
    - AggregateTransform
    - SpreadTransform
    - ContinuousColorDomain
    - ColorItem
    - AxisItem
    - ConditionalFillUpdate
    range: AxisEnum
    required: true