Skip to content

Class: NAColorUpdate

Update the color of a mark glyph if its value is not valid.

URI: vega_scverse:NAColorUpdate

classDiagram class NAColorUpdate click NAColorUpdate href "../NAColorUpdate" NAColorUpdate : test NAColorUpdate : value

Slots

Name Cardinality and Range Description Inheritance
test 1
String
The condition to test on, e direct
value 1
String
The color as RGB hex string direct

Usages

used by used in type used
MarkEncodeUpdate fill any_of[range] NAColorUpdate

Identifier and Mapping Information

Schema Source

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

Mappings

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

LinkML Source

Direct

name: NAColorUpdate
description: Update the color of a mark glyph if its value is not valid.
from_schema: https://w3id.org/scverse/vega-scverse/specification
attributes:
  test:
    name: test
    description: "The condition to test on, e.g. '!isValid(datum.value). MUST be a\
      \ negating is valid expression in Vega. \nSee also: https://vega.github.io/vega/docs/expressions/\
      \ and it MUST evaluate to either 'true' or 'false'."
    from_schema: https://w3id.org/scverse/vega-scverse/encode
    domain_of:
    - ConditionalFillUpdate
    - NAColorUpdate
    - ConditionalColorUpdate
    required: true
    pattern: '!isValid\([^)]*\)'
  value:
    name: value
    description: The color as RGB hex string.
    from_schema: https://w3id.org/scverse/vega-scverse/encode
    domain_of:
    - PositionItem
    - TextItem
    - baselineItem
    - FontItem
    - FontSizeItem
    - FontWeightItem
    - FontStyleItem
    - RGBHexItem
    - PositiveFloatObject
    - CircleShapeObject
    - OpacityObject
    - HorizontalAlignObject
    - BaseLineObject
    - NAColorUpdate
    - ConditionalColorUpdate
    required: true
    pattern: ^#([A-Fa-f0-9]{6})$

Induced

name: NAColorUpdate
description: Update the color of a mark glyph if its value is not valid.
from_schema: https://w3id.org/scverse/vega-scverse/specification
attributes:
  test:
    name: test
    description: "The condition to test on, e.g. '!isValid(datum.value). MUST be a\
      \ negating is valid expression in Vega. \nSee also: https://vega.github.io/vega/docs/expressions/\
      \ and it MUST evaluate to either 'true' or 'false'."
    from_schema: https://w3id.org/scverse/vega-scverse/encode
    alias: test
    owner: NAColorUpdate
    domain_of:
    - ConditionalFillUpdate
    - NAColorUpdate
    - ConditionalColorUpdate
    range: string
    required: true
    pattern: '!isValid\([^)]*\)'
  value:
    name: value
    description: The color as RGB hex string.
    from_schema: https://w3id.org/scverse/vega-scverse/encode
    alias: value
    owner: NAColorUpdate
    domain_of:
    - PositionItem
    - TextItem
    - baselineItem
    - FontItem
    - FontSizeItem
    - FontWeightItem
    - FontStyleItem
    - RGBHexItem
    - PositiveFloatObject
    - CircleShapeObject
    - OpacityObject
    - HorizontalAlignObject
    - BaseLineObject
    - NAColorUpdate
    - ConditionalColorUpdate
    range: string
    required: true
    pattern: ^#([A-Fa-f0-9]{6})$