Method: Axlsx::AreaChart#initialize

Defined in:
lib/axlsx/drawing/area_chart.rb

#initialize(frame, options = {}) ⇒ AreaChart

Creates a new line chart object

Parameters:

  • frame (GraphicFrame)

    The workbook that owns this chart.

  • options (Hash) (defaults to: {})

    a customizable set of options

Options Hash (options):

  • title (Cell, String)
  • show_legend (Boolean)
  • grouping (Symbol)

See Also:



45
46
47
48
49
50
51
# File 'lib/axlsx/drawing/area_chart.rb', line 45

def initialize(frame, options = {})
  @vary_colors = false
  @grouping = :standard
  super(frame, options)
  @series_type = AreaSeries
  @d_lbls = nil
end