examples/chart_pie.rb in write_xlsx-0.78.0 vs examples/chart_pie.rb in write_xlsx-0.79.0
- old
+ new
@@ -58,10 +58,10 @@
#
# Create an example Pie chart like above.
chart2 = workbook.add_chart(:type => 'pie', :embedded => 1)
-# Configure the series and add user defined segment colours.
+# Configure the series.
chart2.add_series(
:name => 'Pie sales data',
:categories => '=Sheet1!$A$2:$A$4',
:values => '=Sheet1!$B$2:$B$4',
:points => [