Namespace: total

commands.total

Methods

(static) module.exports(data, options) → {object}

Generates the response for the "total" command.

Parameters:
Name Type Description
data Object

The data from the viz.

Properties
Name Type Description
x Array.<string>

Values of the independent variable.

y Array.<string>

Values of the dependent variable.

options Object

The options supplied to voxlens when creating the viz.

Properties
Name Type Description
xLabel string

Label for the x-axis.

yLabel number

Label for the y-axis.

Source:
Returns:
  • Response for the "total" command.
Type
object