From 4d16bfc43780e5d3f7368625700b583e3e98217a Mon Sep 17 00:00:00 2001 From: Randy Morgan Date: Sun, 27 Nov 2011 18:11:42 +0900 Subject: adding in row_style and col_style methods to worksheet and active record 'acts_as_axlsx' to provide to_xlsx. --- doc/Axlsx/Pie3DChart.html | 69 ++++++++++++++++++++++++++--------------------- 1 file changed, 39 insertions(+), 30 deletions(-) (limited to 'doc/Axlsx/Pie3DChart.html') diff --git a/doc/Axlsx/Pie3DChart.html b/doc/Axlsx/Pie3DChart.html index dd55e82e..e7754542 100644 --- a/doc/Axlsx/Pie3DChart.html +++ b/doc/Axlsx/Pie3DChart.html @@ -96,9 +96,10 @@

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. +

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

-
-

Creates a new pie chart object.

+

+Creates a new pie chart object. +

@@ -183,8 +185,9 @@ that you can add to your worksheet.

-
-

Serializes the pie chart.

+

+Serializes the pie chart. +

@@ -215,8 +218,9 @@ that you can add to your worksheet.

- -

Creates a new pie chart object

+

+Creates a new pie chart object +

@@ -235,8 +239,9 @@ that you can add to your worksheet.

— -
-

The workbook that owns this chart.

+

+The workbook that owns this chart. +

@@ -253,8 +258,9 @@ that you can add to your worksheet.

— -
-

a customizable set of options

+

+a customizable set of options +

@@ -387,11 +393,12 @@ that you can add to your worksheet.

# 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 + @@ -413,8 +420,9 @@ that you can add to your worksheet.

- -

Serializes the pie chart

+

+Serializes the pie chart +

@@ -453,14 +461,15 @@ that you can add to your worksheet.

# 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 + @@ -471,9 +480,9 @@ that you can add to your worksheet.

-- cgit v1.2.3