channel_t Derived Type

type, public :: channel_t

Encoding channel (maps to Vega-Lite channel object) Connects a data field to a visual property.


Components

Type Visibility Attributes Name Initial
character(len=:), public, allocatable :: field
character(len=:), public, allocatable :: type
type(scale_t), public :: scale
type(axis_t), public :: axis
character(len=:), public, allocatable :: value

datum binds the channel to a constant data value (a series label for a layer), unlike value which sets a literal visual property (e.g. a colour). With type='nominal' Vega-Lite assigns a scheme colour and a shared legend entry, matching matplotlib's per-series colour cycle.

character(len=:), public, allocatable :: datum
logical, public :: defined = .false.