Method: Axlsx::AxDataSource#initialize

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

#initialize(options = {}) ⇒ AxDataSource

creates a new NumDataSource object

Parameters:

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

    a customizable set of options

Options Hash (options):

  • data (Array)

    An array of Cells or Numeric objects

  • tag_name (Symbol)

    see tag_name



8
9
10
11
12
13
# File 'lib/axlsx/drawing/ax_data_source.rb', line 8

def initialize(options = {})
  @tag_name = :cat
  @data_type = StrData
  @ref_tag_name = :strRef
  super(options)
end