From 058faf2581970fa18c314ad07f5658adeca32c69 Mon Sep 17 00:00:00 2001 From: Randy Morgan Date: Sun, 27 Nov 2011 22:08:55 +0900 Subject: update to README --- doc/Axlsx/Pie3DChart.html | 69 +++++++++++++++++++++-------------------------- 1 file changed, 30 insertions(+), 39 deletions(-) (limited to 'doc/Axlsx/Pie3DChart.html') diff --git a/doc/Axlsx/Pie3DChart.html b/doc/Axlsx/Pie3DChart.html index 8703fd0b..93e662a4 100644 --- a/doc/Axlsx/Pie3DChart.html +++ b/doc/Axlsx/Pie3DChart.html @@ -96,10 +96,9 @@

Overview

-

-The Pie3DChart is a three dimentional piechart (who would have guessed?) -that you can add to your worksheet. -

+ +

The Pie3DChart is a three dimentional piechart (who would have guessed?) +that you can add to your worksheet.

@@ -161,9 +160,8 @@ that you can add to your worksheet. -

-Creates a new pie chart object. -

+
+

Creates a new pie chart object.

@@ -185,9 +183,8 @@ Creates a new pie chart object. -

-Serializes the pie chart. -

+
+

Serializes the pie chart.

@@ -218,9 +215,8 @@ Serializes the pie chart.

-

-Creates a new pie chart object -

+ +

Creates a new pie chart object

@@ -239,9 +235,8 @@ Creates a new pie chart object — -

-The workbook that owns this chart. -

+
+

The workbook that owns this chart.

@@ -258,9 +253,8 @@ The workbook that owns this chart. — -

-a customizable set of options -

+
+

a customizable set of options

@@ -393,12 +387,11 @@ a customizable set of options
# File 'lib/axlsx/drawing/pie_3D_chart.rb', line 24
 
-def initialize(frame, options={})
-  super(frame, options)
-  @series_type = PieSeries
-  @view3D = View3D.new({:rotX=>30, :perspective=>30}.merge(options))
-end
-
+def initialize(frame, options={}) + super(frame, options) + @series_type = PieSeries + @view3D = View3D.new({:rotX=>30, :perspective=>30}.merge(options)) +end @@ -420,9 +413,8 @@ a customizable set of options

-

-Serializes the pie chart -

+ +

Serializes the pie chart

@@ -461,15 +453,14 @@ Serializes the pie chart
# File 'lib/axlsx/drawing/pie_3D_chart.rb', line 32
 
-def to_xml
-  super() do |xml|
-    xml.send('c:pie3DChart') {
-      xml.send('c:varyColors', :val=>1)
-      @series.each { |ser| ser.to_xml(xml) }
-    }                      
-  end
-end
-
+def to_xml + super() do |xml| + xml.send('c:pie3DChart') { + xml.send('c:varyColors', :val=>1) + @series.each { |ser| ser.to_xml(xml) } + } + end +end @@ -480,9 +471,9 @@ Serializes the pie chart
-- cgit v1.2.3