Skip to content

Class: TextMark

Text marks can be used to annotate data and provide labels and titles for axes and legends.

URI: vega_scverse:TextMark

classDiagram class TextMark click TextMark href "../TextMark" TextMark : encode TextMark --> "0..1" TextEncode : encode click TextEncode href "../TextEncode" TextMark : type TextMark : zindex

Slots

Name Cardinality and Range Description Inheritance
type 0..1
String
The type of the mark direct
encode 0..1
TextEncode
direct
zindex 1
Integer
An integer z-index indicating the layering order of sibling mark items direct

Identifier and Mapping Information

Schema Source

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

Mappings

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

LinkML Source

Direct

name: TextMark
description: Text marks can be used to annotate data and provide labels and titles
  for axes and legends.
from_schema: https://w3id.org/scverse/vega-scverse/specification
attributes:
  type:
    name: type
    description: The type of the mark. In this case, it is always 'text'.
    from_schema: https://w3id.org/scverse/vega-scverse/marks
    ifabsent: string(text)
    domain_of:
    - Transform
    - BaseFormat
    - Scale
    - Legend
    - Mark
    - TextMark
    - GroupMark
    equals_string: text
  encode:
    name: encode
    from_schema: https://w3id.org/scverse/vega-scverse/marks
    domain_of:
    - Mark
    - TextMark
    - GroupMark
    range: TextEncode
  zindex:
    name: zindex
    description: "An integer z-index indicating the layering order of sibling mark\
      \ items. The default value is 0. Higher values \n(1) will cause marks to be\
      \ drawn on top of those with lower z-index values."
    from_schema: https://w3id.org/scverse/vega-scverse/marks
    domain_of:
    - Axis
    - Legend
    - Mark
    - TextMark
    range: integer
    required: true

Induced

name: TextMark
description: Text marks can be used to annotate data and provide labels and titles
  for axes and legends.
from_schema: https://w3id.org/scverse/vega-scverse/specification
attributes:
  type:
    name: type
    description: The type of the mark. In this case, it is always 'text'.
    from_schema: https://w3id.org/scverse/vega-scverse/marks
    ifabsent: string(text)
    alias: type
    owner: TextMark
    domain_of:
    - Transform
    - BaseFormat
    - Scale
    - Legend
    - Mark
    - TextMark
    - GroupMark
    range: string
    equals_string: text
  encode:
    name: encode
    from_schema: https://w3id.org/scverse/vega-scverse/marks
    alias: encode
    owner: TextMark
    domain_of:
    - Mark
    - TextMark
    - GroupMark
    range: TextEncode
  zindex:
    name: zindex
    description: "An integer z-index indicating the layering order of sibling mark\
      \ items. The default value is 0. Higher values \n(1) will cause marks to be\
      \ drawn on top of those with lower z-index values."
    from_schema: https://w3id.org/scverse/vega-scverse/marks
    alias: zindex
    owner: TextMark
    domain_of:
    - Axis
    - Legend
    - Mark
    - TextMark
    range: integer
    required: true