Skip to content

Vizzu / Modules / types/data

Module: types/data

Interfaces

Type Aliases

AggregatorType

Ƭ AggregatorType: "sum" | "count" | "min" | "max" | "mean" | "distinct"

Types of the different available data series aggregators:

  • sum: sum of the values (default)
  • count: count of the values
  • min: minima of the values
  • max: maxima of the values
  • mean: average/mean of the values
  • distinct: number of different values

Dimension

Ƭ Dimension: IndexDimension | StringDimension

Name of a dimension data series.


DimensionValue

Ƭ DimensionValue: string

Represents a categorical value


FilterCallback

Ƭ FilterCallback: (record: Record) => boolean

A callback function receives a record

Type declaration

▸ (record): boolean

Parameters

Name Type
record Record

Returns

boolean


Measure

Ƭ Measure: ImplicitMeasure | ExplicitMeasure

Name of a measure data series.


MeasureValue

Ƭ MeasureValue: number | null

Represents a data value


Series

Ƭ Series: Dimension | Measure

Defines a data series of the data set, and contains a particular variable's values in the data set and meta info about the variable.


SeriesInfo

Ƭ SeriesInfo: DimensionInfo | MeasureInfo

MetaInfo for different series types.


SeriesList

Ƭ SeriesList: SeriesDescriptor[]

Array or a single data series.


SeriesName

Ƭ SeriesName: string

Name of the data series.


SeriesType

Ƭ SeriesType: "dimension" | "measure"

Type of the data series:

  • 'dimension' - categorical data containing strings (dates should also be added as strings);
  • 'measure' - continuous data containing numbers.

Set

Ƭ Set: TableBySeries | TableByRecords

Data set is a collection of related data series. Each chart works on a single data set.


StringDimension

Ƭ StringDimension: ImplicitStringDimension | ExplicitStringDimension

Name of a dimension data series.


Value

Ƭ Value: string | number

Represents a categorical or data value


ValueArray

Ƭ ValueArray: Value[]

Values of a data record in the order of the series in the dataset.