Class ContEncoding

Continuous encoding. Instances can be created given a slot, palette and some meta information. Instances of RSContEncoding can be returned to a host for creating (size or heat) legends. Note: The slot passed to the constructor must be mapped!

Hierarchy

Index

Properties

caption

caption: string

The caption for the encoding. Will be rendered as the legend group caption.

channel

channel: string

The encoding channel. Can be either "color" or "size"

domain

domain: IRSContDomain

interpolate

interpolate: boolean

ref

ref: IRSDataNode | null

An optional data object that is referenced by this encoding.

slot

slot: string | null

The slot that this encoding is assigned to.

stops

stops: IRSColorStop[] | null

subCaption

subCaption: string

An optional sub caption for the encoding.

type

type: string

The type of the encoding, either "cat" or "cont".