class Google::Apis::SheetsV4::ChartHistogramRule
Allows you to organize numeric values in a source data column into buckets of constant size.
Attributes
interval_size[RW]
The size of the buckets that are created. Must be positive. Corresponds to the JSON property `intervalSize` @return [Float]
max_value[RW]
The maximum value at which items are placed into buckets. Values greater than the maximum are grouped into a single bucket. If omitted, it is determined by the maximum item value. Corresponds to the JSON property `maxValue` @return [Float]
min_value[RW]
The minimum value at which items are placed into buckets. Values that are less than the minimum are grouped into a single bucket. If omitted, it is determined by the minimum item value. Corresponds to the JSON property `minValue` @return [Float]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/sheets_v4/classes.rb, line 2869 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 2874 def update!(**args) @interval_size = args[:interval_size] if args.key?(:interval_size) @max_value = args[:max_value] if args.key?(:max_value) @min_value = args[:min_value] if args.key?(:min_value) end