Method: Axlsx::LineChart#initialize

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

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

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:



47
48
49
50
51
52
53
# File 'lib/axlsx/drawing/line_chart.rb', line 47

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