From 11303a4d6664d9a7ff7bc408035d2ab70378a375 Mon Sep 17 00:00:00 2001 From: Randy Morgan Date: Sat, 26 Nov 2011 13:20:57 +0900 Subject: adding in support for ruby 1.9.3 release version 1.0.9 --- doc/Axlsx/Bar3DChart.html | 274 +++++++++++++++++++++------------------------- 1 file changed, 122 insertions(+), 152 deletions(-) (limited to 'doc/Axlsx/Bar3DChart.html') diff --git a/doc/Axlsx/Bar3DChart.html b/doc/Axlsx/Bar3DChart.html index 1ca256c1..3ad3b313 100644 --- a/doc/Axlsx/Bar3DChart.html +++ b/doc/Axlsx/Bar3DChart.html @@ -6,7 +6,7 @@ Class: Axlsx::Bar3DChart - — Documentation by YARD 0.7.3 + — AXLSX @@ -96,10 +96,9 @@

Overview

-

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

+ +

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

@@ -128,9 +127,8 @@ that you can add to your worksheet.
GAP_AMOUNT_PERCENT =
-

-validation regex for gap amount percent -

+ +

validation regex for gap amount percent

@@ -140,8 +138,7 @@ validation regex for gap amount percent
-
/0*(([0-9])|([1-9][0-9])|([1-4][0-9][0-9])|500)%/
-
+
/0*(([0-9])|([1-9][0-9])|([1-4][0-9][0-9])|500)%/
@@ -173,9 +170,8 @@ validation regex for gap amount percent -

-The direction of the bars in the chart must be one of [:bar, :col]. -

+
+

The direction of the bars in the chart must be one of [:bar, :col].

@@ -200,9 +196,8 @@ The direction of the bars in the chart must be one of [:bar, :col]. -

-the category axis. -

+
+

the category axis.

@@ -227,10 +222,9 @@ the category axis. -

-space between bar or column clusters, as a percentage of the bar or column -width. -

+
+

space between bar or column clusters, as a percentage of the bar or column +width.

@@ -255,10 +249,9 @@ width. -

-space between bar or column clusters, as a percentage of the bar or column -width. -

+
+

space between bar or column clusters, as a percentage of the bar or column +width.

@@ -283,9 +276,8 @@ width. -

-grouping for a column, line, or area chart. -

+
+

grouping for a column, line, or area chart.

@@ -310,10 +302,9 @@ grouping for a column, line, or area chart. -

-The shabe of the bars or columns must be one of [:cone, :coneToMax, :box, -:cylinder, :pyramid, :pyramidToMax]. -

+
+

The shabe of the bars or columns must be one of [:cone, :coneToMax, :box, +:cylinder, :pyramid, :pyramidToMax].

