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

A pie chart.

Attributes

  • domain (type: GoogleApi.Sheets.V4.Model.ChartData.t, default: nil) - The data that covers the domain of the pie chart.
  • legendPosition (type: String.t, default: nil) - Where the legend of the pie chart should be drawn.
  • pieHole (type: float(), default: nil) - The size of the hole in the pie chart.
  • series (type: GoogleApi.Sheets.V4.Model.ChartData.t, default: nil) - The data that covers the one and only series of the pie chart.
  • threeDimensional (type: boolean(), default: nil) - True if the pie is three dimensional.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.Sheets.V4.Model.PieChartSpec{
  domain: GoogleApi.Sheets.V4.Model.ChartData.t() | nil,
  legendPosition: String.t() | nil,
  pieHole: float() | nil,
  series: GoogleApi.Sheets.V4.Model.ChartData.t() | nil,
  threeDimensional: boolean() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.