Skip to content

Vizzu


Vizzu / types/data / ExplicitStringDimension

Interface: ExplicitStringDimension

Name of a dimension data series.

Extends

Properties

isContiguous?

optional isContiguous: boolean

If set to true, the dimension handled as a contiguous dimension like timestamps.

Inherited from

BaseDimension.isContiguous


name

name: string

Name of the data series. It will be the unique id of the series to reference it in various parts of the API, mainly in channel configuration and in data record filters. This name will also be used by default for Axis and Legend title.

Inherited from

BaseDimension.name


type

type: "dimension"

Type of the data series. If not set, the library will attempt to determine the type based on the type of the first value. Number type will result in measure, string type will result in dimension.

Overrides

BaseDimension.type


values?

optional values: string[]

The array that contains the values of the data series. The value types should match the data series' type property. If the data series is shorter than the longest data series defined, it will be internally extended with empty values.

Inherited from

BaseDimension.values