Class: Google::Apis::SheetsV4::WaterfallChartSeries
- Inherits:
-
Object
- Object
- Google::Apis::SheetsV4::WaterfallChartSeries
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/sheets_v4/classes.rb,
generated/google/apis/sheets_v4/representations.rb,
generated/google/apis/sheets_v4/representations.rb
Overview
A single series of data for a waterfall chart.
Instance Attribute Summary collapse
-
#custom_subtotals ⇒ Array<Google::Apis::SheetsV4::WaterfallChartCustomSubtotal>
Custom subtotal columns appearing in this series.
-
#data ⇒ Google::Apis::SheetsV4::ChartData
The data included in a domain or series.
-
#hide_trailing_subtotal ⇒ Boolean
(also: #hide_trailing_subtotal?)
True to hide the subtotal column from the end of the series.
-
#negative_columns_style ⇒ Google::Apis::SheetsV4::WaterfallChartColumnStyle
Styles for a waterfall chart column.
-
#positive_columns_style ⇒ Google::Apis::SheetsV4::WaterfallChartColumnStyle
Styles for a waterfall chart column.
-
#subtotal_columns_style ⇒ Google::Apis::SheetsV4::WaterfallChartColumnStyle
Styles for a waterfall chart column.
Instance Method Summary collapse
-
#initialize(**args) ⇒ WaterfallChartSeries
constructor
A new instance of WaterfallChartSeries.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ WaterfallChartSeries
Returns a new instance of WaterfallChartSeries
10003 10004 10005 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 10003 def initialize(**args) update!(**args) end |
Instance Attribute Details
#custom_subtotals ⇒ Array<Google::Apis::SheetsV4::WaterfallChartCustomSubtotal>
Custom subtotal columns appearing in this series. The order in which
subtotals are defined is not significant. Only one subtotal may be
defined for each data point.
Corresponds to the JSON property customSubtotals
9973 9974 9975 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 9973 def custom_subtotals @custom_subtotals end |
#data ⇒ Google::Apis::SheetsV4::ChartData
The data included in a domain or series.
Corresponds to the JSON property data
9978 9979 9980 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 9978 def data @data end |
#hide_trailing_subtotal ⇒ Boolean Also known as: hide_trailing_subtotal?
True to hide the subtotal column from the end of the series. By default,
a subtotal column will appear at the end of each series. Setting this
field to true will hide that subtotal column for this series.
Corresponds to the JSON property hideTrailingSubtotal
9985 9986 9987 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 9985 def hide_trailing_subtotal @hide_trailing_subtotal end |
#negative_columns_style ⇒ Google::Apis::SheetsV4::WaterfallChartColumnStyle
Styles for a waterfall chart column.
Corresponds to the JSON property negativeColumnsStyle
9991 9992 9993 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 9991 def negative_columns_style @negative_columns_style end |
#positive_columns_style ⇒ Google::Apis::SheetsV4::WaterfallChartColumnStyle
Styles for a waterfall chart column.
Corresponds to the JSON property positiveColumnsStyle
9996 9997 9998 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 9996 def positive_columns_style @positive_columns_style end |
#subtotal_columns_style ⇒ Google::Apis::SheetsV4::WaterfallChartColumnStyle
Styles for a waterfall chart column.
Corresponds to the JSON property subtotalColumnsStyle
10001 10002 10003 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 10001 def subtotal_columns_style @subtotal_columns_style end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
10008 10009 10010 10011 10012 10013 10014 10015 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 10008 def update!(**args) @custom_subtotals = args[:custom_subtotals] if args.key?(:custom_subtotals) @data = args[:data] if args.key?(:data) @hide_trailing_subtotal = args[:hide_trailing_subtotal] if args.key?(:hide_trailing_subtotal) @negative_columns_style = args[:negative_columns_style] if args.key?(:negative_columns_style) @positive_columns_style = args[:positive_columns_style] if args.key?(:positive_columns_style) @subtotal_columns_style = args[:subtotal_columns_style] if args.key?(:subtotal_columns_style) end |