lib/axlsx/drawing/bubble_chart.rb in caxlsx-3.3.0 vs lib/axlsx/drawing/bubble_chart.rb in caxlsx-3.4.0
- old
+ new
@@ -1,14 +1,11 @@
-# encoding: UTF-8
module Axlsx
-
# The BubbleChart allows you to insert a bubble chart into your worksheet
# @see Worksheet#add_chart
# @see Chart#add_series
# @see README for an example
class BubbleChart < Chart
-
include Axlsx::OptionsParser
# the x value axis
# @return [ValAxis]
def x_val_axis
@@ -22,13 +19,13 @@
axes[:y_val_axis]
end
alias :yValAxis :y_val_axis
# Creates a new bubble chart
- def initialize(frame, options={})
+ def initialize(frame, options = {})
@vary_colors = 0
- super(frame, options)
+ super(frame, options)
@series_type = BubbleSeries
@d_lbls = nil
parse_options options
end