lib/writeexcel/charts/scatter.rb in writeexcel-0.3.5 vs lib/writeexcel/charts/scatter.rb in writeexcel-0.4.0
- old
+ new
@@ -1,5 +1,6 @@
+# -*- coding: utf-8 -*-
###############################################################################
#
# Scatter - A writer class for Excel Scatter charts.
#
# Used in conjunction with Spreadsheet::WriteExcel::Chart.
@@ -108,12 +109,12 @@
# :categories => '=Sheet1!$A$2:$A$7',
# :values => '=Sheet1!$C$2:$C$7'
# )
#
# # Add a chart title and some axis labels.
- # chart.set_title (name => 'Results of sample analysis')
- # chart.set_x_axis(name => 'Test number')
- # chart.set_y_axis(name => 'Sample length (cm)')
+ # chart.set_title (:name => 'Results of sample analysis')
+ # chart.set_x_axis(:name => 'Test number')
+ # chart.set_y_axis(:name => 'Sample length (cm)')
#
# # Insert the chart into the worksheet (with an offset).
# worksheet.insert_chart('D2', chart, 25, 10)
#
# workbook.close