Skip to content

Vizzu


Vizzu / types/config / AxisChannel

Interface: AxisChannel

AxisChannels are special channel settings for the positional channels.

Extends

Properties

align?

optional align: "none" | "center" | "stretch"

Sets the alignment of the markers along the axis.


attach?

optional attach: SeriesList

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

Inherited from

Channel.attach


axis?

optional axis: AutoBool

Enables the axis line on axis channels.


detach?

optional detach: SeriesList

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

Inherited from

Channel.detach


guides?

optional guides: AutoBool

Enables the grid lines on axis channels showing dimension data.


interlacing?

optional interlacing: AutoBool

Enables the interlacing on axis channels showing measure data.


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.

Inherited from

Channel.labelLevel


labels?

optional labels: AutoBool

Enables the axis labels on axis channels.


markerGuides?

optional markerGuides: AutoBool

Enables the guide lines on axis channels showing measure data for all marker positions.


range?

optional range: ChannelRange

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

Inherited from

Channel.range


reverse?

optional reverse: boolean

Reverts the order of the markers if set.


set?

optional set: null | SeriesList

List of data series descriptors on the channel.

Inherited from

Channel.set


sort?

optional sort: "none" | "byValue" | "byLabel"

  • 'none': markers are sorted in the order as the corresponding data appear in the data set.
  • 'byValue': markers will be sorted by the corresponding measure (if present) in decreasing order.
  • 'byLabel': markers will be sorted by the corresponding shown categories (if present) in natural order (ASCII case-insensitive, space-insensitive alphabetical order and numbers are compared by value).

split?

optional split: boolean

If set to true, markers will be split by the dimension(s) along the axis.


step?

optional step: number | "auto"

Base interval of the interlacing on the axis.


ticks?

optional ticks: AutoBool

Enables the axis ticks on axis channels showing measure data.


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.

Inherited from

Channel.title