axlsx 1.0.6 → 1.0.7
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +32 -0
- data/README.md +34 -35
- data/Rakefile +19 -8
- data/doc/Axlsx.html +4 -4
- data/doc/Axlsx/App.html +1 -1
- data/doc/Axlsx/Axis.html +45 -19
- data/doc/Axlsx/Bar3DChart.html +134 -107
- data/doc/Axlsx/BarSeries.html +6 -64
- data/doc/Axlsx/Border.html +1 -1
- data/doc/Axlsx/BorderPr.html +1 -1
- data/doc/Axlsx/CatAxis.html +34 -31
- data/doc/Axlsx/CatAxisData.html +400 -0
- data/doc/Axlsx/Cell.html +1 -1
- data/doc/Axlsx/CellAlignment.html +1 -1
- data/doc/Axlsx/CellProtection.html +1 -1
- data/doc/Axlsx/CellStyle.html +1 -1
- data/doc/Axlsx/Chart.html +449 -212
- data/doc/Axlsx/Color.html +1 -1
- data/doc/Axlsx/ContentType.html +2 -2
- data/doc/Axlsx/Core.html +1 -1
- data/doc/Axlsx/DataTypeValidator.html +1 -1
- data/doc/Axlsx/Default.html +1 -1
- data/doc/Axlsx/Drawing.html +65 -91
- data/doc/Axlsx/Fill.html +1 -1
- data/doc/Axlsx/Font.html +1 -1
- data/doc/Axlsx/GradientFill.html +1 -1
- data/doc/Axlsx/GradientStop.html +1 -1
- data/doc/Axlsx/GraphicFrame.html +7 -5
- data/doc/Axlsx/Line3DChart.html +109 -28
- data/doc/Axlsx/LineSeries.html +17 -73
- data/doc/Axlsx/Marker.html +1 -1
- data/doc/Axlsx/NumFmt.html +1 -1
- data/doc/Axlsx/Override.html +1 -1
- data/doc/Axlsx/Package.html +1 -1
- data/doc/Axlsx/PatternFill.html +1 -1
- data/doc/Axlsx/Pie3DChart.html +118 -66
- data/doc/Axlsx/PieSeries.html +30 -89
- data/doc/Axlsx/RegexValidator.html +1 -1
- data/doc/Axlsx/Relationship.html +1 -1
- data/doc/Axlsx/Relationships.html +2 -2
- data/doc/Axlsx/RestrictionValidator.html +1 -1
- data/doc/Axlsx/Row.html +1 -1
- data/doc/Axlsx/Scaling.html +1 -1
- data/doc/Axlsx/SerAxis.html +52 -37
- data/doc/Axlsx/Series.html +25 -10
- data/doc/Axlsx/SeriesTitle.html +3 -2
- data/doc/Axlsx/SimpleTypedList.html +86 -17
- data/doc/Axlsx/Styles.html +1 -1
- data/doc/Axlsx/TableStyle.html +2 -2
- data/doc/Axlsx/TableStyleElement.html +1 -1
- data/doc/Axlsx/TableStyles.html +2 -2
- data/doc/Axlsx/Title.html +1 -1
- data/doc/Axlsx/TwoCellAnchor.html +40 -280
- data/doc/Axlsx/ValAxis.html +7 -8
- data/doc/Axlsx/ValAxisData.html +326 -0
- data/doc/Axlsx/View3D.html +39 -39
- data/doc/Axlsx/Workbook.html +1 -1
- data/doc/Axlsx/Worksheet.html +84 -39
- data/doc/Axlsx/Xf.html +1 -1
- data/doc/_index.html +15 -1
- data/doc/class_list.html +1 -1
- data/doc/file.README.html +30 -49
- data/doc/index.html +30 -49
- data/doc/method_list.html +448 -416
- data/doc/top-level-namespace.html +1 -1
- data/examples/#example.rb# +87 -0
- data/examples/example.rb +4 -1
- data/examples/multi_chart.xlsx +0 -0
- data/lib/axlsx/drawing/#bar_series.rb# +62 -0
- data/lib/axlsx/drawing/axis.rb +7 -6
- data/lib/axlsx/drawing/bar_3D_chart.rb +12 -30
- data/lib/axlsx/drawing/bar_series.rb +6 -35
- data/lib/axlsx/drawing/cat_axis.rb +8 -10
- data/lib/axlsx/drawing/cat_axis_data.rb +34 -0
- data/lib/axlsx/drawing/cat_axis_data.rb~ +28 -0
- data/lib/axlsx/drawing/chart.rb +48 -21
- data/lib/axlsx/drawing/drawing.rb +14 -12
- data/lib/axlsx/drawing/graphic_frame.rb +1 -0
- data/lib/axlsx/drawing/line_3D_chart.rb +11 -1
- data/lib/axlsx/drawing/line_series.rb +10 -40
- data/lib/axlsx/drawing/pie_3D_chart.rb +17 -34
- data/lib/axlsx/drawing/pie_series.rb +11 -45
- data/lib/axlsx/drawing/ser_axis.rb +13 -14
- data/lib/axlsx/drawing/series.rb +2 -3
- data/lib/axlsx/drawing/series_title.rb +1 -1
- data/lib/axlsx/drawing/two_cell_anchor.rb +10 -34
- data/lib/axlsx/drawing/val_axis.rb +4 -4
- data/lib/axlsx/drawing/val_axis_data.rb +28 -0
- data/lib/axlsx/drawing/val_axis_data.rb~ +29 -0
- data/lib/axlsx/drawing/view_3D.rb +12 -6
- data/lib/axlsx/util/constants.rb +0 -3
- data/lib/axlsx/util/simple_typed_list.rb +7 -2
- data/lib/axlsx/version.rb +4 -0
- data/lib/axlsx/workbook/worksheet/worksheet.rb +9 -1
- data/test/drawing/tc_axis.rb +1 -0
- data/test/drawing/tc_cat_axis_data.rb +18 -0
- data/test/drawing/tc_cat_axis_data.rb~ +32 -0
- data/test/drawing/tc_chart.rb +12 -0
- data/test/drawing/tc_line_series.rb +27 -0
- data/test/drawing/{tc_line_series.tc → tc_line_series.rb~} +0 -0
- data/test/drawing/tc_ser_axis.rb +13 -5
- data/test/drawing/tc_two_cell_anchor.rb +18 -17
- data/test/drawing/tc_val_axis.rb +5 -0
- data/test/drawing/tc_val_axis_data.rb +18 -0
- data/test/drawing/tc_val_axis_data.rb~ +18 -0
- data/test/drawing/tc_view_3D.rb +10 -1
- data/test/tc_package.rb +13 -13
- metadata +21 -6
data/CHANGELOG.md
ADDED
@@ -0,0 +1,32 @@
|
|
1
|
+
CHANGELOG
|
2
|
+
---------
|
3
|
+
|
4
|
+
##October.22.11: 1.0.6 release
|
5
|
+
- Bumping version to include docs. Bug in gemspec pointing to incorrect directory.
|
6
|
+
|
7
|
+
##October.22.11: 1.05
|
8
|
+
- Added support for line charts
|
9
|
+
- Updated examples and readme
|
10
|
+
- Updated series title to be a real title ** NOTE ** If you are accessing titles directly you will need to update text assignation.
|
11
|
+
chart.series.first.title = 'Your Title'
|
12
|
+
chart.series.first.title.text = 'Your Title'
|
13
|
+
With this change you can assign a cell for the series title
|
14
|
+
chart.series.title = sheet.rows.first.cells.first
|
15
|
+
If you are using the recommended
|
16
|
+
chart.add_series :data=>[], :labels=>[], :title
|
17
|
+
You do not have to change anything.
|
18
|
+
- BugFix: shape attribute for bar chart is now properly serialized
|
19
|
+
- BugFix: date1904 property now properly set for charts
|
20
|
+
- Added style property to charts
|
21
|
+
- Removed serialization write test as it most commonly fails when run from the gem's intalled directory
|
22
|
+
|
23
|
+
##October.21.11: 1.0.4
|
24
|
+
- altered package to accept a filename string for serialization instead of a File object.
|
25
|
+
- Updated specs to conform
|
26
|
+
- More examples for readme
|
27
|
+
|
28
|
+
|
29
|
+
##October.21.11: 1.0.3 release
|
30
|
+
- Updated documentation
|
31
|
+
|
32
|
+
##October.20.11: 0.1.0 release
|
data/README.md
CHANGED
@@ -6,9 +6,9 @@ Axlsx: Office Open XML Spreadsheet Generation
|
|
6
6
|
**Author**: Randy Morgan
|
7
7
|
**Copyright**: 2011
|
8
8
|
**License**: MIT License
|
9
|
-
**Latest Version**: 1.0.
|
9
|
+
**Latest Version**: 1.0.7
|
10
10
|
**Ruby Version**: 1.8.7
|
11
|
-
**Release Date**: November
|
11
|
+
**Release Date**: November 23nd 2011
|
12
12
|
|
13
13
|
Synopsis
|
14
14
|
--------
|
@@ -42,10 +42,12 @@ To install Axlsx, use the following command:
|
|
42
42
|
Usage
|
43
43
|
-----
|
44
44
|
|
45
|
+
###Examples
|
46
|
+
|
45
47
|
require 'rubygems'
|
46
48
|
require 'axlsx'
|
47
49
|
|
48
|
-
|
50
|
+
A Simple Workbook
|
49
51
|
|
50
52
|
p = Axlsx::Package.new
|
51
53
|
p.workbook.add_worksheet do |sheet|
|
@@ -54,7 +56,7 @@ Usage
|
|
54
56
|
end
|
55
57
|
p.serialize("example1.xlsx")
|
56
58
|
|
57
|
-
|
59
|
+
Generating A Bar Chart
|
58
60
|
|
59
61
|
p = Axlsx::Package.new
|
60
62
|
p.workbook.add_worksheet do |sheet|
|
@@ -66,7 +68,7 @@ Usage
|
|
66
68
|
end
|
67
69
|
p.serialize("example2.xlsx")
|
68
70
|
|
69
|
-
|
71
|
+
Generating A Pie Chart
|
70
72
|
|
71
73
|
p = Axlsx::Package.new
|
72
74
|
p.workbook.add_worksheet do |sheet|
|
@@ -78,7 +80,7 @@ Usage
|
|
78
80
|
end
|
79
81
|
p.serialize("example3.xlsx")
|
80
82
|
|
81
|
-
|
83
|
+
Using Custom Styles
|
82
84
|
|
83
85
|
p = Axlsx::Package.new
|
84
86
|
wb = p.workbook
|
@@ -90,7 +92,7 @@ Usage
|
|
90
92
|
end
|
91
93
|
p.serialize("example4.xlsx")
|
92
94
|
|
93
|
-
|
95
|
+
Using Custom Formatting and date1904
|
94
96
|
|
95
97
|
p = Axlsx::Package.new
|
96
98
|
wb = p.workbook
|
@@ -104,7 +106,7 @@ Usage
|
|
104
106
|
end
|
105
107
|
p.serialize("example5.xlsx")
|
106
108
|
|
107
|
-
|
109
|
+
Validation
|
108
110
|
|
109
111
|
p = Axlsx::Package.new
|
110
112
|
p.workbook.add_worksheet do |sheet|
|
@@ -116,54 +118,51 @@ Usage
|
|
116
118
|
puts error.inspect
|
117
119
|
end
|
118
120
|
|
119
|
-
|
121
|
+
Generating A Line Chart
|
120
122
|
|
121
123
|
p = Axlsx::Package.new
|
122
124
|
p.workbook.add_worksheet do |sheet|
|
123
125
|
sheet.add_row ["First", 1, 5, 7, 9]
|
124
126
|
sheet.add_row ["Second", 5, 2, 14, 9]
|
125
|
-
sheet.add_chart(Axlsx::Line3DChart, :
|
127
|
+
sheet.add_chart(Axlsx::Line3DChart, :title=>"example 6: Line Chart") do |chart|
|
128
|
+
chart.start_at 0, 2
|
129
|
+
chart.end_at 10, 15
|
126
130
|
chart.add_series :data=>sheet.rows.first.cells[(1..-1)], :title=> sheet.rows.first.cells.first
|
127
131
|
chart.add_series :data=>sheet.rows.last.cells[(1..-1)], :title=> sheet.rows.last.cells.first
|
128
132
|
end
|
133
|
+
|
129
134
|
end
|
130
135
|
p.serialize("example6.xlsx")
|
131
136
|
|
132
137
|
|
133
|
-
###
|
138
|
+
###Documentation
|
139
|
+
|
134
140
|
This gem is 100% documented with YARD, an exceptional documentation library. To see documentation for this, and all the gems installed on your system use:
|
135
141
|
|
136
|
-
|
142
|
+
gem install yard
|
143
|
+
yard server -g
|
144
|
+
|
137
145
|
|
146
|
+
###Specs
|
138
147
|
|
139
|
-
### Specs
|
140
148
|
This gem has 100% test coverage using test/unit. To execute tests for this gem, simply run rake in the gem directory.
|
141
149
|
|
142
150
|
Changelog
|
143
151
|
---------
|
144
152
|
|
145
|
-
- **October.
|
146
|
-
-
|
147
|
-
- Updated
|
148
|
-
-
|
149
|
-
-
|
150
|
-
-
|
151
|
-
-
|
152
|
-
-
|
153
|
-
-
|
154
|
-
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
- Added style property to charts
|
159
|
-
- Removed serialization write test as it most commonly fails when run from the gem's intalled directory
|
160
|
-
- **October.22.11**: 1.0.6 release
|
161
|
-
- Bumping version to include docs. Bug in gemspec pointing to incorrect directory.
|
162
|
-
On Deck
|
163
|
-
-------
|
164
|
-
|
165
|
-
- Verification with ruby 1.9.3
|
166
|
-
- Active Record support via package::serialize_ar so you can dump an AR result into a worksheet in one go.
|
153
|
+
- **October.23.11**: 1.0.7 release preparation
|
154
|
+
- Added support for 3D options when creating a new chart. This lets you set the persective, rotation and other 3D attributes when using worksheet.add_chart
|
155
|
+
- Updated serialization write test to verify write permissions and warn if it cannot run the test due to permission restrcitions.
|
156
|
+
- updated rake to include build, genoc and deploy tasks.
|
157
|
+
- rebuilt documentation.
|
158
|
+
- moved version constant to its own file
|
159
|
+
- fixed bug in SerAxis that was requiring tickLblSkip and tickMarkSkip to be boolean. Should be unsigned int.
|
160
|
+
- Review and improve docs
|
161
|
+
- rebuild of anchor positioning to remove some spagetti code. Chart now supports a start_at and end_at method that accept an arrar for col/row positioning. See example6 for an example. You can still pass :start_at and :end_at options to worksheet.add_chart.
|
162
|
+
- Refactored cat and val axis data to keep series serialization a bit more DRY
|
163
|
+
|
164
|
+
Please see the {file:CHANGELOG.md} document for past release information.
|
165
|
+
|
167
166
|
|
168
167
|
Copyright
|
169
168
|
---------
|
data/Rakefile
CHANGED
@@ -1,13 +1,24 @@
|
|
1
|
-
require '
|
1
|
+
require File.expand_path(File.dirname(__FILE__) + '/lib/axlsx/version.rb')
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
|
3
|
+
task :build => :gendoc do
|
4
|
+
system "gem build axlsx.gemspec"
|
5
|
+
end
|
6
|
+
|
7
|
+
task :gendoc do
|
8
|
+
system "yardoc"
|
9
|
+
end
|
10
|
+
|
11
|
+
task :test do
|
12
|
+
require 'rake/testtask'
|
13
|
+
Rake::TestTask.new do |t|
|
14
|
+
t.libs << 'test'
|
15
|
+
t.test_files = FileList['test/**/tc_*.rb']
|
16
|
+
t.verbose = true
|
17
|
+
end
|
18
|
+
end
|
6
19
|
|
7
|
-
|
8
|
-
|
9
|
-
t.test_files = FileList['test/**/tc_*.rb']
|
10
|
-
t.verbose = true
|
20
|
+
task :release => :build do
|
21
|
+
system "gem push axlsx-#{Axlsx::VERSION}.gem"
|
11
22
|
end
|
12
23
|
|
13
24
|
task :default => :test
|
data/doc/Axlsx.html
CHANGED
@@ -73,7 +73,7 @@
|
|
73
73
|
|
74
74
|
<dt class="r1 last">Defined in:</dt>
|
75
75
|
<dd class="r1 last">lib/axlsx/package.rb<span class="defines">,<br />
|
76
|
-
lib/axlsx.rb,<br /> lib/axlsx/drawing/axis.rb,<br /> lib/axlsx/
|
76
|
+
lib/axlsx.rb,<br /> lib/axlsx/version.rb,<br /> lib/axlsx/drawing/axis.rb,<br /> lib/axlsx/doc_props/app.rb,<br /> lib/axlsx/drawing/title.rb,<br /> lib/axlsx/stylesheet/xf.rb,<br /> lib/axlsx/drawing/chart.rb,<br /> lib/axlsx/drawing/series.rb,<br /> lib/axlsx/util/constants.rb,<br /> lib/axlsx/drawing/marker.rb,<br /> lib/axlsx/doc_props/core.rb,<br /> lib/axlsx/drawing/view_3D.rb,<br /> lib/axlsx/stylesheet/font.rb,<br /> lib/axlsx/drawing/drawing.rb,<br /> lib/axlsx/util/validators.rb,<br /> lib/axlsx/drawing/scaling.rb,<br /> lib/axlsx/stylesheet/fill.rb,<br /> lib/axlsx/stylesheet/color.rb,<br /> lib/axlsx/drawing/ser_axis.rb,<br /> lib/axlsx/drawing/cat_axis.rb,<br /> lib/axlsx/drawing/val_axis.rb,<br /> lib/axlsx/stylesheet/border.rb,<br /> lib/axlsx/workbook/workbook.rb,<br /> lib/axlsx/stylesheet/styles.rb,<br /> lib/axlsx/rels/relationship.rb,<br /> lib/axlsx/drawing/bar_series.rb,<br /> lib/axlsx/drawing/pie_series.rb,<br /> lib/axlsx/rels/relationships.rb,<br /> lib/axlsx/stylesheet/num_fmt.rb,<br /> lib/axlsx/drawing/line_series.rb,<br /> lib/axlsx/stylesheet/border_pr.rb,<br /> lib/axlsx/drawing/series_title.rb,<br /> lib/axlsx/content_type/default.rb,<br /> lib/axlsx/drawing/bar_3D_chart.rb,<br /> lib/axlsx/drawing/pie_3D_chart.rb,<br /> lib/axlsx/drawing/line_3D_chart.rb,<br /> lib/axlsx/stylesheet/cell_style.rb,<br /> lib/axlsx/drawing/val_axis_data.rb,<br /> lib/axlsx/content_type/override.rb,<br /> lib/axlsx/drawing/cat_axis_data.rb,<br /> lib/axlsx/drawing/graphic_frame.rb,<br /> lib/axlsx/util/simple_typed_list.rb,<br /> lib/axlsx/stylesheet/table_style.rb,<br /> lib/axlsx/workbook/worksheet/row.rb,<br /> lib/axlsx/stylesheet/table_styles.rb,<br /> lib/axlsx/drawing/two_cell_anchor.rb,<br /> lib/axlsx/workbook/worksheet/cell.rb,<br /> lib/axlsx/stylesheet/pattern_fill.rb,<br /> lib/axlsx/stylesheet/gradient_fill.rb,<br /> lib/axlsx/stylesheet/gradient_stop.rb,<br /> lib/axlsx/content_type/content_type.rb,<br /> lib/axlsx/stylesheet/cell_alignment.rb,<br /> lib/axlsx/stylesheet/cell_protection.rb,<br /> lib/axlsx/workbook/worksheet/worksheet.rb,<br /> lib/axlsx/stylesheet/table_style_element.rb</span>
|
77
77
|
</dd>
|
78
78
|
|
79
79
|
</dl>
|
@@ -98,7 +98,7 @@ cell styles, automatically resized column widths and 3D pie charts.
|
|
98
98
|
|
99
99
|
|
100
100
|
|
101
|
-
<strong class="classes">Classes:</strong> <span class='object_link'><a href="Axlsx/App.html" title="Axlsx::App (class)">App</a></span>, <span class='object_link'><a href="Axlsx/Axis.html" title="Axlsx::Axis (class)">Axis</a></span>, <span class='object_link'><a href="Axlsx/Bar3DChart.html" title="Axlsx::Bar3DChart (class)">Bar3DChart</a></span>, <span class='object_link'><a href="Axlsx/BarSeries.html" title="Axlsx::BarSeries (class)">BarSeries</a></span>, <span class='object_link'><a href="Axlsx/Border.html" title="Axlsx::Border (class)">Border</a></span>, <span class='object_link'><a href="Axlsx/BorderPr.html" title="Axlsx::BorderPr (class)">BorderPr</a></span>, <span class='object_link'><a href="Axlsx/CatAxis.html" title="Axlsx::CatAxis (class)">CatAxis</a></span>, <span class='object_link'><a href="Axlsx/Cell.html" title="Axlsx::Cell (class)">Cell</a></span>, <span class='object_link'><a href="Axlsx/CellAlignment.html" title="Axlsx::CellAlignment (class)">CellAlignment</a></span>, <span class='object_link'><a href="Axlsx/CellProtection.html" title="Axlsx::CellProtection (class)">CellProtection</a></span>, <span class='object_link'><a href="Axlsx/CellStyle.html" title="Axlsx::CellStyle (class)">CellStyle</a></span>, <span class='object_link'><a href="Axlsx/Chart.html" title="Axlsx::Chart (class)">Chart</a></span>, <span class='object_link'><a href="Axlsx/Color.html" title="Axlsx::Color (class)">Color</a></span>, <span class='object_link'><a href="Axlsx/ContentType.html" title="Axlsx::ContentType (class)">ContentType</a></span>, <span class='object_link'><a href="Axlsx/Core.html" title="Axlsx::Core (class)">Core</a></span>, <span class='object_link'><a href="Axlsx/DataTypeValidator.html" title="Axlsx::DataTypeValidator (class)">DataTypeValidator</a></span>, <span class='object_link'><a href="Axlsx/Default.html" title="Axlsx::Default (class)">Default</a></span>, <span class='object_link'><a href="Axlsx/Drawing.html" title="Axlsx::Drawing (class)">Drawing</a></span>, <span class='object_link'><a href="Axlsx/Fill.html" title="Axlsx::Fill (class)">Fill</a></span>, <span class='object_link'><a href="Axlsx/Font.html" title="Axlsx::Font (class)">Font</a></span>, <span class='object_link'><a href="Axlsx/GradientFill.html" title="Axlsx::GradientFill (class)">GradientFill</a></span>, <span class='object_link'><a href="Axlsx/GradientStop.html" title="Axlsx::GradientStop (class)">GradientStop</a></span>, <span class='object_link'><a href="Axlsx/GraphicFrame.html" title="Axlsx::GraphicFrame (class)">GraphicFrame</a></span>, <span class='object_link'><a href="Axlsx/Line3DChart.html" title="Axlsx::Line3DChart (class)">Line3DChart</a></span>, <span class='object_link'><a href="Axlsx/LineSeries.html" title="Axlsx::LineSeries (class)">LineSeries</a></span>, <span class='object_link'><a href="Axlsx/Marker.html" title="Axlsx::Marker (class)">Marker</a></span>, <span class='object_link'><a href="Axlsx/NumFmt.html" title="Axlsx::NumFmt (class)">NumFmt</a></span>, <span class='object_link'><a href="Axlsx/Override.html" title="Axlsx::Override (class)">Override</a></span>, <span class='object_link'><a href="Axlsx/Package.html" title="Axlsx::Package (class)">Package</a></span>, <span class='object_link'><a href="Axlsx/PatternFill.html" title="Axlsx::PatternFill (class)">PatternFill</a></span>, <span class='object_link'><a href="Axlsx/Pie3DChart.html" title="Axlsx::Pie3DChart (class)">Pie3DChart</a></span>, <span class='object_link'><a href="Axlsx/PieSeries.html" title="Axlsx::PieSeries (class)">PieSeries</a></span>, <span class='object_link'><a href="Axlsx/RegexValidator.html" title="Axlsx::RegexValidator (class)">RegexValidator</a></span>, <span class='object_link'><a href="Axlsx/Relationship.html" title="Axlsx::Relationship (class)">Relationship</a></span>, <span class='object_link'><a href="Axlsx/Relationships.html" title="Axlsx::Relationships (class)">Relationships</a></span>, <span class='object_link'><a href="Axlsx/RestrictionValidator.html" title="Axlsx::RestrictionValidator (class)">RestrictionValidator</a></span>, <span class='object_link'><a href="Axlsx/Row.html" title="Axlsx::Row (class)">Row</a></span>, <span class='object_link'><a href="Axlsx/Scaling.html" title="Axlsx::Scaling (class)">Scaling</a></span>, <span class='object_link'><a href="Axlsx/SerAxis.html" title="Axlsx::SerAxis (class)">SerAxis</a></span>, <span class='object_link'><a href="Axlsx/Series.html" title="Axlsx::Series (class)">Series</a></span>, <span class='object_link'><a href="Axlsx/SeriesTitle.html" title="Axlsx::SeriesTitle (class)">SeriesTitle</a></span>, <span class='object_link'><a href="Axlsx/SimpleTypedList.html" title="Axlsx::SimpleTypedList (class)">SimpleTypedList</a></span>, <span class='object_link'><a href="Axlsx/Styles.html" title="Axlsx::Styles (class)">Styles</a></span>, <span class='object_link'><a href="Axlsx/TableStyle.html" title="Axlsx::TableStyle (class)">TableStyle</a></span>, <span class='object_link'><a href="Axlsx/TableStyleElement.html" title="Axlsx::TableStyleElement (class)">TableStyleElement</a></span>, <span class='object_link'><a href="Axlsx/TableStyles.html" title="Axlsx::TableStyles (class)">TableStyles</a></span>, <span class='object_link'><a href="Axlsx/Title.html" title="Axlsx::Title (class)">Title</a></span>, <span class='object_link'><a href="Axlsx/TwoCellAnchor.html" title="Axlsx::TwoCellAnchor (class)">TwoCellAnchor</a></span>, <span class='object_link'><a href="Axlsx/ValAxis.html" title="Axlsx::ValAxis (class)">ValAxis</a></span>, <span class='object_link'><a href="Axlsx/View3D.html" title="Axlsx::View3D (class)">View3D</a></span>, <span class='object_link'><a href="Axlsx/Workbook.html" title="Axlsx::Workbook (class)">Workbook</a></span>, <span class='object_link'><a href="Axlsx/Worksheet.html" title="Axlsx::Worksheet (class)">Worksheet</a></span>, <span class='object_link'><a href="Axlsx/Xf.html" title="Axlsx::Xf (class)">Xf</a></span>
|
101
|
+
<strong class="classes">Classes:</strong> <span class='object_link'><a href="Axlsx/App.html" title="Axlsx::App (class)">App</a></span>, <span class='object_link'><a href="Axlsx/Axis.html" title="Axlsx::Axis (class)">Axis</a></span>, <span class='object_link'><a href="Axlsx/Bar3DChart.html" title="Axlsx::Bar3DChart (class)">Bar3DChart</a></span>, <span class='object_link'><a href="Axlsx/BarSeries.html" title="Axlsx::BarSeries (class)">BarSeries</a></span>, <span class='object_link'><a href="Axlsx/Border.html" title="Axlsx::Border (class)">Border</a></span>, <span class='object_link'><a href="Axlsx/BorderPr.html" title="Axlsx::BorderPr (class)">BorderPr</a></span>, <span class='object_link'><a href="Axlsx/CatAxis.html" title="Axlsx::CatAxis (class)">CatAxis</a></span>, <span class='object_link'><a href="Axlsx/CatAxisData.html" title="Axlsx::CatAxisData (class)">CatAxisData</a></span>, <span class='object_link'><a href="Axlsx/Cell.html" title="Axlsx::Cell (class)">Cell</a></span>, <span class='object_link'><a href="Axlsx/CellAlignment.html" title="Axlsx::CellAlignment (class)">CellAlignment</a></span>, <span class='object_link'><a href="Axlsx/CellProtection.html" title="Axlsx::CellProtection (class)">CellProtection</a></span>, <span class='object_link'><a href="Axlsx/CellStyle.html" title="Axlsx::CellStyle (class)">CellStyle</a></span>, <span class='object_link'><a href="Axlsx/Chart.html" title="Axlsx::Chart (class)">Chart</a></span>, <span class='object_link'><a href="Axlsx/Color.html" title="Axlsx::Color (class)">Color</a></span>, <span class='object_link'><a href="Axlsx/ContentType.html" title="Axlsx::ContentType (class)">ContentType</a></span>, <span class='object_link'><a href="Axlsx/Core.html" title="Axlsx::Core (class)">Core</a></span>, <span class='object_link'><a href="Axlsx/DataTypeValidator.html" title="Axlsx::DataTypeValidator (class)">DataTypeValidator</a></span>, <span class='object_link'><a href="Axlsx/Default.html" title="Axlsx::Default (class)">Default</a></span>, <span class='object_link'><a href="Axlsx/Drawing.html" title="Axlsx::Drawing (class)">Drawing</a></span>, <span class='object_link'><a href="Axlsx/Fill.html" title="Axlsx::Fill (class)">Fill</a></span>, <span class='object_link'><a href="Axlsx/Font.html" title="Axlsx::Font (class)">Font</a></span>, <span class='object_link'><a href="Axlsx/GradientFill.html" title="Axlsx::GradientFill (class)">GradientFill</a></span>, <span class='object_link'><a href="Axlsx/GradientStop.html" title="Axlsx::GradientStop (class)">GradientStop</a></span>, <span class='object_link'><a href="Axlsx/GraphicFrame.html" title="Axlsx::GraphicFrame (class)">GraphicFrame</a></span>, <span class='object_link'><a href="Axlsx/Line3DChart.html" title="Axlsx::Line3DChart (class)">Line3DChart</a></span>, <span class='object_link'><a href="Axlsx/LineSeries.html" title="Axlsx::LineSeries (class)">LineSeries</a></span>, <span class='object_link'><a href="Axlsx/Marker.html" title="Axlsx::Marker (class)">Marker</a></span>, <span class='object_link'><a href="Axlsx/NumFmt.html" title="Axlsx::NumFmt (class)">NumFmt</a></span>, <span class='object_link'><a href="Axlsx/Override.html" title="Axlsx::Override (class)">Override</a></span>, <span class='object_link'><a href="Axlsx/Package.html" title="Axlsx::Package (class)">Package</a></span>, <span class='object_link'><a href="Axlsx/PatternFill.html" title="Axlsx::PatternFill (class)">PatternFill</a></span>, <span class='object_link'><a href="Axlsx/Pie3DChart.html" title="Axlsx::Pie3DChart (class)">Pie3DChart</a></span>, <span class='object_link'><a href="Axlsx/PieSeries.html" title="Axlsx::PieSeries (class)">PieSeries</a></span>, <span class='object_link'><a href="Axlsx/RegexValidator.html" title="Axlsx::RegexValidator (class)">RegexValidator</a></span>, <span class='object_link'><a href="Axlsx/Relationship.html" title="Axlsx::Relationship (class)">Relationship</a></span>, <span class='object_link'><a href="Axlsx/Relationships.html" title="Axlsx::Relationships (class)">Relationships</a></span>, <span class='object_link'><a href="Axlsx/RestrictionValidator.html" title="Axlsx::RestrictionValidator (class)">RestrictionValidator</a></span>, <span class='object_link'><a href="Axlsx/Row.html" title="Axlsx::Row (class)">Row</a></span>, <span class='object_link'><a href="Axlsx/Scaling.html" title="Axlsx::Scaling (class)">Scaling</a></span>, <span class='object_link'><a href="Axlsx/SerAxis.html" title="Axlsx::SerAxis (class)">SerAxis</a></span>, <span class='object_link'><a href="Axlsx/Series.html" title="Axlsx::Series (class)">Series</a></span>, <span class='object_link'><a href="Axlsx/SeriesTitle.html" title="Axlsx::SeriesTitle (class)">SeriesTitle</a></span>, <span class='object_link'><a href="Axlsx/SimpleTypedList.html" title="Axlsx::SimpleTypedList (class)">SimpleTypedList</a></span>, <span class='object_link'><a href="Axlsx/Styles.html" title="Axlsx::Styles (class)">Styles</a></span>, <span class='object_link'><a href="Axlsx/TableStyle.html" title="Axlsx::TableStyle (class)">TableStyle</a></span>, <span class='object_link'><a href="Axlsx/TableStyleElement.html" title="Axlsx::TableStyleElement (class)">TableStyleElement</a></span>, <span class='object_link'><a href="Axlsx/TableStyles.html" title="Axlsx::TableStyles (class)">TableStyles</a></span>, <span class='object_link'><a href="Axlsx/Title.html" title="Axlsx::Title (class)">Title</a></span>, <span class='object_link'><a href="Axlsx/TwoCellAnchor.html" title="Axlsx::TwoCellAnchor (class)">TwoCellAnchor</a></span>, <span class='object_link'><a href="Axlsx/ValAxis.html" title="Axlsx::ValAxis (class)">ValAxis</a></span>, <span class='object_link'><a href="Axlsx/ValAxisData.html" title="Axlsx::ValAxisData (class)">ValAxisData</a></span>, <span class='object_link'><a href="Axlsx/View3D.html" title="Axlsx::View3D (class)">View3D</a></span>, <span class='object_link'><a href="Axlsx/Workbook.html" title="Axlsx::Workbook (class)">Workbook</a></span>, <span class='object_link'><a href="Axlsx/Worksheet.html" title="Axlsx::Worksheet (class)">Worksheet</a></span>, <span class='object_link'><a href="Axlsx/Xf.html" title="Axlsx::Xf (class)">Xf</a></span>
|
102
102
|
|
103
103
|
|
104
104
|
</p>
|
@@ -122,7 +122,7 @@ version
|
|
122
122
|
|
123
123
|
</div>
|
124
124
|
</dt>
|
125
|
-
<dd><pre class="code"><span class='string val'>"1.0.
|
125
|
+
<dd><pre class="code"><span class='string val'>"1.0.7"</span>
|
126
126
|
</pre></dd>
|
127
127
|
|
128
128
|
<dt id="ENCODING-constant" class="">ENCODING =
|
@@ -2434,7 +2434,7 @@ The value validated
|
|
2434
2434
|
</div>
|
2435
2435
|
|
2436
2436
|
<div id="footer">
|
2437
|
-
Generated on
|
2437
|
+
Generated on Wed Nov 23 12:30:16 2011 by
|
2438
2438
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
2439
2439
|
0.7.3 (ruby-1.8.7).
|
2440
2440
|
</div>
|
data/doc/Axlsx/App.html
CHANGED
@@ -2631,7 +2631,7 @@ The document as a string
|
|
2631
2631
|
</div>
|
2632
2632
|
|
2633
2633
|
<div id="footer">
|
2634
|
-
Generated on
|
2634
|
+
Generated on Wed Nov 23 12:30:35 2011 by
|
2635
2635
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
2636
2636
|
0.7.3 (ruby-1.8.7).
|
2637
2637
|
</div>
|
data/doc/Axlsx/Axis.html
CHANGED
@@ -95,7 +95,7 @@
|
|
95
95
|
<h2>Overview</h2><div class="docstring">
|
96
96
|
<div class="discussion">
|
97
97
|
<p>
|
98
|
-
the access class defines common properties and values for chart axis
|
98
|
+
the access class defines common properties and values for a chart axis.
|
99
99
|
</p>
|
100
100
|
|
101
101
|
|
@@ -242,7 +242,7 @@ specifies how the perpendicular axis is crossed must be one of [:autoZero,
|
|
242
242
|
|
243
243
|
|
244
244
|
<span class="summary_desc"><div class='inline'><p>
|
245
|
-
The number format format code for this axis.
|
245
|
+
The number format format code for this axis default :General.
|
246
246
|
</p>
|
247
247
|
</div></span>
|
248
248
|
|
@@ -487,6 +487,25 @@ a customizable set of options
|
|
487
487
|
</ul>
|
488
488
|
|
489
489
|
|
490
|
+
<h3>Raises:</h3>
|
491
|
+
<ul class="raise">
|
492
|
+
|
493
|
+
<li>
|
494
|
+
|
495
|
+
|
496
|
+
<span class='type'>(<tt>ArgumentError</tt>)</span>
|
497
|
+
|
498
|
+
|
499
|
+
|
500
|
+
—
|
501
|
+
<div class='inline'><p>
|
502
|
+
If axId or crossAx are not unsigned integers
|
503
|
+
</p>
|
504
|
+
</div>
|
505
|
+
|
506
|
+
</li>
|
507
|
+
|
508
|
+
</ul>
|
490
509
|
|
491
510
|
</div><table class="source_code">
|
492
511
|
<tr>
|
@@ -494,7 +513,6 @@ a customizable set of options
|
|
494
513
|
<pre class="lines">
|
495
514
|
|
496
515
|
|
497
|
-
44
|
498
516
|
45
|
499
517
|
46
|
500
518
|
47
|
@@ -507,20 +525,21 @@ a customizable set of options
|
|
507
525
|
54
|
508
526
|
55
|
509
527
|
56
|
510
|
-
57
|
528
|
+
57
|
529
|
+
58</pre>
|
511
530
|
</td>
|
512
531
|
<td>
|
513
|
-
<pre class="code"><span class="info file"># File 'lib/axlsx/drawing/axis.rb', line
|
532
|
+
<pre class="code"><span class="info file"># File 'lib/axlsx/drawing/axis.rb', line 45</span>
|
514
533
|
|
515
534
|
<span class='def def kw'>def</span> <span class='initialize identifier id'>initialize</span><span class='lparen token'>(</span><span class='axId identifier id'>axId</span><span class='comma token'>,</span> <span class='crossAx identifier id'>crossAx</span><span class='comma token'>,</span> <span class='options identifier id'>options</span><span class='assign token'>=</span><span class='lbrace token'>{</span><span class='rbrace token'>}</span><span class='rparen token'>)</span>
|
516
535
|
<span class='Axlsx constant id'>Axlsx</span><span class='colon2 op'>::</span><span class='validate_unsigned_int identifier id'>validate_unsigned_int</span><span class='lparen token'>(</span><span class='axId identifier id'>axId</span><span class='rparen token'>)</span>
|
517
536
|
<span class='Axlsx constant id'>Axlsx</span><span class='colon2 op'>::</span><span class='validate_unsigned_int identifier id'>validate_unsigned_int</span><span class='lparen token'>(</span><span class='crossAx identifier id'>crossAx</span><span class='rparen token'>)</span>
|
518
537
|
<span class='@axId ivar id'>@axId</span> <span class='assign token'>=</span> <span class='axId identifier id'>axId</span>
|
519
538
|
<span class='@crossAx ivar id'>@crossAx</span> <span class='assign token'>=</span> <span class='crossAx identifier id'>crossAx</span>
|
539
|
+
<span class='@scaling ivar id'>@scaling</span> <span class='assign token'>=</span> <span class='Scaling constant id'>Scaling</span><span class='dot token'>.</span><span class='new identifier id'>new</span><span class='lparen token'>(</span><span class='symbol val'>:orientation=</span><span class='gt op'>></span><span class='symbol val'>:minMax</span><span class='rparen token'>)</span>
|
520
540
|
<span class='self self kw'>self</span><span class='dot token'>.</span><span class='axPos identifier id'>axPos</span> <span class='assign token'>=</span> <span class='symbol val'>:l</span>
|
521
541
|
<span class='self self kw'>self</span><span class='dot token'>.</span><span class='tickLblPos identifier id'>tickLblPos</span> <span class='assign token'>=</span> <span class='symbol val'>:nextTo</span>
|
522
|
-
<span class='
|
523
|
-
<span class='@formatCode ivar id'>@formatCode</span> <span class='assign token'>=</span> <span class='string val'>""</span>
|
542
|
+
<span class='self self kw'>self</span><span class='dot token'>.</span><span class='format_code identifier id'>format_code</span> <span class='assign token'>=</span> <span class='string val'>"General"</span>
|
524
543
|
<span class='self self kw'>self</span><span class='dot token'>.</span><span class='crosses identifier id'>crosses</span> <span class='assign token'>=</span> <span class='symbol val'>:autoZero</span>
|
525
544
|
<span class='options identifier id'>options</span><span class='dot token'>.</span><span class='each identifier id'>each</span> <span class='do do kw'>do</span> <span class='bitor op'>|</span><span class='o identifier id'>o</span><span class='bitor op'>|</span>
|
526
545
|
<span class='self self kw'>self</span><span class='dot token'>.</span><span class='send identifier id'>send</span><span class='lparen token'>(</span><span class='dstring node'>"#{o[0]}="</span><span class='comma token'>,</span> <span class='o identifier id'>o</span><span class='lbrack token'>[</span><span class='integer val'>1</span><span class='rbrack token'>]</span><span class='rparen token'>)</span> <span class='if if_mod kw'>if</span> <span class='self self kw'>self</span><span class='dot token'>.</span><span class='respond_to? fid id'>respond_to?</span> <span class='dstring node'>"#{o[0]}="</span>
|
@@ -550,7 +569,7 @@ a customizable set of options
|
|
550
569
|
</p><div class="docstring">
|
551
570
|
<div class="discussion">
|
552
571
|
<p>
|
553
|
-
the id of the axis
|
572
|
+
the id of the axis.
|
554
573
|
</p>
|
555
574
|
|
556
575
|
|
@@ -578,12 +597,12 @@ the id of the axis
|
|
578
597
|
<pre class="lines">
|
579
598
|
|
580
599
|
|
600
|
+
7
|
581
601
|
8
|
582
|
-
9
|
583
|
-
10</pre>
|
602
|
+
9</pre>
|
584
603
|
</td>
|
585
604
|
<td>
|
586
|
-
<pre class="code"><span class="info file"># File 'lib/axlsx/drawing/axis.rb', line
|
605
|
+
<pre class="code"><span class="info file"># File 'lib/axlsx/drawing/axis.rb', line 7</span>
|
587
606
|
|
588
607
|
<span class='def def kw'>def</span> <span class='axId identifier id'>axId</span>
|
589
608
|
<span class='@axId ivar id'>@axId</span>
|
@@ -692,12 +711,12 @@ The perpendicular axis
|
|
692
711
|
<pre class="lines">
|
693
712
|
|
694
713
|
|
714
|
+
11
|
695
715
|
12
|
696
|
-
13
|
697
|
-
14</pre>
|
716
|
+
13</pre>
|
698
717
|
</td>
|
699
718
|
<td>
|
700
|
-
<pre class="code"><span class="info file"># File 'lib/axlsx/drawing/axis.rb', line
|
719
|
+
<pre class="code"><span class="info file"># File 'lib/axlsx/drawing/axis.rb', line 11</span>
|
701
720
|
|
702
721
|
<span class='def def kw'>def</span> <span class='crossAx identifier id'>crossAx</span>
|
703
722
|
<span class='@crossAx ivar id'>@crossAx</span>
|
@@ -779,7 +798,7 @@ specifies how the perpendicular axis is crossed must be one of [:autoZero,
|
|
779
798
|
</p><div class="docstring">
|
780
799
|
<div class="discussion">
|
781
800
|
<p>
|
782
|
-
The number format format code for this axis
|
801
|
+
The number format format code for this axis default :General
|
783
802
|
</p>
|
784
803
|
|
785
804
|
|
@@ -858,6 +877,13 @@ The scaling of the axis
|
|
858
877
|
|
859
878
|
</ul>
|
860
879
|
|
880
|
+
<h3>See Also:</h3>
|
881
|
+
<ul class="see">
|
882
|
+
|
883
|
+
<li><span class='object_link'><a href="Scaling.html" title="Axlsx::Scaling (class)">Scaling</a></span></li>
|
884
|
+
|
885
|
+
</ul>
|
886
|
+
|
861
887
|
</div><table class="source_code">
|
862
888
|
<tr>
|
863
889
|
<td>
|
@@ -1003,7 +1029,6 @@ The document builder instance this objects xml will be added to.
|
|
1003
1029
|
<pre class="lines">
|
1004
1030
|
|
1005
1031
|
|
1006
|
-
67
|
1007
1032
|
68
|
1008
1033
|
69
|
1009
1034
|
70
|
@@ -1012,10 +1037,11 @@ The document builder instance this objects xml will be added to.
|
|
1012
1037
|
73
|
1013
1038
|
74
|
1014
1039
|
75
|
1015
|
-
76
|
1040
|
+
76
|
1041
|
+
77</pre>
|
1016
1042
|
</td>
|
1017
1043
|
<td>
|
1018
|
-
<pre class="code"><span class="info file"># File 'lib/axlsx/drawing/axis.rb', line
|
1044
|
+
<pre class="code"><span class="info file"># File 'lib/axlsx/drawing/axis.rb', line 68</span>
|
1019
1045
|
|
1020
1046
|
<span class='def def kw'>def</span> <span class='to_xml identifier id'>to_xml</span><span class='lparen token'>(</span><span class='xml identifier id'>xml</span><span class='rparen token'>)</span>
|
1021
1047
|
<span class='xml identifier id'>xml</span><span class='dot token'>.</span><span class='send identifier id'>send</span><span class='lparen token'>(</span><span class='string val'>'c:axId'</span><span class='comma token'>,</span> <span class='symbol val'>:val=</span><span class='gt op'>></span><span class='@axId ivar id'>@axId</span><span class='rparen token'>)</span>
|
@@ -1038,7 +1064,7 @@ The document builder instance this objects xml will be added to.
|
|
1038
1064
|
</div>
|
1039
1065
|
|
1040
1066
|
<div id="footer">
|
1041
|
-
Generated on
|
1067
|
+
Generated on Wed Nov 23 12:30:33 2011 by
|
1042
1068
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1043
1069
|
0.7.3 (ruby-1.8.7).
|
1044
1070
|
</div>
|
data/doc/Axlsx/Bar3DChart.html
CHANGED
@@ -106,54 +106,18 @@ that you can add to your worksheet.
|
|
106
106
|
</div>
|
107
107
|
<div class="tags">
|
108
108
|
|
109
|
-
<div class="examples">
|
110
|
-
<h3>Examples:</h3>
|
111
|
-
|
112
|
-
<h4><div class='inline'><p>
|
113
|
-
Creating a chart
|
114
|
-
</p>
|
115
|
-
</div></h4>
|
116
|
-
<pre class="example code"><span class='comment val'># This example creates two charts in a single sheet.</span>
|
117
|
-
<span class='comment val'># The first uses data directly fed to the sheet, while the second references cells withing the worksheet for data.</span>
|
118
|
-
|
119
|
-
<span class='require identifier id'>require</span> <span class='string val'>"rubygems"</span> <span class='comment val'># if that is your preferred way to manage gems!</span>
|
120
|
-
<span class='require identifier id'>require</span> <span class='string val'>"axlsx"</span>
|
121
|
-
|
122
|
-
<span class='p identifier id'>p</span> <span class='assign token'>=</span> <span class='Axlsx constant id'>Axlsx</span><span class='colon2 op'>::</span><span class='Package constant id'>Package</span><span class='dot token'>.</span><span class='new identifier id'>new</span>
|
123
|
-
<span class='ws identifier id'>ws</span> <span class='assign token'>=</span> <span class='p identifier id'>p</span><span class='dot token'>.</span><span class='workbook identifier id'>workbook</span><span class='dot token'>.</span><span class='add_worksheet identifier id'>add_worksheet</span>
|
124
|
-
<span class='ws identifier id'>ws</span><span class='dot token'>.</span><span class='add_row identifier id'>add_row</span> <span class='symbol val'>:values</span> <span class='assign token'>=</span><span class='gt op'>></span> <span class='lbrack token'>[</span><span class='string val'>"This is a chart with no data in the sheet"</span><span class='rbrack token'>]</span>
|
125
|
-
|
126
|
-
<span class='chart identifier id'>chart</span> <span class='assign token'>=</span> <span class='ws identifier id'>ws</span><span class='dot token'>.</span><span class='add_chart identifier id'>add_chart</span><span class='lparen token'>(</span><span class='Axlsx constant id'>Axlsx</span><span class='colon2 op'>::</span><span class='Bar3DChart constant id'>Bar3DChart</span><span class='comma token'>,</span> <span class='symbol val'>:start_at=</span><span class='gt op'>></span> <span class='lbrack token'>[</span><span class='integer val'>0</span><span class='comma token'>,</span><span class='integer val'>1</span><span class='rbrack token'>]</span><span class='comma token'>,</span> <span class='symbol val'>:end_at=</span><span class='gt op'>></span><span class='lbrack token'>[</span><span class='integer val'>0</span><span class='comma token'>,</span><span class='integer val'>6</span><span class='rbrack token'>]</span><span class='comma token'>,</span> <span class='symbol val'>:title=</span><span class='gt op'>></span><span class='string val'>"Most Popular Pets"</span><span class='rparen token'>)</span>
|
127
|
-
<span class='chart identifier id'>chart</span><span class='dot token'>.</span><span class='add_series identifier id'>add_series</span> <span class='symbol val'>:data</span> <span class='assign token'>=</span><span class='gt op'>></span> <span class='lbrack token'>[</span><span class='integer val'>1</span><span class='comma token'>,</span> <span class='integer val'>9</span><span class='comma token'>,</span> <span class='integer val'>10</span><span class='rbrack token'>]</span><span class='comma token'>,</span> <span class='symbol val'>:labels</span> <span class='assign token'>=</span><span class='gt op'>></span> <span class='lbrack token'>[</span><span class='string val'>"Slimy Reptiles"</span><span class='comma token'>,</span> <span class='string val'>"Fuzzy Bunnies"</span><span class='comma token'>,</span> <span class='string val'>"Rottweiler"</span><span class='rbrack token'>]</span>
|
128
|
-
|
129
|
-
<span class='ws identifier id'>ws</span><span class='dot token'>.</span><span class='add_row identifier id'>add_row</span> <span class='symbol val'>:values</span> <span class='assign token'>=</span><span class='gt op'>></span> <span class='lbrack token'>[</span><span class='string val'>"This chart uses the data below"</span><span class='rbrack token'>]</span>
|
130
|
-
<span class='title_row identifier id'>title_row</span> <span class='assign token'>=</span> <span class='ws identifier id'>ws</span><span class='dot token'>.</span><span class='add_row identifier id'>add_row</span> <span class='symbol val'>:values</span> <span class='assign token'>=</span><span class='gt op'>></span> <span class='lbrack token'>[</span><span class='string val'>"Least Popular Pets"</span><span class='rbrack token'>]</span>
|
131
|
-
<span class='label_row identifier id'>label_row</span> <span class='assign token'>=</span> <span class='ws identifier id'>ws</span><span class='dot token'>.</span><span class='add_row identifier id'>add_row</span> <span class='symbol val'>:values</span> <span class='assign token'>=</span><span class='gt op'>></span> <span class='lbrack token'>[</span><span class='string val'>""</span><span class='comma token'>,</span> <span class='string val'>"Dry Skinned Reptiles"</span><span class='comma token'>,</span> <span class='string val'>"Bald Cats"</span><span class='comma token'>,</span> <span class='string val'>"Violent Parrots"</span><span class='rbrack token'>]</span>
|
132
|
-
<span class='data_row identifier id'>data_row</span> <span class='assign token'>=</span> <span class='ws identifier id'>ws</span><span class='dot token'>.</span><span class='add_row identifier id'>add_row</span> <span class='symbol val'>:values</span> <span class='assign token'>=</span><span class='gt op'>></span> <span class='lbrack token'>[</span><span class='string val'>"Votes"</span><span class='comma token'>,</span> <span class='integer val'>6</span><span class='comma token'>,</span> <span class='integer val'>4</span><span class='comma token'>,</span> <span class='integer val'>1</span><span class='rbrack token'>]</span>
|
133
|
-
|
134
|
-
<span class='chart identifier id'>chart</span> <span class='assign token'>=</span> <span class='ws identifier id'>ws</span><span class='dot token'>.</span><span class='add_chart identifier id'>add_chart</span><span class='lparen token'>(</span><span class='Axlsx constant id'>Axlsx</span><span class='colon2 op'>::</span><span class='Pie3DChart constant id'>Pie3DChart</span><span class='comma token'>,</span> <span class='symbol val'>:start_at</span> <span class='assign token'>=</span><span class='gt op'>></span> <span class='lbrack token'>[</span><span class='integer val'>0</span><span class='comma token'>,</span><span class='integer val'>11</span><span class='rbrack token'>]</span><span class='comma token'>,</span> <span class='symbol val'>:end_at</span> <span class='assign token'>=</span><span class='gt op'>></span><span class='lbrack token'>[</span><span class='integer val'>0</span><span class='comma token'>,</span><span class='integer val'>16</span><span class='rbrack token'>]</span><span class='comma token'>,</span> <span class='symbol val'>:title</span> <span class='assign token'>=</span><span class='gt op'>></span> <span class='title_row identifier id'>title_row</span><span class='dot token'>.</span><span class='cells identifier id'>cells</span><span class='dot token'>.</span><span class='last identifier id'>last</span><span class='rparen token'>)</span>
|
135
|
-
<span class='chart identifier id'>chart</span><span class='dot token'>.</span><span class='add_series identifier id'>add_series</span> <span class='symbol val'>:data</span> <span class='assign token'>=</span><span class='gt op'>></span> <span class='data_row identifier id'>data_row</span><span class='dot token'>.</span><span class='cells identifier id'>cells</span><span class='lbrack token'>[</span><span class='lparen token'>(</span><span class='float val'>1</span><span class='dot2 op'>..</span><span class='integer val'>-1</span><span class='rparen token'>)</span><span class='rbrack token'>]</span><span class='comma token'>,</span> <span class='symbol val'>:labels</span> <span class='assign token'>=</span><span class='gt op'>></span> <span class='label_row identifier id'>label_row</span><span class='dot token'>.</span><span class='cells identifier id'>cells</span>
|
136
|
-
|
137
|
-
<span class='f identifier id'>f</span> <span class='assign token'>=</span> <span class='File constant id'>File</span><span class='dot token'>.</span><span class='open identifier id'>open</span><span class='lparen token'>(</span><span class='string val'>'example_pie_3d_chart.xlsx'</span><span class='comma token'>,</span> <span class='string val'>'w'</span><span class='rparen token'>)</span>
|
138
|
-
<span class='p identifier id'>p</span><span class='dot token'>.</span><span class='serialize identifier id'>serialize</span><span class='lparen token'>(</span><span class='f identifier id'>f</span><span class='rparen token'>)</span>
|
139
|
-
</pre>
|
140
|
-
|
141
|
-
</div>
|
142
|
-
|
143
109
|
|
144
110
|
<h3>See Also:</h3>
|
145
111
|
<ul class="see">
|
146
112
|
|
147
113
|
<li><span class='object_link'><a href="Worksheet.html#add_chart-instance_method" title="Axlsx::Worksheet#add_chart (method)">Worksheet#add_chart</a></span></li>
|
148
114
|
|
149
|
-
<li><span class='object_link'><a href="Worksheet.html#add_row-instance_method" title="Axlsx::Worksheet#add_row (method)">Worksheet#add_row</a></span></li>
|
150
|
-
|
151
115
|
<li><span class='object_link'><a href="Chart.html#add_series-instance_method" title="Axlsx::Chart#add_series (method)">Chart#add_series</a></span></li>
|
152
116
|
|
153
|
-
<li><span class='object_link'><a href="Series.html" title="Axlsx::Series (class)">Series</a></span></li>
|
154
|
-
|
155
117
|
<li><span class='object_link'><a href="Package.html#serialize-instance_method" title="Axlsx::Package#serialize (method)">Package#serialize</a></span></li>
|
156
118
|
|
119
|
+
<li>for an example</li>
|
120
|
+
|
157
121
|
</ul>
|
158
122
|
|
159
123
|
</div>
|
@@ -347,8 +311,8 @@ grouping for a column, line, or area chart.
|
|
347
311
|
|
348
312
|
|
349
313
|
<span class="summary_desc"><div class='inline'><p>
|
350
|
-
The shabe of the bars or columns must be one of [:
|
351
|
-
:
|
314
|
+
The shabe of the bars or columns must be one of [:cone, :coneToMax, :box,
|
315
|
+
:cylinder, :pyramid, :pyramidToMax].
|
352
316
|
</p>
|
353
317
|
</div></span>
|
354
318
|
|
@@ -375,7 +339,7 @@ The shabe of the bars or columns must be one of [:percentStacked,
|
|
375
339
|
|
376
340
|
|
377
341
|
<span class="summary_desc"><div class='inline'><p>
|
378
|
-
the
|
342
|
+
the valueaxis.
|
379
343
|
</p>
|
380
344
|
</div></span>
|
381
345
|
|
@@ -392,7 +356,7 @@ the category axis.
|
|
392
356
|
|
393
357
|
|
394
358
|
<h3 class="inherited">Attributes inherited from <span class='object_link'><a href="Chart.html" title="Axlsx::Chart (class)">Chart</a></span></h3>
|
395
|
-
<p class="inherited"><span class='object_link'><a href="Chart.html#
|
359
|
+
<p class="inherited"><span class='object_link'><a href="Chart.html#graphic_frame-instance_method" title="Axlsx::Chart#graphic_frame (method)">graphic_frame</a></span>, <span class='object_link'><a href="Chart.html#index-instance_method" title="Axlsx::Chart#index (method)">index</a></span>, <span class='object_link'><a href="Chart.html#pn-instance_method" title="Axlsx::Chart#pn (method)">pn</a></span>, <span class='object_link'><a href="Chart.html#series-instance_method" title="Axlsx::Chart#series (method)">series</a></span>, <span class='object_link'><a href="Chart.html#series_type-instance_method" title="Axlsx::Chart#series_type (method)">series_type</a></span>, <span class='object_link'><a href="Chart.html#show_legend-instance_method" title="Axlsx::Chart#show_legend (method)">show_legend</a></span>, <span class='object_link'><a href="Chart.html#style-instance_method" title="Axlsx::Chart#style (method)">style</a></span>, <span class='object_link'><a href="Chart.html#title-instance_method" title="Axlsx::Chart#title (method)">title</a></span>, <span class='object_link'><a href="Chart.html#view3D-instance_method" title="Axlsx::Chart#view3D (method)">view3D</a></span></p>
|
396
360
|
|
397
361
|
|
398
362
|
|
@@ -465,7 +429,7 @@ Serializes the bar chart.
|
|
465
429
|
|
466
430
|
|
467
431
|
<h3 class="inherited">Methods inherited from <span class='object_link'><a href="Chart.html" title="Axlsx::Chart (class)">Chart</a></span></h3>
|
468
|
-
<p class="inherited"><span class='object_link'><a href="Chart.html#add_series-instance_method" title="Axlsx::Chart#add_series (method)">#add_series</a></span></p>
|
432
|
+
<p class="inherited"><span class='object_link'><a href="Chart.html#add_series-instance_method" title="Axlsx::Chart#add_series (method)">#add_series</a></span>, <span class='object_link'><a href="Chart.html#end_at-instance_method" title="Axlsx::Chart#end_at (method)">#end_at</a></span>, <span class='object_link'><a href="Chart.html#from-instance_method" title="Axlsx::Chart#from (method)">#from</a></span>, <span class='object_link'><a href="Chart.html#start_at-instance_method" title="Axlsx::Chart#start_at (method)">#start_at</a></span>, <span class='object_link'><a href="Chart.html#to-instance_method" title="Axlsx::Chart#to (method)">#to</a></span></p>
|
469
433
|
<div id="constructor_details" class="method_details_list">
|
470
434
|
<h2>Constructor Details</h2>
|
471
435
|
|
@@ -598,30 +562,93 @@ a customizable set of options
|
|
598
562
|
|
599
563
|
</li>
|
600
564
|
|
565
|
+
<li>
|
566
|
+
<span class="name">rotX</span>
|
567
|
+
<span class="type">(<tt>Integer</tt>)</span>
|
568
|
+
<span class="default">
|
569
|
+
|
570
|
+
</span>
|
571
|
+
|
572
|
+
</li>
|
573
|
+
|
574
|
+
<li>
|
575
|
+
<span class="name">hPercent</span>
|
576
|
+
<span class="type">(<tt>String</tt>)</span>
|
577
|
+
<span class="default">
|
578
|
+
|
579
|
+
</span>
|
580
|
+
|
581
|
+
</li>
|
582
|
+
|
583
|
+
<li>
|
584
|
+
<span class="name">rotY</span>
|
585
|
+
<span class="type">(<tt>Integer</tt>)</span>
|
586
|
+
<span class="default">
|
587
|
+
|
588
|
+
</span>
|
589
|
+
|
590
|
+
</li>
|
591
|
+
|
592
|
+
<li>
|
593
|
+
<span class="name">depthPercent</span>
|
594
|
+
<span class="type">(<tt>String</tt>)</span>
|
595
|
+
<span class="default">
|
596
|
+
|
597
|
+
</span>
|
598
|
+
|
599
|
+
</li>
|
600
|
+
|
601
|
+
<li>
|
602
|
+
<span class="name">rAngAx</span>
|
603
|
+
<span class="type">(<tt>Boolean</tt>)</span>
|
604
|
+
<span class="default">
|
605
|
+
|
606
|
+
</span>
|
607
|
+
|
608
|
+
</li>
|
609
|
+
|
610
|
+
<li>
|
611
|
+
<span class="name">perspective</span>
|
612
|
+
<span class="type">(<tt>Integer</tt>)</span>
|
613
|
+
<span class="default">
|
614
|
+
|
615
|
+
</span>
|
616
|
+
|
617
|
+
</li>
|
618
|
+
|
601
619
|
</ul>
|
602
620
|
|
603
621
|
|
604
622
|
|
623
|
+
<h3>See Also:</h3>
|
624
|
+
<ul class="see">
|
625
|
+
|
626
|
+
<li><span class='object_link'><a href="Chart.html" title="Axlsx::Chart (class)">Chart</a></span></li>
|
627
|
+
|
628
|
+
<li><span class='object_link'><a href="View3D.html" title="Axlsx::View3D (class)">View3D</a></span></li>
|
629
|
+
|
630
|
+
</ul>
|
631
|
+
|
605
632
|
</div><table class="source_code">
|
606
633
|
<tr>
|
607
634
|
<td>
|
608
635
|
<pre class="lines">
|
609
636
|
|
610
637
|
|
611
|
-
|
612
|
-
|
613
|
-
|
614
|
-
|
615
|
-
|
616
|
-
|
617
|
-
|
618
|
-
|
619
|
-
|
620
|
-
|
621
|
-
|
638
|
+
61
|
639
|
+
62
|
640
|
+
63
|
641
|
+
64
|
642
|
+
65
|
643
|
+
66
|
644
|
+
67
|
645
|
+
68
|
646
|
+
69
|
647
|
+
70
|
648
|
+
71</pre>
|
622
649
|
</td>
|
623
650
|
<td>
|
624
|
-
<pre class="code"><span class="info file"># File 'lib/axlsx/drawing/bar_3D_chart.rb', line
|
651
|
+
<pre class="code"><span class="info file"># File 'lib/axlsx/drawing/bar_3D_chart.rb', line 61</span>
|
625
652
|
|
626
653
|
<span class='def def kw'>def</span> <span class='initialize identifier id'>initialize</span><span class='lparen token'>(</span><span class='frame identifier id'>frame</span><span class='comma token'>,</span> <span class='options identifier id'>options</span><span class='assign token'>=</span><span class='lbrace token'>{</span><span class='rbrace token'>}</span><span class='rparen token'>)</span>
|
627
654
|
<span class='@barDir ivar id'>@barDir</span> <span class='assign token'>=</span> <span class='symbol val'>:bar</span>
|
@@ -630,9 +657,9 @@ a customizable set of options
|
|
630
657
|
<span class='@valAxId ivar id'>@valAxId</span> <span class='assign token'>=</span> <span class='rand identifier id'>rand</span><span class='lparen token'>(</span><span class='integer val'>8</span> <span class='pow op'>**</span> <span class='integer val'>8</span><span class='rparen token'>)</span>
|
631
658
|
<span class='@catAxis ivar id'>@catAxis</span> <span class='assign token'>=</span> <span class='CatAxis constant id'>CatAxis</span><span class='dot token'>.</span><span class='new identifier id'>new</span><span class='lparen token'>(</span><span class='@catAxId ivar id'>@catAxId</span><span class='comma token'>,</span> <span class='@valAxId ivar id'>@valAxId</span><span class='rparen token'>)</span>
|
632
659
|
<span class='@valAxis ivar id'>@valAxis</span> <span class='assign token'>=</span> <span class='ValAxis constant id'>ValAxis</span><span class='dot token'>.</span><span class='new identifier id'>new</span><span class='lparen token'>(</span><span class='@valAxId ivar id'>@valAxId</span><span class='comma token'>,</span> <span class='@catAxId ivar id'>@catAxId</span><span class='rparen token'>)</span>
|
633
|
-
<span class='@view3D ivar id'>@view3D</span> <span class='assign token'>=</span> <span class='View3D constant id'>View3D</span><span class='dot token'>.</span><span class='new identifier id'>new</span><span class='lparen token'>(</span><span class='symbol val'>:rAngAx=</span><span class='gt op'>></span><span class='integer val'>1</span><span class='rparen token'>)</span>
|
634
660
|
<span class='super super kw'>super</span><span class='lparen token'>(</span><span class='frame identifier id'>frame</span><span class='comma token'>,</span> <span class='options identifier id'>options</span><span class='rparen token'>)</span>
|
635
661
|
<span class='@series_type ivar id'>@series_type</span> <span class='assign token'>=</span> <span class='BarSeries constant id'>BarSeries</span>
|
662
|
+
<span class='@view3D ivar id'>@view3D</span> <span class='assign token'>=</span> <span class='View3D constant id'>View3D</span><span class='dot token'>.</span><span class='new identifier id'>new</span><span class='lparen token'>(</span><span class='lbrace token'>{</span><span class='symbol val'>:rAngAx=</span><span class='gt op'>></span><span class='integer val'>1</span><span class='rbrace token'>}</span><span class='dot token'>.</span><span class='merge identifier id'>merge</span><span class='lparen token'>(</span><span class='options identifier id'>options</span><span class='rparen token'>)</span><span class='rparen token'>)</span>
|
636
663
|
<span class='end end kw'>end</span>
|
637
664
|
</pre>
|
638
665
|
</td>
|
@@ -686,12 +713,12 @@ The direction of the bars in the chart must be one of [:bar, :col]
|
|
686
713
|
<pre class="lines">
|
687
714
|
|
688
715
|
|
689
|
-
|
690
|
-
|
691
|
-
|
716
|
+
21
|
717
|
+
22
|
718
|
+
23</pre>
|
692
719
|
</td>
|
693
720
|
<td>
|
694
|
-
<pre class="code"><span class="info file"># File 'lib/axlsx/drawing/bar_3D_chart.rb', line
|
721
|
+
<pre class="code"><span class="info file"># File 'lib/axlsx/drawing/bar_3D_chart.rb', line 21</span>
|
695
722
|
|
696
723
|
<span class='def def kw'>def</span> <span class='barDir identifier id'>barDir</span>
|
697
724
|
<span class='@barDir ivar id'>@barDir</span>
|
@@ -743,12 +770,12 @@ the category axis
|
|
743
770
|
<pre class="lines">
|
744
771
|
|
745
772
|
|
746
|
-
|
747
|
-
|
748
|
-
|
773
|
+
12
|
774
|
+
13
|
775
|
+
14</pre>
|
749
776
|
</td>
|
750
777
|
<td>
|
751
|
-
<pre class="code"><span class="info file"># File 'lib/axlsx/drawing/bar_3D_chart.rb', line
|
778
|
+
<pre class="code"><span class="info file"># File 'lib/axlsx/drawing/bar_3D_chart.rb', line 12</span>
|
752
779
|
|
753
780
|
<span class='def def kw'>def</span> <span class='catAxis identifier id'>catAxis</span>
|
754
781
|
<span class='@catAxis ivar id'>@catAxis</span>
|
@@ -801,12 +828,12 @@ width.
|
|
801
828
|
<pre class="lines">
|
802
829
|
|
803
830
|
|
804
|
-
|
805
|
-
|
806
|
-
|
831
|
+
25
|
832
|
+
26
|
833
|
+
27</pre>
|
807
834
|
</td>
|
808
835
|
<td>
|
809
|
-
<pre class="code"><span class="info file"># File 'lib/axlsx/drawing/bar_3D_chart.rb', line
|
836
|
+
<pre class="code"><span class="info file"># File 'lib/axlsx/drawing/bar_3D_chart.rb', line 25</span>
|
810
837
|
|
811
838
|
<span class='def def kw'>def</span> <span class='gapDepth identifier id'>gapDepth</span>
|
812
839
|
<span class='@gapDepth ivar id'>@gapDepth</span>
|
@@ -859,12 +886,12 @@ width.
|
|
859
886
|
<pre class="lines">
|
860
887
|
|
861
888
|
|
862
|
-
|
863
|
-
|
864
|
-
|
889
|
+
29
|
890
|
+
30
|
891
|
+
31</pre>
|
865
892
|
</td>
|
866
893
|
<td>
|
867
|
-
<pre class="code"><span class="info file"># File 'lib/axlsx/drawing/bar_3D_chart.rb', line
|
894
|
+
<pre class="code"><span class="info file"># File 'lib/axlsx/drawing/bar_3D_chart.rb', line 29</span>
|
868
895
|
|
869
896
|
<span class='def def kw'>def</span> <span class='gapWidth identifier id'>gapWidth</span>
|
870
897
|
<span class='@gapWidth ivar id'>@gapWidth</span>
|
@@ -917,12 +944,12 @@ grouping for a column, line, or area chart. must be one of
|
|
917
944
|
<pre class="lines">
|
918
945
|
|
919
946
|
|
920
|
-
|
921
|
-
|
922
|
-
|
947
|
+
34
|
948
|
+
35
|
949
|
+
36</pre>
|
923
950
|
</td>
|
924
951
|
<td>
|
925
|
-
<pre class="code"><span class="info file"># File 'lib/axlsx/drawing/bar_3D_chart.rb', line
|
952
|
+
<pre class="code"><span class="info file"># File 'lib/axlsx/drawing/bar_3D_chart.rb', line 34</span>
|
926
953
|
|
927
954
|
<span class='def def kw'>def</span> <span class='grouping identifier id'>grouping</span>
|
928
955
|
<span class='@grouping ivar id'>@grouping</span>
|
@@ -946,8 +973,8 @@ grouping for a column, line, or area chart. must be one of
|
|
946
973
|
</p><div class="docstring">
|
947
974
|
<div class="discussion">
|
948
975
|
<p>
|
949
|
-
The shabe of the bars or columns must be one of [:
|
950
|
-
:
|
976
|
+
The shabe of the bars or columns must be one of [:cone, :coneToMax, :box,
|
977
|
+
:cylinder, :pyramid, :pyramidToMax]
|
951
978
|
</p>
|
952
979
|
|
953
980
|
|
@@ -975,12 +1002,12 @@ The shabe of the bars or columns must be one of [:percentStacked,
|
|
975
1002
|
<pre class="lines">
|
976
1003
|
|
977
1004
|
|
978
|
-
|
979
|
-
|
980
|
-
|
1005
|
+
39
|
1006
|
+
40
|
1007
|
+
41</pre>
|
981
1008
|
</td>
|
982
1009
|
<td>
|
983
|
-
<pre class="code"><span class="info file"># File 'lib/axlsx/drawing/bar_3D_chart.rb', line
|
1010
|
+
<pre class="code"><span class="info file"># File 'lib/axlsx/drawing/bar_3D_chart.rb', line 39</span>
|
984
1011
|
|
985
1012
|
<span class='def def kw'>def</span> <span class='shape identifier id'>shape</span>
|
986
1013
|
<span class='@shape ivar id'>@shape</span>
|
@@ -1004,7 +1031,7 @@ The shabe of the bars or columns must be one of [:percentStacked,
|
|
1004
1031
|
</p><div class="docstring">
|
1005
1032
|
<div class="discussion">
|
1006
1033
|
<p>
|
1007
|
-
the
|
1034
|
+
the valueaxis
|
1008
1035
|
</p>
|
1009
1036
|
|
1010
1037
|
|
@@ -1032,12 +1059,12 @@ the category axis
|
|
1032
1059
|
<pre class="lines">
|
1033
1060
|
|
1034
1061
|
|
1035
|
-
|
1036
|
-
|
1037
|
-
|
1062
|
+
16
|
1063
|
+
17
|
1064
|
+
18</pre>
|
1038
1065
|
</td>
|
1039
1066
|
<td>
|
1040
|
-
<pre class="code"><span class="info file"># File 'lib/axlsx/drawing/bar_3D_chart.rb', line
|
1067
|
+
<pre class="code"><span class="info file"># File 'lib/axlsx/drawing/bar_3D_chart.rb', line 16</span>
|
1041
1068
|
|
1042
1069
|
<span class='def def kw'>def</span> <span class='valAxis identifier id'>valAxis</span>
|
1043
1070
|
<span class='@valAxis ivar id'>@valAxis</span>
|
@@ -1093,27 +1120,27 @@ Serializes the bar chart
|
|
1093
1120
|
<pre class="lines">
|
1094
1121
|
|
1095
1122
|
|
1096
|
-
|
1097
|
-
|
1098
|
-
|
1099
|
-
|
1100
|
-
|
1101
|
-
|
1102
|
-
|
1103
|
-
|
1104
|
-
|
1105
|
-
|
1106
|
-
|
1107
|
-
|
1108
|
-
|
1109
|
-
|
1110
|
-
|
1111
|
-
|
1112
|
-
|
1113
|
-
|
1123
|
+
101
|
1124
|
+
102
|
1125
|
+
103
|
1126
|
+
104
|
1127
|
+
105
|
1128
|
+
106
|
1129
|
+
107
|
1130
|
+
108
|
1131
|
+
109
|
1132
|
+
110
|
1133
|
+
111
|
1134
|
+
112
|
1135
|
+
113
|
1136
|
+
114
|
1137
|
+
115
|
1138
|
+
116
|
1139
|
+
117
|
1140
|
+
118</pre>
|
1114
1141
|
</td>
|
1115
1142
|
<td>
|
1116
|
-
<pre class="code"><span class="info file"># File 'lib/axlsx/drawing/bar_3D_chart.rb', line
|
1143
|
+
<pre class="code"><span class="info file"># File 'lib/axlsx/drawing/bar_3D_chart.rb', line 101</span>
|
1117
1144
|
|
1118
1145
|
<span class='def def kw'>def</span> <span class='to_xml identifier id'>to_xml</span>
|
1119
1146
|
<span class='super super kw'>super</span><span class='lparen token'>(</span><span class='rparen token'>)</span> <span class='do do kw'>do</span> <span class='bitor op'>|</span><span class='xml identifier id'>xml</span><span class='bitor op'>|</span>
|
@@ -1144,7 +1171,7 @@ Serializes the bar chart
|
|
1144
1171
|
</div>
|
1145
1172
|
|
1146
1173
|
<div id="footer">
|
1147
|
-
Generated on
|
1174
|
+
Generated on Wed Nov 23 12:30:21 2011 by
|
1148
1175
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1149
1176
|
0.7.3 (ruby-1.8.7).
|
1150
1177
|
</div>
|