Skip to content

Vizzu


Vizzu / types/config / Channel

Interface: Channel

Channels are the main building blocks of the chart. Each channel describes a particular aspect of the markers (vertical & horizontal position, color, etc.) and connects them to the underlying data. A single measure and an ordered list of dimensions can be on each channel. The dimensions will recursively slice the measure on the channel. The channels are represented on the chart as an axis or legend.

Extended by

Properties

attach?

optional attach: SeriesList

List of data series descriptors to be added to the channel beside the ones already added.


detach?

optional detach: SeriesList

List of data series descriptors to be removed from the channel.


labelLevel?

optional labelLevel: number | "auto"

Only one dimension can be shown on an axis or legend by name. This index specifies which attached series should be used.


range?

optional range: ChannelRange

Specifies the range that determines how the represented data scales on the channel.


set?

optional set: null | SeriesList

List of data series descriptors on the channel.


title?

optional title: null | string

This title is shown on the axis or legend corresponding to the channel. If 'auto', the title will be the name of the measure attached to that channel.