Class: Google::Apis::SheetsV4::WaterfallChartSpec
- Inherits:
-
Object
- Object
- Google::Apis::SheetsV4::WaterfallChartSpec
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/sheets_v4/classes.rb,
lib/google/apis/sheets_v4/representations.rb,
lib/google/apis/sheets_v4/representations.rb
Overview
A waterfall chart.
Instance Attribute Summary collapse
-
#connector_line_style ⇒ Google::Apis::SheetsV4::LineStyle
Properties that describe the style of a line.
-
#domain ⇒ Google::Apis::SheetsV4::WaterfallChartDomain
The domain of a waterfall chart.
-
#first_value_is_total ⇒ Boolean
(also: #first_value_is_total?)
True to interpret the first value as a total.
-
#hide_connector_lines ⇒ Boolean
(also: #hide_connector_lines?)
True to hide connector lines between columns.
-
#series ⇒ Array<Google::Apis::SheetsV4::WaterfallChartSeries>
The data this waterfall chart is visualizing.
-
#stacked_type ⇒ String
The stacked type.
-
#total_data_label ⇒ Google::Apis::SheetsV4::DataLabel
Settings for one set of data labels.
Instance Method Summary collapse
-
#initialize(**args) ⇒ WaterfallChartSpec
constructor
A new instance of WaterfallChartSpec.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ WaterfallChartSpec
Returns a new instance of WaterfallChartSpec.
11496 11497 11498 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 11496 def initialize(**args) update!(**args) end |
Instance Attribute Details
#connector_line_style ⇒ Google::Apis::SheetsV4::LineStyle
Properties that describe the style of a line.
Corresponds to the JSON property connectorLineStyle
11459 11460 11461 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 11459 def connector_line_style @connector_line_style end |
#domain ⇒ Google::Apis::SheetsV4::WaterfallChartDomain
The domain of a waterfall chart.
Corresponds to the JSON property domain
11464 11465 11466 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 11464 def domain @domain end |
#first_value_is_total ⇒ Boolean Also known as: first_value_is_total?
True to interpret the first value as a total.
Corresponds to the JSON property firstValueIsTotal
11469 11470 11471 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 11469 def first_value_is_total @first_value_is_total end |
#hide_connector_lines ⇒ Boolean Also known as: hide_connector_lines?
True to hide connector lines between columns.
Corresponds to the JSON property hideConnectorLines
11475 11476 11477 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 11475 def hide_connector_lines @hide_connector_lines end |
#series ⇒ Array<Google::Apis::SheetsV4::WaterfallChartSeries>
The data this waterfall chart is visualizing.
Corresponds to the JSON property series
11481 11482 11483 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 11481 def series @series end |
#stacked_type ⇒ String
The stacked type.
Corresponds to the JSON property stackedType
11486 11487 11488 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 11486 def stacked_type @stacked_type end |
#total_data_label ⇒ Google::Apis::SheetsV4::DataLabel
Settings for one set of data labels. Data labels are annotations that appear
next to a set of data, such as the points on a line chart, and provide
additional information about what the data represents, such as a text
representation of the value behind that point on the graph.
Corresponds to the JSON property totalDataLabel
11494 11495 11496 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 11494 def total_data_label @total_data_label end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
11501 11502 11503 11504 11505 11506 11507 11508 11509 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 11501 def update!(**args) @connector_line_style = args[:connector_line_style] if args.key?(:connector_line_style) @domain = args[:domain] if args.key?(:domain) @first_value_is_total = args[:first_value_is_total] if args.key?(:first_value_is_total) @hide_connector_lines = args[:hide_connector_lines] if args.key?(:hide_connector_lines) @series = args[:series] if args.key?(:series) @stacked_type = args[:stacked_type] if args.key?(:stacked_type) @total_data_label = args[:total_data_label] if args.key?(:total_data_label) end |