lib/writeexcel.rb in writeexcel-0.4.1 vs lib/writeexcel.rb in writeexcel-0.4.2
- old
+ new
@@ -746,11 +746,11 @@
#
# set_row(row, height, format, hidden, level, collapsed)
# set_column(first_col, last_col, width, format, hidden, level, collapsed)
#
# The following example sets an outline level of 1 for rows 1 and 2
-# (zero-indexed) and columns B to G. The parameters _height_ and _XF_ are
+# (zero-indexed) and columns B to G. The parameters _height_ and _format_ are
# assigned default values since they are undefined:
#
# worksheet.set_row(1, nil, nil, 0, 1)
# worksheet.set_row(2, nil, nil, 0, 1)
# worksheet.set_column('B:G', nil, nil, 0, 1)
@@ -771,13 +771,11 @@
#
# Note: Setting the _collapsed_ flag is particularly important for
# compatibility with OpenOffice.org and Gnumeric.
#
# For a more complete example see the outline.rb
-#--
# and outline_collapsed.rb
-#++
# programs in the examples directory of the distro.
#
# Some additional outline properties can be set via the outline_settings()
# worksheet method, see above.
#
@@ -1058,11 +1056,11 @@
# require 'writeexcel'
#
# workbook = WriteExcel.new('chart.xls')
# worksheet = workbook.add_worksheet
#
-# chart = workbook.add_chart(:type => Chart::Column)
+# chart = workbook.add_chart(:type => 'Chart::Column')
#
# # Configure the chart.
# chart.add_series(
# :categories => '=Sheet1!$A$2:$A$7',
# :values => '=Sheet1!$B$2:$B$7'
@@ -1085,19 +1083,19 @@
# subclasses.
#
# The Chart module isn't used directly, a chart object is created via the
# Workbook add_chart() method where the chart type is specified:
#
-# chart = workbook.add_chart(:type => Chart::Column)
+# chart = workbook.add_chart(:type => 'Chart::Column')
#
# Currently the supported chart types are:
#
-# * Chart::Column: Creates a column style (histogram) chart. See Column.
-# * Chart::Bar: Creates a Bar style (transposed histogram) chart. See Bar.
-# * Chart::Line: Creates a Line style chart. See Line.
-# * Chart::Area: Creates an Area (filled line) style chart. See Area.
-# * Chart::Scatter: Creates an Scatter style chart. See Scatter.
-# * Chart::Stock: Creates an Stock style chart. See Stock.
+# * 'Chart::Column': Creates a column style (histogram) chart. See Column.
+# * 'Chart::Bar': Creates a Bar style (transposed histogram) chart. See Bar.
+# * 'Chart::Line': Creates a Line style chart. See Line.
+# * 'Chart::Area': Creates an Area (filled line) style chart. See Area.
+# * 'Chart::Scatter': Creates an Scatter style chart. See Scatter.
+# * 'Chart::Stock': Creates an Stock style chart. See Stock.
#
# More chart types will be supported in time. See the "TODO" section.
#
# === Chart names and links
#