examples/chart_stock.rb in writeexcel-0.4.1 vs examples/chart_stock.rb in writeexcel-0.4.2

- old
+ new

@@ -66,11 +66,11 @@ # # Example 1. A default Open-High-Low-Close chart with series names, axes labels # and a title. # -chart1 = workbook.add_chart(:type => Chart::Stock) +chart1 = workbook.add_chart(:type => 'Chart::Stock') # Add a series for each of the Open-High-Low-Close columns. The categories are # the dates in the first column. chart1.add_series( @@ -105,10 +105,10 @@ ############################################################################### # # Example 2. Same as the previous as an embedded chart. # -chart2 = workbook.add_chart(:type => Chart::Stock, :embedded => 1) +chart2 = workbook.add_chart(:type => 'Chart::Stock', :embedded => 1) # Add a series for each of the Open-High-Low-Close columns. The categories are # the dates in the first column. chart2.add_series(