@@ -338,9 +329,8 @@ The shabe of the bars or columns must be one of [:cone, :coneToMax, :box, -

-the valueaxis. -

+
+

the valueaxis.

@@ -356,7 +346,7 @@ the valueaxis.

Attributes inherited from Chart

-

graphic_frame, index, pn, series, series_type, show_legend, style, title, view3D

+

graphic_frame, series, series_type, show_legend, style, title, view3D

@@ -385,9 +375,8 @@ the valueaxis. -

-Creates a new bar chart object. -

+
+

Creates a new bar chart object.

@@ -409,9 +398,8 @@ Creates a new bar chart object. -

-Serializes the bar chart. -

+
+

Serializes the bar chart.

@@ -429,7 +417,7 @@ Serializes the bar chart.

Methods inherited from Chart

-

#add_series, #end_at, #from, #start_at, #to

+

#add_series, #end_at, #from, #index, #pn, #start_at, #to

Constructor Details

@@ -442,9 +430,8 @@ Serializes the bar chart.

-

-Creates a new bar chart object -

+ +

Creates a new bar chart object

@@ -463,9 +450,8 @@ Creates a new bar chart object — -

-The workbook that owns this chart. -

+
+

The workbook that owns this chart.

@@ -482,9 +468,8 @@ The workbook that owns this chart. — -

-a customizable set of options -

+
+

a customizable set of options

@@ -645,23 +630,24 @@ a customizable set of options 68 69 70 -71 +71 +72
# File 'lib/axlsx/drawing/bar_3D_chart.rb', line 61
 
-def initialize(frame, options={})
-  @barDir = :bar
-  @grouping = :clustered
-  @catAxId = rand(8 ** 8)
-  @valAxId = rand(8 ** 8)
-  @catAxis = CatAxis.new(@catAxId, @valAxId)
-  @valAxis = ValAxis.new(@valAxId, @catAxId)
-  super(frame, options)      
-  @series_type = BarSeries
-  @view3D = View3D.new({:rAngAx=>1}.merge(options))
-end
-
+def initialize(frame, options={}) + @barDir = :bar + @grouping = :clustered + @gapWidth, @gapDepth, @shape = nil, nil, nil + @catAxId = rand(8 ** 8) + @valAxId = rand(8 ** 8) + @catAxis = CatAxis.new(@catAxId, @valAxId) + @valAxis = ValAxis.new(@valAxId, @catAxId) + super(frame, options) + @series_type = BarSeries + @view3D = View3D.new({:rAngAx=>1}.merge(options)) +end @@ -684,9 +670,8 @@ a customizable set of options

-

-The direction of the bars in the chart must be one of [:bar, :col] -

+ +

The direction of the bars in the chart must be one of [:bar, :col]

@@ -720,10 +705,9 @@ The direction of the bars in the chart must be one of [:bar, :col]
# File 'lib/axlsx/drawing/bar_3D_chart.rb', line 21
 
-def barDir
-  @barDir
-end
-
+def barDir + @barDir +end @@ -741,9 +725,8 @@ The direction of the bars in the chart must be one of [:bar, :col]

-

-the category axis -

+ +

the category axis

@@ -777,10 +760,9 @@ the category axis
# File 'lib/axlsx/drawing/bar_3D_chart.rb', line 12
 
-def catAxis
-  @catAxis
-end
-
+def catAxis + @catAxis +end @@ -798,10 +780,9 @@ the category axis

-

-space between bar or column clusters, as a percentage of the bar or column -width. -

+ +

space between bar or column clusters, as a percentage of the bar or column +width.

@@ -835,10 +816,9 @@ width.
# File 'lib/axlsx/drawing/bar_3D_chart.rb', line 25
 
-def gapDepth
-  @gapDepth
-end
-
+def gapDepth + @gapDepth +end @@ -856,10 +836,9 @@ width.

-

-space between bar or column clusters, as a percentage of the bar or column -width. -

+ +

space between bar or column clusters, as a percentage of the bar or column +width.

@@ -893,10 +872,9 @@ width.
# File 'lib/axlsx/drawing/bar_3D_chart.rb', line 29
 
-def gapWidth
-  @gapWidth
-end
-
+def gapWidth + @gapWidth +end @@ -914,10 +892,9 @@ width.

-

-grouping for a column, line, or area chart. must be one of -[:percentStacked, :clustered, :standard, :stacked] -

+ +

grouping for a column, line, or area chart. must be one of +[:percentStacked, :clustered, :standard, :stacked]

@@ -951,10 +928,9 @@ grouping for a column, line, or area chart. must be one of
# File 'lib/axlsx/drawing/bar_3D_chart.rb', line 34
 
-def grouping
-  @grouping
-end
-
+def grouping + @grouping +end @@ -972,10 +948,9 @@ grouping for a column, line, or area chart. must be one of

-

-The shabe of the bars or columns must be one of [:cone, :coneToMax, :box, -:cylinder, :pyramid, :pyramidToMax] -

+ +

The shabe of the bars or columns must be one of [:cone, :coneToMax, :box, +:cylinder, :pyramid, :pyramidToMax]

@@ -1009,10 +984,9 @@ The shabe of the bars or columns must be one of [:cone, :coneToMax, :box,
# File 'lib/axlsx/drawing/bar_3D_chart.rb', line 39
 
-def shape
-  @shape
-end
-
+def shape + @shape +end @@ -1030,9 +1004,8 @@ The shabe of the bars or columns must be one of [:cone, :coneToMax, :box,

-

-the valueaxis -

+ +

the valueaxis

@@ -1066,10 +1039,9 @@ the valueaxis
# File 'lib/axlsx/drawing/bar_3D_chart.rb', line 16
 
-def valAxis
-  @valAxis
-end
-
+def valAxis + @valAxis +end @@ -1091,9 +1063,8 @@ the valueaxis

-

-Serializes the bar chart -

+ +

Serializes the bar chart

@@ -1120,14 +1091,6 @@ Serializes the bar chart
 
 
-101
-102
-103
-104
-105
-106
-107
-108
 109
 110
 111
@@ -1137,30 +1100,37 @@ Serializes the bar chart
 115
 116
 117
-118
+118 +119 +120 +121 +122 +123 +124 +125 +126 -
# File 'lib/axlsx/drawing/bar_3D_chart.rb', line 101
-
-def to_xml
-  super() do |xml|
-    xml.send('c:bar3DChart') {
-      xml.send('c:barDir', :val => barDir)
-      xml.send('c:grouping', :val=>grouping)
-      xml.send('c:varyColors', :val=>1)
-      @series.each { |ser| ser.to_xml(xml) }
-      xml.send('c:gapWidth', :val=>@gapWidth) unless @gapWidth.nil?
-      xml.send('c:gapDepth', :val=>@gapDepth) unless @gapDepth.nil?
-      xml.send('c:shape', :val=>@shape) unless @shape.nil?
-      xml.send('c:axId', :val=>@catAxId)
-      xml.send('c:axId', :val=>@valAxId)
-      xml.send('c:axId', :val=>0)
-    }
-    @catAxis.to_xml(xml)
-    @valAxis.to_xml(xml)        
-  end
-end
-
+
# File 'lib/axlsx/drawing/bar_3D_chart.rb', line 109
+
+def to_xml
+  super() do |xml|
+    xml.send('c:bar3DChart') {
+      xml.send('c:barDir', :val => barDir)
+      xml.send('c:grouping', :val=>grouping)
+      xml.send('c:varyColors', :val=>1)
+      @series.each { |ser| ser.to_xml(xml) }
+      xml.send('c:gapWidth', :val=>@gapWidth) unless @gapWidth.nil?
+      xml.send('c:gapDepth', :val=>@gapDepth) unless @gapDepth.nil?
+      xml.send('c:shape', :val=>@shape) unless @shape.nil?
+      xml.send('c:axId', :val=>@catAxId)
+      xml.send('c:axId', :val=>@valAxId)
+      xml.send('c:axId', :val=>0)
+    }
+    @catAxis.to_xml(xml)
+    @valAxis.to_xml(xml)        
+  end
+end
@@ -1171,9 +1141,9 @@ Serializes the bar chart
-- cgit v1.2.3