Skip to content

Class: TextEncode

A set of visual encoding properties that determine the position and appearance of a text mark.

_In Vega, there are three primary property sets: enter, update, exit. The enter properties are evaluated when data _

_is processed for the first time and a mark instance is newly added to a scene and are the only properties _

supported for a text mark.

URI: vega_scverse:TextEncode

classDiagram class TextEncode click TextEncode href "../TextEncode" TextEncode : enter TextEncode --> "1" TextEncodeEnter : enter click TextEncodeEnter href "../TextEncodeEnter"

Slots

Name Cardinality and Range Description Inheritance
enter 1
TextEncodeEnter
Enter properties that are evaluated when data for a text mark is processed fo... direct

Usages

used by used in type used
TextMark encode range TextEncode

Identifier and Mapping Information

Schema Source

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

Mappings

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

LinkML Source

Direct

name: TextEncode
description: "A set of visual encoding properties that determine the position and\
  \ appearance of a text mark.\nIn Vega, there are three primary property sets: enter,\
  \ update, exit. The enter properties are evaluated when data \nis processed for\
  \ the first time and a mark instance is newly added to a scene and are the only\
  \ properties \nsupported for a text mark."
from_schema: https://w3id.org/scverse/vega-scverse/specification
attributes:
  enter:
    name: enter
    description: "Enter properties that are evaluated when data for a text mark is\
      \ processed for the first time and the \ngroup mark is newly added to a scene."
    from_schema: https://w3id.org/scverse/vega-scverse/encode
    domain_of:
    - ImageEncode
    - LabelEncode
    - SymbolEncode
    - PathEncode
    - TextEncode
    - GroupEncode
    range: TextEncodeEnter
    required: true

Induced

name: TextEncode
description: "A set of visual encoding properties that determine the position and\
  \ appearance of a text mark.\nIn Vega, there are three primary property sets: enter,\
  \ update, exit. The enter properties are evaluated when data \nis processed for\
  \ the first time and a mark instance is newly added to a scene and are the only\
  \ properties \nsupported for a text mark."
from_schema: https://w3id.org/scverse/vega-scverse/specification
attributes:
  enter:
    name: enter
    description: "Enter properties that are evaluated when data for a text mark is\
      \ processed for the first time and the \ngroup mark is newly added to a scene."
    from_schema: https://w3id.org/scverse/vega-scverse/encode
    alias: enter
    owner: TextEncode
    domain_of:
    - ImageEncode
    - LabelEncode
    - SymbolEncode
    - PathEncode
    - TextEncode
    - GroupEncode
    range: TextEncodeEnter
    required: true