Method: Axlsx::GraphicFrame#initialize

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

#initialize(anchor, chart_type, options) ⇒ GraphicFrame

Creates a new GraphicFrame object

Parameters:



19
20
21
22
23
# File 'lib/axlsx/drawing/graphic_frame.rb', line 19

def initialize(anchor, chart_type, options)
  DataTypeValidator.validate "Drawing.chart_type", Chart, chart_type
  @anchor = anchor
  @chart = chart_type.new(self, options)
end