google_api_sheets v0.2.0 GoogleApi.Sheets.V4.Model.PieChartSpec View Source

A <a href="/chart/interactive/docs/gallery/piechart">pie chart</a>.

Attributes

  • domain (ChartData): The data that covers the domain of the pie chart. Defaults to: null.
  • legendPosition (String.t): Where the legend of the pie chart should be drawn. Defaults to: null.

    • Enum - one of [PIE_CHART_LEGEND_POSITION_UNSPECIFIED, BOTTOM_LEGEND, LEFT_LEGEND, RIGHT_LEGEND, TOP_LEGEND, NO_LEGEND, LABELED_LEGEND]
  • pieHole (float()): The size of the hole in the pie chart. Defaults to: null.
  • series (ChartData): The data that covers the one and only series of the pie chart. Defaults to: null.
  • threeDimensional (boolean()): True if the pie is three dimensional. Defaults to: null.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields

Link to this section Types

Link to this type

t() View Source
t() :: %GoogleApi.Sheets.V4.Model.PieChartSpec{
  domain: GoogleApi.Sheets.V4.Model.ChartData.t(),
  legendPosition: any(),
  pieHole: any(),
  series: GoogleApi.Sheets.V4.Model.ChartData.t(),
  threeDimensional: any()
}

Link to this section Functions

Link to this function

decode(value, options) View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.