Namespace: ranking

commands.ranking

Methods

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

Generates the response for the "ranking" 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
rankingCount number

Number of elements to rank.

rankingType string

Type of ranking.

xLabel string

Label for the x-axis.

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