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

An optional setting on the ChartData of the domain of a data source chart that defines buckets for the values in the domain rather than breaking out each individual value. For example, when plotting a data source chart, you can specify a histogram rule on the domain (it should only contain numeric values), grouping its values into buckets. Any values of a chart series that fall into the same bucket are aggregated based on the aggregate_type.

Attributes

  • dateTimeRule (type: GoogleApi.Sheets.V4.Model.ChartDateTimeRule.t, default: nil) - A ChartDateTimeRule.
  • histogramRule (type: GoogleApi.Sheets.V4.Model.ChartHistogramRule.t, default: nil) - A ChartHistogramRule

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.Sheets.V4.Model.ChartGroupRule{
  dateTimeRule: GoogleApi.Sheets.V4.Model.ChartDateTimeRule.t() | nil,
  histogramRule: GoogleApi.Sheets.V4.Model.ChartHistogramRule.t() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.