Class: DataSample

HorizontalCharts.DataSample(data)

new DataSample(data)

Initialises a new DataSample.
Parameters:
Name Type Description
data Object An object with DataSample data.
Properties
Name Type Attributes Default Description
ts number This DataSample timestamp (milliseconds since the Unix Epoch).
color string | CanvasPattern The color or pattern of this DataSample.
value number <optional>
NaN The value of this DataSample.
desc string <optional>
"" A short text describing this DataSample.
Source: