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.

UsageReturns
ui.Chart.array.values(array, axis, xLabels)ui.Chart
ArgumentTypeDetails
arrayArray|ListArray to chart.
axisNumberThe axis along which to generate the 1-D vector series.
xLabelsArray|List, optionalLabels for ticks along the x-axis of the chart.