ui.Chart.array.values

Generates a Chart from an array. Plots separate series for each 1-D vector along the given axis.

  - X-axis = Array index along axis, optionally labeled by xLabels.

  - Y-axis = Value.

  - Series = Vector, described by indices of the non-axis array axes.

Returns a chart.

Usage Returns
ui.Chart.array.values(array, axis, xLabels ) ui.Chart
Argument Type Details
array
Array|List<Object> Array to chart.
axis
Number The axis along which to generate the 1-D vector series.
xLabels
Array|List<Object>, optional Labels for ticks along the x-axis of the chart.
Create a Mobile Website
View Site in Mobile | Classic
Share by: