From 2dea87f6f601795e32c7c14fbba5717c4b04fc1e Mon Sep 17 00:00:00 2001 From: Randy Morgan Date: Wed, 23 Nov 2011 12:38:14 +0900 Subject: update docs --- doc/index.html | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'doc/index.html') diff --git a/doc/index.html b/doc/index.html index 312220af..028a3e27 100644 --- a/doc/index.html +++ b/doc/index.html @@ -63,7 +63,7 @@ License: MIT License
Latest Version: 1.0.7
Ruby Version: 1.8.7
-Release Date: November 22nd 2011

+Release Date: November 23nd 2011

Synopsis

@@ -182,10 +182,13 @@ It enables the you to generate 100% valid xlsx files that include customised sty p.workbook.add_worksheet do |sheet| sheet.add_row ["First", 1, 5, 7, 9] sheet.add_row ["Second", 5, 2, 14, 9] - sheet.add_chart(Axlsx::Line3DChart, :start_at => [0,2], :end_at => [10, 15], :title=>"example 6: Line Chart") do |chart| + sheet.add_chart(Axlsx::Line3DChart, :title=>"example 6: Line Chart") do |chart| + chart.start_at 0, 2 + chart.end_at 10, 15 chart.add_series :data=>sheet.rows.first.cells[(1..-1)], :title=> sheet.rows.first.cells.first chart.add_series :data=>sheet.rows.last.cells[(1..-1)], :title=> sheet.rows.last.cells.first end + end p.serialize("example6.xlsx") @@ -205,9 +208,10 @@ It enables the you to generate 100% valid xlsx files that include customised sty

Changelog