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|List

Array to chart.

axisNumber

The axis along which to generate the 1-D vector series.

xLabelsArray|List, optional

Labels for ticks along the x-axis of the chart.