class Google::Apis::SheetsV4::WaterfallChartSpec

A waterfall chart.

Attributes

connector_line_style[RW]

Properties that describe the style of a line. Corresponds to the JSON property `connectorLineStyle` @return [Google::Apis::SheetsV4::LineStyle]

domain[RW]

The domain of a waterfall chart. Corresponds to the JSON property `domain` @return [Google::Apis::SheetsV4::WaterfallChartDomain]

first_value_is_total[RW]

True to interpret the first value as a total. Corresponds to the JSON property `firstValueIsTotal` @return [Boolean]

first_value_is_total?[RW]

True to interpret the first value as a total. Corresponds to the JSON property `firstValueIsTotal` @return [Boolean]

hide_connector_lines[RW]

True to hide connector lines between columns. Corresponds to the JSON property `hideConnectorLines` @return [Boolean]

hide_connector_lines?[RW]

True to hide connector lines between columns. Corresponds to the JSON property `hideConnectorLines` @return [Boolean]

series[RW]

The data this waterfall chart is visualizing. Corresponds to the JSON property `series` @return [Array<Google::Apis::SheetsV4::WaterfallChartSeries>]

stacked_type[RW]

The stacked type. Corresponds to the JSON property `stackedType` @return [String]

total_data_label[RW]

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` @return [Google::Apis::SheetsV4::DataLabel]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/sheets_v4/classes.rb, line 11303
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 11308
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