Method: Axlsx::TwoCellAnchor#add_chart
- Defined in:
- lib/axlsx/drawing/two_cell_anchor.rb
#add_chart(chart_type, options) ⇒ Chart
Creates a graphic frame and chart object associated with this anchor
65 66 67 68 |
# File 'lib/axlsx/drawing/two_cell_anchor.rb', line 65 def add_chart(chart_type, ) @object = GraphicFrame.new(self, chart_type, ) @object.chart end |