Class: Data

Data

Main Tee.Data class to perform multi-dimensional queries and charts.

Constructor

new Data()

Source:

Classes

Dimension
Metric

Methods

addDataSet(title, object, fieldopt, idopt) → {Tee.Data.Dimension}

Parameters:
Name Type Attributes Default Description
title String The string identifier for this dataset.
object object The custom data for this dataset.
field String <optional>
"" The object data optional field that contains an array.
id String <optional>
"" The optional field in the array that uniquely identifies each array row.
Source:
Returns:
Returns a top-level dimension.
Type
Tee.Data.Dimension

groupOther()

Groups small values into a single "other" value. Requires sorted data.values in DESCENDING order. If there are more than "max" number of values, the rest are grouped and removed.
Source: