View Source GoogleApi.Sheets.V4.Model.WaterfallChartCustomSubtotal (google_api_sheets v0.34.0)

A custom subtotal column for a waterfall chart series.

Attributes

  • dataIsSubtotal (type: boolean(), default: nil) - True if the data point at subtotal_index is the subtotal. If false, the subtotal will be computed and appear after the data point.
  • label (type: String.t, default: nil) - A label for the subtotal column.
  • subtotalIndex (type: integer(), default: nil) - The zero-based index of a data point within the series. If data_is_subtotal is true, the data point at this index is the subtotal. Otherwise, the subtotal appears after the data point with this index. A series can have multiple subtotals at arbitrary indices, but subtotals do not affect the indices of the data points. For example, if a series has three data points, their indices will always be 0, 1, and 2, regardless of how many subtotals exist on the series or what data points they are associated with.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.Sheets.V4.Model.WaterfallChartCustomSubtotal{
  dataIsSubtotal: boolean() | nil,
  label: String.t() | nil,
  subtotalIndex: integer() | nil
}

Functions

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.