class Google::Apis::SheetsV4::PieChartSpec
A pie chart.
Attributes
domain[RW]
The data included in a domain or series. Corresponds to the JSON property `domain` @return [Google::Apis::SheetsV4::ChartData]
legend_position[RW]
Where the legend of the pie chart should be drawn. Corresponds to the JSON property `legendPosition` @return [String]
pie_hole[RW]
The size of the hole in the pie chart. Corresponds to the JSON property `pieHole` @return [Float]
series[RW]
The data included in a domain or series. Corresponds to the JSON property `series` @return [Google::Apis::SheetsV4::ChartData]
three_dimensional[RW]
True if the pie is three dimensional. Corresponds to the JSON property `threeDimensional` @return [Boolean]
three_dimensional?[RW]
True if the pie is three dimensional. Corresponds to the JSON property `threeDimensional` @return [Boolean]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/sheets_v4/classes.rb, line 7086 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/sheets_v4/classes.rb, line 7091 def update!(**args) @domain = args[:domain] if args.key?(:domain) @legend_position = args[:legend_position] if args.key?(:legend_position) @pie_hole = args[:pie_hole] if args.key?(:pie_hole) @series = args[:series] if args.key?(:series) @three_dimensional = args[:three_dimensional] if args.key?(:three_dimensional) end