Skip to content

Vizzu / Modules / vizzu / Data / MeasureSeriesInfo

Interface: MeasureSeriesInfo

vizzu.Data.MeasureSeriesInfo

Meta data about measure data series

Hierarchy

Properties

length

length: number

Count of values in the series.

Inherited from

AbstractSeriesInfo.length


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 and Record. This name will also be used by default for Axis and Legend title.

Inherited from

AbstractSeriesInfo.name


range

range: Object

Type declaration

Name Type Description
max number Maximal value in the series
min number Minimal value in the series

type

Optional type: "dimension" | "measure"

Type of the data series:

  • 'dimension' - categorical data containing strings (dates should also be added as strings);
  • 'measure' - continuous data containing numbers. 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.

Inherited from

AbstractSeriesInfo.type


unit

Optional unit: string

Unit of the data series

Inherited from

AbstractSeriesInfo.unit