lib/write_xlsx/chart/line.rb in write_xlsx-1.10.0 vs lib/write_xlsx/chart/line.rb in write_xlsx-1.10.1
- old
+ new
@@ -22,10 +22,10 @@
include Writexlsx::WriteDPtPoint
def initialize(subtype)
super(subtype)
@subtype ||= 'standard'
- @default_marker = Marker.new(:type => 'none')
+ @default_marker = Marker.new(type: 'none')
@smooth_allowed = 1
# Override and reset the default axis values.
@y_axis.defaults[:num_format] = '0%' if @subtype == 'percent_stacked'