Skip to content

Class: Title

_The title directive adds a descriptive title to a chart. Similar to scales, axes, and legends, a title can be _

defined at the top-level of a specification or as part of a group mark.

URI: vega_scverse:Title

classDiagram class Title click Title href "../Title" Title : baseline Title --> "1" BaseLineEnum : baseline click BaseLineEnum href "../BaseLineEnum" Title : color Title : font Title : fontSize Title : fontStyle Title --> "1" FontStyleEnum : fontStyle click FontStyleEnum href "../FontStyleEnum" Title : fontWeight Title --> "1" FontWeightEnum : fontWeight click FontWeightEnum href "../FontWeightEnum" Title : orient Title --> "1" OrientEnum : orient click OrientEnum href "../OrientEnum" Title : text

Slots

Name Cardinality and Range Description Inheritance
text 1..*
String
The title text direct
orient 1
OrientEnum
The orientation of the title relative to the chart direct
baseline 1
BaseLineEnum
The baseline attribute specifies the vertical alignment (baseline) of the tex... direct
color 1
String
Text color of the title text direct
font 1
String
Font name of the title text direct
fontSize 1
Float
Font size in pixels of the title text direct
fontStyle 1
FontStyleEnum
Fontstyle of the title direct
fontWeight 1
FontWeightEnum
Font weight of the title direct

Usages

used by used in type used
ViewConfiguration title range Title

Identifier and Mapping Information

Schema Source

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

Mappings

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

LinkML Source

Direct

name: Title
description: "The title directive adds a descriptive title to a chart. Similar to\
  \ scales, axes, and legends, a title can be \ndefined at the top-level of a specification\
  \ or as part of a group mark."
from_schema: https://w3id.org/scverse/vega-scverse/specification
attributes:
  text:
    name: text
    description: The title text. Either a string or an array of strings. The latter
      specifies multiple lines of text.
    from_schema: https://w3id.org/scverse/vega-scverse/marks
    rank: 1000
    domain_of:
    - Title
    - TextEncodeEnter
    range: string
    required: true
    multivalued: true
  orient:
    name: orient
    description: The orientation of the title relative to the chart.
    from_schema: https://w3id.org/scverse/vega-scverse/marks
    domain_of:
    - Axis
    - Legend
    - Title
    range: OrientEnum
    required: true
  baseline:
    name: baseline
    description: The baseline attribute specifies the vertical alignment (baseline)
      of the text relative to its y-coordinate.
    from_schema: https://w3id.org/scverse/vega-scverse/marks
    rank: 1000
    domain_of:
    - Title
    - TextEncodeEnter
    range: BaseLineEnum
    required: true
  color:
    name: color
    description: Text color of the title text.
    from_schema: https://w3id.org/scverse/vega-scverse/marks
    rank: 1000
    slot_uri: rgbaHexSlot
    domain_of:
    - Title
    required: true
  font:
    name: font
    description: Font name of the title text.
    from_schema: https://w3id.org/scverse/vega-scverse/marks
    rank: 1000
    domain_of:
    - Title
    - TextEncodeEnter
    range: string
    required: true
  fontSize:
    name: fontSize
    description: Font size in pixels of the title text.
    from_schema: https://w3id.org/scverse/vega-scverse/marks
    rank: 1000
    domain_of:
    - Title
    - TextEncodeEnter
    range: float
    required: true
    minimum_value: 0
  fontStyle:
    name: fontStyle
    description: Fontstyle of the title.
    from_schema: https://w3id.org/scverse/vega-scverse/marks
    rank: 1000
    domain_of:
    - Title
    - TextEncodeEnter
    range: FontStyleEnum
    required: true
  fontWeight:
    name: fontWeight
    description: Font weight of the title
    from_schema: https://w3id.org/scverse/vega-scverse/marks
    rank: 1000
    domain_of:
    - Title
    - TextEncodeEnter
    range: FontWeightEnum
    required: true

Induced

name: Title
description: "The title directive adds a descriptive title to a chart. Similar to\
  \ scales, axes, and legends, a title can be \ndefined at the top-level of a specification\
  \ or as part of a group mark."
from_schema: https://w3id.org/scverse/vega-scverse/specification
attributes:
  text:
    name: text
    description: The title text. Either a string or an array of strings. The latter
      specifies multiple lines of text.
    from_schema: https://w3id.org/scverse/vega-scverse/marks
    rank: 1000
    alias: text
    owner: Title
    domain_of:
    - Title
    - TextEncodeEnter
    range: string
    required: true
    multivalued: true
  orient:
    name: orient
    description: The orientation of the title relative to the chart.
    from_schema: https://w3id.org/scverse/vega-scverse/marks
    alias: orient
    owner: Title
    domain_of:
    - Axis
    - Legend
    - Title
    range: OrientEnum
    required: true
  baseline:
    name: baseline
    description: The baseline attribute specifies the vertical alignment (baseline)
      of the text relative to its y-coordinate.
    from_schema: https://w3id.org/scverse/vega-scverse/marks
    rank: 1000
    alias: baseline
    owner: Title
    domain_of:
    - Title
    - TextEncodeEnter
    range: BaseLineEnum
    required: true
  color:
    name: color
    description: Text color of the title text.
    from_schema: https://w3id.org/scverse/vega-scverse/marks
    rank: 1000
    slot_uri: rgbaHexSlot
    alias: color
    owner: Title
    domain_of:
    - Title
    range: string
    required: true
  font:
    name: font
    description: Font name of the title text.
    from_schema: https://w3id.org/scverse/vega-scverse/marks
    rank: 1000
    alias: font
    owner: Title
    domain_of:
    - Title
    - TextEncodeEnter
    range: string
    required: true
  fontSize:
    name: fontSize
    description: Font size in pixels of the title text.
    from_schema: https://w3id.org/scverse/vega-scverse/marks
    rank: 1000
    alias: fontSize
    owner: Title
    domain_of:
    - Title
    - TextEncodeEnter
    range: float
    required: true
    minimum_value: 0
  fontStyle:
    name: fontStyle
    description: Fontstyle of the title.
    from_schema: https://w3id.org/scverse/vega-scverse/marks
    rank: 1000
    alias: fontStyle
    owner: Title
    domain_of:
    - Title
    - TextEncodeEnter
    range: FontStyleEnum
    required: true
  fontWeight:
    name: fontWeight
    description: Font weight of the title
    from_schema: https://w3id.org/scverse/vega-scverse/marks
    rank: 1000
    alias: fontWeight
    owner: Title
    domain_of:
    - Title
    - TextEncodeEnter
    range: FontWeightEnum
    required: true