Class: Data

Data

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

new Data

Source:
  • ../../src/teechart-data.js, line 35

Classes

Dimension
Metric

Methods

addDataSet

Parameters:
Name Type Argument 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:
  • ../../src/teechart-data.js, line 48
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:
  • ../../src/teechart-data.js, line 86