Method: Axlsx::Chart#add_series
- Defined in:
- lib/axlsx/drawing/chart.rb
#add_series(options = {}) ⇒ Series
Adds a new series to the chart’s series collection.
111 112 113 114 |
# File 'lib/axlsx/drawing/chart.rb', line 111 def add_series(={}) @series_type.new(self, ) @series.last end |