summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorRandy Morgan <[email protected]>2011-11-23 12:28:10 +0900
committerRandy Morgan <[email protected]>2011-11-23 12:28:10 +0900
commit6739c249e7bf3cf7d2132b2aa49b6faf6bebec29 (patch)
treec68e1527212c3665464debeebd2d97c127b0887e
parent099a1d5a7824b7a6392bfe2f124ebeaf9d8122db (diff)
downloadcaxlsx-6739c249e7bf3cf7d2132b2aa49b6faf6bebec29.tar.gz
caxlsx-6739c249e7bf3cf7d2132b2aa49b6faf6bebec29.zip
-refactoring chart position and axis data/category for chart.
-additional specs and documentation improvements.
-rw-r--r--.yardoc/checksums44
-rw-r--r--.yardoc/objects/root.datbin425341 -> 427683 bytes
-rw-r--r--.yardoc/proxy_typesbin38 -> 53 bytes
-rw-r--r--.yardopts_guide19
-rw-r--r--README.md23
-rw-r--r--doc/Axlsx.html6
-rw-r--r--doc/Axlsx/App.html2
-rw-r--r--doc/Axlsx/Axis.html64
-rw-r--r--doc/Axlsx/Bar3DChart.html241
-rw-r--r--doc/Axlsx/BarSeries.html70
-rw-r--r--doc/Axlsx/Border.html2
-rw-r--r--doc/Axlsx/BorderPr.html2
-rw-r--r--doc/Axlsx/CatAxis.html65
-rw-r--r--doc/Axlsx/CatAxisData.html400
-rw-r--r--doc/Axlsx/Cell.html2
-rw-r--r--doc/Axlsx/CellAlignment.html2
-rw-r--r--doc/Axlsx/CellProtection.html2
-rw-r--r--doc/Axlsx/CellStyle.html2
-rw-r--r--doc/Axlsx/Chart.html661
-rw-r--r--doc/Axlsx/Color.html2
-rw-r--r--doc/Axlsx/ContentType.html4
-rw-r--r--doc/Axlsx/Core.html2
-rw-r--r--doc/Axlsx/DataTypeValidator.html2
-rw-r--r--doc/Axlsx/Default.html2
-rw-r--r--doc/Axlsx/Drawing.html156
-rw-r--r--doc/Axlsx/Fill.html2
-rw-r--r--doc/Axlsx/Font.html2
-rw-r--r--doc/Axlsx/GradientFill.html2
-rw-r--r--doc/Axlsx/GradientStop.html2
-rw-r--r--doc/Axlsx/GraphicFrame.html12
-rw-r--r--doc/Axlsx/Line3DChart.html137
-rw-r--r--doc/Axlsx/LineSeries.html90
-rw-r--r--doc/Axlsx/Marker.html2
-rw-r--r--doc/Axlsx/NumFmt.html2
-rw-r--r--doc/Axlsx/Override.html2
-rw-r--r--doc/Axlsx/Package.html2
-rw-r--r--doc/Axlsx/PatternFill.html2
-rw-r--r--doc/Axlsx/Pie3DChart.html184
-rw-r--r--doc/Axlsx/PieSeries.html119
-rw-r--r--doc/Axlsx/RegexValidator.html2
-rw-r--r--doc/Axlsx/Relationship.html2
-rw-r--r--doc/Axlsx/Relationships.html4
-rw-r--r--doc/Axlsx/RestrictionValidator.html2
-rw-r--r--doc/Axlsx/Row.html2
-rw-r--r--doc/Axlsx/Scaling.html2
-rw-r--r--doc/Axlsx/SerAxis.html89
-rw-r--r--doc/Axlsx/Series.html35
-rw-r--r--doc/Axlsx/SeriesTitle.html5
-rw-r--r--doc/Axlsx/SimpleTypedList.html103
-rw-r--r--doc/Axlsx/Styles.html2
-rw-r--r--doc/Axlsx/TableStyle.html4
-rw-r--r--doc/Axlsx/TableStyleElement.html2
-rw-r--r--doc/Axlsx/TableStyles.html4
-rw-r--r--doc/Axlsx/Title.html2
-rw-r--r--doc/Axlsx/TwoCellAnchor.html320
-rw-r--r--doc/Axlsx/ValAxis.html15
-rw-r--r--doc/Axlsx/ValAxisData.html326
-rw-r--r--doc/Axlsx/View3D.html78
-rw-r--r--doc/Axlsx/Workbook.html2
-rw-r--r--doc/Axlsx/Worksheet.html123
-rw-r--r--doc/Axlsx/Xf.html2
-rw-r--r--doc/_index.html16
-rw-r--r--doc/class_list.html2
-rw-r--r--doc/file.README.html24
-rw-r--r--doc/index.html24
-rw-r--r--doc/method_list.html880
-rw-r--r--doc/top-level-namespace.html2
-rw-r--r--examples/example.rb5
-rw-r--r--lib/axlsx/drawing/axis.rb13
-rw-r--r--lib/axlsx/drawing/bar_3D_chart.rb42
-rw-r--r--lib/axlsx/drawing/bar_series.rb41
-rw-r--r--lib/axlsx/drawing/cat_axis.rb18
-rw-r--r--lib/axlsx/drawing/cat_axis_data.rb34
-rw-r--r--lib/axlsx/drawing/chart.rb69
-rw-r--r--lib/axlsx/drawing/drawing.rb26
-rw-r--r--lib/axlsx/drawing/graphic_frame.rb1
-rw-r--r--lib/axlsx/drawing/line_3D_chart.rb12
-rw-r--r--lib/axlsx/drawing/line_series.rb50
-rw-r--r--lib/axlsx/drawing/pie_3D_chart.rb51
-rw-r--r--lib/axlsx/drawing/pie_series.rb56
-rw-r--r--lib/axlsx/drawing/ser_axis.rb27
-rw-r--r--lib/axlsx/drawing/series.rb5
-rw-r--r--lib/axlsx/drawing/series_title.rb2
-rw-r--r--lib/axlsx/drawing/two_cell_anchor.rb44
-rw-r--r--lib/axlsx/drawing/val_axis.rb8
-rw-r--r--lib/axlsx/drawing/val_axis_data.rb28
-rw-r--r--lib/axlsx/drawing/view_3D.rb18
-rw-r--r--lib/axlsx/util/simple_typed_list.rb9
-rw-r--r--lib/axlsx/workbook/worksheet/worksheet.rb10
-rw-r--r--test/drawing/tc_axis.rb1
-rw-r--r--test/drawing/tc_cat_axis_data.rb18
-rw-r--r--test/drawing/tc_chart.rb12
-rw-r--r--test/drawing/tc_line_series.rb (renamed from test/drawing/tc_line_series.tc)7
-rw-r--r--test/drawing/tc_ser_axis.rb18
-rw-r--r--test/drawing/tc_two_cell_anchor.rb35
-rw-r--r--test/drawing/tc_val_axis.rb5
-rw-r--r--test/drawing/tc_val_axis_data.rb18
-rw-r--r--test/drawing/tc_view_3D.rb11
98 files changed, 3033 insertions, 2070 deletions
diff --git a/.yardoc/checksums b/.yardoc/checksums
index 5e186a00..4281ee7b 100644
--- a/.yardoc/checksums
+++ b/.yardoc/checksums
@@ -1,54 +1,56 @@
lib/axlsx/stylesheet/table_styles.rb 04b778652c29d612f63e93080d06c3936e48d765
lib/axlsx/stylesheet/table_style.rb b592135b8b02969a29bd24c28a13282f6af76f30
-lib/axlsx/drawing/pie_3D_chart.rb dd669c8dc9ef1f762d45a9589260c8c17308d944
+lib/axlsx/drawing/pie_3D_chart.rb 9370e48b73000c96ebd50712dc4b4a958ad8527d
lib/axlsx/stylesheet/border_pr.rb 09dcb61ec7b0cf49f2da4c4f8ccba8f7e0df7b07
lib/axlsx/stylesheet/color.rb 4927aaebe27dda42d78bb7baf9a44edc1753c77f
lib/axlsx/drawing/marker.rb 3507738522c02a3733a01f115d9ef22fae4ea542
lib/axlsx/util/constants.rb 20e4a98177305d407b77eb62f0bca5ecc29b234c
lib/axlsx/stylesheet/cell_protection.rb ce494f9add6de0a51407ddd9122fffe95759a48a
lib/axlsx/stylesheet/cell_style.rb 46c6ff183bce5c6b1ab6228823257d638007b03c
-lib/axlsx/drawing/series_title.rb 7ace4ba7c7835db5a7c69d2319cd59ed8c45908a
-lib/axlsx/drawing/line_series.rb 80f2c27edafacbc5de9bb4fac9916b0ad0030a63
-lib/axlsx/drawing/series.rb b35c182d9e3b09d99f743d3828344c4e5ac9c373
+lib/axlsx/drawing/series_title.rb 8f088942649b5b5cc351b621bf8fb252f33cb510
+lib/axlsx/drawing/line_series.rb ada7cbca0d561c2e2f6bad56c1eb5d8ea2c1f071
+lib/axlsx/drawing/series.rb 1cf010706e32e7e51affbc9edb9d4862a26b33ef
lib/axlsx/package.rb eea7499e09e0936eeb8e08d10823f05990722023
lib/axlsx/stylesheet/cell_alignment.rb f67f6a0bc16bf13669ed7b18714e4de23825ed94
lib/axlsx/content_type/default.rb 8ec0d9d1e6bf261735739823acd460c271e3f5ed
lib/axlsx/drawing/title.rb b46fb082e3bea936d129c8aa0998f3b71c9838cc
-lib/axlsx/drawing/axis.rb 5316065040d08d4f15e5da2751a2ee90185dad61
+lib/axlsx/drawing/axis.rb 5e37bac9f4dd258265213d5621522eed3c614954
lib/axlsx/stylesheet/table_style_element.rb bee66d743e3113fb14adc7ebdecbeb606bfb49fc
lib/axlsx/content_type/content_type.rb 6c576e1618f99f7163fffa6b6e89e964653dcb5f
-lib/axlsx/rels/relationships.rb 9c741e180796259bb378a789fd484fa1d8f04425
lib/axlsx/stylesheet/num_fmt.rb dc830c6540465afa824881efa2f1ce4070957c47
+lib/axlsx/rels/relationships.rb 9c741e180796259bb378a789fd484fa1d8f04425
lib/axlsx.rb 7d8c589a0bdc16acf8774ae1b77d5177b030a80c
-lib/axlsx/drawing/graphic_frame.rb 5ff7476b8fa3e2101fde200d1c65844084fb42f7
+lib/axlsx/drawing/graphic_frame.rb 43496359fac0e990ded62f04254232f3cec8f736
lib/axlsx/content_type/override.rb 72245683bca868f181d709a515f9152485653229
-lib/axlsx/drawing/bar_series.rb 48eb4533dd8fa89c40a8ab05e78cdb7b8061fd62
-lib/axlsx/drawing/pie_series.rb 76c67a0227e913fb14eb70d756323974718e204a
+lib/axlsx/drawing/pie_series.rb df339ed3eeb5692077e3a134339d04e77c9bc89b
+lib/axlsx/drawing/bar_series.rb 044a3c42d3781755012c863ca138257b85ff5c0a
lib/axlsx/stylesheet/gradient_fill.rb 5fd260ec2b94ab75a970159035528548a9d21cd6
lib/axlsx/workbook/worksheet/row.rb f866a98341ce4e604908e42d00f2af09e58c75d2
-lib/axlsx/util/simple_typed_list.rb 2ae647d5305acd9181c3303d5638db46d190b786
+lib/axlsx/util/simple_typed_list.rb b95f7e8d8958361cb1946b8545126b9384ff9fd2
lib/axlsx/workbook/workbook.rb ec98ed826e6c3ca9c6e3303dbfbe00c0b5fb9aee
lib/axlsx/stylesheet/fill.rb 35966285f5d759d63451005ceae3a5ae5ba2ceca
-lib/axlsx/drawing/view_3D.rb aca4d987f0c2cd5d0a653c96ac2bc1df9392583a
+lib/axlsx/drawing/view_3D.rb c8e25d57901dd7d679fe7d1ed674d5549ab6f1b3
lib/axlsx/stylesheet/xf.rb e3d6e2e4c3b0b33c91de4c3db16c73aca3db4473
-lib/axlsx/drawing/two_cell_anchor.rb cc320f580ff9c639daa670f7ba1a1648bf26c157
+lib/axlsx/drawing/two_cell_anchor.rb a9400212ca7ed64263fd77826c3d336115cae185
lib/axlsx/stylesheet/styles.rb 3679a8fe86270bdef96f02bcf76f2eac27b1c2ef
-lib/axlsx/drawing/val_axis.rb 710e67120c1262ef4cbbb56b632a568731df3215
-lib/axlsx/drawing/cat_axis.rb bf9eae6efae39b003a98b44cc437e6e9b4c51985
-lib/axlsx/stylesheet/font.rb 8b002d5fcba2fb0979858517f5254aadf96c7e58
+lib/axlsx/drawing/val_axis.rb da067622f8b09e6caf5067955b277d75ab3c8943
+lib/axlsx/drawing/cat_axis.rb f046262d1e8d04ff697fe29b88725225cd406cb2
lib/axlsx/util/validators.rb 2320eee50ceee29cc0dbab95721a6c633dc660e1
+lib/axlsx/stylesheet/font.rb 8b002d5fcba2fb0979858517f5254aadf96c7e58
lib/axlsx/doc_props/app.rb 52f01e985a33253987177798d4e79ed208649b30
-lib/axlsx/workbook/worksheet/worksheet.rb 1af6b7e4a54b41e770709c26ad7100ed516448b8
+lib/axlsx/workbook/worksheet/worksheet.rb ba299b3a4f1e82f7da4fb6e28fad264dd6e2fbed
lib/axlsx/workbook/worksheet/cell.rb 939623ffc2065e9ec26bc56d9e289d9137fe57d3
lib/axlsx/rels/relationship.rb a160c998acf7fd0ab8195ea6162b1eb2eab4963c
lib/axlsx/stylesheet/border.rb 517bfcb43380919ce7abef494d5d3e50911b7c19
-lib/axlsx/drawing/ser_axis.rb e1072fa920f084e22fc6ef4697d3f7d455fb0550
-lib/axlsx/drawing/drawing.rb ca457723c04ec7f2c9d3d16846b4cf0a9045da07
-lib/axlsx/drawing/chart.rb 059fa0f1af9e145f2b28871ea4aaa70653ec589f
+lib/axlsx/drawing/ser_axis.rb 6d15f6cc2092ef5c3baa314ed1af793247418d9b
+lib/axlsx/drawing/drawing.rb a5d71d9c7e86f15fdea03754ab258009035151dd
+lib/axlsx/drawing/chart.rb 2907d74c75580cd5f029a71140a750d4e69c869e
lib/axlsx/version.rb eb4274097b7f8f3f60e4e3dd8d57fb6bf6148f36
lib/axlsx/stylesheet/gradient_stop.rb de34e289aeccb4abd9a3b7e60e816a0b12ffacff
+lib/axlsx/drawing/cat_axis_data.rb efc95067f90bf8d0bb4ce0fa6e35b7b9d642e8b5
+lib/axlsx/drawing/val_axis_data.rb c57c0abf5abb4aca9fba774f20e2f2c04d3020e8
lib/axlsx/doc_props/core.rb 90ebc8086f6606af02275c27068c359a5647faf0
-lib/axlsx/drawing/bar_3D_chart.rb 90ee990d00f63aaa8bfa23805580b3fea16a74ac
+lib/axlsx/drawing/bar_3D_chart.rb e5199cf0a33e416ea5ddf66677031ee08e5c116f
lib/axlsx/drawing/scaling.rb d3b59eed1897dc2b07bb41b2245c6e4b3e274d7e
lib/axlsx/stylesheet/pattern_fill.rb 817cf55beb3db160b2b56edb6c94de1ecf1ecee7
-lib/axlsx/drawing/line_3D_chart.rb 062b83115dccb3b67c737faea1adf5f0cfce1cea
+lib/axlsx/drawing/line_3D_chart.rb de0a2c8a49259e0348fd2c642c08eb4c567bcf1b
diff --git a/.yardoc/objects/root.dat b/.yardoc/objects/root.dat
index ddb44a40..489afdf0 100644
--- a/.yardoc/objects/root.dat
+++ b/.yardoc/objects/root.dat
Binary files differ
diff --git a/.yardoc/proxy_types b/.yardoc/proxy_types
index 97e24d35..bc38fbb8 100644
--- a/.yardoc/proxy_types
+++ b/.yardoc/proxy_types
Binary files differ
diff --git a/.yardopts_guide b/.yardopts_guide
new file mode 100644
index 00000000..2a52073e
--- /dev/null
+++ b/.yardopts_guide
@@ -0,0 +1,19 @@
+-t guide
+--title YARD
+-o doc_guide
+--exclude /server/templates/
+--exclude /yard/rubygems/
+--asset docs/images:images
+-
+docs/WhatsNew.md
+docs/GettingStarted.md
+docs/Overview.md
+docs/CodeObjects.md
+docs/Tags.md
+docs/Parser.md
+docs/Handlers.md
+docs/Templates.md
+docs/Glossary.md
+ChangeLog
+LICENSE
+LEGAL \ No newline at end of file
diff --git a/README.md b/README.md
index 4946ea13..7dfa0ba8 100644
--- a/README.md
+++ b/README.md
@@ -47,7 +47,7 @@ Usage
require 'rubygems'
require 'axlsx'
-A Simple Workbooka
+A Simple Workbook
p = Axlsx::Package.new
p.workbook.add_worksheet do |sheet|
@@ -124,10 +124,13 @@ Generating A Line Chart
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")
@@ -147,19 +150,19 @@ This gem has 100% test coverage using test/unit. To execute tests for this gem,
Changelog
---------
-- **October.22.11**: 1.0.7 release
+- **October.23.11**: 1.0.7 release preparation
+ - 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
- Updated serialization write test to verify write permissions and warn if it cannot run the test due to permission restrcitions.
- - updated rake to include build, genoc and deploy commands.
+ - updated rake to include build, genoc and deploy tasks.
- rebuilt documentation.
- moved version constant to its own file
-
+ - fixed bug in SerAxis that was requiring tickLblSkip and tickMarkSkip to be boolean. Should be unsigned int.
+ - Review and improve docs
+ - 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.
+ - Refactored cat and val axis data to keep series serialization a bit more DRY
+
Please see the {file:CHANGELOG.md} document for past release information.
-On Deck
--------
-
-- Verification with ruby 1.9.3
-- Active Record support via package::serialize_ar so you can dump an AR result into a worksheet in one go.
Copyright
---------
diff --git a/doc/Axlsx.html b/doc/Axlsx.html
index 1ec19a9a..02a04a9a 100644
--- a/doc/Axlsx.html
+++ b/doc/Axlsx.html
@@ -73,7 +73,7 @@
<dt class="r1 last">Defined in:</dt>
<dd class="r1 last">lib/axlsx/package.rb<span class="defines">,<br />
- lib/axlsx.rb,<br /> lib/axlsx/version.rb,<br /> lib/axlsx/drawing/axis.rb,<br /> lib/axlsx/stylesheet/xf.rb,<br /> lib/axlsx/doc_props/app.rb,<br /> lib/axlsx/drawing/title.rb,<br /> lib/axlsx/drawing/chart.rb,<br /> lib/axlsx/drawing/series.rb,<br /> lib/axlsx/util/constants.rb,<br /> lib/axlsx/doc_props/core.rb,<br /> lib/axlsx/drawing/marker.rb,<br /> lib/axlsx/drawing/drawing.rb,<br /> lib/axlsx/drawing/view_3D.rb,<br /> lib/axlsx/stylesheet/fill.rb,<br /> lib/axlsx/util/validators.rb,<br /> lib/axlsx/drawing/scaling.rb,<br /> lib/axlsx/stylesheet/font.rb,<br /> lib/axlsx/drawing/ser_axis.rb,<br /> lib/axlsx/stylesheet/color.rb,<br /> lib/axlsx/drawing/cat_axis.rb,<br /> lib/axlsx/drawing/val_axis.rb,<br /> lib/axlsx/stylesheet/border.rb,<br /> lib/axlsx/rels/relationship.rb,<br /> lib/axlsx/stylesheet/styles.rb,<br /> lib/axlsx/workbook/workbook.rb,<br /> lib/axlsx/drawing/pie_series.rb,<br /> lib/axlsx/drawing/bar_series.rb,<br /> lib/axlsx/stylesheet/num_fmt.rb,<br /> lib/axlsx/rels/relationships.rb,<br /> lib/axlsx/drawing/line_series.rb,<br /> lib/axlsx/drawing/bar_3D_chart.rb,<br /> lib/axlsx/drawing/series_title.rb,<br /> lib/axlsx/stylesheet/border_pr.rb,<br /> lib/axlsx/drawing/pie_3D_chart.rb,<br /> lib/axlsx/content_type/default.rb,<br /> lib/axlsx/drawing/line_3D_chart.rb,<br /> lib/axlsx/content_type/override.rb,<br /> lib/axlsx/drawing/graphic_frame.rb,<br /> lib/axlsx/stylesheet/cell_style.rb,<br /> lib/axlsx/util/simple_typed_list.rb,<br /> lib/axlsx/workbook/worksheet/row.rb,<br /> lib/axlsx/stylesheet/table_style.rb,<br /> lib/axlsx/workbook/worksheet/cell.rb,<br /> lib/axlsx/stylesheet/pattern_fill.rb,<br /> lib/axlsx/drawing/two_cell_anchor.rb,<br /> lib/axlsx/stylesheet/table_styles.rb,<br /> lib/axlsx/stylesheet/gradient_fill.rb,<br /> lib/axlsx/stylesheet/gradient_stop.rb,<br /> lib/axlsx/stylesheet/cell_alignment.rb,<br /> lib/axlsx/content_type/content_type.rb,<br /> lib/axlsx/stylesheet/cell_protection.rb,<br /> lib/axlsx/workbook/worksheet/worksheet.rb,<br /> lib/axlsx/stylesheet/table_style_element.rb</span>
+ 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>
</dd>
</dl>
@@ -98,7 +98,7 @@ cell styles, automatically resized column widths and 3D pie charts.
- <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>
+ <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>
</p>
@@ -2434,7 +2434,7 @@ The value validated
</div>
<div id="footer">
- Generated on Tue Nov 22 23:52:36 2011 by
+ Generated on Wed Nov 23 12:23:46 2011 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.7.3 (ruby-1.8.7).
</div>
diff --git a/doc/Axlsx/App.html b/doc/Axlsx/App.html
index ead90508..fcbd72ee 100644
--- a/doc/Axlsx/App.html
+++ b/doc/Axlsx/App.html
@@ -2631,7 +2631,7 @@ The document as a string
</div>
<div id="footer">
- Generated on Tue Nov 22 23:52:43 2011 by
+ Generated on Wed Nov 23 12:24:05 2011 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.7.3 (ruby-1.8.7).
</div>
diff --git a/doc/Axlsx/Axis.html b/doc/Axlsx/Axis.html
index 7f4d1e0b..4ae315c3 100644
--- a/doc/Axlsx/Axis.html
+++ b/doc/Axlsx/Axis.html
@@ -95,7 +95,7 @@
<h2>Overview</h2><div class="docstring">
<div class="discussion">
<p>
-the access class defines common properties and values for chart axis
+the access class defines common properties and values for a chart axis.
</p>
@@ -242,7 +242,7 @@ specifies how the perpendicular axis is crossed must be one of [:autoZero,
<span class="summary_desc"><div class='inline'><p>
-The number format format code for this axis.
+The number format format code for this axis default :General.
</p>
</div></span>
@@ -487,6 +487,25 @@ a customizable set of options
</ul>
+<h3>Raises:</h3>
+<ul class="raise">
+
+ <li>
+
+
+ <span class='type'>(<tt>ArgumentError</tt>)</span>
+
+
+
+ &mdash;
+ <div class='inline'><p>
+If axId or crossAx are not unsigned integers
+</p>
+</div>
+
+ </li>
+
+</ul>
</div><table class="source_code">
<tr>
@@ -494,7 +513,6 @@ a customizable set of options
<pre class="lines">
-44
45
46
47
@@ -507,20 +525,21 @@ a customizable set of options
54
55
56
-57</pre>
+57
+58</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/axis.rb', line 44</span>
+ <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/axis.rb', line 45</span>
<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>
<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>
<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>
<span class='@axId ivar id'>@axId</span> <span class='assign token'>=</span> <span class='axId identifier id'>axId</span>
<span class='@crossAx ivar id'>@crossAx</span> <span class='assign token'>=</span> <span class='crossAx identifier id'>crossAx</span>
+ <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'>&gt;</span><span class='symbol val'>:minMax</span><span class='rparen token'>)</span>
<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>
<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>
- <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'>&gt;</span><span class='symbol val'>:minMax</span><span class='rparen token'>)</span>
- <span class='@formatCode ivar id'>@formatCode</span> <span class='assign token'>=</span> <span class='string val'>&quot;&quot;</span>
+ <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'>&quot;General&quot;</span>
<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>
<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>
<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'>&quot;#{o[0]}=&quot;</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'>&quot;#{o[0]}=&quot;</span>
@@ -550,7 +569,7 @@ a customizable set of options
</p><div class="docstring">
<div class="discussion">
<p>
-the id of the axis
+the id of the axis.
</p>
@@ -578,12 +597,12 @@ the id of the axis
<pre class="lines">
+7
8
-9
-10</pre>
+9</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/axis.rb', line 8</span>
+ <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/axis.rb', line 7</span>
<span class='def def kw'>def</span> <span class='axId identifier id'>axId</span>
<span class='@axId ivar id'>@axId</span>
@@ -692,12 +711,12 @@ The perpendicular axis
<pre class="lines">
+11
12
-13
-14</pre>
+13</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/axis.rb', line 12</span>
+ <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/axis.rb', line 11</span>
<span class='def def kw'>def</span> <span class='crossAx identifier id'>crossAx</span>
<span class='@crossAx ivar id'>@crossAx</span>
@@ -779,7 +798,7 @@ specifies how the perpendicular axis is crossed must be one of [:autoZero,
</p><div class="docstring">
<div class="discussion">
<p>
-The number format format code for this axis
+The number format format code for this axis default :General
</p>
@@ -858,6 +877,13 @@ The scaling of the axis
</ul>
+ <h3>See Also:</h3>
+ <ul class="see">
+
+ <li><span class='object_link'><a href="Scaling.html" title="Axlsx::Scaling (class)">Scaling</a></span></li>
+
+ </ul>
+
</div><table class="source_code">
<tr>
<td>
@@ -1003,7 +1029,6 @@ The document builder instance this objects xml will be added to.
<pre class="lines">
-67
68
69
70
@@ -1012,10 +1037,11 @@ The document builder instance this objects xml will be added to.
73
74
75
-76</pre>
+76
+77</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/axis.rb', line 67</span>
+ <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/axis.rb', line 68</span>
<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>
<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'>&gt;</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.
</div>
<div id="footer">
- Generated on Tue Nov 22 23:52:53 2011 by
+ Generated on Wed Nov 23 12:24:03 2011 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.7.3 (ruby-1.8.7).
</div>
diff --git a/doc/Axlsx/Bar3DChart.html b/doc/Axlsx/Bar3DChart.html
index 8cb43ac0..fcee1a86 100644
--- a/doc/Axlsx/Bar3DChart.html
+++ b/doc/Axlsx/Bar3DChart.html
@@ -106,54 +106,18 @@ that you can add to your worksheet.
</div>
<div class="tags">
- <div class="examples">
- <h3>Examples:</h3>
-
- <h4><div class='inline'><p>
-Creating a chart
-</p>
-</div></h4>
- <pre class="example code"><span class='comment val'># This example creates two charts in a single sheet.</span>
-<span class='comment val'># The first uses data directly fed to the sheet, while the second references cells withing the worksheet for data.</span>
-
-<span class='require identifier id'>require</span> <span class='string val'>&quot;rubygems&quot;</span> <span class='comment val'># if that is your preferred way to manage gems!</span>
-<span class='require identifier id'>require</span> <span class='string val'>&quot;axlsx&quot;</span>
-
-<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>
-<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>
-<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'>&gt;</span> <span class='lbrack token'>[</span><span class='string val'>&quot;This is a chart with no data in the sheet&quot;</span><span class='rbrack token'>]</span>
-
-<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'>&gt;</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'>&gt;</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'>&gt;</span><span class='string val'>&quot;Most Popular Pets&quot;</span><span class='rparen token'>)</span>
-<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'>&gt;</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'>&gt;</span> <span class='lbrack token'>[</span><span class='string val'>&quot;Slimy Reptiles&quot;</span><span class='comma token'>,</span> <span class='string val'>&quot;Fuzzy Bunnies&quot;</span><span class='comma token'>,</span> <span class='string val'>&quot;Rottweiler&quot;</span><span class='rbrack 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'>&gt;</span> <span class='lbrack token'>[</span><span class='string val'>&quot;This chart uses the data below&quot;</span><span class='rbrack token'>]</span>
-<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'>&gt;</span> <span class='lbrack token'>[</span><span class='string val'>&quot;Least Popular Pets&quot;</span><span class='rbrack token'>]</span>
-<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'>&gt;</span> <span class='lbrack token'>[</span><span class='string val'>&quot;&quot;</span><span class='comma token'>,</span> <span class='string val'>&quot;Dry Skinned Reptiles&quot;</span><span class='comma token'>,</span> <span class='string val'>&quot;Bald Cats&quot;</span><span class='comma token'>,</span> <span class='string val'>&quot;Violent Parrots&quot;</span><span class='rbrack token'>]</span>
-<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'>&gt;</span> <span class='lbrack token'>[</span><span class='string val'>&quot;Votes&quot;</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>
-
-<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'>&gt;</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'>&gt;</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'>&gt;</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>
-<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'>&gt;</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'>&gt;</span> <span class='label_row identifier id'>label_row</span><span class='dot token'>.</span><span class='cells identifier id'>cells</span>
-
-<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>
-<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>
-</pre>
-
- </div>
-
<h3>See Also:</h3>
<ul class="see">
<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>
- <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>
-
<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>
- <li><span class='object_link'><a href="Series.html" title="Axlsx::Series (class)">Series</a></span></li>
-
<li><span class='object_link'><a href="Package.html#serialize-instance_method" title="Axlsx::Package#serialize (method)">Package#serialize</a></span></li>
+ <li>for an example</li>
+
</ul>
</div>
@@ -347,8 +311,8 @@ grouping for a column, line, or area chart.
<span class="summary_desc"><div class='inline'><p>
-The shabe of the bars or columns must be one of [:percentStacked,
-:clustered, :standard, :stacked].
+The shabe of the bars or columns must be one of [:cone, :coneToMax, :box,
+:cylinder, :pyramid, :pyramidToMax].
</p>
</div></span>
@@ -375,7 +339,7 @@ The shabe of the bars or columns must be one of [:percentStacked,
<span class="summary_desc"><div class='inline'><p>
-the category axis.
+the valueaxis.
</p>
</div></span>
@@ -392,7 +356,7 @@ the category axis.
<h3 class="inherited">Attributes inherited from <span class='object_link'><a href="Chart.html" title="Axlsx::Chart (class)">Chart</a></span></h3>
- <p class="inherited"><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#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#start_at-instance_method" title="Axlsx::Chart#start_at (method)">start_at</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>
+ <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>
@@ -465,7 +429,7 @@ Serializes the bar chart.
<h3 class="inherited">Methods inherited from <span class='object_link'><a href="Chart.html" title="Axlsx::Chart (class)">Chart</a></span></h3>
- <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>
+ <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>
<div id="constructor_details" class="method_details_list">
<h2>Constructor Details</h2>
@@ -598,30 +562,93 @@ a customizable set of options
</li>
+ <li>
+ <span class="name">rotX</span>
+ <span class="type">(<tt>Integer</tt>)</span>
+ <span class="default">
+
+ </span>
+
+ </li>
+
+ <li>
+ <span class="name">hPercent</span>
+ <span class="type">(<tt>String</tt>)</span>
+ <span class="default">
+
+ </span>
+
+ </li>
+
+ <li>
+ <span class="name">rotY</span>
+ <span class="type">(<tt>Integer</tt>)</span>
+ <span class="default">
+
+ </span>
+
+ </li>
+
+ <li>
+ <span class="name">depthPercent</span>
+ <span class="type">(<tt>String</tt>)</span>
+ <span class="default">
+
+ </span>
+
+ </li>
+
+ <li>
+ <span class="name">rAngAx</span>
+ <span class="type">(<tt>Boolean</tt>)</span>
+ <span class="default">
+
+ </span>
+
+ </li>
+
+ <li>
+ <span class="name">perspective</span>
+ <span class="type">(<tt>Integer</tt>)</span>
+ <span class="default">
+
+ </span>
+
+ </li>
+
</ul>
+ <h3>See Also:</h3>
+ <ul class="see">
+
+ <li><span class='object_link'><a href="Chart.html" title="Axlsx::Chart (class)">Chart</a></span></li>
+
+ <li><span class='object_link'><a href="View3D.html" title="Axlsx::View3D (class)">View3D</a></span></li>
+
+ </ul>
+
</div><table class="source_code">
<tr>
<td>
<pre class="lines">
-79
-80
-81
-82
-83
-84
-85
-86
-87
-88
-89</pre>
+61
+62
+63
+64
+65
+66
+67
+68
+69
+70
+71</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/bar_3D_chart.rb', line 79</span>
+ <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/bar_3D_chart.rb', line 61</span>
<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>
<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
<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>
<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>
<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>
- <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'>&gt;</span><span class='integer val'>1</span><span class='rparen token'>)</span>
<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>
<span class='@series_type ivar id'>@series_type</span> <span class='assign token'>=</span> <span class='BarSeries constant id'>BarSeries</span>
+ <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'>&gt;</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>
<span class='end end kw'>end</span>
</pre>
</td>
@@ -686,12 +713,12 @@ The direction of the bars in the chart must be one of [:bar, :col]
<pre class="lines">
-47
-48
-49</pre>
+21
+22
+23</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/bar_3D_chart.rb', line 47</span>
+ <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/bar_3D_chart.rb', line 21</span>
<span class='def def kw'>def</span> <span class='barDir identifier id'>barDir</span>
<span class='@barDir ivar id'>@barDir</span>
@@ -743,12 +770,12 @@ the category axis
<pre class="lines">
-38
-39
-40</pre>
+12
+13
+14</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/bar_3D_chart.rb', line 38</span>
+ <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/bar_3D_chart.rb', line 12</span>
<span class='def def kw'>def</span> <span class='catAxis identifier id'>catAxis</span>
<span class='@catAxis ivar id'>@catAxis</span>
@@ -801,12 +828,12 @@ width.
<pre class="lines">
-51
-52
-53</pre>
+25
+26
+27</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/bar_3D_chart.rb', line 51</span>
+ <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/bar_3D_chart.rb', line 25</span>
<span class='def def kw'>def</span> <span class='gapDepth identifier id'>gapDepth</span>
<span class='@gapDepth ivar id'>@gapDepth</span>
@@ -859,12 +886,12 @@ width.
<pre class="lines">
-55
-56
-57</pre>
+29
+30
+31</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/bar_3D_chart.rb', line 55</span>
+ <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/bar_3D_chart.rb', line 29</span>
<span class='def def kw'>def</span> <span class='gapWidth identifier id'>gapWidth</span>
<span class='@gapWidth ivar id'>@gapWidth</span>
@@ -917,12 +944,12 @@ grouping for a column, line, or area chart. must be one of
<pre class="lines">
-60
-61
-62</pre>
+34
+35
+36</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/bar_3D_chart.rb', line 60</span>
+ <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/bar_3D_chart.rb', line 34</span>
<span class='def def kw'>def</span> <span class='grouping identifier id'>grouping</span>
<span class='@grouping ivar id'>@grouping</span>
@@ -946,8 +973,8 @@ grouping for a column, line, or area chart. must be one of
</p><div class="docstring">
<div class="discussion">
<p>
-The shabe of the bars or columns must be one of [:percentStacked,
-:clustered, :standard, :stacked]
+The shabe of the bars or columns must be one of [:cone, :coneToMax, :box,
+:cylinder, :pyramid, :pyramidToMax]
</p>
@@ -975,12 +1002,12 @@ The shabe of the bars or columns must be one of [:percentStacked,
<pre class="lines">
-65
-66
-67</pre>
+39
+40
+41</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/bar_3D_chart.rb', line 65</span>
+ <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/bar_3D_chart.rb', line 39</span>
<span class='def def kw'>def</span> <span class='shape identifier id'>shape</span>
<span class='@shape ivar id'>@shape</span>
@@ -1004,7 +1031,7 @@ The shabe of the bars or columns must be one of [:percentStacked,
</p><div class="docstring">
<div class="discussion">
<p>
-the category axis
+the valueaxis
</p>
@@ -1032,12 +1059,12 @@ the category axis
<pre class="lines">
-42
-43
-44</pre>
+16
+17
+18</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/bar_3D_chart.rb', line 42</span>
+ <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/bar_3D_chart.rb', line 16</span>
<span class='def def kw'>def</span> <span class='valAxis identifier id'>valAxis</span>
<span class='@valAxis ivar id'>@valAxis</span>
@@ -1093,27 +1120,27 @@ Serializes the bar chart
<pre class="lines">
-119
-120
-121
-122
-123
-124
-125
-126
-127
-128
-129
-130
-131
-132
-133
-134
-135
-136</pre>
+101
+102
+103
+104
+105
+106
+107
+108
+109
+110
+111
+112
+113
+114
+115
+116
+117
+118</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/bar_3D_chart.rb', line 119</span>
+ <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/bar_3D_chart.rb', line 101</span>
<span class='def def kw'>def</span> <span class='to_xml identifier id'>to_xml</span>
<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
</div>
<div id="footer">
- Generated on Tue Nov 22 23:52:38 2011 by
+ Generated on Wed Nov 23 12:23:50 2011 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.7.3 (ruby-1.8.7).
</div>
diff --git a/doc/Axlsx/BarSeries.html b/doc/Axlsx/BarSeries.html
index 749762da..303d12f3 100644
--- a/doc/Axlsx/BarSeries.html
+++ b/doc/Axlsx/BarSeries.html
@@ -416,8 +416,8 @@ a customizable set of options
<span class='def def kw'>def</span> <span class='initialize identifier id'>initialize</span><span class='lparen token'>(</span><span class='chart identifier id'>chart</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>
<span class='@shape ivar id'>@shape</span> <span class='assign token'>=</span> <span class='symbol val'>:box</span>
<span class='super super kw'>super</span><span class='lparen token'>(</span><span class='chart identifier id'>chart</span><span class='comma token'>,</span> <span class='options identifier id'>options</span><span class='rparen token'>)</span>
- <span class='self self kw'>self</span><span class='dot token'>.</span><span class='data identifier id'>data</span> <span class='assign token'>=</span> <span class='options identifier id'>options</span><span class='lbrack token'>[</span><span class='symbol val'>:data</span><span class='rbrack token'>]</span> <span class='orop op'>||</span> <span class='lbrack token'>[</span><span class='rbrack token'>]</span>
- <span class='self self kw'>self</span><span class='dot token'>.</span><span class='labels identifier id'>labels</span> <span class='assign token'>=</span> <span class='options identifier id'>options</span><span class='lbrack token'>[</span><span class='symbol val'>:labels</span><span class='rbrack token'>]</span> <span class='orop op'>||</span> <span class='lbrack token'>[</span><span class='rbrack token'>]</span>
+ <span class='self self kw'>self</span><span class='dot token'>.</span><span class='labels identifier id'>labels</span> <span class='assign token'>=</span> <span class='CatAxisData constant id'>CatAxisData</span><span class='dot token'>.</span><span class='new identifier id'>new</span><span class='lparen token'>(</span><span class='options identifier id'>options</span><span class='lbrack token'>[</span><span class='symbol val'>:labels</span><span class='rbrack token'>]</span><span class='rparen token'>)</span> <span class='unless unless_mod kw'>unless</span> <span class='options identifier id'>options</span><span class='lbrack token'>[</span><span class='symbol val'>:labels</span><span class='rbrack token'>]</span><span class='dot token'>.</span><span class='nil? fid id'>nil?</span>
+ <span class='self self kw'>self</span><span class='dot token'>.</span><span class='data identifier id'>data</span> <span class='assign token'>=</span> <span class='ValAxisData constant id'>ValAxisData</span><span class='dot token'>.</span><span class='new identifier id'>new</span><span class='lparen token'>(</span><span class='options identifier id'>options</span><span class='lbrack token'>[</span><span class='symbol val'>:data</span><span class='rbrack token'>]</span><span class='rparen token'>)</span> <span class='unless unless_mod kw'>unless</span> <span class='options identifier id'>options</span><span class='lbrack token'>[</span><span class='symbol val'>:data</span><span class='rbrack token'>]</span><span class='dot token'>.</span><span class='nil? fid id'>nil?</span>
<span class='end end kw'>end</span>
</pre>
</td>
@@ -674,73 +674,15 @@ The document builder instance this objects xml will be added to.
46
47
48
-49
-50
-51
-52
-53
-54
-55
-56
-57
-58
-59
-60
-61
-62
-63
-64
-65
-66
-67
-68
-69
-70
-71
-72
-73
-74
-75
-76
-77
-78</pre>
+49</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'lib/axlsx/drawing/bar_series.rb', line 43</span>
<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>
<span class='super super kw'>super</span><span class='lparen token'>(</span><span class='xml identifier id'>xml</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>
- <span class='if if kw'>if</span> <span class='notop op'>!</span><span class='labels identifier id'>labels</span><span class='dot token'>.</span><span class='empty? fid id'>empty?</span>
- <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:cat'</span><span class='rparen token'>)</span> <span class='lbrace token'>{</span>
- <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:strRef'</span><span class='rparen token'>)</span> <span class='lbrace token'>{</span>
- <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:f'</span><span class='comma token'>,</span> <span class='Axlsx constant id'>Axlsx</span><span class='colon2 op'>::</span><span class='cell_range identifier id'>cell_range</span><span class='lparen token'>(</span><span class='labels identifier id'>labels</span><span class='rparen token'>)</span><span class='rparen token'>)</span>
- <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:strCache'</span><span class='rparen token'>)</span> <span class='lbrace token'>{</span>
- <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:ptCount'</span><span class='comma token'>,</span> <span class='symbol val'>:val=</span><span class='gt op'>&gt;</span><span class='labels identifier id'>labels</span><span class='dot token'>.</span><span class='size identifier id'>size</span><span class='rparen token'>)</span>
- <span class='labels identifier id'>labels</span><span class='dot token'>.</span><span class='each_with_index identifier id'>each_with_index</span> <span class='do do kw'>do</span> <span class='bitor op'>|</span><span class='cell identifier id'>cell</span><span class='comma token'>,</span> <span class='index identifier id'>index</span><span class='bitor op'>|</span>
- <span class='v identifier id'>v</span> <span class='assign token'>=</span> <span class='cell identifier id'>cell</span><span class='dot token'>.</span><span class='is_a? fid id'>is_a?</span><span class='lparen token'>(</span><span class='Cell constant id'>Cell</span><span class='rparen token'>)</span> <span class='question op'>?</span> <span class='cell identifier id'>cell</span><span class='dot token'>.</span><span class='value identifier id'>value</span> <span class='colon op'>:</span> <span class='cell identifier id'>cell</span>
- <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:pt'</span><span class='comma token'>,</span> <span class='symbol val'>:idx=</span><span class='gt op'>&gt;</span><span class='index identifier id'>index</span><span class='rparen token'>)</span> <span class='lbrace token'>{</span>
- <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:v'</span><span class='comma token'>,</span> <span class='v identifier id'>v</span><span class='rparen token'>)</span>
- <span class='rbrace token'>}</span>
- <span class='end end kw'>end</span>
- <span class='rbrace token'>}</span>
- <span class='rbrace token'>}</span>
- <span class='rbrace token'>}</span>
- <span class='end end kw'>end</span>
- <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:val'</span><span class='rparen token'>)</span> <span class='lbrace token'>{</span>
- <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:numRef'</span><span class='rparen token'>)</span> <span class='lbrace token'>{</span>
- <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:f'</span><span class='comma token'>,</span> <span class='Axlsx constant id'>Axlsx</span><span class='colon2 op'>::</span><span class='cell_range identifier id'>cell_range</span><span class='lparen token'>(</span><span class='data identifier id'>data</span><span class='rparen token'>)</span><span class='rparen token'>)</span>
- <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:numCache'</span><span class='rparen token'>)</span> <span class='lbrace token'>{</span>
- <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:formatCode'</span><span class='comma token'>,</span> <span class='string val'>'General'</span><span class='rparen token'>)</span>
- <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:ptCount'</span><span class='comma token'>,</span> <span class='symbol val'>:val=</span><span class='gt op'>&gt;</span><span class='data identifier id'>data</span><span class='dot token'>.</span><span class='size identifier id'>size</span><span class='rparen token'>)</span>
- <span class='data identifier id'>data</span><span class='dot token'>.</span><span class='each_with_index identifier id'>each_with_index</span> <span class='do do kw'>do</span> <span class='bitor op'>|</span><span class='cell identifier id'>cell</span><span class='comma token'>,</span> <span class='index identifier id'>index</span><span class='bitor op'>|</span>
- <span class='v identifier id'>v</span> <span class='assign token'>=</span> <span class='cell identifier id'>cell</span><span class='dot token'>.</span><span class='is_a? fid id'>is_a?</span><span class='lparen token'>(</span><span class='Cell constant id'>Cell</span><span class='rparen token'>)</span> <span class='question op'>?</span> <span class='cell identifier id'>cell</span><span class='dot token'>.</span><span class='value identifier id'>value</span> <span class='colon op'>:</span> <span class='cell identifier id'>cell</span>
- <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:pt'</span><span class='comma token'>,</span> <span class='symbol val'>:idx=</span><span class='gt op'>&gt;</span><span class='index identifier id'>index</span><span class='rparen token'>)</span> <span class='lbrace token'>{</span>
- <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:v'</span><span class='comma token'>,</span> <span class='v identifier id'>v</span><span class='rparen token'>)</span>
- <span class='rbrace token'>}</span>
- <span class='end end kw'>end</span>
- <span class='rbrace token'>}</span>
- <span class='rbrace token'>}</span>
- <span class='rbrace token'>}</span>
+ <span class='@labels ivar id'>@labels</span><span class='dot token'>.</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> <span class='unless unless_mod kw'>unless</span> <span class='@labels ivar id'>@labels</span><span class='dot token'>.</span><span class='nil? fid id'>nil?</span>
+ <span class='@data ivar id'>@data</span><span class='dot token'>.</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> <span class='unless unless_mod kw'>unless</span> <span class='@data ivar id'>@data</span><span class='dot token'>.</span><span class='nil? fid id'>nil?</span>
<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:shape'</span><span class='comma token'>,</span> <span class='symbol val'>:val=</span><span class='gt op'>&gt;</span><span class='@shape ivar id'>@shape</span><span class='rparen token'>)</span>
<span class='end end kw'>end</span>
<span class='end end kw'>end</span>
@@ -755,7 +697,7 @@ The document builder instance this objects xml will be added to.
</div>
<div id="footer">
- Generated on Tue Nov 22 23:52:50 2011 by
+ Generated on Wed Nov 23 12:23:42 2011 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.7.3 (ruby-1.8.7).
</div>
diff --git a/doc/Axlsx/Border.html b/doc/Axlsx/Border.html
index acb2adbc..209a4388 100644
--- a/doc/Axlsx/Border.html
+++ b/doc/Axlsx/Border.html
@@ -766,7 +766,7 @@ The document builder instance this objects xml will be added to.
</div>
<div id="footer">
- Generated on Tue Nov 22 23:52:39 2011 by
+ Generated on Wed Nov 23 12:23:55 2011 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.7.3 (ruby-1.8.7).
</div>
diff --git a/doc/Axlsx/BorderPr.html b/doc/Axlsx/BorderPr.html
index cbacb66f..e4bcb6ab 100644
--- a/doc/Axlsx/BorderPr.html
+++ b/doc/Axlsx/BorderPr.html
@@ -700,7 +700,7 @@ The document builder instance this objects xml will be added to.
</div>
<div id="footer">
- Generated on Tue Nov 22 23:52:37 2011 by
+ Generated on Wed Nov 23 12:23:54 2011 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.7.3 (ruby-1.8.7).
</div>
diff --git a/doc/Axlsx/CatAxis.html b/doc/Axlsx/CatAxis.html
index 82f7c980..5babf097 100644
--- a/doc/Axlsx/CatAxis.html
+++ b/doc/Axlsx/CatAxis.html
@@ -336,7 +336,7 @@ Creates a new CatAxis object
&mdash;
<div class='inline'><p>
-the id of this axis
+the id of this axis. Inherited
</p>
</div>
@@ -353,7 +353,7 @@ the id of this axis
&mdash;
<div class='inline'><p>
-the id of the perpendicular axis
+the id of the perpendicular axis. Inherited
</p>
</div>
@@ -391,30 +391,39 @@ a customizable set of options
<ul class="option">
<li>
- <span class="name">axPos</span>
+ <span class="name">axPos.</span>
<span class="type">(<tt>Symbol</tt>)</span>
<span class="default">
</span>
-
+ &mdash; <div class='inline'><p>
+Inherited
+</p>
+</div>
</li>
<li>
- <span class="name">tickLblPos</span>
+ <span class="name">tickLblPos.</span>
<span class="type">(<tt>Symbol</tt>)</span>
<span class="default">
</span>
-
+ &mdash; <div class='inline'><p>
+Inherited
+</p>
+</div>
</li>
<li>
- <span class="name">crosses</span>
+ <span class="name">crosses.</span>
<span class="type">(<tt>Symbol</tt>)</span>
<span class="default">
</span>
-
+ &mdash; <div class='inline'><p>
+Inherited
+</p>
+</div>
</li>
<li>
@@ -454,27 +463,21 @@ a customizable set of options
<pre class="lines">
-30
31
32
33
34
35
-36
-37
-38</pre>
+36</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/cat_axis.rb', line 30</span>
+ <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/cat_axis.rb', line 31</span>
<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>
- <span class='super super kw'>super</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='rparen token'>)</span>
<span class='self self kw'>self</span><span class='dot token'>.</span><span class='auto identifier id'>auto</span> <span class='assign token'>=</span> <span class='true true kw'>true</span>
<span class='self self kw'>self</span><span class='dot token'>.</span><span class='lblAlgn identifier id'>lblAlgn</span> <span class='assign token'>=</span> <span class='symbol val'>:ctr</span>
<span class='self self kw'>self</span><span class='dot token'>.</span><span class='lblOffset identifier id'>lblOffset</span> <span class='assign token'>=</span> <span class='string val'>&quot;100%&quot;</span>
- <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>
- <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'>&quot;#{o[0]}=&quot;</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'>&quot;#{o[0]}=&quot;</span>
- <span class='end end kw'>end</span>
+ <span class='super super kw'>super</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='rparen token'>)</span>
<span class='end end kw'>end</span>
</pre>
</td>
@@ -529,12 +532,12 @@ based on the data that is used for the axis labels, not a specific choice.
<pre class="lines">
-6
7
-8</pre>
+8
+9</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/cat_axis.rb', line 6</span>
+ <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/cat_axis.rb', line 7</span>
<span class='def def kw'>def</span> <span class='auto identifier id'>auto</span>
<span class='@auto ivar id'>@auto</span>
@@ -587,12 +590,12 @@ specifies how the perpendicular axis is crossed must be one of [:ctr, :l,
<pre class="lines">
-11
12
-13</pre>
+13
+14</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/cat_axis.rb', line 11</span>
+ <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/cat_axis.rb', line 12</span>
<span class='def def kw'>def</span> <span class='lblAlgn identifier id'>lblAlgn</span>
<span class='@lblAlgn ivar id'>@lblAlgn</span>
@@ -644,12 +647,12 @@ The offset of the labels must be between a string between 0 and 1000
<pre class="lines">
-16
17
-18</pre>
+18
+19</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/cat_axis.rb', line 16</span>
+ <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/cat_axis.rb', line 17</span>
<span class='def def kw'>def</span> <span class='lblOffset identifier id'>lblOffset</span>
<span class='@lblOffset ivar id'>@lblOffset</span>
@@ -726,17 +729,17 @@ The document builder instance this objects xml will be added to.
<pre class="lines">
+45
+46
47
48
49
50
51
-52
-53
-54</pre>
+52</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/cat_axis.rb', line 47</span>
+ <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/cat_axis.rb', line 45</span>
<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>
<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:catAx'</span><span class='rparen token'>)</span> <span class='lbrace token'>{</span>
@@ -757,7 +760,7 @@ The document builder instance this objects xml will be added to.
</div>
<div id="footer">
- Generated on Tue Nov 22 23:52:42 2011 by
+ Generated on Wed Nov 23 12:24:00 2011 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.7.3 (ruby-1.8.7).
</div>
diff --git a/doc/Axlsx/CatAxisData.html b/doc/Axlsx/CatAxisData.html
new file mode 100644
index 00000000..fd0ea3aa
--- /dev/null
+++ b/doc/Axlsx/CatAxisData.html
@@ -0,0 +1,400 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+ <head>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+<title>
+ Class: Axlsx::CatAxisData
+
+ &mdash; Documentation by YARD 0.7.3
+
+</title>
+
+ <link rel="stylesheet" href="../css/style.css" type="text/css" media="screen" charset="utf-8" />
+
+ <link rel="stylesheet" href="../css/common.css" type="text/css" media="screen" charset="utf-8" />
+
+<script type="text/javascript" charset="utf-8">
+ relpath = '..';
+ if (relpath != '') relpath += '/';
+</script>
+
+ <script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
+
+ <script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
+
+
+ </head>
+ <body>
+ <script type="text/javascript" charset="utf-8">
+ if (window.top.frames.main) document.body.className = 'frames';
+ </script>
+
+ <div id="header">
+ <div id="menu">
+
+ <a href="../_index.html">Index (C)</a> &raquo;
+ <span class='title'><span class='object_link'><a href="../Axlsx.html" title="Axlsx (module)">Axlsx</a></span></span>
+ &raquo;
+ <span class="title">CatAxisData</span>
+
+
+ <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
+</div>
+
+ <div id="search">
+
+ <a id="class_list_link" href="#">Class List</a>
+
+ <a id="method_list_link" href="#">Method List</a>
+
+ <a id="file_list_link" href="#">File List</a>
+
+</div>
+ <div class="clear"></div>
+ </div>
+
+ <iframe id="search_frame"></iframe>
+
+ <div id="content"><h1>Class: Axlsx::CatAxisData
+
+
+
+</h1>
+
+<dl class="box">
+
+ <dt class="r1">Inherits:</dt>
+ <dd class="r1">
+ <span class="inheritName"><span class='object_link'><a href="SimpleTypedList.html" title="Axlsx::SimpleTypedList (class)">SimpleTypedList</a></span></span>
+
+ <ul class="fullTree">
+ <li>Object</li>
+
+ <li class="next"><span class='object_link'><a href="SimpleTypedList.html" title="Axlsx::SimpleTypedList (class)">SimpleTypedList</a></span></li>
+
+ <li class="next">Axlsx::CatAxisData</li>
+
+ </ul>
+ <a href="#" class="inheritanceTree">show all</a>
+
+ </dd>
+
+
+
+
+
+
+
+
+
+ <dt class="r2 last">Defined in:</dt>
+ <dd class="r2 last">lib/axlsx/drawing/cat_axis_data.rb</dd>
+
+</dl>
+<div class="clear"></div>
+
+<h2>Overview</h2><div class="docstring">
+ <div class="discussion">
+ <p>
+The CatAxisData class serializes the category axis data for a chart
+</p>
+
+
+ </div>
+</div>
+<div class="tags">
+
+
+</div><div id="subclasses">
+ <h2>Direct Known Subclasses</h2>
+ <p class="children"><span class='object_link'><a href="ValAxisData.html" title="Axlsx::ValAxisData (class)">ValAxisData</a></span></p>
+</div>
+
+
+
+
+
+
+
+
+
+
+
+ <h2>Instance Attribute Summary</h2>
+
+ <h3 class="inherited">Attributes inherited from <span class='object_link'><a href="SimpleTypedList.html" title="Axlsx::SimpleTypedList (class)">SimpleTypedList</a></span></h3>
+ <p class="inherited"><span class='object_link'><a href="SimpleTypedList.html#allowed_types-instance_method" title="Axlsx::SimpleTypedList#allowed_types (method)">allowed_types</a></span>, <span class='object_link'><a href="SimpleTypedList.html#locked_at-instance_method" title="Axlsx::SimpleTypedList#locked_at (method)">locked_at</a></span>, <span class='object_link'><a href="SimpleTypedList.html#serialize_as-instance_method" title="Axlsx::SimpleTypedList#serialize_as (method)">serialize_as</a></span></p>
+
+
+
+ <h2>
+ Instance Method Summary
+ <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
+ </h2>
+
+ <ul class="summary">
+
+ <li class="public ">
+ <span class="summary_signature">
+
+ <a href="#initialize-instance_method" title="#initialize (instance method)">- (CatAxisData) <strong>initialize</strong>(data = []) </a>
+
+
+
+ </span>
+
+ <span class="note title constructor">constructor</span>
+
+
+
+
+
+
+
+
+ <span class="summary_desc"><div class='inline'><p>
+Create a new CatAxisData object.
+</p>
+</div></span>
+
+</li>
+
+
+ <li class="public ">
+ <span class="summary_signature">
+
+ <a href="#to_xml-instance_method" title="#to_xml (instance method)">- (String) <strong>to_xml</strong>(xml) </a>
+
+
+
+ </span>
+
+
+
+
+
+
+
+
+ <span class="summary_desc"><div class='inline'><p>
+Serializes the category axis data.
+</p>
+</div></span>
+
+</li>
+
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+ <h3 class="inherited">Methods inherited from <span class='object_link'><a href="SimpleTypedList.html" title="Axlsx::SimpleTypedList (class)">SimpleTypedList</a></span></h3>
+ <p class="inherited"><span class='object_link'><a href="SimpleTypedList.html#%3C%3C-instance_method" title="Axlsx::SimpleTypedList#&lt;&lt; (method)">#<<</a></span>, <span class='object_link'><a href="SimpleTypedList.html#%3D%3D-instance_method" title="Axlsx::SimpleTypedList#== (method)">#==</a></span>, <span class='object_link'><a href="SimpleTypedList.html#%5B%5D%3D-instance_method" title="Axlsx::SimpleTypedList#[]= (method)">#[]=</a></span>, <span class='object_link'><a href="SimpleTypedList.html#delete-instance_method" title="Axlsx::SimpleTypedList#delete (method)">#delete</a></span>, <span class='object_link'><a href="SimpleTypedList.html#delete_at-instance_method" title="Axlsx::SimpleTypedList#delete_at (method)">#delete_at</a></span>, <span class='object_link'><a href="SimpleTypedList.html#lock-instance_method" title="Axlsx::SimpleTypedList#lock (method)">#lock</a></span>, <span class='object_link'><a href="SimpleTypedList.html#method_missing-instance_method" title="Axlsx::SimpleTypedList#method_missing (method)">#method_missing</a></span>, <span class='object_link'><a href="SimpleTypedList.html#protected%3F-instance_method" title="Axlsx::SimpleTypedList#protected? (method)">#protected?</a></span>, <span class='object_link'><a href="SimpleTypedList.html#push-instance_method" title="Axlsx::SimpleTypedList#push (method)">#push</a></span>, <span class='object_link'><a href="SimpleTypedList.html#unlock-instance_method" title="Axlsx::SimpleTypedList#unlock (method)">#unlock</a></span></p>
+<div id="constructor_details" class="method_details_list">
+ <h2>Constructor Details</h2>
+
+ <div class="method_details first">
+ <p class="signature first" id="initialize-instance_method">
+
+ - (<tt><span class='object_link'><a href="" title="Axlsx::CatAxisData (class)">CatAxisData</a></span></tt>) <strong>initialize</strong>(data = [])
+
+
+
+</p><div class="docstring">
+ <div class="discussion">
+ <p>
+Create a new CatAxisData object
+</p>
+
+
+ </div>
+</div>
+<div class="tags">
+ <h3>Parameters:</h3>
+<ul class="param">
+
+ <li>
+
+ <span class='name'>data</span>
+
+
+ <span class='type'>(<tt>Array</tt>, <tt><span class='object_link'><a href="SimpleTypedList.html" title="Axlsx::SimpleTypedList (class)">SimpleTypedList</a></span></tt>)</span>
+
+
+ <em class="default">(defaults to: <tt>[]</tt>)</em>
+
+
+ &mdash;
+ <div class='inline'><p>
+the data for this category axis. This can be a simple array or a simple
+typed list of cells.
+</p>
+</div>
+
+ </li>
+
+</ul>
+
+
+</div><table class="source_code">
+ <tr>
+ <td>
+ <pre class="lines">
+
+
+7
+8
+9
+10</pre>
+ </td>
+ <td>
+ <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/cat_axis_data.rb', line 7</span>
+
+<span class='def def kw'>def</span> <span class='initialize identifier id'>initialize</span><span class='lparen token'>(</span><span class='data identifier id'>data</span><span class='assign token'>=</span><span class='lbrack token'>[</span><span class='rbrack token'>]</span><span class='rparen token'>)</span>
+ <span class='super super kw'>super</span> <span class='Object constant id'>Object</span>
+ <span class='@list ivar id'>@list</span><span class='dot token'>.</span><span class='concat identifier id'>concat</span> <span class='data identifier id'>data</span> <span class='if if_mod kw'>if</span> <span class='data identifier id'>data</span><span class='dot token'>.</span><span class='is_a? fid id'>is_a?</span><span class='lparen token'>(</span><span class='Array constant id'>Array</span><span class='rparen token'>)</span>
+<span class='end end kw'>end</span>
+</pre>
+ </td>
+ </tr>
+</table>
+</div>
+
+</div>
+<div id="method_missing_details" class="method_details_list">
+ <h2>Dynamic Method Handling</h2>
+ <p class="notice super">
+ This class handles dynamic methods through the <tt>method_missing</tt> method
+
+ in the class <span class='object_link'><a href="SimpleTypedList.html#method_missing-instance_method" title="Axlsx::SimpleTypedList#method_missing (method)">Axlsx::SimpleTypedList</a></span>
+
+ </p>
+
+</div>
+
+
+ <div id="instance_method_details" class="method_details_list">
+ <h2>Instance Method Details</h2>
+
+
+ <div class="method_details first">
+ <p class="signature first" id="to_xml-instance_method">
+
+ - (<tt>String</tt>) <strong>to_xml</strong>(xml)
+
+
+
+</p><div class="docstring">
+ <div class="discussion">
+ <p>
+Serializes the category axis data
+</p>
+
+
+ </div>
+</div>
+<div class="tags">
+ <h3>Parameters:</h3>
+<ul class="param">
+
+ <li>
+
+ <span class='name'>xml</span>
+
+
+ <span class='type'>(<tt>Nokogiri::XML::Builder</tt>)</span>
+
+
+
+ &mdash;
+ <div class='inline'><p>
+The document builder instance this objects xml will be added to.
+</p>
+</div>
+
+ </li>
+
+</ul>
+
+<h3>Returns:</h3>
+<ul class="return">
+
+ <li>
+
+
+ <span class='type'>(<tt>String</tt>)</span>
+
+
+
+ </li>
+
+</ul>
+
+</div><table class="source_code">
+ <tr>
+ <td>
+ <pre class="lines">
+
+
+15
+16
+17
+18
+19
+20
+21
+22
+23
+24
+25
+26
+27
+28
+29
+30</pre>
+ </td>
+ <td>
+ <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/cat_axis_data.rb', line 15</span>
+
+<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>
+ <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:cat'</span><span class='rparen token'>)</span> <span class='lbrace token'>{</span>
+ <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:strRef'</span><span class='rparen token'>)</span> <span class='lbrace token'>{</span>
+ <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:f'</span><span class='comma token'>,</span> <span class='Axlsx constant id'>Axlsx</span><span class='colon2 op'>::</span><span class='cell_range identifier id'>cell_range</span><span class='lparen token'>(</span><span class='@list ivar id'>@list</span><span class='rparen token'>)</span><span class='rparen token'>)</span>
+ <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:strCache'</span><span class='rparen token'>)</span> <span class='lbrace token'>{</span>
+ <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:ptCount'</span><span class='comma token'>,</span> <span class='symbol val'>:val=</span><span class='gt op'>&gt;</span><span class='size identifier id'>size</span><span class='rparen token'>)</span>
+ <span class='each_with_index identifier id'>each_with_index</span> <span class='do do kw'>do</span> <span class='bitor op'>|</span><span class='item identifier id'>item</span><span class='comma token'>,</span> <span class='index identifier id'>index</span><span class='bitor op'>|</span>
+ <span class='v identifier id'>v</span> <span class='assign token'>=</span> <span class='item identifier id'>item</span><span class='dot token'>.</span><span class='is_a? fid id'>is_a?</span><span class='lparen token'>(</span><span class='Cell constant id'>Cell</span><span class='rparen token'>)</span> <span class='question op'>?</span> <span class='item identifier id'>item</span><span class='dot token'>.</span><span class='value identifier id'>value</span> <span class='colon op'>:</span> <span class='item identifier id'>item</span>
+ <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:pt'</span><span class='comma token'>,</span> <span class='symbol val'>:idx=</span><span class='gt op'>&gt;</span><span class='index identifier id'>index</span><span class='rparen token'>)</span> <span class='lbrace token'>{</span>
+ <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:v'</span><span class='comma token'>,</span> <span class='v identifier id'>v</span><span class='rparen token'>)</span>
+ <span class='rbrace token'>}</span>
+ <span class='end end kw'>end</span>
+ <span class='rbrace token'>}</span>
+ <span class='rbrace token'>}</span>
+ <span class='rbrace token'>}</span>
+<span class='end end kw'>end</span>
+</pre>
+ </td>
+ </tr>
+</table>
+</div>
+
+ </div>
+
+</div>
+
+ <div id="footer">
+ Generated on Wed Nov 23 12:23:51 2011 by
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
+ 0.7.3 (ruby-1.8.7).
+</div>
+
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/Axlsx/Cell.html b/doc/Axlsx/Cell.html
index 44da43ed..bef1219e 100644
--- a/doc/Axlsx/Cell.html
+++ b/doc/Axlsx/Cell.html
@@ -1614,7 +1614,7 @@ xml text for the cell
</div>
<div id="footer">
- Generated on Tue Nov 22 23:52:52 2011 by
+ Generated on Wed Nov 23 12:23:47 2011 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.7.3 (ruby-1.8.7).
</div>
diff --git a/doc/Axlsx/CellAlignment.html b/doc/Axlsx/CellAlignment.html
index 3da3113f..4ac86068 100644
--- a/doc/Axlsx/CellAlignment.html
+++ b/doc/Axlsx/CellAlignment.html
@@ -1238,7 +1238,7 @@ The document builder instance this objects xml will be added to.
</div>
<div id="footer">
- Generated on Tue Nov 22 23:52:55 2011 by
+ Generated on Wed Nov 23 12:23:54 2011 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.7.3 (ruby-1.8.7).
</div>
diff --git a/doc/Axlsx/CellProtection.html b/doc/Axlsx/CellProtection.html
index 9088a55b..267d5865 100644
--- a/doc/Axlsx/CellProtection.html
+++ b/doc/Axlsx/CellProtection.html
@@ -556,7 +556,7 @@ The document builder instance this objects xml will be added to.
</div>
<div id="footer">
- Generated on Tue Nov 22 23:52:37 2011 by
+ Generated on Wed Nov 23 12:24:01 2011 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.7.3 (ruby-1.8.7).
</div>
diff --git a/doc/Axlsx/CellStyle.html b/doc/Axlsx/CellStyle.html
index a8769cbe..26d4d512 100644
--- a/doc/Axlsx/CellStyle.html
+++ b/doc/Axlsx/CellStyle.html
@@ -940,7 +940,7 @@ The document builder instance this objects xml will be added to.
</div>
<div id="footer">
- Generated on Tue Nov 22 23:52:32 2011 by
+ Generated on Wed Nov 23 12:24:01 2011 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.7.3 (ruby-1.8.7).
</div>
diff --git a/doc/Axlsx/Chart.html b/doc/Axlsx/Chart.html
index 2f1a6465..6665f8a0 100644
--- a/doc/Axlsx/Chart.html
+++ b/doc/Axlsx/Chart.html
@@ -114,6 +114,13 @@ A Chart is the superclass for specific charts
<div class="tags">
+ <h3>See Also:</h3>
+ <ul class="see">
+
+ <li>for examples</li>
+
+ </ul>
+
</div><div id="subclasses">
<h2>Direct Known Subclasses</h2>
<p class="children"><span class='object_link'><a href="Bar3DChart.html" title="Axlsx::Bar3DChart (class)">Bar3DChart</a></span>, <span class='object_link'><a href="Line3DChart.html" title="Axlsx::Line3DChart (class)">Line3DChart</a></span>, <span class='object_link'><a href="Pie3DChart.html" title="Axlsx::Pie3DChart (class)">Pie3DChart</a></span></p>
@@ -126,14 +133,14 @@ A Chart is the superclass for specific charts
<li class="public ">
<span class="summary_signature">
- <a href="#end_at-instance_method" title="#end_at (instance method)">- (Marker) <strong>end_at</strong> </a>
+ <a href="#graphic_frame-instance_method" title="#graphic_frame (instance method)">- (GraphicFrame) <strong>graphic_frame</strong> </a>
</span>
-
+ <span class="note title readonly">readonly</span>
@@ -143,7 +150,7 @@ A Chart is the superclass for specific charts
<span class="summary_desc"><div class='inline'><p>
-The ending marker for this chart.
+A reference to the graphic frame that owns this chart.
</p>
</div></span>
@@ -153,7 +160,7 @@ The ending marker for this chart.
<li class="public ">
<span class="summary_signature">
- <a href="#graphic_frame-instance_method" title="#graphic_frame (instance method)">- (GraphicFrame) <strong>graphic_frame</strong> </a>
+ <a href="#index-instance_method" title="#index (instance method)">- (Integer) <strong>index</strong> </a>
@@ -170,7 +177,7 @@ The ending marker for this chart.
<span class="summary_desc"><div class='inline'><p>
-A reference to the graphic frame that owns this chart.
+The index of this chart in the workbooks charts collection.
</p>
</div></span>
@@ -180,7 +187,7 @@ A reference to the graphic frame that owns this chart.
<li class="public ">
<span class="summary_signature">
- <a href="#index-instance_method" title="#index (instance method)">- (Integer) <strong>index</strong> </a>
+ <a href="#pn-instance_method" title="#pn (instance method)">- (String) <strong>pn</strong> </a>
@@ -197,7 +204,7 @@ A reference to the graphic frame that owns this chart.
<span class="summary_desc"><div class='inline'><p>
-The index of this chart in the workbooks charts collection.
+The part name for this chart.
</p>
</div></span>
@@ -207,7 +214,7 @@ The index of this chart in the workbooks charts collection.
<li class="public ">
<span class="summary_signature">
- <a href="#pn-instance_method" title="#pn (instance method)">- (String) <strong>pn</strong> </a>
+ <a href="#series-instance_method" title="#series (instance method)">- (SimpleTypedList) <strong>series</strong> </a>
@@ -224,7 +231,7 @@ The index of this chart in the workbooks charts collection.
<span class="summary_desc"><div class='inline'><p>
-The part name for this chart.
+A collection of series objects that are applied to the chart.
</p>
</div></span>
@@ -234,7 +241,7 @@ The part name for this chart.
<li class="public ">
<span class="summary_signature">
- <a href="#series-instance_method" title="#series (instance method)">- (SimpleTypedList) <strong>series</strong> </a>
+ <a href="#series_type-instance_method" title="#series_type (instance method)">- (Series) <strong>series_type</strong> </a>
@@ -251,7 +258,7 @@ The part name for this chart.
<span class="summary_desc"><div class='inline'><p>
-A collection of series objects that are applied to the chart.
+The type of series to use for this chart.
</p>
</div></span>
@@ -261,14 +268,14 @@ A collection of series objects that are applied to the chart.
<li class="public ">
<span class="summary_signature">
- <a href="#series_type-instance_method" title="#series_type (instance method)">- (Series) <strong>series_type</strong> </a>
+ <a href="#show_legend-instance_method" title="#show_legend (instance method)">- (Boolean) <strong>show_legend</strong> </a>
</span>
- <span class="note title readonly">readonly</span>
+
@@ -278,7 +285,7 @@ A collection of series objects that are applied to the chart.
<span class="summary_desc"><div class='inline'><p>
-The type of series to use for this chart.
+Show the legend in the chart.
</p>
</div></span>
@@ -288,7 +295,7 @@ The type of series to use for this chart.
<li class="public ">
<span class="summary_signature">
- <a href="#show_legend-instance_method" title="#show_legend (instance method)">- (Boolean) <strong>show_legend</strong> </a>
+ <a href="#style-instance_method" title="#style (instance method)">- (Integer) <strong>style</strong> </a>
@@ -305,7 +312,7 @@ The type of series to use for this chart.
<span class="summary_desc"><div class='inline'><p>
-Show the legend in the chart.
+The style for the chart.
</p>
</div></span>
@@ -315,7 +322,7 @@ Show the legend in the chart.
<li class="public ">
<span class="summary_signature">
- <a href="#start_at-instance_method" title="#start_at (instance method)">- (Marker) <strong>start_at</strong> </a>
+ <a href="#title-instance_method" title="#title (instance method)">- (Title) <strong>title</strong> </a>
@@ -332,7 +339,7 @@ Show the legend in the chart.
<span class="summary_desc"><div class='inline'><p>
-The starting marker for this chart.
+The title object for the chart.
</p>
</div></span>
@@ -342,7 +349,7 @@ The starting marker for this chart.
<li class="public ">
<span class="summary_signature">
- <a href="#style-instance_method" title="#style (instance method)">- (Integer) <strong>style</strong> </a>
+ <a href="#view3D-instance_method" title="#view3D (instance method)">- (Object) <strong>view3D</strong> </a>
@@ -359,26 +366,36 @@ The starting marker for this chart.
<span class="summary_desc"><div class='inline'><p>
-The style for the chart.
+The 3D view properties for the chart.
</p>
</div></span>
</li>
- <li class="public ">
+ </ul>
+
+
+
+
+
+ <h2>
+ Instance Method Summary
+ <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
+ </h2>
+
+ <ul class="summary">
+
+ <li class="public ">
<span class="summary_signature">
- <a href="#title-instance_method" title="#title (instance method)">- (Title) <strong>title</strong> </a>
+ <a href="#add_series-instance_method" title="#add_series (instance method)">- (Series) <strong>add_series</strong>(options = {}) </a>
</span>
-
-
-
@@ -386,25 +403,47 @@ The style for the chart.
<span class="summary_desc"><div class='inline'><p>
-The title object for the chart.
+Adds a new series to the chart&#8217;s series collection.
</p>
</div></span>
</li>
-
- <li class="public ">
+
+ <li class="public ">
<span class="summary_signature">
- <a href="#view3D-instance_method" title="#view3D (instance method)">- (Object) <strong>view3D</strong> </a>
+ <a href="#end_at-instance_method" title="#end_at (instance method)">- (Marker) <strong>end_at</strong>(x, y) </a>
</span>
+
+
+
+
+
+
+ <span class="summary_desc"><div class='inline'><p>
+This is a short cut method to set the end anchor position If you need finer
+granularity in positioning use graphic_frame.anchor.to.colOff / rowOff.
+</p>
+</div></span>
+
+</li>
+
+
+ <li class="public ">
+ <span class="summary_signature">
+ <a href="#from-instance_method" title="#from (instance method)">- (Object) <strong>from</strong> </a>
+
+
+ </span>
+
@@ -413,30 +452,44 @@ The title object for the chart.
<span class="summary_desc"><div class='inline'><p>
-The 3D view properties for the chart.
+backwards compatibility to allow chart.to and chart.from access to anchor
+markers.
</p>
</div></span>
</li>
+
+ <li class="public ">
+ <span class="summary_signature">
+
+ <a href="#initialize-instance_method" title="#initialize (instance method)">- (Chart) <strong>initialize</strong>(frame, options = {}) {|_self| ... }</a>
- </ul>
-
-
+
+ </span>
+
+ <span class="note title constructor">constructor</span>
+
+
+
+
+
+
- <h2>
- Instance Method Summary
- <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
- </h2>
+ <span class="summary_desc"><div class='inline'><p>
+Creates a new chart object.
+</p>
+</div></span>
+
+</li>
- <ul class="summary">
<li class="public ">
<span class="summary_signature">
- <a href="#add_series-instance_method" title="#add_series (instance method)">- (Series) <strong>add_series</strong>(options = {}) </a>
+ <a href="#start_at-instance_method" title="#start_at (instance method)">- (Marker) <strong>start_at</strong>(x, y) </a>
@@ -450,7 +503,9 @@ The 3D view properties for the chart.
<span class="summary_desc"><div class='inline'><p>
-Adds a new series to the chart&#8217;s series collection.
+This is a short cut method to set the start anchor position If you need
+finer granularity in positioning use graphic_frame.anchor.from.colOff /
+rowOff.
</p>
</div></span>
@@ -460,14 +515,12 @@ Adds a new series to the chart&#8217;s series collection.
<li class="public ">
<span class="summary_signature">
- <a href="#initialize-instance_method" title="#initialize (instance method)">- (Chart) <strong>initialize</strong>(frame, options = {}) {|_self| ... }</a>
+ <a href="#to-instance_method" title="#to (instance method)">- (Object) <strong>to</strong> </a>
</span>
- <span class="note title constructor">constructor</span>
-
@@ -476,7 +529,8 @@ Adds a new series to the chart&#8217;s series collection.
<span class="summary_desc"><div class='inline'><p>
-Creates a new chart object.
+backwards compatibility to allow chart.to and chart.from access to anchor
+markers.
</p>
</div></span>
@@ -641,6 +695,12 @@ the object that the method was called on
<pre class="lines">
+52
+53
+54
+55
+56
+57
58
59
60
@@ -648,14 +708,10 @@ the object that the method was called on
62
63
64
-65
-66
-67
-68
-69</pre>
+65</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/chart.rb', line 58</span>
+ <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/chart.rb', line 52</span>
<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>
<span class='@style ivar id'>@style</span> <span class='assign token'>=</span> <span class='integer val'>2</span>
@@ -667,6 +723,8 @@ the object that the method was called on
<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>
<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'>&quot;#{o[0]}=&quot;</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'>&quot;#{o[0]}=&quot;</span>
<span class='end end kw'>end</span>
+ <span class='start_at identifier id'>start_at</span> <span class='mult op'>*</span><span class='options identifier id'>options</span><span class='lbrack token'>[</span><span class='symbol val'>:start_at</span><span class='rbrack token'>]</span> <span class='if if_mod kw'>if</span> <span class='options identifier id'>options</span><span class='lbrack token'>[</span><span class='symbol val'>:start_at</span><span class='rbrack token'>]</span>
+ <span class='end_at identifier id'>end_at</span> <span class='mult op'>*</span><span class='options identifier id'>options</span><span class='lbrack token'>[</span><span class='symbol val'>:end_at</span><span class='rbrack token'>]</span> <span class='if if_mod kw'>if</span> <span class='options identifier id'>options</span><span class='lbrack token'>[</span><span class='symbol val'>:start_at</span><span class='rbrack token'>]</span>
<span class='yield yield kw'>yield</span> <span class='self self kw'>self</span> <span class='if if_mod kw'>if</span> <span class='block_given? fid id'>block_given?</span>
<span class='end end kw'>end</span>
</pre>
@@ -681,67 +739,10 @@ the object that the method was called on
<h2>Instance Attribute Details</h2>
- <span id="end_at=-instance_method"></span>
- <span id="end_at-instance_method"></span>
- <div class="method_details first">
- <p class="signature first" id="end_at-instance_method">
-
- - (<tt><span class='object_link'><a href="Marker.html" title="Axlsx::Marker (class)">Marker</a></span></tt>) <strong>end_at</strong>
-
-
-
-</p><div class="docstring">
- <div class="discussion">
- <p>
-The ending marker for this chart
-</p>
-
-
- </div>
-</div>
-<div class="tags">
-
-<h3>Returns:</h3>
-<ul class="return">
-
- <li>
-
-
- <span class='type'>(<tt><span class='object_link'><a href="Marker.html" title="Axlsx::Marker (class)">Marker</a></span></tt>)</span>
-
-
-
- </li>
-
-</ul>
-
-</div><table class="source_code">
- <tr>
- <td>
- <pre class="lines">
-
-
-48
-49
-50</pre>
- </td>
- <td>
- <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/chart.rb', line 48</span>
-
-<span class='def def kw'>def</span> <span class='end_at identifier id'>end_at</span>
- <span class='@end_at ivar id'>@end_at</span>
-<span class='end end kw'>end</span>
-</pre>
- </td>
- </tr>
-</table>
-</div>
-
-
<span id=""></span>
<span id="graphic_frame-instance_method"></span>
- <div class="method_details ">
- <p class="signature " id="graphic_frame-instance_method">
+ <div class="method_details first">
+ <p class="signature first" id="graphic_frame-instance_method">
- (<tt><span class='object_link'><a href="GraphicFrame.html" title="Axlsx::GraphicFrame (class)">GraphicFrame</a></span></tt>) <strong>graphic_frame</strong> <span class="extras">(readonly)</span>
@@ -778,12 +779,12 @@ A reference to the graphic frame that owns this chart
<pre class="lines">
-21
-22
-23</pre>
+14
+15
+16</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/chart.rb', line 21</span>
+ <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/chart.rb', line 14</span>
<span class='def def kw'>def</span> <span class='graphic_frame identifier id'>graphic_frame</span>
<span class='@graphic_frame ivar id'>@graphic_frame</span>
@@ -835,12 +836,12 @@ The index of this chart in the workbooks charts collection
<pre class="lines">
-33
-34
-35</pre>
+26
+27
+28</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/chart.rb', line 33</span>
+ <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/chart.rb', line 26</span>
<span class='def def kw'>def</span> <span class='index identifier id'>index</span>
<span class='@graphic_frame ivar id'>@graphic_frame</span><span class='dot token'>.</span><span class='anchor identifier id'>anchor</span><span class='dot token'>.</span><span class='drawing identifier id'>drawing</span><span class='dot token'>.</span><span class='worksheet identifier id'>worksheet</span><span class='dot token'>.</span><span class='workbook identifier id'>workbook</span><span class='dot token'>.</span><span class='charts identifier id'>charts</span><span class='dot token'>.</span><span class='index identifier id'>index</span><span class='lparen token'>(</span><span class='self self kw'>self</span><span class='rparen token'>)</span>
@@ -892,12 +893,12 @@ The part name for this chart
<pre class="lines">
-37
-38
-39</pre>
+30
+31
+32</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/chart.rb', line 37</span>
+ <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/chart.rb', line 30</span>
<span class='def def kw'>def</span> <span class='pn identifier id'>pn</span>
<span class='dstring node'>&quot;#{CHART_PN % (index+1)}&quot;</span>
@@ -949,12 +950,12 @@ A collection of series objects that are applied to the chart
<pre class="lines">
-25
-26
-27</pre>
+18
+19
+20</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/chart.rb', line 25</span>
+ <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/chart.rb', line 18</span>
<span class='def def kw'>def</span> <span class='series identifier id'>series</span>
<span class='@series ivar id'>@series</span>
@@ -978,7 +979,7 @@ A collection of series objects that are applied to the chart
</p><div class="docstring">
<div class="discussion">
<p>
-The type of series to use for this chart
+The type of series to use for this chart.
</p>
@@ -1006,12 +1007,12 @@ The type of series to use for this chart
<pre class="lines">
-29
-30
-31</pre>
+22
+23
+24</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/chart.rb', line 29</span>
+ <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/chart.rb', line 22</span>
<span class='def def kw'>def</span> <span class='series_type identifier id'>series_type</span>
<span class='@series_type ivar id'>@series_type</span>
@@ -1063,12 +1064,12 @@ Show the legend in the chart
<pre class="lines">
-52
-53
-54</pre>
+46
+47
+48</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/chart.rb', line 52</span>
+ <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/chart.rb', line 46</span>
<span class='def def kw'>def</span> <span class='show_legend identifier id'>show_legend</span>
<span class='@show_legend ivar id'>@show_legend</span>
@@ -1080,19 +1081,19 @@ Show the legend in the chart
</div>
- <span id="start_at=-instance_method"></span>
- <span id="start_at-instance_method"></span>
+ <span id="style=-instance_method"></span>
+ <span id="style-instance_method"></span>
<div class="method_details ">
- <p class="signature " id="start_at-instance_method">
+ <p class="signature " id="style-instance_method">
- - (<tt><span class='object_link'><a href="Marker.html" title="Axlsx::Marker (class)">Marker</a></span></tt>) <strong>start_at</strong>
+ - (<tt>Integer</tt>) <strong>style</strong>
</p><div class="docstring">
<div class="discussion">
<p>
-The starting marker for this chart
+The style for the chart. see ECMA Part 1 §21.2.2.196
</p>
@@ -1106,7 +1107,7 @@ The starting marker for this chart
<li>
- <span class='type'>(<tt><span class='object_link'><a href="Marker.html" title="Axlsx::Marker (class)">Marker</a></span></tt>)</span>
+ <span class='type'>(<tt>Integer</tt>)</span>
@@ -1120,15 +1121,15 @@ The starting marker for this chart
<pre class="lines">
-44
-45
-46</pre>
+42
+43
+44</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/chart.rb', line 44</span>
+ <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/chart.rb', line 42</span>
-<span class='def def kw'>def</span> <span class='start_at identifier id'>start_at</span>
- <span class='@start_at ivar id'>@start_at</span>
+<span class='def def kw'>def</span> <span class='style identifier id'>style</span>
+ <span class='@style ivar id'>@style</span>
<span class='end end kw'>end</span>
</pre>
</td>
@@ -1137,19 +1138,19 @@ The starting marker for this chart
</div>
- <span id="style=-instance_method"></span>
- <span id="style-instance_method"></span>
+ <span id="title=-instance_method"></span>
+ <span id="title-instance_method"></span>
<div class="method_details ">
- <p class="signature " id="style-instance_method">
+ <p class="signature " id="title-instance_method">
- - (<tt>Integer</tt>) <strong>style</strong>
+ - (<tt><span class='object_link'><a href="Title.html" title="Axlsx::Title (class)">Title</a></span></tt>) <strong>title</strong>
</p><div class="docstring">
<div class="discussion">
<p>
-The style for the chart. see ECMA Part 1 §21.2.2.196
+The title object for the chart.
</p>
@@ -1163,7 +1164,7 @@ The style for the chart. see ECMA Part 1 §21.2.2.196
<li>
- <span class='type'>(<tt>Integer</tt>)</span>
+ <span class='type'>(<tt><span class='object_link'><a href="Title.html" title="Axlsx::Title (class)">Title</a></span></tt>)</span>
@@ -1177,15 +1178,15 @@ The style for the chart. see ECMA Part 1 §21.2.2.196
<pre class="lines">
-14
-15
-16</pre>
+37
+38
+39</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/chart.rb', line 14</span>
+ <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/chart.rb', line 37</span>
-<span class='def def kw'>def</span> <span class='style identifier id'>style</span>
- <span class='@style ivar id'>@style</span>
+<span class='def def kw'>def</span> <span class='title identifier id'>title</span>
+ <span class='@title ivar id'>@title</span>
<span class='end end kw'>end</span>
</pre>
</td>
@@ -1194,19 +1195,67 @@ The style for the chart. see ECMA Part 1 §21.2.2.196
</div>
- <span id="title=-instance_method"></span>
- <span id="title-instance_method"></span>
+ <span id="view3D=-instance_method"></span>
+ <span id="view3D-instance_method"></span>
<div class="method_details ">
- <p class="signature " id="title-instance_method">
+ <p class="signature " id="view3D-instance_method">
- - (<tt><span class='object_link'><a href="Title.html" title="Axlsx::Title (class)">Title</a></span></tt>) <strong>title</strong>
+ - (<tt>Object</tt>) <strong>view3D</strong>
</p><div class="docstring">
<div class="discussion">
<p>
-The title object for the chart.
+The 3D view properties for the chart
+</p>
+
+
+ </div>
+</div>
+<div class="tags">
+
+
+</div><table class="source_code">
+ <tr>
+ <td>
+ <pre class="lines">
+
+
+10
+11
+12</pre>
+ </td>
+ <td>
+ <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/chart.rb', line 10</span>
+
+<span class='def def kw'>def</span> <span class='view3D identifier id'>view3D</span>
+ <span class='@view3D ivar id'>@view3D</span>
+<span class='end end kw'>end</span>
+</pre>
+ </td>
+ </tr>
+</table>
+</div>
+
+ </div>
+
+
+ <div id="instance_method_details" class="method_details_list">
+ <h2>Instance Method Details</h2>
+
+
+ <div class="method_details first">
+ <p class="signature first" id="add_series-instance_method">
+
+ - (<tt><span class='object_link'><a href="Series.html" title="Axlsx::Series (class)">Series</a></span></tt>) <strong>add_series</strong>(options = {})
+
+
+
+</p><div class="docstring">
+ <div class="discussion">
+ <p>
+Adds a new series to the chart&#8217;s series collection.
</p>
@@ -1220,7 +1269,7 @@ The title object for the chart.
<li>
- <span class='type'>(<tt><span class='object_link'><a href="Title.html" title="Axlsx::Title (class)">Title</a></span></tt>)</span>
+ <span class='type'>(<tt><span class='object_link'><a href="Series.html" title="Axlsx::Series (class)">Series</a></span></tt>)</span>
@@ -1228,21 +1277,30 @@ The title object for the chart.
</ul>
+ <h3>See Also:</h3>
+ <ul class="see">
+
+ <li><span class='object_link'><a href="Series.html" title="Axlsx::Series (class)">Series</a></span></li>
+
+ </ul>
+
</div><table class="source_code">
<tr>
<td>
<pre class="lines">
-9
-10
-11</pre>
+101
+102
+103
+104</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/chart.rb', line 9</span>
+ <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/chart.rb', line 101</span>
-<span class='def def kw'>def</span> <span class='title identifier id'>title</span>
- <span class='@title ivar id'>@title</span>
+<span class='def def kw'>def</span> <span class='add_series identifier id'>add_series</span><span class='lparen 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>
+ <span class='@series_type ivar id'>@series_type</span><span class='dot token'>.</span><span class='new identifier id'>new</span><span class='lparen token'>(</span><span class='self self kw'>self</span><span class='comma token'>,</span> <span class='options identifier id'>options</span><span class='rparen token'>)</span>
+ <span class='@series ivar id'>@series</span><span class='dot token'>.</span><span class='last identifier id'>last</span>
<span class='end end kw'>end</span>
</pre>
</td>
@@ -1250,27 +1308,76 @@ The title object for the chart.
</table>
</div>
-
- <span id="view3D=-instance_method"></span>
- <span id="view3D-instance_method"></span>
<div class="method_details ">
- <p class="signature " id="view3D-instance_method">
+ <p class="signature " id="end_at-instance_method">
- - (<tt>Object</tt>) <strong>view3D</strong>
+ - (<tt><span class='object_link'><a href="Marker.html" title="Axlsx::Marker (class)">Marker</a></span></tt>) <strong>end_at</strong>(x, y)
</p><div class="docstring">
<div class="discussion">
<p>
-The 3D view properties for the chart
+This is a short cut method to set the end anchor position If you need finer
+granularity in positioning use graphic_frame.anchor.to.colOff / rowOff
</p>
</div>
</div>
<div class="tags">
+ <h3>Parameters:</h3>
+<ul class="param">
+
+ <li>
+
+ <span class='name'>x</span>
+
+
+ <span class='type'>(<tt>Integer</tt>)</span>
+
+
+
+ &mdash;
+ <div class='inline'><p>
+The column
+</p>
+</div>
+
+ </li>
+
+ <li>
+
+ <span class='name'>y</span>
+
+
+ <span class='type'>(<tt>Integer</tt>)</span>
+
+
+
+ &mdash;
+ <div class='inline'><p>
+The row
+</p>
+</div>
+
+ </li>
+</ul>
+
+<h3>Returns:</h3>
+<ul class="return">
+
+ <li>
+
+
+ <span class='type'>(<tt><span class='object_link'><a href="Marker.html" title="Axlsx::Marker (class)">Marker</a></span></tt>)</span>
+
+
+
+ </li>
+
+</ul>
</div><table class="source_code">
<tr>
@@ -1278,15 +1385,17 @@ The 3D view properties for the chart
<pre class="lines">
-17
-18
-19</pre>
+149
+150
+151
+152</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/chart.rb', line 17</span>
+ <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/chart.rb', line 149</span>
-<span class='def def kw'>def</span> <span class='view3D identifier id'>view3D</span>
- <span class='@view3D ivar id'>@view3D</span>
+<span class='def def kw'>def</span> <span class='end_at identifier id'>end_at</span><span class='lparen token'>(</span><span class='x identifier id'>x</span><span class='comma token'>,</span> <span class='y identifier id'>y</span><span class='rparen token'>)</span>
+ <span class='@graphic_frame ivar id'>@graphic_frame</span><span class='dot token'>.</span><span class='anchor identifier id'>anchor</span><span class='dot token'>.</span><span class='to identifier id'>to</span><span class='dot token'>.</span><span class='col identifier id'>col</span> <span class='assign token'>=</span> <span class='x identifier id'>x</span>
+ <span class='@graphic_frame ivar id'>@graphic_frame</span><span class='dot token'>.</span><span class='anchor identifier id'>anchor</span><span class='dot token'>.</span><span class='to identifier id'>to</span><span class='dot token'>.</span><span class='row identifier id'>row</span> <span class='assign token'>=</span> <span class='y identifier id'>y</span>
<span class='end end kw'>end</span>
</pre>
</td>
@@ -1294,38 +1403,122 @@ The 3D view properties for the chart
</table>
</div>
+ <div class="method_details ">
+ <p class="signature " id="from-instance_method">
+
+ - (<tt>Object</tt>) <strong>from</strong>
+
+
+
+</p><div class="docstring">
+ <div class="discussion">
+
+ <div class="note notetag">
+ <strong>Note:</strong>
+ <div class='inline'><p>
+This will be disconinued in version 2.0.0. please use the start_at method
+</p>
+</div>
</div>
+<p>
+backwards compatibility to allow chart.to and chart.from access to anchor
+markers
+</p>
- <div id="instance_method_details" class="method_details_list">
- <h2>Instance Method Details</h2>
-
+
+ </div>
+</div>
+<div class="tags">
+
+
+</div><table class="source_code">
+ <tr>
+ <td>
+ <pre class="lines">
+
+
+94
+95
+96</pre>
+ </td>
+ <td>
+ <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/chart.rb', line 94</span>
+
+<span class='def def kw'>def</span> <span class='from identifier id'>from</span>
+ <span class='@graphic_frame ivar id'>@graphic_frame</span><span class='dot token'>.</span><span class='anchor identifier id'>anchor</span><span class='dot token'>.</span><span class='from identifier id'>from</span>
+<span class='end end kw'>end</span>
+</pre>
+ </td>
+ </tr>
+</table>
+</div>
- <div class="method_details first">
- <p class="signature first" id="add_series-instance_method">
+ <div class="method_details ">
+ <p class="signature " id="start_at-instance_method">
- - (<tt><span class='object_link'><a href="Series.html" title="Axlsx::Series (class)">Series</a></span></tt>) <strong>add_series</strong>(options = {})
+ - (<tt><span class='object_link'><a href="Marker.html" title="Axlsx::Marker (class)">Marker</a></span></tt>) <strong>start_at</strong>(x, y)
</p><div class="docstring">
<div class="discussion">
<p>
-Adds a new series to the chart&#8217;s series collection.
+This is a short cut method to set the start anchor position If you need
+finer granularity in positioning use graphic_frame.anchor.from.colOff /
+rowOff
</p>
</div>
</div>
<div class="tags">
+ <h3>Parameters:</h3>
+<ul class="param">
+ <li>
+
+ <span class='name'>x</span>
+
+
+ <span class='type'>(<tt>Integer</tt>)</span>
+
+
+
+ &mdash;
+ <div class='inline'><p>
+The column
+</p>
+</div>
+
+ </li>
+
+ <li>
+
+ <span class='name'>y</span>
+
+
+ <span class='type'>(<tt>Integer</tt>)</span>
+
+
+
+ &mdash;
+ <div class='inline'><p>
+The row
+</p>
+</div>
+
+ </li>
+
+</ul>
+
<h3>Returns:</h3>
<ul class="return">
<li>
- <span class='type'>(<tt><span class='object_link'><a href="Series.html" title="Axlsx::Series (class)">Series</a></span></tt>)</span>
+ <span class='type'>(<tt><span class='object_link'><a href="Marker.html" title="Axlsx::Marker (class)">Marker</a></span></tt>)</span>
@@ -1333,12 +1526,58 @@ Adds a new series to the chart&#8217;s series collection.
</ul>
- <h3>See Also:</h3>
- <ul class="see">
+</div><table class="source_code">
+ <tr>
+ <td>
+ <pre class="lines">
+
+
+138
+139
+140
+141</pre>
+ </td>
+ <td>
+ <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/chart.rb', line 138</span>
+
+<span class='def def kw'>def</span> <span class='start_at identifier id'>start_at</span><span class='lparen token'>(</span><span class='x identifier id'>x</span><span class='comma token'>,</span> <span class='y identifier id'>y</span><span class='rparen token'>)</span>
+ <span class='@graphic_frame ivar id'>@graphic_frame</span><span class='dot token'>.</span><span class='anchor identifier id'>anchor</span><span class='dot token'>.</span><span class='from identifier id'>from</span><span class='dot token'>.</span><span class='col identifier id'>col</span> <span class='assign token'>=</span> <span class='x identifier id'>x</span>
+ <span class='@graphic_frame ivar id'>@graphic_frame</span><span class='dot token'>.</span><span class='anchor identifier id'>anchor</span><span class='dot token'>.</span><span class='from identifier id'>from</span><span class='dot token'>.</span><span class='row identifier id'>row</span> <span class='assign token'>=</span> <span class='y identifier id'>y</span>
+<span class='end end kw'>end</span>
+</pre>
+ </td>
+ </tr>
+</table>
+</div>
- <li><span class='object_link'><a href="Series.html" title="Axlsx::Series (class)">Series</a></span></li>
+ <div class="method_details ">
+ <p class="signature " id="to-instance_method">
+
+ - (<tt>Object</tt>) <strong>to</strong>
+
+
+
+</p><div class="docstring">
+ <div class="discussion">
- </ul>
+ <div class="note notetag">
+ <strong>Note:</strong>
+ <div class='inline'><p>
+This will be disconinued in version 2.0.0. Please use the end_at method
+</p>
+</div>
+ </div>
+
+<p>
+backwards compatibility to allow chart.to and chart.from access to anchor
+markers
+</p>
+
+
+ </div>
+</div>
+<div class="tags">
+
</div><table class="source_code">
<tr>
@@ -1346,17 +1585,15 @@ Adds a new series to the chart&#8217;s series collection.
<pre class="lines">
-94
-95
-96
-97</pre>
+87
+88
+89</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/chart.rb', line 94</span>
+ <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/chart.rb', line 87</span>
-<span class='def def kw'>def</span> <span class='add_series identifier id'>add_series</span><span class='lparen 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>
- <span class='@series_type ivar id'>@series_type</span><span class='dot token'>.</span><span class='new identifier id'>new</span><span class='lparen token'>(</span><span class='self self kw'>self</span><span class='comma token'>,</span> <span class='options identifier id'>options</span><span class='rparen token'>)</span>
- <span class='@series ivar id'>@series</span><span class='dot token'>.</span><span class='last identifier id'>last</span>
+<span class='def def kw'>def</span> <span class='to identifier id'>to</span>
+ <span class='@graphic_frame ivar id'>@graphic_frame</span><span class='dot token'>.</span><span class='anchor identifier id'>anchor</span><span class='dot token'>.</span><span class='to identifier id'>to</span>
<span class='end end kw'>end</span>
</pre>
</td>
@@ -1389,13 +1626,6 @@ Chart Serialization serializes the chart
<pre class="lines">
-101
-102
-103
-104
-105
-106
-107
108
109
110
@@ -1411,10 +1641,17 @@ Chart Serialization serializes the chart
120
121
122
-123</pre>
+123
+124
+125
+126
+127
+128
+129
+130</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/chart.rb', line 101</span>
+ <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/chart.rb', line 108</span>
<span class='def def kw'>def</span> <span class='to_xml identifier id'>to_xml</span>
<span class='builder identifier id'>builder</span> <span class='assign token'>=</span> <span class='Nokogiri constant id'>Nokogiri</span><span class='colon2 op'>::</span><span class='XML constant id'>XML</span><span class='colon2 op'>::</span><span class='Builder constant id'>Builder</span><span class='dot token'>.</span><span class='new identifier id'>new</span><span class='lparen token'>(</span><span class='symbol val'>:encoding</span> <span class='assign token'>=</span><span class='gt op'>&gt;</span> <span class='ENCODING constant id'>ENCODING</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>
@@ -1450,7 +1687,7 @@ Chart Serialization serializes the chart
</div>
<div id="footer">
- Generated on Tue Nov 22 23:52:46 2011 by
+ Generated on Wed Nov 23 12:23:58 2011 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.7.3 (ruby-1.8.7).
</div>
diff --git a/doc/Axlsx/Color.html b/doc/Axlsx/Color.html
index e856e81f..e1479faf 100644
--- a/doc/Axlsx/Color.html
+++ b/doc/Axlsx/Color.html
@@ -656,7 +656,7 @@ The document builder instance this objects xml will be added to.
</div>
<div id="footer">
- Generated on Tue Nov 22 23:52:34 2011 by
+ Generated on Wed Nov 23 12:23:51 2011 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.7.3 (ruby-1.8.7).
</div>
diff --git a/doc/Axlsx/ContentType.html b/doc/Axlsx/ContentType.html
index 293926d4..21d7c70d 100644
--- a/doc/Axlsx/ContentType.html
+++ b/doc/Axlsx/ContentType.html
@@ -194,7 +194,7 @@ Generates the xml document for [Content_Types].xml.
<h3 class="inherited">Methods inherited from <span class='object_link'><a href="SimpleTypedList.html" title="Axlsx::SimpleTypedList (class)">SimpleTypedList</a></span></h3>
- <p class="inherited"><span class='object_link'><a href="SimpleTypedList.html#%3C%3C-instance_method" title="Axlsx::SimpleTypedList#&lt;&lt; (method)">#<<</a></span>, <span class='object_link'><a href="SimpleTypedList.html#%5B%5D%3D-instance_method" title="Axlsx::SimpleTypedList#[]= (method)">#[]=</a></span>, <span class='object_link'><a href="SimpleTypedList.html#delete-instance_method" title="Axlsx::SimpleTypedList#delete (method)">#delete</a></span>, <span class='object_link'><a href="SimpleTypedList.html#delete_at-instance_method" title="Axlsx::SimpleTypedList#delete_at (method)">#delete_at</a></span>, <span class='object_link'><a href="SimpleTypedList.html#lock-instance_method" title="Axlsx::SimpleTypedList#lock (method)">#lock</a></span>, <span class='object_link'><a href="SimpleTypedList.html#method_missing-instance_method" title="Axlsx::SimpleTypedList#method_missing (method)">#method_missing</a></span>, <span class='object_link'><a href="SimpleTypedList.html#protected%3F-instance_method" title="Axlsx::SimpleTypedList#protected? (method)">#protected?</a></span>, <span class='object_link'><a href="SimpleTypedList.html#push-instance_method" title="Axlsx::SimpleTypedList#push (method)">#push</a></span>, <span class='object_link'><a href="SimpleTypedList.html#unlock-instance_method" title="Axlsx::SimpleTypedList#unlock (method)">#unlock</a></span></p>
+ <p class="inherited"><span class='object_link'><a href="SimpleTypedList.html#%3C%3C-instance_method" title="Axlsx::SimpleTypedList#&lt;&lt; (method)">#<<</a></span>, <span class='object_link'><a href="SimpleTypedList.html#%3D%3D-instance_method" title="Axlsx::SimpleTypedList#== (method)">#==</a></span>, <span class='object_link'><a href="SimpleTypedList.html#%5B%5D%3D-instance_method" title="Axlsx::SimpleTypedList#[]= (method)">#[]=</a></span>, <span class='object_link'><a href="SimpleTypedList.html#delete-instance_method" title="Axlsx::SimpleTypedList#delete (method)">#delete</a></span>, <span class='object_link'><a href="SimpleTypedList.html#delete_at-instance_method" title="Axlsx::SimpleTypedList#delete_at (method)">#delete_at</a></span>, <span class='object_link'><a href="SimpleTypedList.html#lock-instance_method" title="Axlsx::SimpleTypedList#lock (method)">#lock</a></span>, <span class='object_link'><a href="SimpleTypedList.html#method_missing-instance_method" title="Axlsx::SimpleTypedList#method_missing (method)">#method_missing</a></span>, <span class='object_link'><a href="SimpleTypedList.html#protected%3F-instance_method" title="Axlsx::SimpleTypedList#protected? (method)">#protected?</a></span>, <span class='object_link'><a href="SimpleTypedList.html#push-instance_method" title="Axlsx::SimpleTypedList#push (method)">#push</a></span>, <span class='object_link'><a href="SimpleTypedList.html#unlock-instance_method" title="Axlsx::SimpleTypedList#unlock (method)">#unlock</a></span></p>
<div id="constructor_details" class="method_details_list">
<h2>Constructor Details</h2>
@@ -331,7 +331,7 @@ The document as a string.
</div>
<div id="footer">
- Generated on Tue Nov 22 23:52:48 2011 by
+ Generated on Wed Nov 23 12:24:05 2011 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.7.3 (ruby-1.8.7).
</div>
diff --git a/doc/Axlsx/Core.html b/doc/Axlsx/Core.html
index 1271d383..ed241c2b 100644
--- a/doc/Axlsx/Core.html
+++ b/doc/Axlsx/Core.html
@@ -456,7 +456,7 @@ time when this method is called.
</div>
<div id="footer">
- Generated on Tue Nov 22 23:52:41 2011 by
+ Generated on Wed Nov 23 12:23:56 2011 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.7.3 (ruby-1.8.7).
</div>
diff --git a/doc/Axlsx/DataTypeValidator.html b/doc/Axlsx/DataTypeValidator.html
index dedc619a..6f2f98ac 100644
--- a/doc/Axlsx/DataTypeValidator.html
+++ b/doc/Axlsx/DataTypeValidator.html
@@ -315,7 +315,7 @@ types or the block passed returns false
</div>
<div id="footer">
- Generated on Tue Nov 22 23:52:41 2011 by
+ Generated on Wed Nov 23 12:23:43 2011 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.7.3 (ruby-1.8.7).
</div>
diff --git a/doc/Axlsx/Default.html b/doc/Axlsx/Default.html
index 27bf8b21..b53c8ea5 100644
--- a/doc/Axlsx/Default.html
+++ b/doc/Axlsx/Default.html
@@ -566,7 +566,7 @@ The document builder instance this objects xml will be added to.
</div>
<div id="footer">
- Generated on Tue Nov 22 23:52:44 2011 by
+ Generated on Wed Nov 23 12:23:48 2011 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.7.3 (ruby-1.8.7).
</div>
diff --git a/doc/Axlsx/Drawing.html b/doc/Axlsx/Drawing.html
index 82b6dd0a..1d2bce32 100644
--- a/doc/Axlsx/Drawing.html
+++ b/doc/Axlsx/Drawing.html
@@ -99,14 +99,16 @@
<strong>Note:</strong>
<div class='inline'><p>
The recommended way to manage drawings is to use the Worksheet.add_chart
-method, specifying the chart class, start and end marker locations.
+method.
</p>
</div>
</div>
<p>
A Drawing is a canvas for charts. Each worksheet has a single drawing that
-can specify multiple anchors which reference charts.
+manages anchors. The anchors reference the charts via graphical frames.
+This is not a trivial relationship so please do follow the advice in the
+note. see README for an example of how to create a chart.
</p>
@@ -120,8 +122,6 @@ can specify multiple anchors which reference charts.
<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>
- <li><span class='object_link'><a href="TwoCellAnchor.html" title="Axlsx::TwoCellAnchor (class)">TwoCellAnchor</a></span></li>
-
<li><span class='object_link'><a href="Chart.html" title="Axlsx::Chart (class)">Chart</a></span></li>
</ul>
@@ -151,7 +151,8 @@ can specify multiple anchors which reference charts.
<span class="summary_desc"><div class='inline'><p>
-A collection of anchors for this drawing.
+A collection of anchors for this drawing only TwoCellAnchors are supported
+in this version.
</p>
</div></span>
@@ -487,15 +488,15 @@ The worksheet that owns this drawing
<pre class="lines">
-67
-68
-69
-70
71
-72</pre>
+72
+73
+74
+75
+76</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/drawing.rb', line 67</span>
+ <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/drawing.rb', line 71</span>
<span class='def def kw'>def</span> <span class='initialize identifier id'>initialize</span><span class='lparen token'>(</span><span class='worksheet identifier id'>worksheet</span><span class='rparen token'>)</span>
<span class='DataTypeValidator constant id'>DataTypeValidator</span><span class='dot token'>.</span><span class='validate identifier id'>validate</span> <span class='string val'>&quot;Drawing.worksheet&quot;</span><span class='comma token'>,</span> <span class='Worksheet constant id'>Worksheet</span><span class='comma token'>,</span> <span class='worksheet identifier id'>worksheet</span>
@@ -527,7 +528,8 @@ The worksheet that owns this drawing
</p><div class="docstring">
<div class="discussion">
<p>
-A collection of anchors for this drawing
+A collection of anchors for this drawing only TwoCellAnchors are supported
+in this version
</p>
@@ -555,12 +557,12 @@ A collection of anchors for this drawing
<pre class="lines">
-39
-40
-41</pre>
+43
+44
+45</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/drawing.rb', line 39</span>
+ <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/drawing.rb', line 43</span>
<span class='def def kw'>def</span> <span class='anchors identifier id'>anchors</span>
<span class='@anchors ivar id'>@anchors</span>
@@ -612,12 +614,12 @@ An array of charts that are associated with this drawing&#8217;s anchors
<pre class="lines">
-43
-44
-45</pre>
+47
+48
+49</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/drawing.rb', line 43</span>
+ <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/drawing.rb', line 47</span>
<span class='def def kw'>def</span> <span class='charts identifier id'>charts</span>
<span class='@anchors ivar id'>@anchors</span><span class='dot token'>.</span><span class='map identifier id'>map</span> <span class='lbrace token'>{</span> <span class='bitor op'>|</span><span class='a identifier id'>a</span><span class='bitor op'>|</span> <span class='a identifier id'>a</span><span class='dot token'>.</span><span class='graphic_frame identifier id'>graphic_frame</span><span class='dot token'>.</span><span class='chart identifier id'>chart</span> <span class='rbrace token'>}</span>
@@ -670,12 +672,12 @@ collection.
<pre class="lines">
-47
-48
-49</pre>
+51
+52
+53</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/drawing.rb', line 47</span>
+ <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/drawing.rb', line 51</span>
<span class='def def kw'>def</span> <span class='index identifier id'>index</span>
<span class='@worksheet ivar id'>@worksheet</span><span class='dot token'>.</span><span class='workbook identifier id'>workbook</span><span class='dot token'>.</span><span class='drawings identifier id'>drawings</span><span class='dot token'>.</span><span class='index identifier id'>index</span><span class='lparen token'>(</span><span class='self self kw'>self</span><span class='rparen token'>)</span>
@@ -727,12 +729,12 @@ The part name for this drawing
<pre class="lines">
-55
-56
-57</pre>
+59
+60
+61</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/drawing.rb', line 55</span>
+ <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/drawing.rb', line 59</span>
<span class='def def kw'>def</span> <span class='pn identifier id'>pn</span>
<span class='dstring node'>&quot;#{DRAWING_PN % (index+1)}&quot;</span>
@@ -784,17 +786,17 @@ The drawing&#8217;s relationships.
<pre class="lines">
-63
-64
-65
-66
67
68
69
-70</pre>
+70
+71
+72
+73
+74</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/drawing.rb', line 63</span>
+ <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/drawing.rb', line 67</span>
<span class='def def kw'>def</span> <span class='relationships identifier id'>relationships</span>
<span class='r identifier id'>r</span> <span class='assign token'>=</span> <span class='Relationships constant id'>Relationships</span><span class='dot token'>.</span><span class='new identifier id'>new</span>
@@ -851,12 +853,12 @@ The relational part name for this drawing
<pre class="lines">
-59
-60
-61</pre>
+63
+64
+65</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/drawing.rb', line 59</span>
+ <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/drawing.rb', line 63</span>
<span class='def def kw'>def</span> <span class='rels_pn identifier id'>rels_pn</span>
<span class='dstring node'>&quot;#{DRAWING_RELS_PN % (index+1)}&quot;</span>
@@ -908,12 +910,12 @@ The relation reference id for this drawing
<pre class="lines">
-51
-52
-53</pre>
+55
+56
+57</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/drawing.rb', line 51</span>
+ <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/drawing.rb', line 55</span>
<span class='def def kw'>def</span> <span class='rId identifier id'>rId</span>
<span class='dstring node'>&quot;rId#{index+1}&quot;</span>
@@ -965,12 +967,12 @@ The worksheet that owns the drawing
<pre class="lines">
-34
-35
-36</pre>
+38
+39
+40</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/drawing.rb', line 34</span>
+ <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/drawing.rb', line 38</span>
<span class='def def kw'>def</span> <span class='worksheet identifier id'>worksheet</span>
<span class='@worksheet ivar id'>@worksheet</span>
@@ -1001,7 +1003,8 @@ The worksheet that owns the drawing
<div class="note notetag">
<strong>Note:</strong>
<div class='inline'><p>
-The recommended way to manage charts is to use Worksheet.add_chart.
+The recommended way to manage charts is to use Worksheet.add_chart. Please
+refer to that method for documentation.
</p>
</div>
</div>
@@ -1014,41 +1017,14 @@ Adds a chart to the drawing.
</div>
</div>
<div class="tags">
- <h3>Parameters:</h3>
-<ul class="param">
- <li>
-
- <span class='name'>chart_type</span>
-
-
- <span class='type'>(<tt><span class='object_link'><a href="Chart.html" title="Axlsx::Chart (class)">Chart</a></span></tt>)</span>
-
-
-
- &mdash;
- <div class='inline'><p>
-The class of the chart to be added to the drawing
-</p>
-</div>
-
- </li>
-
- <li>
-
- <span class='name'>options</span>
-
-
- <span class='type'>(<tt>Hash</tt>)</span>
-
-
- <em class="default">(defaults to: <tt>{}</tt>)</em>
-
-
- </li>
-
-</ul>
+ <h3>See Also:</h3>
+ <ul class="see">
+
+ <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>
+
+ </ul>
</div><table class="source_code">
<tr>
@@ -1056,17 +1032,15 @@ The class of the chart to be added to the drawing
<pre class="lines">
-79
-80
-81
82
-83</pre>
+83
+84
+85</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/drawing.rb', line 79</span>
+ <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/drawing.rb', line 82</span>
<span class='def def kw'>def</span> <span class='add_chart identifier id'>add_chart</span><span class='lparen token'>(</span><span class='chart_type identifier id'>chart_type</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>
- <span class='DataTypeValidator constant id'>DataTypeValidator</span><span class='dot token'>.</span><span class='validate identifier id'>validate</span> <span class='string val'>&quot;Drawing.chart_type&quot;</span><span class='comma token'>,</span> <span class='Chart constant id'>Chart</span><span class='comma token'>,</span> <span class='chart_type identifier id'>chart_type</span>
<span class='TwoCellAnchor constant id'>TwoCellAnchor</span><span class='dot token'>.</span><span class='new identifier id'>new</span><span class='lparen token'>(</span><span class='self self kw'>self</span><span class='comma token'>,</span> <span class='chart_type identifier id'>chart_type</span><span class='comma token'>,</span> <span class='options identifier id'>options</span><span class='rparen token'>)</span>
<span class='@anchors ivar id'>@anchors</span><span class='dot token'>.</span><span class='last identifier id'>last</span><span class='dot token'>.</span><span class='graphic_frame identifier id'>graphic_frame</span><span class='dot token'>.</span><span class='chart identifier id'>chart</span>
<span class='end end kw'>end</span>
@@ -1114,17 +1088,17 @@ Serializes the drawing
<pre class="lines">
-116
-117
118
119
120
121
122
-123</pre>
+123
+124
+125</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/drawing.rb', line 116</span>
+ <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/drawing.rb', line 118</span>
<span class='def def kw'>def</span> <span class='to_xml identifier id'>to_xml</span>
<span class='builder identifier id'>builder</span> <span class='assign token'>=</span> <span class='Nokogiri constant id'>Nokogiri</span><span class='colon2 op'>::</span><span class='XML constant id'>XML</span><span class='colon2 op'>::</span><span class='Builder constant id'>Builder</span><span class='dot token'>.</span><span class='new identifier id'>new</span><span class='lparen token'>(</span><span class='symbol val'>:encoding</span> <span class='assign token'>=</span><span class='gt op'>&gt;</span> <span class='ENCODING constant id'>ENCODING</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>
@@ -1145,7 +1119,7 @@ Serializes the drawing
</div>
<div id="footer">
- Generated on Tue Nov 22 23:52:33 2011 by
+ Generated on Wed Nov 23 12:23:49 2011 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.7.3 (ruby-1.8.7).
</div>
diff --git a/doc/Axlsx/Fill.html b/doc/Axlsx/Fill.html
index da35b662..f5c9b6fa 100644
--- a/doc/Axlsx/Fill.html
+++ b/doc/Axlsx/Fill.html
@@ -451,7 +451,7 @@ The document builder instance this objects xml will be added to.
</div>
<div id="footer">
- Generated on Tue Nov 22 23:52:50 2011 by
+ Generated on Wed Nov 23 12:23:56 2011 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.7.3 (ruby-1.8.7).
</div>
diff --git a/doc/Axlsx/Font.html b/doc/Axlsx/Font.html
index ee723a16..0091cf69 100644
--- a/doc/Axlsx/Font.html
+++ b/doc/Axlsx/Font.html
@@ -1545,7 +1545,7 @@ The document builder instance this objects xml will be added to.
</div>
<div id="footer">
- Generated on Tue Nov 22 23:52:51 2011 by
+ Generated on Wed Nov 23 12:23:41 2011 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.7.3 (ruby-1.8.7).
</div>
diff --git a/doc/Axlsx/GradientFill.html b/doc/Axlsx/GradientFill.html
index 7fa542ec..7cb1494f 100644
--- a/doc/Axlsx/GradientFill.html
+++ b/doc/Axlsx/GradientFill.html
@@ -1017,7 +1017,7 @@ The document builder instance this objects xml will be added to.
</div>
<div id="footer">
- Generated on Tue Nov 22 23:52:41 2011 by
+ Generated on Wed Nov 23 12:24:04 2011 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.7.3 (ruby-1.8.7).
</div>
diff --git a/doc/Axlsx/GradientStop.html b/doc/Axlsx/GradientStop.html
index 6f5ca4d4..89bc1e26 100644
--- a/doc/Axlsx/GradientStop.html
+++ b/doc/Axlsx/GradientStop.html
@@ -517,7 +517,7 @@ The document builder instance this objects xml will be added to.
</div>
<div id="footer">
- Generated on Tue Nov 22 23:52:44 2011 by
+ Generated on Wed Nov 23 12:23:46 2011 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.7.3 (ruby-1.8.7).
</div>
diff --git a/doc/Axlsx/GraphicFrame.html b/doc/Axlsx/GraphicFrame.html
index f7e91018..0c328ab9 100644
--- a/doc/Axlsx/GraphicFrame.html
+++ b/doc/Axlsx/GraphicFrame.html
@@ -329,12 +329,14 @@ Creates a new GraphicFrame object
24
25
26
-27</pre>
+27
+28</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'lib/axlsx/drawing/graphic_frame.rb', line 24</span>
<span class='def def kw'>def</span> <span class='initialize identifier id'>initialize</span><span class='lparen token'>(</span><span class='anchor identifier id'>anchor</span><span class='comma token'>,</span> <span class='chart_type identifier id'>chart_type</span><span class='comma token'>,</span> <span class='options identifier id'>options</span><span class='rparen token'>)</span>
+ <span class='DataTypeValidator constant id'>DataTypeValidator</span><span class='dot token'>.</span><span class='validate identifier id'>validate</span> <span class='string val'>&quot;Drawing.chart_type&quot;</span><span class='comma token'>,</span> <span class='Chart constant id'>Chart</span><span class='comma token'>,</span> <span class='chart_type identifier id'>chart_type</span>
<span class='@anchor ivar id'>@anchor</span> <span class='assign token'>=</span> <span class='anchor identifier id'>anchor</span>
<span class='@chart ivar id'>@chart</span> <span class='assign token'>=</span> <span class='chart_type identifier id'>chart_type</span><span class='dot token'>.</span><span class='new identifier id'>new</span><span class='lparen token'>(</span><span class='self self kw'>self</span><span class='comma token'>,</span> <span class='options identifier id'>options</span><span class='rparen token'>)</span>
<span class='end end kw'>end</span>
@@ -586,7 +588,6 @@ The document builder instance this objects xml will be added to.
<pre class="lines">
-36
37
38
39
@@ -603,10 +604,11 @@ The document builder instance this objects xml will be added to.
50
51
52
-53</pre>
+53
+54</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/graphic_frame.rb', line 36</span>
+ <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/graphic_frame.rb', line 37</span>
<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>
<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'>'xdr:graphicFrame'</span><span class='rparen token'>)</span> <span class='lbrace token'>{</span>
@@ -637,7 +639,7 @@ The document builder instance this objects xml will be added to.
</div>
<div id="footer">
- Generated on Tue Nov 22 23:52:56 2011 by
+ Generated on Wed Nov 23 12:23:47 2011 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.7.3 (ruby-1.8.7).
</div>
diff --git a/doc/Axlsx/Line3DChart.html b/doc/Axlsx/Line3DChart.html
index 589a6d54..3512d2a7 100644
--- a/doc/Axlsx/Line3DChart.html
+++ b/doc/Axlsx/Line3DChart.html
@@ -323,7 +323,7 @@ the category axis.
<h3 class="inherited">Attributes inherited from <span class='object_link'><a href="Chart.html" title="Axlsx::Chart (class)">Chart</a></span></h3>
- <p class="inherited"><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#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#start_at-instance_method" title="Axlsx::Chart#start_at (method)">start_at</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>
+ <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,7 +396,7 @@ Serializes the bar chart.
<h3 class="inherited">Methods inherited from <span class='object_link'><a href="Chart.html" title="Axlsx::Chart (class)">Chart</a></span></h3>
- <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>
+ <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>
<div id="constructor_details" class="method_details_list">
<h2>Constructor Details</h2>
@@ -467,6 +467,24 @@ a customizable set of options
<ul class="option">
<li>
+ <span class="name">title</span>
+ <span class="type">(<tt><span class='object_link'><a href="Cell.html" title="Axlsx::Cell (class)">Cell</a></span></tt>, <tt>String</tt>)</span>
+ <span class="default">
+
+ </span>
+
+ </li>
+
+ <li>
+ <span class="name">show_legend</span>
+ <span class="type">(<tt>Boolean</tt>)</span>
+ <span class="default">
+
+ </span>
+
+ </li>
+
+ <li>
<span class="name">grouping</span>
<span class="type">(<tt>Symbol</tt>)</span>
<span class="default">
@@ -484,31 +502,94 @@ a customizable set of options
</li>
+ <li>
+ <span class="name">rotX</span>
+ <span class="type">(<tt>Integer</tt>)</span>
+ <span class="default">
+
+ </span>
+
+ </li>
+
+ <li>
+ <span class="name">hPercent</span>
+ <span class="type">(<tt>String</tt>)</span>
+ <span class="default">
+
+ </span>
+
+ </li>
+
+ <li>
+ <span class="name">rotY</span>
+ <span class="type">(<tt>Integer</tt>)</span>
+ <span class="default">
+
+ </span>
+
+ </li>
+
+ <li>
+ <span class="name">depthPercent</span>
+ <span class="type">(<tt>String</tt>)</span>
+ <span class="default">
+
+ </span>
+
+ </li>
+
+ <li>
+ <span class="name">rAngAx</span>
+ <span class="type">(<tt>Boolean</tt>)</span>
+ <span class="default">
+
+ </span>
+
+ </li>
+
+ <li>
+ <span class="name">perspective</span>
+ <span class="type">(<tt>Integer</tt>)</span>
+ <span class="default">
+
+ </span>
+
+ </li>
+
</ul>
+ <h3>See Also:</h3>
+ <ul class="see">
+
+ <li><span class='object_link'><a href="Chart.html" title="Axlsx::Chart (class)">Chart</a></span></li>
+
+ <li><span class='object_link'><a href="View3D.html" title="Axlsx::View3D (class)">View3D</a></span></li>
+
+ </ul>
+
</div><table class="source_code">
<tr>
<td>
<pre class="lines">
-51
-52
-53
-54
-55
-56
-57
-58
-59
-60
61
-62</pre>
+62
+63
+64
+65
+66
+67
+68
+69
+70
+71
+72</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/line_3D_chart.rb', line 51</span>
+ <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/line_3D_chart.rb', line 61</span>
<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>
<span class='@grouping ivar id'>@grouping</span> <span class='assign token'>=</span> <span class='symbol val'>:standard</span>
@@ -518,9 +599,9 @@ a customizable set of options
<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>
<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>
<span class='@serAxis ivar id'>@serAxis</span> <span class='assign token'>=</span> <span class='SerAxis constant id'>SerAxis</span><span class='dot token'>.</span><span class='new identifier id'>new</span><span class='lparen token'>(</span><span class='@serAxId ivar id'>@serAxId</span><span class='comma token'>,</span> <span class='@valAxId ivar id'>@valAxId</span><span class='rparen token'>)</span>
- <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'>:perspective=</span><span class='gt op'>&gt;</span><span class='integer val'>30</span><span class='rparen token'>)</span>
<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>
<span class='@series_type ivar id'>@series_type</span> <span class='assign token'>=</span> <span class='LineSeries constant id'>LineSeries</span>
+ <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'>:perspective=</span><span class='gt op'>&gt;</span><span class='integer val'>30</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>
<span class='end end kw'>end</span>
</pre>
</td>
@@ -865,25 +946,25 @@ Serializes the bar chart
<pre class="lines">
-76
-77
-78
-79
-80
-81
-82
-83
-84
-85
86
87
88
89
90
-91</pre>
+91
+92
+93
+94
+95
+96
+97
+98
+99
+100
+101</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/line_3D_chart.rb', line 76</span>
+ <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/line_3D_chart.rb', line 86</span>
<span class='def def kw'>def</span> <span class='to_xml identifier id'>to_xml</span>
<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>
@@ -912,7 +993,7 @@ Serializes the bar chart
</div>
<div id="footer">
- Generated on Tue Nov 22 23:52:45 2011 by
+ Generated on Wed Nov 23 12:24:02 2011 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.7.3 (ruby-1.8.7).
</div>
diff --git a/doc/Axlsx/LineSeries.html b/doc/Axlsx/LineSeries.html
index f6d997da..b1b59a0b 100644
--- a/doc/Axlsx/LineSeries.html
+++ b/doc/Axlsx/LineSeries.html
@@ -136,7 +136,7 @@ A LineSeries defines the title, data and labels for line charts
<li class="public ">
<span class="summary_signature">
- <a href="#data-instance_method" title="#data (instance method)">- (Array, SimpleTypedList) <strong>data</strong> </a>
+ <a href="#data-instance_method" title="#data (instance method)">- (ValAxisData) <strong>data</strong> </a>
@@ -163,7 +163,7 @@ The data for this series.
<li class="public ">
<span class="summary_signature">
- <a href="#labels-instance_method" title="#labels (instance method)">- (Array, SimpleTypedList) <strong>labels</strong> </a>
+ <a href="#labels-instance_method" title="#labels (instance method)">- (CatAxisData) <strong>labels</strong> </a>
@@ -251,7 +251,8 @@ Creates a new series.
<span class="summary_desc"><div class='inline'><p>
-Serializes the series.
+Serializes the series TODO create series_cat and series_val classes as this
+serialization is duplicated.
</p>
</div></span>
@@ -368,8 +369,8 @@ a customizable set of options
<span class='def def kw'>def</span> <span class='initialize identifier id'>initialize</span><span class='lparen token'>(</span><span class='chart identifier id'>chart</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>
<span class='super super kw'>super</span><span class='lparen token'>(</span><span class='chart identifier id'>chart</span><span class='comma token'>,</span> <span class='options identifier id'>options</span><span class='rparen token'>)</span>
- <span class='self self kw'>self</span><span class='dot token'>.</span><span class='data identifier id'>data</span> <span class='assign token'>=</span> <span class='options identifier id'>options</span><span class='lbrack token'>[</span><span class='symbol val'>:data</span><span class='rbrack token'>]</span> <span class='orop op'>||</span> <span class='lbrack token'>[</span><span class='rbrack token'>]</span>
- <span class='self self kw'>self</span><span class='dot token'>.</span><span class='labels identifier id'>labels</span> <span class='assign token'>=</span> <span class='options identifier id'>options</span><span class='lbrack token'>[</span><span class='symbol val'>:labels</span><span class='rbrack token'>]</span> <span class='orop op'>||</span> <span class='lbrack token'>[</span><span class='rbrack token'>]</span>
+ <span class='self self kw'>self</span><span class='dot token'>.</span><span class='labels identifier id'>labels</span> <span class='assign token'>=</span> <span class='CatAxisData constant id'>CatAxisData</span><span class='dot token'>.</span><span class='new identifier id'>new</span><span class='lparen token'>(</span><span class='options identifier id'>options</span><span class='lbrack token'>[</span><span class='symbol val'>:labels</span><span class='rbrack token'>]</span><span class='rparen token'>)</span> <span class='unless unless_mod kw'>unless</span> <span class='options identifier id'>options</span><span class='lbrack token'>[</span><span class='symbol val'>:labels</span><span class='rbrack token'>]</span><span class='dot token'>.</span><span class='nil? fid id'>nil?</span>
+ <span class='self self kw'>self</span><span class='dot token'>.</span><span class='data identifier id'>data</span> <span class='assign token'>=</span> <span class='ValAxisData constant id'>ValAxisData</span><span class='dot token'>.</span><span class='new identifier id'>new</span><span class='lparen token'>(</span><span class='options identifier id'>options</span><span class='lbrack token'>[</span><span class='symbol val'>:data</span><span class='rbrack token'>]</span><span class='rparen token'>)</span> <span class='unless unless_mod kw'>unless</span> <span class='options identifier id'>options</span><span class='lbrack token'>[</span><span class='symbol val'>:data</span><span class='rbrack token'>]</span><span class='dot token'>.</span><span class='nil? fid id'>nil?</span>
<span class='end end kw'>end</span>
</pre>
</td>
@@ -388,7 +389,7 @@ a customizable set of options
<div class="method_details first">
<p class="signature first" id="data-instance_method">
- - (<tt>Array</tt>, <tt><span class='object_link'><a href="SimpleTypedList.html" title="Axlsx::SimpleTypedList (class)">SimpleTypedList</a></span></tt>) <strong>data</strong>
+ - (<tt><span class='object_link'><a href="ValAxisData.html" title="Axlsx::ValAxisData (class)">ValAxisData</a></span></tt>) <strong>data</strong>
@@ -409,7 +410,7 @@ The data for this series.
<li>
- <span class='type'>(<tt>Array</tt>, <tt><span class='object_link'><a href="SimpleTypedList.html" title="Axlsx::SimpleTypedList (class)">SimpleTypedList</a></span></tt>)</span>
+ <span class='type'>(<tt><span class='object_link'><a href="ValAxisData.html" title="Axlsx::ValAxisData (class)">ValAxisData</a></span></tt>)</span>
@@ -445,7 +446,7 @@ The data for this series.
<div class="method_details ">
<p class="signature " id="labels-instance_method">
- - (<tt>Array</tt>, <tt><span class='object_link'><a href="SimpleTypedList.html" title="Axlsx::SimpleTypedList (class)">SimpleTypedList</a></span></tt>) <strong>labels</strong>
+ - (<tt><span class='object_link'><a href="CatAxisData.html" title="Axlsx::CatAxisData (class)">CatAxisData</a></span></tt>) <strong>labels</strong>
@@ -466,7 +467,7 @@ The labels for this series.
<li>
- <span class='type'>(<tt>Array</tt>, <tt><span class='object_link'><a href="SimpleTypedList.html" title="Axlsx::SimpleTypedList (class)">SimpleTypedList</a></span></tt>)</span>
+ <span class='type'>(<tt><span class='object_link'><a href="CatAxisData.html" title="Axlsx::CatAxisData (class)">CatAxisData</a></span></tt>)</span>
@@ -513,7 +514,8 @@ The labels for this series.
</p><div class="docstring">
<div class="discussion">
<p>
-Serializes the series
+Serializes the series TODO create series_cat and series_val classes as this
+serialization is duplicated
</p>
@@ -562,78 +564,20 @@ The document builder instance this objects xml will be added to.
<pre class="lines">
-29
30
31
32
33
34
-35
-36
-37
-38
-39
-40
-41
-42
-43
-44
-45
-46
-47
-48
-49
-50
-51
-52
-53
-54
-55
-56
-57
-58
-59
-60
-61
-62
-63</pre>
+35</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/line_series.rb', line 29</span>
+ <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/line_series.rb', line 30</span>
<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>
<span class='super super kw'>super</span><span class='lparen token'>(</span><span class='xml identifier id'>xml</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>
- <span class='if if kw'>if</span> <span class='notop op'>!</span><span class='labels identifier id'>labels</span><span class='dot token'>.</span><span class='empty? fid id'>empty?</span>
- <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:cat'</span><span class='rparen token'>)</span> <span class='lbrace token'>{</span>
- <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:strRef'</span><span class='rparen token'>)</span> <span class='lbrace token'>{</span>
- <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:f'</span><span class='comma token'>,</span> <span class='Axlsx constant id'>Axlsx</span><span class='colon2 op'>::</span><span class='cell_range identifier id'>cell_range</span><span class='lparen token'>(</span><span class='labels identifier id'>labels</span><span class='rparen token'>)</span><span class='rparen token'>)</span>
- <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:strCache'</span><span class='rparen token'>)</span> <span class='lbrace token'>{</span>
- <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:ptCount'</span><span class='comma token'>,</span> <span class='symbol val'>:val=</span><span class='gt op'>&gt;</span><span class='labels identifier id'>labels</span><span class='dot token'>.</span><span class='size identifier id'>size</span><span class='rparen token'>)</span>
- <span class='labels identifier id'>labels</span><span class='dot token'>.</span><span class='each_with_index identifier id'>each_with_index</span> <span class='do do kw'>do</span> <span class='bitor op'>|</span><span class='cell identifier id'>cell</span><span class='comma token'>,</span> <span class='index identifier id'>index</span><span class='bitor op'>|</span>
- <span class='v identifier id'>v</span> <span class='assign token'>=</span> <span class='cell identifier id'>cell</span><span class='dot token'>.</span><span class='is_a? fid id'>is_a?</span><span class='lparen token'>(</span><span class='Cell constant id'>Cell</span><span class='rparen token'>)</span> <span class='question op'>?</span> <span class='cell identifier id'>cell</span><span class='dot token'>.</span><span class='value identifier id'>value</span> <span class='colon op'>:</span> <span class='cell identifier id'>cell</span>
- <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:pt'</span><span class='comma token'>,</span> <span class='symbol val'>:idx=</span><span class='gt op'>&gt;</span><span class='index identifier id'>index</span><span class='rparen token'>)</span> <span class='lbrace token'>{</span>
- <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:v'</span><span class='comma token'>,</span> <span class='v identifier id'>v</span><span class='rparen token'>)</span>
- <span class='rbrace token'>}</span>
- <span class='end end kw'>end</span>
- <span class='rbrace token'>}</span>
- <span class='rbrace token'>}</span>
- <span class='rbrace token'>}</span>
- <span class='end end kw'>end</span>
- <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:val'</span><span class='rparen token'>)</span> <span class='lbrace token'>{</span>
- <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:numRef'</span><span class='rparen token'>)</span> <span class='lbrace token'>{</span>
- <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:f'</span><span class='comma token'>,</span> <span class='Axlsx constant id'>Axlsx</span><span class='colon2 op'>::</span><span class='cell_range identifier id'>cell_range</span><span class='lparen token'>(</span><span class='data identifier id'>data</span><span class='rparen token'>)</span><span class='rparen token'>)</span>
- <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:numCache'</span><span class='rparen token'>)</span> <span class='lbrace token'>{</span>
- <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:formatCode'</span><span class='comma token'>,</span> <span class='string val'>'General'</span><span class='rparen token'>)</span>
- <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:ptCount'</span><span class='comma token'>,</span> <span class='symbol val'>:val=</span><span class='gt op'>&gt;</span><span class='data identifier id'>data</span><span class='dot token'>.</span><span class='size identifier id'>size</span><span class='rparen token'>)</span>
- <span class='data identifier id'>data</span><span class='dot token'>.</span><span class='each_with_index identifier id'>each_with_index</span> <span class='do do kw'>do</span> <span class='bitor op'>|</span><span class='cell identifier id'>cell</span><span class='comma token'>,</span> <span class='index identifier id'>index</span><span class='bitor op'>|</span>
- <span class='v identifier id'>v</span> <span class='assign token'>=</span> <span class='cell identifier id'>cell</span><span class='dot token'>.</span><span class='is_a? fid id'>is_a?</span><span class='lparen token'>(</span><span class='Cell constant id'>Cell</span><span class='rparen token'>)</span> <span class='question op'>?</span> <span class='cell identifier id'>cell</span><span class='dot token'>.</span><span class='value identifier id'>value</span> <span class='colon op'>:</span> <span class='cell identifier id'>cell</span>
- <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:pt'</span><span class='comma token'>,</span> <span class='symbol val'>:idx=</span><span class='gt op'>&gt;</span><span class='index identifier id'>index</span><span class='rparen token'>)</span> <span class='lbrace token'>{</span>
- <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:v'</span><span class='comma token'>,</span> <span class='v identifier id'>v</span><span class='rparen token'>)</span>
- <span class='rbrace token'>}</span>
- <span class='end end kw'>end</span>
- <span class='rbrace token'>}</span>
- <span class='rbrace token'>}</span>
- <span class='rbrace token'>}</span>
+ <span class='@labels ivar id'>@labels</span><span class='dot token'>.</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> <span class='unless unless_mod kw'>unless</span> <span class='@labels ivar id'>@labels</span><span class='dot token'>.</span><span class='nil? fid id'>nil?</span>
+ <span class='@data ivar id'>@data</span><span class='dot token'>.</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> <span class='unless unless_mod kw'>unless</span> <span class='@data ivar id'>@data</span><span class='dot token'>.</span><span class='nil? fid id'>nil?</span>
<span class='end end kw'>end</span>
<span class='end end kw'>end</span>
</pre>
@@ -647,7 +591,7 @@ The document builder instance this objects xml will be added to.
</div>
<div id="footer">
- Generated on Tue Nov 22 23:52:41 2011 by
+ Generated on Wed Nov 23 12:23:58 2011 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.7.3 (ruby-1.8.7).
</div>
diff --git a/doc/Axlsx/Marker.html b/doc/Axlsx/Marker.html
index 3a5e0864..a35500f7 100644
--- a/doc/Axlsx/Marker.html
+++ b/doc/Axlsx/Marker.html
@@ -848,7 +848,7 @@ The document builder instance this objects xml will be added to.
</div>
<div id="footer">
- Generated on Tue Nov 22 23:52:38 2011 by
+ Generated on Wed Nov 23 12:24:00 2011 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.7.3 (ruby-1.8.7).
</div>
diff --git a/doc/Axlsx/NumFmt.html b/doc/Axlsx/NumFmt.html
index b530f49a..2fe65d34 100644
--- a/doc/Axlsx/NumFmt.html
+++ b/doc/Axlsx/NumFmt.html
@@ -553,7 +553,7 @@ The document builder instance this objects xml will be added to.
</div>
<div id="footer">
- Generated on Tue Nov 22 23:52:53 2011 by
+ Generated on Wed Nov 23 12:23:50 2011 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.7.3 (ruby-1.8.7).
</div>
diff --git a/doc/Axlsx/Override.html b/doc/Axlsx/Override.html
index 0eeec0b6..2157fc29 100644
--- a/doc/Axlsx/Override.html
+++ b/doc/Axlsx/Override.html
@@ -559,7 +559,7 @@ The document builder instance this objects xml will be added to.
</div>
<div id="footer">
- Generated on Tue Nov 22 23:52:45 2011 by
+ Generated on Wed Nov 23 12:23:54 2011 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.7.3 (ruby-1.8.7).
</div>
diff --git a/doc/Axlsx/Package.html b/doc/Axlsx/Package.html
index a8875b81..dccd861b 100644
--- a/doc/Axlsx/Package.html
+++ b/doc/Axlsx/Package.html
@@ -1284,7 +1284,7 @@ An array of all validation errors encountered.
</div>
<div id="footer">
- Generated on Tue Nov 22 23:52:33 2011 by
+ Generated on Wed Nov 23 12:23:43 2011 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.7.3 (ruby-1.8.7).
</div>
diff --git a/doc/Axlsx/PatternFill.html b/doc/Axlsx/PatternFill.html
index 00371bc9..22009d77 100644
--- a/doc/Axlsx/PatternFill.html
+++ b/doc/Axlsx/PatternFill.html
@@ -672,7 +672,7 @@ The document builder instance this objects xml will be added to.
</div>
<div id="footer">
- Generated on Tue Nov 22 23:52:40 2011 by
+ Generated on Wed Nov 23 12:23:57 2011 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.7.3 (ruby-1.8.7).
</div>
diff --git a/doc/Axlsx/Pie3DChart.html b/doc/Axlsx/Pie3DChart.html
index f34d11e8..668d4797 100644
--- a/doc/Axlsx/Pie3DChart.html
+++ b/doc/Axlsx/Pie3DChart.html
@@ -106,53 +106,15 @@ that you can add to your worksheet.
</div>
<div class="tags">
- <div class="examples">
- <h3>Examples:</h3>
-
- <h4><div class='inline'><p>
-Creating a chart
-</p>
-</div></h4>
- <pre class="example code"><span class='comment val'># This example creates two charts in a single sheet.</span>
-<span class='comment val'># The first uses data directly fed to the sheet, while the second references cells withing the worksheet for data.</span>
-
-<span class='require identifier id'>require</span> <span class='string val'>&quot;rubygems&quot;</span> <span class='comment val'># if that is your preferred way to manage gems!</span>
-<span class='require identifier id'>require</span> <span class='string val'>&quot;axlsx&quot;</span>
-
-<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>
-<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>
-<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'>&gt;</span> <span class='lbrack token'>[</span><span class='string val'>&quot;This is a chart with no data in the sheet&quot;</span><span class='rbrack token'>]</span>
-
-<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='gt op'>&gt;</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'>&gt;</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'>&gt;</span><span class='string val'>&quot;Most Popular Pets&quot;</span><span class='rparen token'>)</span>
-<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'>&gt;</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'>&gt;</span> <span class='lbrack token'>[</span><span class='string val'>&quot;Slimy Reptiles&quot;</span><span class='comma token'>,</span> <span class='string val'>&quot;Fuzzy Bunnies&quot;</span><span class='comma token'>,</span> <span class='string val'>&quot;Rottweiler&quot;</span><span class='rbrack 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'>&gt;</span> <span class='lbrack token'>[</span><span class='string val'>&quot;This chart uses the data below&quot;</span><span class='rbrack token'>]</span>
-<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'>&gt;</span> <span class='lbrack token'>[</span><span class='string val'>&quot;Least Popular Pets&quot;</span><span class='rbrack token'>]</span>
-<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'>&gt;</span> <span class='lbrack token'>[</span><span class='string val'>&quot;&quot;</span><span class='comma token'>,</span> <span class='string val'>&quot;Dry Skinned Reptiles&quot;</span><span class='comma token'>,</span> <span class='string val'>&quot;Bald Cats&quot;</span><span class='comma token'>,</span> <span class='string val'>&quot;Violent Parrots&quot;</span><span class='rbrack token'>]</span>
-<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'>&gt;</span> <span class='lbrack token'>[</span><span class='string val'>&quot;Votes&quot;</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>
-
-<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'>&gt;</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'>&gt;</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'>&gt;</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>
-<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'>&gt;</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'>&gt;</span> <span class='label_row identifier id'>label_row</span><span class='dot token'>.</span><span class='cells identifier id'>cells</span>
-
-<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>
-<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>
-</pre>
-
- </div>
-
<h3>See Also:</h3>
<ul class="see">
<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>
- <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>
-
<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>
- <li><span class='object_link'><a href="Series.html" title="Axlsx::Series (class)">Series</a></span></li>
-
- <li><span class='object_link'><a href="Package.html#serialize-instance_method" title="Axlsx::Package#serialize (method)">Axlsx::Package#serialize</a></span></li>
+ <li>for an example</li>
</ul>
@@ -170,7 +132,7 @@ Creating a chart
<h2>Instance Attribute Summary</h2>
<h3 class="inherited">Attributes inherited from <span class='object_link'><a href="Chart.html" title="Axlsx::Chart (class)">Chart</a></span></h3>
- <p class="inherited"><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#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#start_at-instance_method" title="Axlsx::Chart#start_at (method)">start_at</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>
+ <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>
@@ -184,7 +146,7 @@ Creating a chart
<li class="public ">
<span class="summary_signature">
- <a href="#initialize-instance_method" title="#initialize (instance method)">- (Pie3DChart) <strong>initialize</strong>(workbook, options = {}) </a>
+ <a href="#initialize-instance_method" title="#initialize (instance method)">- (Pie3DChart) <strong>initialize</strong>(frame, options = {}) </a>
@@ -243,14 +205,14 @@ Serializes the pie chart.
<h3 class="inherited">Methods inherited from <span class='object_link'><a href="Chart.html" title="Axlsx::Chart (class)">Chart</a></span></h3>
- <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>
+ <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>
<div id="constructor_details" class="method_details_list">
<h2>Constructor Details</h2>
<div class="method_details first">
<p class="signature first" id="initialize-instance_method">
- - (<tt><span class='object_link'><a href="" title="Axlsx::Pie3DChart (class)">Pie3DChart</a></span></tt>) <strong>initialize</strong>(workbook, options = {})
+ - (<tt><span class='object_link'><a href="" title="Axlsx::Pie3DChart (class)">Pie3DChart</a></span></tt>) <strong>initialize</strong>(frame, options = {})
@@ -269,10 +231,10 @@ Creates a new pie chart object
<li>
- <span class='name'>workbook</span>
+ <span class='name'>frame</span>
- <span class='type'>(<tt><span class='object_link'><a href="Workbook.html" title="Axlsx::Workbook (class)">Workbook</a></span></tt>)</span>
+ <span class='type'>(<tt><span class='object_link'><a href="GraphicFrame.html" title="Axlsx::GraphicFrame (class)">GraphicFrame</a></span></tt>)</span>
@@ -322,31 +284,121 @@ a customizable set of options
</li>
+ <li>
+ <span class="name">show_legend</span>
+ <span class="type">(<tt>Boolean</tt>)</span>
+ <span class="default">
+
+ </span>
+
+ </li>
+
+ <li>
+ <span class="name">grouping</span>
+ <span class="type">(<tt>Symbol</tt>)</span>
+ <span class="default">
+
+ </span>
+
+ </li>
+
+ <li>
+ <span class="name">gapDepth</span>
+ <span class="type">(<tt>String</tt>)</span>
+ <span class="default">
+
+ </span>
+
+ </li>
+
+ <li>
+ <span class="name">rotX</span>
+ <span class="type">(<tt>Integer</tt>)</span>
+ <span class="default">
+
+ </span>
+
+ </li>
+
+ <li>
+ <span class="name">hPercent</span>
+ <span class="type">(<tt>String</tt>)</span>
+ <span class="default">
+
+ </span>
+
+ </li>
+
+ <li>
+ <span class="name">rotY</span>
+ <span class="type">(<tt>Integer</tt>)</span>
+ <span class="default">
+
+ </span>
+
+ </li>
+
+ <li>
+ <span class="name">depthPercent</span>
+ <span class="type">(<tt>String</tt>)</span>
+ <span class="default">
+
+ </span>
+
+ </li>
+
+ <li>
+ <span class="name">rAngAx</span>
+ <span class="type">(<tt>Boolean</tt>)</span>
+ <span class="default">
+
+ </span>
+
+ </li>
+
+ <li>
+ <span class="name">perspective</span>
+ <span class="type">(<tt>Integer</tt>)</span>
+ <span class="default">
+
+ </span>
+
+ </li>
+
</ul>
+ <h3>See Also:</h3>
+ <ul class="see">
+
+ <li><span class='object_link'><a href="Chart.html" title="Axlsx::Chart (class)">Chart</a></span></li>
+
+ <li><span class='object_link'><a href="View3D.html" title="Axlsx::View3D (class)">View3D</a></span></li>
+
+ </ul>
+
</div><table class="source_code">
<tr>
<td>
<pre class="lines">
-41
-42
-43
-44
-45
-46</pre>
+24
+25
+26
+27
+28
+29</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/pie_3D_chart.rb', line 41</span>
+ <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/pie_3D_chart.rb', line 24</span>
-<span class='def def kw'>def</span> <span class='initialize identifier id'>initialize</span><span class='lparen token'>(</span><span class='workbook identifier id'>workbook</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>
- <span class='comment val'># this charts series type</span>
- <span class='super super kw'>super</span><span class='lparen token'>(</span><span class='workbook identifier id'>workbook</span><span class='comma token'>,</span> <span class='options identifier id'>options</span><span class='rparen token'>)</span>
+<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>
+ <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>
<span class='@series_type ivar id'>@series_type</span> <span class='assign token'>=</span> <span class='PieSeries constant id'>PieSeries</span>
- <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'>:rotX</span> <span class='assign token'>=</span><span class='gt op'>&gt;</span> <span class='integer val'>30</span><span class='comma token'>,</span> <span class='symbol val'>:perspective</span> <span class='assign token'>=</span><span class='gt op'>&gt;</span> <span class='integer val'>30</span><span class='rparen token'>)</span>
+ <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'>:rotX=</span><span class='gt op'>&gt;</span><span class='integer val'>30</span><span class='comma token'>,</span> <span class='symbol val'>:perspective=</span><span class='gt op'>&gt;</span><span class='integer val'>30</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>
+
<span class='end end kw'>end</span>
</pre>
</td>
@@ -399,17 +451,17 @@ Serializes the pie chart
<pre class="lines">
-50
-51
-52
-53
-54
-55
-56
-57</pre>
+33
+34
+35
+36
+37
+38
+39
+40</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/pie_3D_chart.rb', line 50</span>
+ <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/pie_3D_chart.rb', line 33</span>
<span class='def def kw'>def</span> <span class='to_xml identifier id'>to_xml</span>
<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>
@@ -430,7 +482,7 @@ Serializes the pie chart
</div>
<div id="footer">
- Generated on Tue Nov 22 23:52:46 2011 by
+ Generated on Wed Nov 23 12:23:50 2011 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.7.3 (ruby-1.8.7).
</div>
diff --git a/doc/Axlsx/PieSeries.html b/doc/Axlsx/PieSeries.html
index 7e5d747b..07ca6f75 100644
--- a/doc/Axlsx/PieSeries.html
+++ b/doc/Axlsx/PieSeries.html
@@ -106,7 +106,8 @@ The recommended way to manage series is to use Chart#add_series
</div>
<p>
-A PieSeries defines the title, data and labels for pie charts
+A PieSeries defines the data and labels and explosion for pie charts
+series.
</p>
@@ -136,7 +137,7 @@ A PieSeries defines the title, data and labels for pie charts
<li class="public ">
<span class="summary_signature">
- <a href="#data-instance_method" title="#data (instance method)">- (Array, SimpleTypedList) <strong>data</strong> </a>
+ <a href="#data-instance_method" title="#data (instance method)">- (SimpleTypedList) <strong>data</strong> </a>
@@ -163,7 +164,7 @@ The data for this series.
<li class="public ">
<span class="summary_signature">
- <a href="#explosion-instance_method" title="#explosion (instance method)">- (Array, SimpleTypedList) <strong>explosion</strong> </a>
+ <a href="#explosion-instance_method" title="#explosion (instance method)">- (Integert) <strong>explosion</strong> </a>
@@ -190,7 +191,7 @@ The explosion for this series.
<li class="public ">
<span class="summary_signature">
- <a href="#labels-instance_method" title="#labels (instance method)">- (Array, SimpleTypedList) <strong>labels</strong> </a>
+ <a href="#labels-instance_method" title="#labels (instance method)">- (SimpleTypedList) <strong>labels</strong> </a>
@@ -402,19 +403,19 @@ a customizable set of options
<pre class="lines">
+26
+27
28
29
-30
-31
-32</pre>
+30</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/pie_series.rb', line 28</span>
+ <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/pie_series.rb', line 26</span>
<span class='def def kw'>def</span> <span class='initialize identifier id'>initialize</span><span class='lparen token'>(</span><span class='chart identifier id'>chart</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>
<span class='super super kw'>super</span><span class='lparen token'>(</span><span class='chart identifier id'>chart</span><span class='comma token'>,</span> <span class='options identifier id'>options</span><span class='rparen token'>)</span>
- <span class='self self kw'>self</span><span class='dot token'>.</span><span class='data identifier id'>data</span> <span class='assign token'>=</span> <span class='options identifier id'>options</span><span class='lbrack token'>[</span><span class='symbol val'>:data</span><span class='rbrack token'>]</span> <span class='orop op'>||</span> <span class='lbrack token'>[</span><span class='rbrack token'>]</span>
- <span class='self self kw'>self</span><span class='dot token'>.</span><span class='labels identifier id'>labels</span> <span class='assign token'>=</span> <span class='options identifier id'>options</span><span class='lbrack token'>[</span><span class='symbol val'>:labels</span><span class='rbrack token'>]</span> <span class='orop op'>||</span> <span class='lbrack token'>[</span><span class='rbrack token'>]</span>
+ <span class='self self kw'>self</span><span class='dot token'>.</span><span class='labels identifier id'>labels</span> <span class='assign token'>=</span> <span class='CatAxisData constant id'>CatAxisData</span><span class='dot token'>.</span><span class='new identifier id'>new</span><span class='lparen token'>(</span><span class='options identifier id'>options</span><span class='lbrack token'>[</span><span class='symbol val'>:labels</span><span class='rbrack token'>]</span><span class='rparen token'>)</span> <span class='unless unless_mod kw'>unless</span> <span class='options identifier id'>options</span><span class='lbrack token'>[</span><span class='symbol val'>:labels</span><span class='rbrack token'>]</span><span class='dot token'>.</span><span class='nil? fid id'>nil?</span>
+ <span class='self self kw'>self</span><span class='dot token'>.</span><span class='data identifier id'>data</span> <span class='assign token'>=</span> <span class='ValAxisData constant id'>ValAxisData</span><span class='dot token'>.</span><span class='new identifier id'>new</span><span class='lparen token'>(</span><span class='options identifier id'>options</span><span class='lbrack token'>[</span><span class='symbol val'>:data</span><span class='rbrack token'>]</span><span class='rparen token'>)</span> <span class='unless unless_mod kw'>unless</span> <span class='options identifier id'>options</span><span class='lbrack token'>[</span><span class='symbol val'>:data</span><span class='rbrack token'>]</span><span class='dot token'>.</span><span class='nil? fid id'>nil?</span>
<span class='end end kw'>end</span>
</pre>
</td>
@@ -433,7 +434,7 @@ a customizable set of options
<div class="method_details first">
<p class="signature first" id="data-instance_method">
- - (<tt>Array</tt>, <tt><span class='object_link'><a href="SimpleTypedList.html" title="Axlsx::SimpleTypedList (class)">SimpleTypedList</a></span></tt>) <strong>data</strong>
+ - (<tt><span class='object_link'><a href="SimpleTypedList.html" title="Axlsx::SimpleTypedList (class)">SimpleTypedList</a></span></tt>) <strong>data</strong>
@@ -454,7 +455,7 @@ The data for this series.
<li>
- <span class='type'>(<tt>Array</tt>, <tt><span class='object_link'><a href="SimpleTypedList.html" title="Axlsx::SimpleTypedList (class)">SimpleTypedList</a></span></tt>)</span>
+ <span class='type'>(<tt><span class='object_link'><a href="SimpleTypedList.html" title="Axlsx::SimpleTypedList (class)">SimpleTypedList</a></span></tt>)</span>
@@ -490,7 +491,7 @@ The data for this series.
<div class="method_details ">
<p class="signature " id="explosion-instance_method">
- - (<tt>Array</tt>, <tt><span class='object_link'><a href="SimpleTypedList.html" title="Axlsx::SimpleTypedList (class)">SimpleTypedList</a></span></tt>) <strong>explosion</strong>
+ - (<tt>Integert</tt>) <strong>explosion</strong>
@@ -511,7 +512,7 @@ The explosion for this series
<li>
- <span class='type'>(<tt>Array</tt>, <tt><span class='object_link'><a href="SimpleTypedList.html" title="Axlsx::SimpleTypedList (class)">SimpleTypedList</a></span></tt>)</span>
+ <span class='type'>(<tt>Integert</tt>)</span>
@@ -525,12 +526,12 @@ The explosion for this series
<pre class="lines">
-20
-21
-22</pre>
+18
+19
+20</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/pie_series.rb', line 20</span>
+ <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/pie_series.rb', line 18</span>
<span class='def def kw'>def</span> <span class='explosion identifier id'>explosion</span>
<span class='@explosion ivar id'>@explosion</span>
@@ -547,7 +548,7 @@ The explosion for this series
<div class="method_details ">
<p class="signature " id="labels-instance_method">
- - (<tt>Array</tt>, <tt><span class='object_link'><a href="SimpleTypedList.html" title="Axlsx::SimpleTypedList (class)">SimpleTypedList</a></span></tt>) <strong>labels</strong>
+ - (<tt><span class='object_link'><a href="SimpleTypedList.html" title="Axlsx::SimpleTypedList (class)">SimpleTypedList</a></span></tt>) <strong>labels</strong>
@@ -568,7 +569,7 @@ The labels for this series.
<li>
- <span class='type'>(<tt>Array</tt>, <tt><span class='object_link'><a href="SimpleTypedList.html" title="Axlsx::SimpleTypedList (class)">SimpleTypedList</a></span></tt>)</span>
+ <span class='type'>(<tt><span class='object_link'><a href="SimpleTypedList.html" title="Axlsx::SimpleTypedList (class)">SimpleTypedList</a></span></tt>)</span>
@@ -582,12 +583,12 @@ The labels for this series.
<pre class="lines">
+14
15
-16
-17</pre>
+16</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/pie_series.rb', line 15</span>
+ <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/pie_series.rb', line 14</span>
<span class='def def kw'>def</span> <span class='labels identifier id'>labels</span>
<span class='@labels ivar id'>@labels</span>
@@ -664,82 +665,22 @@ The document builder instance this objects xml will be added to.
<pre class="lines">
+37
38
39
40
41
42
-43
-44
-45
-46
-47
-48
-49
-50
-51
-52
-53
-54
-55
-56
-57
-58
-59
-60
-61
-62
-63
-64
-65
-66
-67
-68
-69
-70
-71
-72
-73
-74</pre>
+43</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/pie_series.rb', line 38</span>
+ <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/pie_series.rb', line 37</span>
<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>
<span class='super super kw'>super</span><span class='lparen token'>(</span><span class='xml identifier id'>xml</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>
<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:explosion'</span><span class='comma token'>,</span> <span class='symbol val'>:val=</span><span class='gt op'>&gt;</span><span class='@explosion ivar id'>@explosion</span><span class='rparen token'>)</span> <span class='unless unless_mod kw'>unless</span> <span class='@explosion ivar id'>@explosion</span><span class='dot token'>.</span><span class='nil? fid id'>nil?</span>
- <span class='if if kw'>if</span> <span class='notop op'>!</span><span class='labels identifier id'>labels</span><span class='dot token'>.</span><span class='empty? fid id'>empty?</span>
- <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:cat'</span><span class='rparen token'>)</span> <span class='lbrace token'>{</span>
- <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:strRef'</span><span class='rparen token'>)</span> <span class='lbrace token'>{</span>
- <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:f'</span><span class='comma token'>,</span> <span class='Axlsx constant id'>Axlsx</span><span class='colon2 op'>::</span><span class='cell_range identifier id'>cell_range</span><span class='lparen token'>(</span><span class='labels identifier id'>labels</span><span class='rparen token'>)</span><span class='rparen token'>)</span>
- <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:strCache'</span><span class='rparen token'>)</span> <span class='lbrace token'>{</span>
- <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:ptCount'</span><span class='comma token'>,</span> <span class='symbol val'>:val=</span><span class='gt op'>&gt;</span><span class='labels identifier id'>labels</span><span class='dot token'>.</span><span class='size identifier id'>size</span><span class='rparen token'>)</span>
- <span class='labels identifier id'>labels</span><span class='dot token'>.</span><span class='each_with_index identifier id'>each_with_index</span> <span class='do do kw'>do</span> <span class='bitor op'>|</span><span class='cell identifier id'>cell</span><span class='comma token'>,</span> <span class='index identifier id'>index</span><span class='bitor op'>|</span>
- <span class='v identifier id'>v</span> <span class='assign token'>=</span> <span class='cell identifier id'>cell</span><span class='dot token'>.</span><span class='is_a? fid id'>is_a?</span><span class='lparen token'>(</span><span class='Cell constant id'>Cell</span><span class='rparen token'>)</span> <span class='question op'>?</span> <span class='cell identifier id'>cell</span><span class='dot token'>.</span><span class='value identifier id'>value</span> <span class='colon op'>:</span> <span class='cell identifier id'>cell</span>
- <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:pt'</span><span class='comma token'>,</span> <span class='symbol val'>:idx=</span><span class='gt op'>&gt;</span><span class='index identifier id'>index</span><span class='rparen token'>)</span> <span class='lbrace token'>{</span>
- <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:v'</span><span class='comma token'>,</span> <span class='v identifier id'>v</span><span class='rparen token'>)</span>
- <span class='rbrace token'>}</span>
- <span class='end end kw'>end</span>
- <span class='rbrace token'>}</span>
- <span class='rbrace token'>}</span>
- <span class='rbrace token'>}</span>
- <span class='end end kw'>end</span>
- <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:val'</span><span class='rparen token'>)</span> <span class='lbrace token'>{</span>
- <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:numRef'</span><span class='rparen token'>)</span> <span class='lbrace token'>{</span>
- <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:f'</span><span class='comma token'>,</span> <span class='Axlsx constant id'>Axlsx</span><span class='colon2 op'>::</span><span class='cell_range identifier id'>cell_range</span><span class='lparen token'>(</span><span class='data identifier id'>data</span><span class='rparen token'>)</span><span class='rparen token'>)</span>
- <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:numCache'</span><span class='rparen token'>)</span> <span class='lbrace token'>{</span>
- <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:formatCode'</span><span class='comma token'>,</span> <span class='string val'>'General'</span><span class='rparen token'>)</span>
- <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:ptCount'</span><span class='comma token'>,</span> <span class='symbol val'>:val=</span><span class='gt op'>&gt;</span><span class='data identifier id'>data</span><span class='dot token'>.</span><span class='size identifier id'>size</span><span class='rparen token'>)</span>
- <span class='data identifier id'>data</span><span class='dot token'>.</span><span class='each_with_index identifier id'>each_with_index</span> <span class='do do kw'>do</span> <span class='bitor op'>|</span><span class='cell identifier id'>cell</span><span class='comma token'>,</span> <span class='index identifier id'>index</span><span class='bitor op'>|</span>
- <span class='v identifier id'>v</span> <span class='assign token'>=</span> <span class='cell identifier id'>cell</span><span class='dot token'>.</span><span class='is_a? fid id'>is_a?</span><span class='lparen token'>(</span><span class='Cell constant id'>Cell</span><span class='rparen token'>)</span> <span class='question op'>?</span> <span class='cell identifier id'>cell</span><span class='dot token'>.</span><span class='value identifier id'>value</span> <span class='colon op'>:</span> <span class='cell identifier id'>cell</span>
- <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:pt'</span><span class='comma token'>,</span> <span class='symbol val'>:idx=</span><span class='gt op'>&gt;</span><span class='index identifier id'>index</span><span class='rparen token'>)</span> <span class='lbrace token'>{</span>
- <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:v'</span><span class='comma token'>,</span> <span class='v identifier id'>v</span><span class='rparen token'>)</span>
- <span class='rbrace token'>}</span>
- <span class='end end kw'>end</span>
- <span class='rbrace token'>}</span>
- <span class='rbrace token'>}</span>
- <span class='rbrace token'>}</span>
-
+ <span class='@labels ivar id'>@labels</span><span class='dot token'>.</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> <span class='unless unless_mod kw'>unless</span> <span class='@labels ivar id'>@labels</span><span class='dot token'>.</span><span class='nil? fid id'>nil?</span>
+ <span class='@data ivar id'>@data</span><span class='dot token'>.</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> <span class='unless unless_mod kw'>unless</span> <span class='@data ivar id'>@data</span><span class='dot token'>.</span><span class='nil? fid id'>nil?</span>
<span class='end end kw'>end</span>
<span class='end end kw'>end</span>
</pre>
@@ -753,7 +694,7 @@ The document builder instance this objects xml will be added to.
</div>
<div id="footer">
- Generated on Tue Nov 22 23:52:49 2011 by
+ Generated on Wed Nov 23 12:23:44 2011 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.7.3 (ruby-1.8.7).
</div>
diff --git a/doc/Axlsx/RegexValidator.html b/doc/Axlsx/RegexValidator.html
index c3ad45b1..f644c404 100644
--- a/doc/Axlsx/RegexValidator.html
+++ b/doc/Axlsx/RegexValidator.html
@@ -259,7 +259,7 @@ The value to validate.
</div>
<div id="footer">
- Generated on Tue Nov 22 23:52:44 2011 by
+ Generated on Wed Nov 23 12:23:47 2011 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.7.3 (ruby-1.8.7).
</div>
diff --git a/doc/Axlsx/Relationship.html b/doc/Axlsx/Relationship.html
index 486b348c..f9786c69 100644
--- a/doc/Axlsx/Relationship.html
+++ b/doc/Axlsx/Relationship.html
@@ -545,7 +545,7 @@ the reference id of the object.
</div>
<div id="footer">
- Generated on Tue Nov 22 23:52:37 2011 by
+ Generated on Wed Nov 23 12:24:05 2011 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.7.3 (ruby-1.8.7).
</div>
diff --git a/doc/Axlsx/Relationships.html b/doc/Axlsx/Relationships.html
index b1687dcb..95e4f3b3 100644
--- a/doc/Axlsx/Relationships.html
+++ b/doc/Axlsx/Relationships.html
@@ -203,7 +203,7 @@ Serializes the relationships document.
<h3 class="inherited">Methods inherited from <span class='object_link'><a href="SimpleTypedList.html" title="Axlsx::SimpleTypedList (class)">SimpleTypedList</a></span></h3>
- <p class="inherited"><span class='object_link'><a href="SimpleTypedList.html#%3C%3C-instance_method" title="Axlsx::SimpleTypedList#&lt;&lt; (method)">#<<</a></span>, <span class='object_link'><a href="SimpleTypedList.html#%5B%5D%3D-instance_method" title="Axlsx::SimpleTypedList#[]= (method)">#[]=</a></span>, <span class='object_link'><a href="SimpleTypedList.html#delete-instance_method" title="Axlsx::SimpleTypedList#delete (method)">#delete</a></span>, <span class='object_link'><a href="SimpleTypedList.html#delete_at-instance_method" title="Axlsx::SimpleTypedList#delete_at (method)">#delete_at</a></span>, <span class='object_link'><a href="SimpleTypedList.html#lock-instance_method" title="Axlsx::SimpleTypedList#lock (method)">#lock</a></span>, <span class='object_link'><a href="SimpleTypedList.html#method_missing-instance_method" title="Axlsx::SimpleTypedList#method_missing (method)">#method_missing</a></span>, <span class='object_link'><a href="SimpleTypedList.html#protected%3F-instance_method" title="Axlsx::SimpleTypedList#protected? (method)">#protected?</a></span>, <span class='object_link'><a href="SimpleTypedList.html#push-instance_method" title="Axlsx::SimpleTypedList#push (method)">#push</a></span>, <span class='object_link'><a href="SimpleTypedList.html#unlock-instance_method" title="Axlsx::SimpleTypedList#unlock (method)">#unlock</a></span></p>
+ <p class="inherited"><span class='object_link'><a href="SimpleTypedList.html#%3C%3C-instance_method" title="Axlsx::SimpleTypedList#&lt;&lt; (method)">#<<</a></span>, <span class='object_link'><a href="SimpleTypedList.html#%3D%3D-instance_method" title="Axlsx::SimpleTypedList#== (method)">#==</a></span>, <span class='object_link'><a href="SimpleTypedList.html#%5B%5D%3D-instance_method" title="Axlsx::SimpleTypedList#[]= (method)">#[]=</a></span>, <span class='object_link'><a href="SimpleTypedList.html#delete-instance_method" title="Axlsx::SimpleTypedList#delete (method)">#delete</a></span>, <span class='object_link'><a href="SimpleTypedList.html#delete_at-instance_method" title="Axlsx::SimpleTypedList#delete_at (method)">#delete_at</a></span>, <span class='object_link'><a href="SimpleTypedList.html#lock-instance_method" title="Axlsx::SimpleTypedList#lock (method)">#lock</a></span>, <span class='object_link'><a href="SimpleTypedList.html#method_missing-instance_method" title="Axlsx::SimpleTypedList#method_missing (method)">#method_missing</a></span>, <span class='object_link'><a href="SimpleTypedList.html#protected%3F-instance_method" title="Axlsx::SimpleTypedList#protected? (method)">#protected?</a></span>, <span class='object_link'><a href="SimpleTypedList.html#push-instance_method" title="Axlsx::SimpleTypedList#push (method)">#push</a></span>, <span class='object_link'><a href="SimpleTypedList.html#unlock-instance_method" title="Axlsx::SimpleTypedList#unlock (method)">#unlock</a></span></p>
<div id="constructor_details" class="method_details_list">
<h2>Constructor Details</h2>
@@ -334,7 +334,7 @@ Serializes the relationships document.
</div>
<div id="footer">
- Generated on Tue Nov 22 23:52:41 2011 by
+ Generated on Wed Nov 23 12:23:47 2011 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.7.3 (ruby-1.8.7).
</div>
diff --git a/doc/Axlsx/RestrictionValidator.html b/doc/Axlsx/RestrictionValidator.html
index 1ea8d71f..dcb9402f 100644
--- a/doc/Axlsx/RestrictionValidator.html
+++ b/doc/Axlsx/RestrictionValidator.html
@@ -291,7 +291,7 @@ Raised if the value provided is not in the list of choices.
</div>
<div id="footer">
- Generated on Tue Nov 22 23:52:46 2011 by
+ Generated on Wed Nov 23 12:23:50 2011 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.7.3 (ruby-1.8.7).
</div>
diff --git a/doc/Axlsx/Row.html b/doc/Axlsx/Row.html
index 2d7802f0..cd95e0ec 100644
--- a/doc/Axlsx/Row.html
+++ b/doc/Axlsx/Row.html
@@ -762,7 +762,7 @@ The document builder instance this objects xml will be added to.
</div>
<div id="footer">
- Generated on Tue Nov 22 23:52:55 2011 by
+ Generated on Wed Nov 23 12:24:03 2011 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.7.3 (ruby-1.8.7).
</div>
diff --git a/doc/Axlsx/Scaling.html b/doc/Axlsx/Scaling.html
index 540ac273..341bd7d8 100644
--- a/doc/Axlsx/Scaling.html
+++ b/doc/Axlsx/Scaling.html
@@ -731,7 +731,7 @@ The document builder instance this objects xml will be added to.
</div>
<div id="footer">
- Generated on Tue Nov 22 23:52:44 2011 by
+ Generated on Wed Nov 23 12:23:48 2011 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.7.3 (ruby-1.8.7).
</div>
diff --git a/doc/Axlsx/SerAxis.html b/doc/Axlsx/SerAxis.html
index 17fe2a43..e46afa7e 100644
--- a/doc/Axlsx/SerAxis.html
+++ b/doc/Axlsx/SerAxis.html
@@ -97,7 +97,7 @@
<h2>Overview</h2><div class="docstring">
<div class="discussion">
<p>
-A SarAxis object defines a series axis
+A SerAxis object defines a series axis
</p>
@@ -118,7 +118,7 @@ A SarAxis object defines a series axis
<li class="public ">
<span class="summary_signature">
- <a href="#tickLblSkip-instance_method" title="#tickLblSkip (instance method)">- (Boolean) <strong>tickLblSkip</strong> </a>
+ <a href="#tickLblSkip-instance_method" title="#tickLblSkip (instance method)">- (Integer) <strong>tickLblSkip</strong> </a>
@@ -134,7 +134,10 @@ A SarAxis object defines a series axis
- <span class="summary_desc"><div class='inline'></div></span>
+ <span class="summary_desc"><div class='inline'><p>
+The number of tick lables to skip between labels.
+</p>
+</div></span>
</li>
@@ -158,7 +161,10 @@ A SarAxis object defines a series axis
- <span class="summary_desc"><div class='inline'></div></span>
+ <span class="summary_desc"><div class='inline'><p>
+The number of tickmarks to be skipped before the next one is rendered.
+</p>
+</div></span>
</li>
@@ -276,7 +282,7 @@ Creates a new SerAxis object
&mdash;
<div class='inline'><p>
-the id of this axis
+the id of this axis. Inherited
</p>
</div>
@@ -293,7 +299,7 @@ the id of this axis
&mdash;
<div class='inline'><p>
-the id of the perpendicular axis
+the id of the perpendicular axis. Inherited
</p>
</div>
@@ -331,35 +337,44 @@ a customizable set of options
<ul class="option">
<li>
- <span class="name">axPos</span>
+ <span class="name">axPos.</span>
<span class="type">(<tt>Symbol</tt>)</span>
<span class="default">
</span>
-
+ &mdash; <div class='inline'><p>
+Inherited
+</p>
+</div>
</li>
<li>
- <span class="name">tickLblPos</span>
+ <span class="name">tickLblPos.</span>
<span class="type">(<tt>Symbol</tt>)</span>
<span class="default">
</span>
-
+ &mdash; <div class='inline'><p>
+Inherited
+</p>
+</div>
</li>
<li>
- <span class="name">crosses</span>
+ <span class="name">crosses.</span>
<span class="type">(<tt>Symbol</tt>)</span>
<span class="default">
</span>
-
+ &mdash; <div class='inline'><p>
+Inherited
+</p>
+</div>
</li>
<li>
<span class="name">tickLblSkip</span>
- <span class="type">(<tt>Boolean</tt>)</span>
+ <span class="type">(<tt>Integer</tt>)</span>
<span class="default">
</span>
@@ -368,7 +383,7 @@ a customizable set of options
<li>
<span class="name">tickMarkSkip</span>
- <span class="type">(<tt>Symbol</tt>)</span>
+ <span class="type">(<tt>Integer</tt>)</span>
<span class="default">
</span>
@@ -385,21 +400,15 @@ a customizable set of options
<pre class="lines">
-19
-20
21
22
-23
-24</pre>
+23</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/ser_axis.rb', line 19</span>
+ <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/ser_axis.rb', line 21</span>
<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>
<span class='super super kw'>super</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='rparen token'>)</span>
- <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>
- <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'>&quot;#{o[0]}=&quot;</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'>&quot;#{o[0]}=&quot;</span>
- <span class='end end kw'>end</span>
<span class='end end kw'>end</span>
</pre>
</td>
@@ -418,13 +427,16 @@ a customizable set of options
<div class="method_details first">
<p class="signature first" id="tickLblSkip-instance_method">
- - (<tt>Boolean</tt>) <strong>tickLblSkip</strong>
+ - (<tt>Integer</tt>) <strong>tickLblSkip</strong>
</p><div class="docstring">
<div class="discussion">
-
+ <p>
+The number of tick lables to skip between labels
+</p>
+
</div>
</div>
@@ -436,7 +448,7 @@ a customizable set of options
<li>
- <span class='type'>(<tt>Boolean</tt>)</span>
+ <span class='type'>(<tt>Integer</tt>)</span>
@@ -450,12 +462,12 @@ a customizable set of options
<pre class="lines">
-6
7
-8</pre>
+8
+9</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/ser_axis.rb', line 6</span>
+ <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/ser_axis.rb', line 7</span>
<span class='def def kw'>def</span> <span class='tickLblSkip identifier id'>tickLblSkip</span>
<span class='@tickLblSkip ivar id'>@tickLblSkip</span>
@@ -478,7 +490,10 @@ a customizable set of options
</p><div class="docstring">
<div class="discussion">
-
+ <p>
+The number of tickmarks to be skipped before the next one is rendered.
+</p>
+
</div>
</div>
@@ -504,12 +519,12 @@ a customizable set of options
<pre class="lines">
-9
-10
-11</pre>
+11
+12
+13</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/ser_axis.rb', line 9</span>
+ <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/ser_axis.rb', line 11</span>
<span class='def def kw'>def</span> <span class='tickMarkSkip identifier id'>tickMarkSkip</span>
<span class='@tickMarkSkip ivar id'>@tickMarkSkip</span>
@@ -586,16 +601,16 @@ The document builder instance this objects xml will be added to.
<pre class="lines">
+31
32
33
34
35
36
-37
-38</pre>
+37</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/ser_axis.rb', line 32</span>
+ <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/ser_axis.rb', line 31</span>
<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>
<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:serAx'</span><span class='rparen token'>)</span> <span class='lbrace token'>{</span>
@@ -615,7 +630,7 @@ The document builder instance this objects xml will be added to.
</div>
<div id="footer">
- Generated on Tue Nov 22 23:52:32 2011 by
+ Generated on Wed Nov 23 12:23:58 2011 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.7.3 (ruby-1.8.7).
</div>
diff --git a/doc/Axlsx/Series.html b/doc/Axlsx/Series.html
index 668ede03..32106681 100644
--- a/doc/Axlsx/Series.html
+++ b/doc/Axlsx/Series.html
@@ -104,7 +104,8 @@ The recommended way to manage series is to use Chart#add_series
</div>
<p>
-A Series defines the title, data and labels for chart data.
+A Series defines the common series attributes and is the super class for
+all concrete series types.
</p>
@@ -161,7 +162,7 @@ The chart that owns this series.
<li class="public ">
<span class="summary_signature">
- <a href="#index-instance_method" title="#index (instance method)">- (Object) <strong>index</strong> </a>
+ <a href="#index-instance_method" title="#index (instance method)">- (Integer) <strong>index</strong> </a>
@@ -178,7 +179,7 @@ The chart that owns this series.
<span class="summary_desc"><div class='inline'><p>
-retrieves the series index in the chart&#8217;s series collection.
+The index of this series in the chart&#8217;s series.
</p>
</div></span>
@@ -488,14 +489,14 @@ The chart that owns this series
<div class="method_details ">
<p class="signature " id="index-instance_method">
- - (<tt>Object</tt>) <strong>index</strong> <span class="extras">(readonly)</span>
+ - (<tt>Integer</tt>) <strong>index</strong> <span class="extras">(readonly)</span>
</p><div class="docstring">
<div class="discussion">
<p>
-retrieves the series index in the chart&#8217;s series collection
+The index of this series in the chart&#8217;s series.
</p>
@@ -503,6 +504,19 @@ retrieves the series index in the chart&#8217;s series collection
</div>
<div class="tags">
+<h3>Returns:</h3>
+<ul class="return">
+
+ <li>
+
+
+ <span class='type'>(<tt>Integer</tt>)</span>
+
+
+
+ </li>
+
+</ul>
</div><table class="source_code">
<tr>
@@ -539,7 +553,8 @@ retrieves the series index in the chart&#8217;s series collection
</p><div class="docstring">
<div class="discussion">
<p>
-The order of this series in the chart&#8217;s series.
+The order of this series in the chart&#8217;s series. By default the order
+is the index of the series.
</p>
@@ -706,17 +721,17 @@ The document builder instance this objects xml will be added to.
<pre class="lines">
+60
61
62
63
64
65
66
-67
-68</pre>
+67</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/series.rb', line 61</span>
+ <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/series.rb', line 60</span>
<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>
<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:ser'</span><span class='rparen token'>)</span> <span class='lbrace token'>{</span>
@@ -737,7 +752,7 @@ The document builder instance this objects xml will be added to.
</div>
<div id="footer">
- Generated on Tue Nov 22 23:52:42 2011 by
+ Generated on Wed Nov 23 12:23:59 2011 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.7.3 (ruby-1.8.7).
</div>
diff --git a/doc/Axlsx/SeriesTitle.html b/doc/Axlsx/SeriesTitle.html
index 8c6e2377..46224b97 100644
--- a/doc/Axlsx/SeriesTitle.html
+++ b/doc/Axlsx/SeriesTitle.html
@@ -97,7 +97,8 @@
<h2>Overview</h2><div class="docstring">
<div class="discussion">
<p>
-A series title is a Title with a slightly different serialization
+A series title is a Title with a slightly different serialization than
+chart titles.
</p>
@@ -280,7 +281,7 @@ The document builder instance this objects xml will be added to.
</div>
<div id="footer">
- Generated on Tue Nov 22 23:52:39 2011 by
+ Generated on Wed Nov 23 12:24:04 2011 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.7.3 (ruby-1.8.7).
</div>
diff --git a/doc/Axlsx/SimpleTypedList.html b/doc/Axlsx/SimpleTypedList.html
index d28079f3..72ff9c07 100644
--- a/doc/Axlsx/SimpleTypedList.html
+++ b/doc/Axlsx/SimpleTypedList.html
@@ -107,7 +107,7 @@ methods from Array and supports basic xml serialization.
</div><div id="subclasses">
<h2>Direct Known Subclasses</h2>
- <p class="children"><span class='object_link'><a href="ContentType.html" title="Axlsx::ContentType (class)">ContentType</a></span>, <span class='object_link'><a href="Relationships.html" title="Axlsx::Relationships (class)">Relationships</a></span>, <span class='object_link'><a href="TableStyle.html" title="Axlsx::TableStyle (class)">TableStyle</a></span>, <span class='object_link'><a href="TableStyles.html" title="Axlsx::TableStyles (class)">TableStyles</a></span></p>
+ <p class="children"><span class='object_link'><a href="CatAxisData.html" title="Axlsx::CatAxisData (class)">CatAxisData</a></span>, <span class='object_link'><a href="ContentType.html" title="Axlsx::ContentType (class)">ContentType</a></span>, <span class='object_link'><a href="Relationships.html" title="Axlsx::Relationships (class)">Relationships</a></span>, <span class='object_link'><a href="TableStyle.html" title="Axlsx::TableStyle (class)">TableStyle</a></span>, <span class='object_link'><a href="TableStyles.html" title="Axlsx::TableStyles (class)">TableStyles</a></span></p>
</div>
@@ -237,6 +237,31 @@ Concat operator.
<li class="public ">
<span class="summary_signature">
+ <a href="#%3D%3D-instance_method" title="#== (instance method)">- (Object) <strong>==</strong>(v) </a>
+
+
+
+ </span>
+
+
+
+
+
+
+
+
+ <span class="summary_desc"><div class='inline'><p>
+override the equality method so that this object can be compared to a
+simple array.
+</p>
+</div></span>
+
+</li>
+
+
+ <li class="public ">
+ <span class="summary_signature">
+
<a href="#%5B%5D%3D-instance_method" title="#[]= (instance method)">- (Object) <strong>[]=</strong>(index, v) </a>
@@ -643,7 +668,6 @@ the following methods are not allowed
<span class='symbol val'>:drop_while</span>
<span class='symbol val'>:delete_if</span>
<span class='symbol val'>:clear</span>
- <span class='symbol val'>:concat</span>
</pre>
</div>
</div>
@@ -677,23 +701,25 @@ method_mission override to pass allowed methods to the list.
<pre class="lines">
-127
-128
-129
-130
131
132
133
-134</pre>
+134
+135
+136
+137
+138
+139</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/axlsx/util/simple_typed_list.rb', line 127</span>
+ <pre class="code"><span class="info file"># File 'lib/axlsx/util/simple_typed_list.rb', line 131</span>
<span class='def def kw'>def</span> <span class='method_missing identifier id'>method_missing</span><span class='lparen token'>(</span><span class='meth identifier id'>meth</span><span class='comma token'>,</span> <span class='mult op'>*</span><span class='args identifier id'>args</span><span class='comma token'>,</span> <span class='bitand op'>&amp;</span><span class='block identifier id'>block</span><span class='rparen token'>)</span>
- <span class='raise identifier id'>raise</span> <span class='ArgumentError constant id'>ArgumentError</span><span class='comma token'>,</span> <span class='dstring node'>&quot;#{meth} not supported&quot;</span> <span class='if if_mod kw'>if</span> <span class='lbrack token'>[</span><span class='symbol val'>:replace</span><span class='comma token'>,</span> <span class='symbol val'>:insert</span><span class='comma token'>,</span> <span class='symbol val'>:collect!</span><span class='comma token'>,</span> <span class='symbol val'>:map!</span><span class='comma token'>,</span> <span class='symbol val'>:pop</span><span class='comma token'>,</span> <span class='symbol val'>:delete_if</span><span class='comma token'>,</span> <span class='symbol val'>:reverse!</span><span class='comma token'>,</span> <span class='symbol val'>:shift</span><span class='comma token'>,</span> <span class='symbol val'>:shuffle!</span><span class='comma token'>,</span> <span class='symbol val'>:slice!</span><span class='comma token'>,</span> <span class='symbol val'>:sort!</span><span class='comma token'>,</span> <span class='symbol val'>:uniq!</span><span class='comma token'>,</span> <span class='symbol val'>:unshift</span><span class='comma token'>,</span> <span class='symbol val'>:zip</span><span class='comma token'>,</span> <span class='symbol val'>:flatten!</span><span class='comma token'>,</span> <span class='symbol val'>:fill</span><span class='comma token'>,</span> <span class='symbol val'>:drop</span><span class='comma token'>,</span> <span class='symbol val'>:drop_while</span><span class='comma token'>,</span> <span class='symbol val'>:delete_if</span><span class='comma token'>,</span> <span class='symbol val'>:clear</span><span class='comma token'>,</span> <span class='symbol val'>:concat</span><span class='rbrack token'>]</span><span class='dot token'>.</span><span class='include? fid id'>include?</span> <span class='meth identifier id'>meth</span><span class='dot token'>.</span><span class='to_sym identifier id'>to_sym</span>
+ <span class='raise identifier id'>raise</span> <span class='ArgumentError constant id'>ArgumentError</span><span class='comma token'>,</span> <span class='dstring node'>&quot;#{meth} not supported&quot;</span> <span class='if if_mod kw'>if</span> <span class='lbrack token'>[</span><span class='symbol val'>:replace</span><span class='comma token'>,</span> <span class='symbol val'>:insert</span><span class='comma token'>,</span> <span class='symbol val'>:collect!</span><span class='comma token'>,</span> <span class='symbol val'>:map!</span><span class='comma token'>,</span> <span class='symbol val'>:pop</span><span class='comma token'>,</span> <span class='symbol val'>:delete_if</span><span class='comma token'>,</span> <span class='symbol val'>:reverse!</span><span class='comma token'>,</span> <span class='symbol val'>:shift</span><span class='comma token'>,</span> <span class='symbol val'>:shuffle!</span><span class='comma token'>,</span> <span class='symbol val'>:slice!</span><span class='comma token'>,</span> <span class='symbol val'>:sort!</span><span class='comma token'>,</span> <span class='symbol val'>:uniq!</span><span class='comma token'>,</span> <span class='symbol val'>:unshift</span><span class='comma token'>,</span> <span class='symbol val'>:zip</span><span class='comma token'>,</span> <span class='symbol val'>:flatten!</span><span class='comma token'>,</span> <span class='symbol val'>:fill</span><span class='comma token'>,</span> <span class='symbol val'>:drop</span><span class='comma token'>,</span> <span class='symbol val'>:drop_while</span><span class='comma token'>,</span> <span class='symbol val'>:delete_if</span><span class='comma token'>,</span> <span class='symbol val'>:clear</span><span class='rbrack token'>]</span><span class='dot token'>.</span><span class='include? fid id'>include?</span> <span class='meth identifier id'>meth</span><span class='dot token'>.</span><span class='to_sym identifier id'>to_sym</span>
<span class='if if kw'>if</span> <span class='@list ivar id'>@list</span><span class='dot token'>.</span><span class='respond_to? fid id'>respond_to?</span> <span class='meth identifier id'>meth</span>
<span class='@list ivar id'>@list</span><span class='dot token'>.</span><span class='send identifier id'>send</span><span class='lparen token'>(</span><span class='meth identifier id'>meth</span><span class='comma token'>,</span> <span class='mult op'>*</span><span class='args identifier id'>args</span><span class='comma token'>,</span> <span class='bitand op'>&amp;</span><span class='block identifier id'>block</span><span class='rparen token'>)</span>
<span class='else else kw'>else</span>
+ <span class='puts identifier id'>puts</span> <span class='dstring node'>&quot;method:#{meth.inspect}&quot;</span>
<span class='super super kw'>super</span>
<span class='end end kw'>end</span>
<span class='end end kw'>end</span>
@@ -993,6 +1019,49 @@ if the value being added is not one fo the allowed types
</div>
<div class="method_details ">
+ <p class="signature " id="==-instance_method">
+
+ - (<tt>Object</tt>) <strong>==</strong>(v)
+
+
+
+</p><div class="docstring">
+ <div class="discussion">
+ <p>
+override the equality method so that this object can be compared to a
+simple array. if this object&#8217;s list is equal to the specifiec array,
+we return true.
+</p>
+
+
+ </div>
+</div>
+<div class="tags">
+
+
+</div><table class="source_code">
+ <tr>
+ <td>
+ <pre class="lines">
+
+
+105
+106
+107</pre>
+ </td>
+ <td>
+ <pre class="code"><span class="info file"># File 'lib/axlsx/util/simple_typed_list.rb', line 105</span>
+
+<span class='def def kw'>def</span> <span class='eq op'>==</span><span class='lparen token'>(</span><span class='v identifier id'>v</span><span class='rparen token'>)</span>
+ <span class='v identifier id'>v</span> <span class='eq op'>==</span> <span class='@list ivar id'>@list</span>
+<span class='end end kw'>end</span>
+</pre>
+ </td>
+ </tr>
+</table>
+</div>
+
+ <div class="method_details ">
<p class="signature " id="[]=-instance_method">
- (<tt>Object</tt>) <strong>[]=</strong>(index, v)
@@ -1523,16 +1592,16 @@ The document builder instance this objects xml will be added to.
<pre class="lines">
-141
-142
-143
-144
-145
146
-147</pre>
+147
+148
+149
+150
+151
+152</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/axlsx/util/simple_typed_list.rb', line 141</span>
+ <pre class="code"><span class="info file"># File 'lib/axlsx/util/simple_typed_list.rb', line 146</span>
<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>
<span class='classname identifier id'>classname</span> <span class='assign token'>=</span> <span class='@allowed_types ivar id'>@allowed_types</span><span class='lbrack token'>[</span><span class='integer val'>0</span><span class='rbrack token'>]</span><span class='dot token'>.</span><span class='name identifier id'>name</span><span class='dot token'>.</span><span class='split identifier id'>split</span><span class='lparen token'>(</span><span class='string val'>'::'</span><span class='rparen token'>)</span><span class='dot token'>.</span><span class='last identifier id'>last</span>
@@ -1608,7 +1677,7 @@ Unlock the list
</div>
<div id="footer">
- Generated on Tue Nov 22 23:52:48 2011 by
+ Generated on Wed Nov 23 12:23:53 2011 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.7.3 (ruby-1.8.7).
</div>
diff --git a/doc/Axlsx/Styles.html b/doc/Axlsx/Styles.html
index a11d4454..8044712f 100644
--- a/doc/Axlsx/Styles.html
+++ b/doc/Axlsx/Styles.html
@@ -1745,7 +1745,7 @@ Serializes the styles document
</div>
<div id="footer">
- Generated on Tue Nov 22 23:52:40 2011 by
+ Generated on Wed Nov 23 12:23:56 2011 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.7.3 (ruby-1.8.7).
</div>
diff --git a/doc/Axlsx/TableStyle.html b/doc/Axlsx/TableStyle.html
index 0bd012be..5318b1d7 100644
--- a/doc/Axlsx/TableStyle.html
+++ b/doc/Axlsx/TableStyle.html
@@ -289,7 +289,7 @@ Serializes the table style.
<h3 class="inherited">Methods inherited from <span class='object_link'><a href="SimpleTypedList.html" title="Axlsx::SimpleTypedList (class)">SimpleTypedList</a></span></h3>
- <p class="inherited"><span class='object_link'><a href="SimpleTypedList.html#%3C%3C-instance_method" title="Axlsx::SimpleTypedList#&lt;&lt; (method)">#<<</a></span>, <span class='object_link'><a href="SimpleTypedList.html#%5B%5D%3D-instance_method" title="Axlsx::SimpleTypedList#[]= (method)">#[]=</a></span>, <span class='object_link'><a href="SimpleTypedList.html#delete-instance_method" title="Axlsx::SimpleTypedList#delete (method)">#delete</a></span>, <span class='object_link'><a href="SimpleTypedList.html#delete_at-instance_method" title="Axlsx::SimpleTypedList#delete_at (method)">#delete_at</a></span>, <span class='object_link'><a href="SimpleTypedList.html#lock-instance_method" title="Axlsx::SimpleTypedList#lock (method)">#lock</a></span>, <span class='object_link'><a href="SimpleTypedList.html#method_missing-instance_method" title="Axlsx::SimpleTypedList#method_missing (method)">#method_missing</a></span>, <span class='object_link'><a href="SimpleTypedList.html#protected%3F-instance_method" title="Axlsx::SimpleTypedList#protected? (method)">#protected?</a></span>, <span class='object_link'><a href="SimpleTypedList.html#push-instance_method" title="Axlsx::SimpleTypedList#push (method)">#push</a></span>, <span class='object_link'><a href="SimpleTypedList.html#unlock-instance_method" title="Axlsx::SimpleTypedList#unlock (method)">#unlock</a></span></p>
+ <p class="inherited"><span class='object_link'><a href="SimpleTypedList.html#%3C%3C-instance_method" title="Axlsx::SimpleTypedList#&lt;&lt; (method)">#<<</a></span>, <span class='object_link'><a href="SimpleTypedList.html#%3D%3D-instance_method" title="Axlsx::SimpleTypedList#== (method)">#==</a></span>, <span class='object_link'><a href="SimpleTypedList.html#%5B%5D%3D-instance_method" title="Axlsx::SimpleTypedList#[]= (method)">#[]=</a></span>, <span class='object_link'><a href="SimpleTypedList.html#delete-instance_method" title="Axlsx::SimpleTypedList#delete (method)">#delete</a></span>, <span class='object_link'><a href="SimpleTypedList.html#delete_at-instance_method" title="Axlsx::SimpleTypedList#delete_at (method)">#delete_at</a></span>, <span class='object_link'><a href="SimpleTypedList.html#lock-instance_method" title="Axlsx::SimpleTypedList#lock (method)">#lock</a></span>, <span class='object_link'><a href="SimpleTypedList.html#method_missing-instance_method" title="Axlsx::SimpleTypedList#method_missing (method)">#method_missing</a></span>, <span class='object_link'><a href="SimpleTypedList.html#protected%3F-instance_method" title="Axlsx::SimpleTypedList#protected? (method)">#protected?</a></span>, <span class='object_link'><a href="SimpleTypedList.html#push-instance_method" title="Axlsx::SimpleTypedList#push (method)">#push</a></span>, <span class='object_link'><a href="SimpleTypedList.html#unlock-instance_method" title="Axlsx::SimpleTypedList#unlock (method)">#unlock</a></span></p>
<div id="constructor_details" class="method_details_list">
<h2>Constructor Details</h2>
@@ -701,7 +701,7 @@ The document builder instance this objects xml will be added to.
</div>
<div id="footer">
- Generated on Tue Nov 22 23:52:50 2011 by
+ Generated on Wed Nov 23 12:24:01 2011 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.7.3 (ruby-1.8.7).
</div>
diff --git a/doc/Axlsx/TableStyleElement.html b/doc/Axlsx/TableStyleElement.html
index 4f2ed657..7616bef5 100644
--- a/doc/Axlsx/TableStyleElement.html
+++ b/doc/Axlsx/TableStyleElement.html
@@ -668,7 +668,7 @@ The document builder instance this objects xml will be added to.
</div>
<div id="footer">
- Generated on Tue Nov 22 23:52:53 2011 by
+ Generated on Wed Nov 23 12:23:56 2011 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.7.3 (ruby-1.8.7).
</div>
diff --git a/doc/Axlsx/TableStyles.html b/doc/Axlsx/TableStyles.html
index be8a4c84..2458c69b 100644
--- a/doc/Axlsx/TableStyles.html
+++ b/doc/Axlsx/TableStyles.html
@@ -265,7 +265,7 @@ Serializes the table styles element.
<h3 class="inherited">Methods inherited from <span class='object_link'><a href="SimpleTypedList.html" title="Axlsx::SimpleTypedList (class)">SimpleTypedList</a></span></h3>
- <p class="inherited"><span class='object_link'><a href="SimpleTypedList.html#%3C%3C-instance_method" title="Axlsx::SimpleTypedList#&lt;&lt; (method)">#<<</a></span>, <span class='object_link'><a href="SimpleTypedList.html#%5B%5D%3D-instance_method" title="Axlsx::SimpleTypedList#[]= (method)">#[]=</a></span>, <span class='object_link'><a href="SimpleTypedList.html#delete-instance_method" title="Axlsx::SimpleTypedList#delete (method)">#delete</a></span>, <span class='object_link'><a href="SimpleTypedList.html#delete_at-instance_method" title="Axlsx::SimpleTypedList#delete_at (method)">#delete_at</a></span>, <span class='object_link'><a href="SimpleTypedList.html#lock-instance_method" title="Axlsx::SimpleTypedList#lock (method)">#lock</a></span>, <span class='object_link'><a href="SimpleTypedList.html#method_missing-instance_method" title="Axlsx::SimpleTypedList#method_missing (method)">#method_missing</a></span>, <span class='object_link'><a href="SimpleTypedList.html#protected%3F-instance_method" title="Axlsx::SimpleTypedList#protected? (method)">#protected?</a></span>, <span class='object_link'><a href="SimpleTypedList.html#push-instance_method" title="Axlsx::SimpleTypedList#push (method)">#push</a></span>, <span class='object_link'><a href="SimpleTypedList.html#unlock-instance_method" title="Axlsx::SimpleTypedList#unlock (method)">#unlock</a></span></p>
+ <p class="inherited"><span class='object_link'><a href="SimpleTypedList.html#%3C%3C-instance_method" title="Axlsx::SimpleTypedList#&lt;&lt; (method)">#<<</a></span>, <span class='object_link'><a href="SimpleTypedList.html#%3D%3D-instance_method" title="Axlsx::SimpleTypedList#== (method)">#==</a></span>, <span class='object_link'><a href="SimpleTypedList.html#%5B%5D%3D-instance_method" title="Axlsx::SimpleTypedList#[]= (method)">#[]=</a></span>, <span class='object_link'><a href="SimpleTypedList.html#delete-instance_method" title="Axlsx::SimpleTypedList#delete (method)">#delete</a></span>, <span class='object_link'><a href="SimpleTypedList.html#delete_at-instance_method" title="Axlsx::SimpleTypedList#delete_at (method)">#delete_at</a></span>, <span class='object_link'><a href="SimpleTypedList.html#lock-instance_method" title="Axlsx::SimpleTypedList#lock (method)">#lock</a></span>, <span class='object_link'><a href="SimpleTypedList.html#method_missing-instance_method" title="Axlsx::SimpleTypedList#method_missing (method)">#method_missing</a></span>, <span class='object_link'><a href="SimpleTypedList.html#protected%3F-instance_method" title="Axlsx::SimpleTypedList#protected? (method)">#protected?</a></span>, <span class='object_link'><a href="SimpleTypedList.html#push-instance_method" title="Axlsx::SimpleTypedList#push (method)">#push</a></span>, <span class='object_link'><a href="SimpleTypedList.html#unlock-instance_method" title="Axlsx::SimpleTypedList#unlock (method)">#unlock</a></span></p>
<div id="constructor_details" class="method_details_list">
<h2>Constructor Details</h2>
@@ -590,7 +590,7 @@ The document builder instance this objects xml will be added to.
</div>
<div id="footer">
- Generated on Tue Nov 22 23:52:39 2011 by
+ Generated on Wed Nov 23 12:24:00 2011 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.7.3 (ruby-1.8.7).
</div>
diff --git a/doc/Axlsx/Title.html b/doc/Axlsx/Title.html
index 9a97f09c..f66f1339 100644
--- a/doc/Axlsx/Title.html
+++ b/doc/Axlsx/Title.html
@@ -616,7 +616,7 @@ The document builder instance this objects xml will be added to.
</div>
<div id="footer">
- Generated on Tue Nov 22 23:52:51 2011 by
+ Generated on Wed Nov 23 12:23:51 2011 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.7.3 (ruby-1.8.7).
</div>
diff --git a/doc/Axlsx/TwoCellAnchor.html b/doc/Axlsx/TwoCellAnchor.html
index fc8e86a3..20e6e8c8 100644
--- a/doc/Axlsx/TwoCellAnchor.html
+++ b/doc/Axlsx/TwoCellAnchor.html
@@ -277,30 +277,6 @@ A marker that returns the to cell anchor.
<li class="public ">
<span class="summary_signature">
- <a href="#end_at-instance_method" title="#end_at (instance method)">- (Marker) <strong>end_at</strong>(x, y) </a>
-
-
-
- </span>
-
-
-
-
-
-
-
-
- <span class="summary_desc"><div class='inline'><p>
-This is a short cut method to set the end anchor position.
-</p>
-</div></span>
-
-</li>
-
-
- <li class="public ">
- <span class="summary_signature">
-
<a href="#initialize-instance_method" title="#initialize (instance method)">- (TwoCellAnchor) <strong>initialize</strong>(drawing, chart_type, options) </a>
@@ -317,31 +293,8 @@ This is a short cut method to set the end anchor position.
<span class="summary_desc"><div class='inline'><p>
-Creates a new TwoCellAnchor object.
-</p>
-</div></span>
-
-</li>
-
-
- <li class="public ">
- <span class="summary_signature">
-
- <a href="#start_at-instance_method" title="#start_at (instance method)">- (Marker) <strong>start_at</strong>(x, y) </a>
-
-
-
- </span>
-
-
-
-
-
-
-
-
- <span class="summary_desc"><div class='inline'><p>
-This is a short cut method to set the start anchor position.
+Creates a new TwoCellAnchor object and sets up a reference to the from and
+to markers in the graphic_frame&#8217;s chart.
</p>
</div></span>
@@ -388,7 +341,9 @@ Serializes the two cell anchor.
</p><div class="docstring">
<div class="discussion">
<p>
-Creates a new TwoCellAnchor object
+Creates a new TwoCellAnchor object and sets up a reference to the from and
+to markers in the graphic_frame&#8217;s chart. That means that you can do
+stuff like c = worksheet.add_chart Axlsx::Chart c.start_at 5, 9
</p>
@@ -411,13 +366,20 @@ Creates a new TwoCellAnchor object
<li>
- <span class='name'>chart</span>
+ <span class='name'>chart_type</span>
- <span class='type'>(<tt><span class='object_link'><a href="Chart.html" title="Axlsx::Chart (class)">Chart</a></span></tt>)</span>
+ <span class='type'>(<tt>Class</tt>)</span>
+ &mdash;
+ <div class='inline'><p>
+This is passed to the graphic frame for instantiation. must be Chart or a
+subclass of Chart
+</p>
+</div>
+
</li>
<li>
@@ -455,7 +417,10 @@ a customizable set of options
<span class="default">
</span>
-
+ &mdash; <div class='inline'><p>
+the col, row to start at
+</p>
+</div>
</li>
<li>
@@ -464,7 +429,10 @@ a customizable set of options
<span class="default">
</span>
-
+ &mdash; <div class='inline'><p>
+the col, row to end at
+</p>
+</div>
</li>
</ul>
@@ -477,37 +445,21 @@ a customizable set of options
<pre class="lines">
-31
-32
-33
34
35
36
37
38
-39
-40
-41
-42
-43
-44</pre>
+39</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/two_cell_anchor.rb', line 31</span>
+ <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/two_cell_anchor.rb', line 34</span>
<span class='def def kw'>def</span> <span class='initialize identifier id'>initialize</span><span class='lparen token'>(</span><span class='drawing identifier id'>drawing</span><span class='comma token'>,</span> <span class='chart_type identifier id'>chart_type</span><span class='comma token'>,</span> <span class='options identifier id'>options</span><span class='rparen token'>)</span>
<span class='@drawing ivar id'>@drawing</span> <span class='assign token'>=</span> <span class='drawing identifier id'>drawing</span>
<span class='drawing identifier id'>drawing</span><span class='dot token'>.</span><span class='anchors identifier id'>anchors</span> <span class='lshft op'>&lt;&lt;</span> <span class='self self kw'>self</span>
-
<span class='@from ivar id'>@from</span><span class='comma token'>,</span> <span class='@to ivar id'>@to</span> <span class='assign token'>=</span> <span class='Marker constant id'>Marker</span><span class='dot token'>.</span><span class='new identifier id'>new</span><span class='comma token'>,</span> <span class='Marker constant id'>Marker</span><span class='dot token'>.</span><span class='new identifier id'>new</span><span class='lparen token'>(</span><span class='symbol val'>:col</span> <span class='assign token'>=</span><span class='gt op'>&gt;</span> <span class='integer val'>5</span><span class='comma token'>,</span> <span class='symbol val'>:row=</span><span class='gt op'>&gt;</span><span class='integer val'>10</span><span class='rparen token'>)</span>
<span class='@graphic_frame ivar id'>@graphic_frame</span> <span class='assign token'>=</span> <span class='GraphicFrame constant id'>GraphicFrame</span><span class='dot token'>.</span><span class='new identifier id'>new</span><span class='lparen token'>(</span><span class='self self kw'>self</span><span class='comma token'>,</span> <span class='chart_type identifier id'>chart_type</span><span class='comma token'>,</span> <span class='options identifier id'>options</span><span class='rparen token'>)</span>
-
- <span class='self self kw'>self</span><span class='dot token'>.</span><span class='start_at identifier id'>start_at</span><span class='lparen token'>(</span><span class='options identifier id'>options</span><span class='lbrack token'>[</span><span class='symbol val'>:start_at</span><span class='rbrack token'>]</span><span class='lbrack token'>[</span><span class='integer val'>0</span><span class='rbrack token'>]</span><span class='comma token'>,</span> <span class='options identifier id'>options</span><span class='lbrack token'>[</span><span class='symbol val'>:start_at</span><span class='rbrack token'>]</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='options identifier id'>options</span><span class='lbrack token'>[</span><span class='symbol val'>:start_at</span><span class='rbrack token'>]</span><span class='dot token'>.</span><span class='is_a? fid id'>is_a?</span><span class='lparen token'>(</span><span class='Array constant id'>Array</span><span class='rparen token'>)</span>
- <span class='self self kw'>self</span><span class='dot token'>.</span><span class='end_at identifier id'>end_at</span><span class='lparen token'>(</span><span class='options identifier id'>options</span><span class='lbrack token'>[</span><span class='symbol val'>:end_at</span><span class='rbrack token'>]</span><span class='lbrack token'>[</span><span class='integer val'>0</span><span class='rbrack token'>]</span><span class='comma token'>,</span> <span class='options identifier id'>options</span><span class='lbrack token'>[</span><span class='symbol val'>:end_at</span><span class='rbrack token'>]</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='options identifier id'>options</span><span class='lbrack token'>[</span><span class='symbol val'>:end_at</span><span class='rbrack token'>]</span><span class='dot token'>.</span><span class='is_a? fid id'>is_a?</span><span class='lparen token'>(</span><span class='Array constant id'>Array</span><span class='rparen token'>)</span>
- <span class='comment val'># passing a reference to our start and end markers for convenience</span>
- <span class='comment val'># this lets us access the markers directly from the chart.</span>
- <span class='@graphic_frame ivar id'>@graphic_frame</span><span class='dot token'>.</span><span class='chart identifier id'>chart</span><span class='dot token'>.</span><span class='send identifier id'>send</span><span class='lparen token'>(</span><span class='symbol val'>:start_at=</span><span class='comma token'>,</span> <span class='@from ivar id'>@from</span><span class='rparen token'>)</span>
- <span class='@graphic_frame ivar id'>@graphic_frame</span><span class='dot token'>.</span><span class='chart identifier id'>chart</span><span class='dot token'>.</span><span class='send identifier id'>send</span><span class='lparen token'>(</span><span class='symbol val'>:end_at=</span><span class='comma token'>,</span> <span class='@to ivar id'>@to</span><span class='rparen token'>)</span>
<span class='end end kw'>end</span>
</pre>
</td>
@@ -815,199 +767,7 @@ A marker that returns the to cell anchor. The default to column and row are
<div class="method_details first">
- <p class="signature first" id="end_at-instance_method">
-
- - (<tt><span class='object_link'><a href="Marker.html" title="Axlsx::Marker (class)">Marker</a></span></tt>) <strong>end_at</strong>(x, y)
-
-
-
-</p><div class="docstring">
- <div class="discussion">
- <p>
-This is a short cut method to set the end anchor position
-</p>
-
-
- </div>
-</div>
-<div class="tags">
- <h3>Parameters:</h3>
-<ul class="param">
-
- <li>
-
- <span class='name'>x</span>
-
-
- <span class='type'>(<tt>Integer</tt>)</span>
-
-
-
- &mdash;
- <div class='inline'><p>
-The column
-</p>
-</div>
-
- </li>
-
- <li>
-
- <span class='name'>y</span>
-
-
- <span class='type'>(<tt>Integer</tt>)</span>
-
-
-
- &mdash;
- <div class='inline'><p>
-The row
-</p>
-</div>
-
- </li>
-
-</ul>
-
-<h3>Returns:</h3>
-<ul class="return">
-
- <li>
-
-
- <span class='type'>(<tt><span class='object_link'><a href="Marker.html" title="Axlsx::Marker (class)">Marker</a></span></tt>)</span>
-
-
-
- </li>
-
-</ul>
-
-</div><table class="source_code">
- <tr>
- <td>
- <pre class="lines">
-
-
-65
-66
-67
-68
-69</pre>
- </td>
- <td>
- <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/two_cell_anchor.rb', line 65</span>
-
-<span class='def def kw'>def</span> <span class='end_at identifier id'>end_at</span><span class='lparen token'>(</span><span class='x identifier id'>x</span><span class='comma token'>,</span> <span class='y identifier id'>y</span><span class='rparen token'>)</span>
- <span class='@to ivar id'>@to</span><span class='dot token'>.</span><span class='col identifier id'>col</span> <span class='assign token'>=</span> <span class='x identifier id'>x</span>
- <span class='@to ivar id'>@to</span><span class='dot token'>.</span><span class='row identifier id'>row</span> <span class='assign token'>=</span> <span class='y identifier id'>y</span>
- <span class='@to ivar id'>@to</span>
-<span class='end end kw'>end</span>
-</pre>
- </td>
- </tr>
-</table>
-</div>
-
- <div class="method_details ">
- <p class="signature " id="start_at-instance_method">
-
- - (<tt><span class='object_link'><a href="Marker.html" title="Axlsx::Marker (class)">Marker</a></span></tt>) <strong>start_at</strong>(x, y)
-
-
-
-</p><div class="docstring">
- <div class="discussion">
- <p>
-This is a short cut method to set the start anchor position
-</p>
-
-
- </div>
-</div>
-<div class="tags">
- <h3>Parameters:</h3>
-<ul class="param">
-
- <li>
-
- <span class='name'>x</span>
-
-
- <span class='type'>(<tt>Integer</tt>)</span>
-
-
-
- &mdash;
- <div class='inline'><p>
-The column
-</p>
-</div>
-
- </li>
-
- <li>
-
- <span class='name'>y</span>
-
-
- <span class='type'>(<tt>Integer</tt>)</span>
-
-
-
- &mdash;
- <div class='inline'><p>
-The row
-</p>
-</div>
-
- </li>
-
-</ul>
-
-<h3>Returns:</h3>
-<ul class="return">
-
- <li>
-
-
- <span class='type'>(<tt><span class='object_link'><a href="Marker.html" title="Axlsx::Marker (class)">Marker</a></span></tt>)</span>
-
-
-
- </li>
-
-</ul>
-
-</div><table class="source_code">
- <tr>
- <td>
- <pre class="lines">
-
-
-55
-56
-57
-58
-59</pre>
- </td>
- <td>
- <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/two_cell_anchor.rb', line 55</span>
-
-<span class='def def kw'>def</span> <span class='start_at identifier id'>start_at</span><span class='lparen token'>(</span><span class='x identifier id'>x</span><span class='comma token'>,</span> <span class='y identifier id'>y</span><span class='rparen token'>)</span>
- <span class='@from ivar id'>@from</span><span class='dot token'>.</span><span class='col identifier id'>col</span> <span class='assign token'>=</span> <span class='x identifier id'>x</span>
- <span class='@from ivar id'>@from</span><span class='dot token'>.</span><span class='row identifier id'>row</span> <span class='assign token'>=</span> <span class='y identifier id'>y</span>
- <span class='@from ivar id'>@from</span>
-<span class='end end kw'>end</span>
-</pre>
- </td>
- </tr>
-</table>
-</div>
-
- <div class="method_details ">
- <p class="signature " id="to_xml-instance_method">
+ <p class="signature first" id="to_xml-instance_method">
- (<tt>String</tt>) <strong>to_xml</strong>(xml)
@@ -1065,22 +825,22 @@ The document builder instance this objects xml will be added to.
<pre class="lines">
-74
-75
-76
-77
-78
-79
-80
-81
-82
-83
-84
-85
-86</pre>
+47
+48
+49
+50
+51
+52
+53
+54
+55
+56
+57
+58
+59</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/two_cell_anchor.rb', line 74</span>
+ <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/two_cell_anchor.rb', line 47</span>
<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>
<span class='comment val'>#build it for now, break it down later!</span>
@@ -1106,7 +866,7 @@ The document builder instance this objects xml will be added to.
</div>
<div id="footer">
- Generated on Tue Nov 22 23:52:48 2011 by
+ Generated on Wed Nov 23 12:24:02 2011 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.7.3 (ruby-1.8.7).
</div>
diff --git a/doc/Axlsx/ValAxis.html b/doc/Axlsx/ValAxis.html
index f5101e70..6275d10b 100644
--- a/doc/Axlsx/ValAxis.html
+++ b/doc/Axlsx/ValAxis.html
@@ -135,8 +135,7 @@ the ValAxis class defines a chart value axis.
<span class="summary_desc"><div class='inline'><p>
-This element specifies whether the value axis crosses the category axis
-between categories.
+This element specifies how the value axis crosses the category axis.
</p>
</div></span>
@@ -320,7 +319,7 @@ a customizable set of options
</li>
<li>
- <span class="name">crosses</span>
+ <span class="name">tickLblPos</span>
<span class="type">(<tt>Symbol</tt>)</span>
<span class="default">
@@ -329,7 +328,7 @@ a customizable set of options
</li>
<li>
- <span class="name">tickLblPos</span>
+ <span class="name">crosses</span>
<span class="type">(<tt>Symbol</tt>)</span>
<span class="default">
@@ -365,7 +364,7 @@ a customizable set of options
<pre class="code"><span class="info file"># File 'lib/axlsx/drawing/val_axis.rb', line 17</span>
<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>
- <span class='@crossBetween ivar id'>@crossBetween</span> <span class='assign token'>=</span> <span class='symbol val'>:between</span>
+ <span class='self self kw'>self</span><span class='dot token'>.</span><span class='crossBetween identifier id'>crossBetween</span> <span class='assign token'>=</span> <span class='symbol val'>:between</span>
<span class='super super kw'>super</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='rparen token'>)</span>
<span class='end end kw'>end</span>
</pre>
@@ -392,8 +391,8 @@ a customizable set of options
</p><div class="docstring">
<div class="discussion">
<p>
-This element specifies whether the value axis crosses the category axis
-between categories. must be one of [:between, :midCat]
+This element specifies how the value axis crosses the category axis. must
+be one of [:between, :midCat]
</p>
@@ -530,7 +529,7 @@ The document builder instance this objects xml will be added to.
</div>
<div id="footer">
- Generated on Tue Nov 22 23:52:42 2011 by
+ Generated on Wed Nov 23 12:24:00 2011 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.7.3 (ruby-1.8.7).
</div>
diff --git a/doc/Axlsx/ValAxisData.html b/doc/Axlsx/ValAxisData.html
new file mode 100644
index 00000000..25145718
--- /dev/null
+++ b/doc/Axlsx/ValAxisData.html
@@ -0,0 +1,326 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+ <head>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+<title>
+ Class: Axlsx::ValAxisData
+
+ &mdash; Documentation by YARD 0.7.3
+
+</title>
+
+ <link rel="stylesheet" href="../css/style.css" type="text/css" media="screen" charset="utf-8" />
+
+ <link rel="stylesheet" href="../css/common.css" type="text/css" media="screen" charset="utf-8" />
+
+<script type="text/javascript" charset="utf-8">
+ relpath = '..';
+ if (relpath != '') relpath += '/';
+</script>
+
+ <script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
+
+ <script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
+
+
+ </head>
+ <body>
+ <script type="text/javascript" charset="utf-8">
+ if (window.top.frames.main) document.body.className = 'frames';
+ </script>
+
+ <div id="header">
+ <div id="menu">
+
+ <a href="../_index.html">Index (V)</a> &raquo;
+ <span class='title'><span class='object_link'><a href="../Axlsx.html" title="Axlsx (module)">Axlsx</a></span></span>
+ &raquo;
+ <span class="title">ValAxisData</span>
+
+
+ <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
+</div>
+
+ <div id="search">
+
+ <a id="class_list_link" href="#">Class List</a>
+
+ <a id="method_list_link" href="#">Method List</a>
+
+ <a id="file_list_link" href="#">File List</a>
+
+</div>
+ <div class="clear"></div>
+ </div>
+
+ <iframe id="search_frame"></iframe>
+
+ <div id="content"><h1>Class: Axlsx::ValAxisData
+
+
+
+</h1>
+
+<dl class="box">
+
+ <dt class="r1">Inherits:</dt>
+ <dd class="r1">
+ <span class="inheritName"><span class='object_link'><a href="CatAxisData.html" title="Axlsx::CatAxisData (class)">CatAxisData</a></span></span>
+
+ <ul class="fullTree">
+ <li>Object</li>
+
+ <li class="next"><span class='object_link'><a href="SimpleTypedList.html" title="Axlsx::SimpleTypedList (class)">SimpleTypedList</a></span></li>
+
+ <li class="next"><span class='object_link'><a href="CatAxisData.html" title="Axlsx::CatAxisData (class)">CatAxisData</a></span></li>
+
+ <li class="next">Axlsx::ValAxisData</li>
+
+ </ul>
+ <a href="#" class="inheritanceTree">show all</a>
+
+ </dd>
+
+
+
+
+
+
+
+
+
+ <dt class="r2 last">Defined in:</dt>
+ <dd class="r2 last">lib/axlsx/drawing/val_axis_data.rb</dd>
+
+</dl>
+<div class="clear"></div>
+
+<h2>Overview</h2><div class="docstring">
+ <div class="discussion">
+ <p>
+The ValAxisData class manages the values for a chart value series.
+</p>
+
+
+ </div>
+</div>
+<div class="tags">
+
+
+</div>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <h2>Instance Attribute Summary</h2>
+
+ <h3 class="inherited">Attributes inherited from <span class='object_link'><a href="SimpleTypedList.html" title="Axlsx::SimpleTypedList (class)">SimpleTypedList</a></span></h3>
+ <p class="inherited"><span class='object_link'><a href="SimpleTypedList.html#allowed_types-instance_method" title="Axlsx::SimpleTypedList#allowed_types (method)">allowed_types</a></span>, <span class='object_link'><a href="SimpleTypedList.html#locked_at-instance_method" title="Axlsx::SimpleTypedList#locked_at (method)">locked_at</a></span>, <span class='object_link'><a href="SimpleTypedList.html#serialize_as-instance_method" title="Axlsx::SimpleTypedList#serialize_as (method)">serialize_as</a></span></p>
+
+
+
+ <h2>
+ Instance Method Summary
+ <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
+ </h2>
+
+ <ul class="summary">
+
+ <li class="public ">
+ <span class="summary_signature">
+
+ <a href="#to_xml-instance_method" title="#to_xml (instance method)">- (String) <strong>to_xml</strong>(xml) </a>
+
+
+
+ </span>
+
+
+
+
+
+
+
+
+ <span class="summary_desc"><div class='inline'><p>
+Serializes the value axis data.
+</p>
+</div></span>
+
+</li>
+
+
+ </ul>
+
+
+
+
+
+
+
+
+
+
+ <h3 class="inherited">Methods inherited from <span class='object_link'><a href="CatAxisData.html" title="Axlsx::CatAxisData (class)">CatAxisData</a></span></h3>
+ <p class="inherited"><span class='object_link'><a href="CatAxisData.html#initialize-instance_method" title="Axlsx::CatAxisData#initialize (method)">#initialize</a></span></p>
+
+
+
+
+
+
+
+
+ <h3 class="inherited">Methods inherited from <span class='object_link'><a href="SimpleTypedList.html" title="Axlsx::SimpleTypedList (class)">SimpleTypedList</a></span></h3>
+ <p class="inherited"><span class='object_link'><a href="SimpleTypedList.html#%3C%3C-instance_method" title="Axlsx::SimpleTypedList#&lt;&lt; (method)">#<<</a></span>, <span class='object_link'><a href="SimpleTypedList.html#%3D%3D-instance_method" title="Axlsx::SimpleTypedList#== (method)">#==</a></span>, <span class='object_link'><a href="SimpleTypedList.html#%5B%5D%3D-instance_method" title="Axlsx::SimpleTypedList#[]= (method)">#[]=</a></span>, <span class='object_link'><a href="SimpleTypedList.html#delete-instance_method" title="Axlsx::SimpleTypedList#delete (method)">#delete</a></span>, <span class='object_link'><a href="SimpleTypedList.html#delete_at-instance_method" title="Axlsx::SimpleTypedList#delete_at (method)">#delete_at</a></span>, <span class='object_link'><a href="SimpleTypedList.html#initialize-instance_method" title="Axlsx::SimpleTypedList#initialize (method)">#initialize</a></span>, <span class='object_link'><a href="SimpleTypedList.html#lock-instance_method" title="Axlsx::SimpleTypedList#lock (method)">#lock</a></span>, <span class='object_link'><a href="SimpleTypedList.html#method_missing-instance_method" title="Axlsx::SimpleTypedList#method_missing (method)">#method_missing</a></span>, <span class='object_link'><a href="SimpleTypedList.html#protected%3F-instance_method" title="Axlsx::SimpleTypedList#protected? (method)">#protected?</a></span>, <span class='object_link'><a href="SimpleTypedList.html#push-instance_method" title="Axlsx::SimpleTypedList#push (method)">#push</a></span>, <span class='object_link'><a href="SimpleTypedList.html#unlock-instance_method" title="Axlsx::SimpleTypedList#unlock (method)">#unlock</a></span></p>
+<div id="constructor_details" class="method_details_list">
+ <h2>Constructor Details</h2>
+
+ <p class="notice">This class inherits a constructor from <span class='object_link'><a href="CatAxisData.html#initialize-instance_method" title="Axlsx::CatAxisData#initialize (method)">Axlsx::CatAxisData</a></span></p>
+
+</div>
+<div id="method_missing_details" class="method_details_list">
+ <h2>Dynamic Method Handling</h2>
+ <p class="notice super">
+ This class handles dynamic methods through the <tt>method_missing</tt> method
+
+ in the class <span class='object_link'><a href="SimpleTypedList.html#method_missing-instance_method" title="Axlsx::SimpleTypedList#method_missing (method)">Axlsx::SimpleTypedList</a></span>
+
+ </p>
+
+</div>
+
+
+ <div id="instance_method_details" class="method_details_list">
+ <h2>Instance Method Details</h2>
+
+
+ <div class="method_details first">
+ <p class="signature first" id="to_xml-instance_method">
+
+ - (<tt>String</tt>) <strong>to_xml</strong>(xml)
+
+
+
+</p><div class="docstring">
+ <div class="discussion">
+ <p>
+Serializes the value axis data
+</p>
+
+
+ </div>
+</div>
+<div class="tags">
+ <h3>Parameters:</h3>
+<ul class="param">
+
+ <li>
+
+ <span class='name'>xml</span>
+
+
+ <span class='type'>(<tt>Nokogiri::XML::Builder</tt>)</span>
+
+
+
+ &mdash;
+ <div class='inline'><p>
+The document builder instance this objects xml will be added to.
+</p>
+</div>
+
+ </li>
+
+</ul>
+
+<h3>Returns:</h3>
+<ul class="return">
+
+ <li>
+
+
+ <span class='type'>(<tt>String</tt>)</span>
+
+
+
+ </li>
+
+</ul>
+
+</div><table class="source_code">
+ <tr>
+ <td>
+ <pre class="lines">
+
+
+8
+9
+10
+11
+12
+13
+14
+15
+16
+17
+18
+19
+20
+21
+22
+23
+24</pre>
+ </td>
+ <td>
+ <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/val_axis_data.rb', line 8</span>
+
+<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>
+ <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:val'</span><span class='rparen token'>)</span> <span class='lbrace token'>{</span>
+ <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:numRef'</span><span class='rparen token'>)</span> <span class='lbrace token'>{</span>
+ <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:f'</span><span class='comma token'>,</span> <span class='Axlsx constant id'>Axlsx</span><span class='colon2 op'>::</span><span class='cell_range identifier id'>cell_range</span><span class='lparen token'>(</span><span class='@list ivar id'>@list</span><span class='rparen token'>)</span><span class='rparen token'>)</span>
+ <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:numCache'</span><span class='rparen token'>)</span> <span class='lbrace token'>{</span>
+ <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:formatCode'</span><span class='comma token'>,</span> <span class='string val'>'General'</span><span class='rparen token'>)</span>
+ <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:ptCount'</span><span class='comma token'>,</span> <span class='symbol val'>:val=</span><span class='gt op'>&gt;</span><span class='size identifier id'>size</span><span class='rparen token'>)</span>
+ <span class='each_with_index identifier id'>each_with_index</span> <span class='do do kw'>do</span> <span class='bitor op'>|</span><span class='item identifier id'>item</span><span class='comma token'>,</span> <span class='index identifier id'>index</span><span class='bitor op'>|</span>
+ <span class='v identifier id'>v</span> <span class='assign token'>=</span> <span class='item identifier id'>item</span><span class='dot token'>.</span><span class='is_a? fid id'>is_a?</span><span class='lparen token'>(</span><span class='Cell constant id'>Cell</span><span class='rparen token'>)</span> <span class='question op'>?</span> <span class='item identifier id'>item</span><span class='dot token'>.</span><span class='value identifier id'>value</span> <span class='colon op'>:</span> <span class='item identifier id'>item</span>
+ <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:pt'</span><span class='comma token'>,</span> <span class='symbol val'>:idx=</span><span class='gt op'>&gt;</span><span class='index identifier id'>index</span><span class='rparen token'>)</span> <span class='lbrace token'>{</span>
+ <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:v'</span><span class='comma token'>,</span> <span class='v identifier id'>v</span><span class='rparen token'>)</span>
+ <span class='rbrace token'>}</span>
+ <span class='end end kw'>end</span>
+ <span class='rbrace token'>}</span>
+ <span class='rbrace token'>}</span>
+ <span class='rbrace token'>}</span>
+<span class='end end kw'>end</span>
+</pre>
+ </td>
+ </tr>
+</table>
+</div>
+
+ </div>
+
+</div>
+
+ <div id="footer">
+ Generated on Wed Nov 23 12:23:41 2011 by
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
+ 0.7.3 (ruby-1.8.7).
+</div>
+
+ </body>
+</html> \ No newline at end of file
diff --git a/doc/Axlsx/View3D.html b/doc/Axlsx/View3D.html
index 73bfd8bf..cdc5599f 100644
--- a/doc/Axlsx/View3D.html
+++ b/doc/Axlsx/View3D.html
@@ -494,14 +494,14 @@ a customizable set of options
<pre class="lines">
-39
-40
-41
-42
-43</pre>
+46
+47
+48
+49
+50</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/view_3D.rb', line 39</span>
+ <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/view_3D.rb', line 46</span>
<span class='def def kw'>def</span> <span class='initialize identifier id'>initialize</span><span class='lparen 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>
<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>
@@ -560,12 +560,12 @@ depth or chart as % of chart width must be between 20% and 2000%
<pre class="lines">
-22
-23
-24</pre>
+29
+30
+31</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/view_3D.rb', line 22</span>
+ <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/view_3D.rb', line 29</span>
<span class='def def kw'>def</span> <span class='depthPercent identifier id'>depthPercent</span>
<span class='@depthPercent ivar id'>@depthPercent</span>
@@ -617,12 +617,12 @@ height of chart as % of chart must be between 5% and 500%
<pre class="lines">
-12
-13
-14</pre>
+19
+20
+21</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/view_3D.rb', line 12</span>
+ <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/view_3D.rb', line 19</span>
<span class='def def kw'>def</span> <span class='hPercent identifier id'>hPercent</span>
<span class='@hPercent ivar id'>@hPercent</span>
@@ -674,12 +674,12 @@ field of view angle
<pre class="lines">
-30
-31
-32</pre>
+37
+38
+39</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/view_3D.rb', line 30</span>
+ <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/view_3D.rb', line 37</span>
<span class='def def kw'>def</span> <span class='perspective identifier id'>perspective</span>
<span class='@perspective ivar id'>@perspective</span>
@@ -731,12 +731,12 @@ Chart axis are at right angles
<pre class="lines">
-26
-27
-28</pre>
+33
+34
+35</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/view_3D.rb', line 26</span>
+ <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/view_3D.rb', line 33</span>
<span class='def def kw'>def</span> <span class='rAngAx identifier id'>rAngAx</span>
<span class='@rAngAx ivar id'>@rAngAx</span>
@@ -788,12 +788,12 @@ x rotation for the chart must be between -90 and 90
<pre class="lines">
-7
-8
-9</pre>
+14
+15
+16</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/view_3D.rb', line 7</span>
+ <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/view_3D.rb', line 14</span>
<span class='def def kw'>def</span> <span class='rotX identifier id'>rotX</span>
<span class='@rotX ivar id'>@rotX</span>
@@ -845,12 +845,12 @@ y rotation for the chart must be between 0 and 360
<pre class="lines">
-17
-18
-19</pre>
+24
+25
+26</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/view_3D.rb', line 17</span>
+ <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/view_3D.rb', line 24</span>
<span class='def def kw'>def</span> <span class='rotY identifier id'>rotY</span>
<span class='@rotY ivar id'>@rotY</span>
@@ -927,19 +927,19 @@ The document builder instance this objects xml will be added to.
<pre class="lines">
-61
-62
-63
-64
-65
-66
67
68
69
-70</pre>
+70
+71
+72
+73
+74
+75
+76</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/view_3D.rb', line 61</span>
+ <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/view_3D.rb', line 67</span>
<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>
<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:view3D'</span><span class='rparen token'>)</span> <span class='lbrace token'>{</span>
@@ -962,7 +962,7 @@ The document builder instance this objects xml will be added to.
</div>
<div id="footer">
- Generated on Tue Nov 22 23:52:36 2011 by
+ Generated on Wed Nov 23 12:23:52 2011 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.7.3 (ruby-1.8.7).
</div>
diff --git a/doc/Axlsx/Workbook.html b/doc/Axlsx/Workbook.html
index 134092c7..37e81c09 100644
--- a/doc/Axlsx/Workbook.html
+++ b/doc/Axlsx/Workbook.html
@@ -1338,7 +1338,7 @@ Serializes the workbook document
</div>
<div id="footer">
- Generated on Tue Nov 22 23:52:49 2011 by
+ Generated on Wed Nov 23 12:23:53 2011 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.7.3 (ruby-1.8.7).
</div>
diff --git a/doc/Axlsx/Worksheet.html b/doc/Axlsx/Worksheet.html
index f3131f16..93e90793 100644
--- a/doc/Axlsx/Worksheet.html
+++ b/doc/Axlsx/Worksheet.html
@@ -1287,8 +1287,20 @@ The workbook that owns this worksheet
</p><div class="docstring">
<div class="discussion">
- <p>
-Adds a chart to this worksheets drawing.
+
+ <div class="note notetag">
+ <strong>Note:</strong>
+ <div class='inline'><p>
+each chart type also specifies additional options
+</p>
+</div>
+ </div>
+
+<p>
+Adds a chart to this worksheets drawing. This is the recommended way to
+create charts for your worksheet. This method wraps the complexity of
+dealing with ooxml drawing, anchors, markers graphic frames chart objects
+and all the other dirty details.
</p>
@@ -1365,6 +1377,24 @@ a customizable set of options
</li>
+ <li>
+ <span class="name">show_legend</span>
+ <span class="type">(<tt>Boolean</tt>)</span>
+ <span class="default">
+
+ </span>
+
+ </li>
+
+ <li>
+ <span class="name">style</span>
+ <span class="type">(<tt>Integer</tt>)</span>
+ <span class="default">
+
+ </span>
+
+ </li>
+
</ul>
@@ -1382,20 +1412,35 @@ a customizable set of options
</ul>
+ <h3>See Also:</h3>
+ <ul class="see">
+
+ <li><span class='object_link'><a href="Chart.html" title="Axlsx::Chart (class)">Chart</a></span></li>
+
+ <li><span class='object_link'><a href="Pie3DChart.html" title="Axlsx::Pie3DChart (class)">Pie3DChart</a></span></li>
+
+ <li><span class='object_link'><a href="Bar3DChart.html" title="Axlsx::Bar3DChart (class)">Bar3DChart</a></span></li>
+
+ <li><span class='object_link'><a href="Line3DChart.html" title="Axlsx::Line3DChart (class)">Line3DChart</a></span></li>
+
+ <li>for examples</li>
+
+ </ul>
+
</div><table class="source_code">
<tr>
<td>
<pre class="lines">
-108
-109
-110
-111
-112</pre>
+116
+117
+118
+119
+120</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/axlsx/workbook/worksheet/worksheet.rb', line 108</span>
+ <pre class="code"><span class="info file"># File 'lib/axlsx/workbook/worksheet/worksheet.rb', line 116</span>
<span class='def def kw'>def</span> <span class='add_chart identifier id'>add_chart</span><span class='lparen token'>(</span><span class='chart_type identifier id'>chart_type</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>
<span class='chart identifier id'>chart</span> <span class='assign token'>=</span> <span class='drawing identifier id'>drawing</span><span class='dot token'>.</span><span class='add_chart identifier id'>add_chart</span><span class='lparen token'>(</span><span class='chart_type identifier id'>chart_type</span><span class='comma token'>,</span> <span class='options identifier id'>options</span><span class='rparen token'>)</span>
@@ -1615,19 +1660,19 @@ hash of auto_fit_data
<pre class="lines">
-182
-183
-184
-185
-186
-187
-188
-189
190
-191</pre>
+191
+192
+193
+194
+195
+196
+197
+198
+199</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/axlsx/workbook/worksheet/worksheet.rb', line 182</span>
+ <pre class="code"><span class="info file"># File 'lib/axlsx/workbook/worksheet/worksheet.rb', line 190</span>
<span class='def def kw'>def</span> <span class='auto_width identifier id'>auto_width</span><span class='lparen token'>(</span><span class='col identifier id'>col</span><span class='rparen token'>)</span>
<span class='mdw identifier id'>mdw</span> <span class='assign token'>=</span> <span class='float val'>6.0</span> <span class='comment val'># maximum digit with is always 6.0 in testable fonts so instead of beating RMagick every time, I am hardcoding it here.</span>
@@ -1683,14 +1728,6 @@ Serializes the worksheet document
<pre class="lines">
-116
-117
-118
-119
-120
-121
-122
-123
124
125
126
@@ -1703,10 +1740,18 @@ Serializes the worksheet document
133
134
135
-136</pre>
+136
+137
+138
+139
+140
+141
+142
+143
+144</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/axlsx/workbook/worksheet/worksheet.rb', line 116</span>
+ <pre class="code"><span class="info file"># File 'lib/axlsx/workbook/worksheet/worksheet.rb', line 124</span>
<span class='def def kw'>def</span> <span class='to_xml identifier id'>to_xml</span>
<span class='builder identifier id'>builder</span> <span class='assign token'>=</span> <span class='Nokogiri constant id'>Nokogiri</span><span class='colon2 op'>::</span><span class='XML constant id'>XML</span><span class='colon2 op'>::</span><span class='Builder constant id'>Builder</span><span class='dot token'>.</span><span class='new identifier id'>new</span><span class='lparen token'>(</span><span class='symbol val'>:encoding</span> <span class='assign token'>=</span><span class='gt op'>&gt;</span> <span class='ENCODING constant id'>ENCODING</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>
@@ -1802,14 +1847,6 @@ of Cell objects
<pre class="lines">
-154
-155
-156
-157
-158
-159
-160
-161
162
163
164
@@ -1820,10 +1857,18 @@ of Cell objects
169
170
171
-172</pre>
+172
+173
+174
+175
+176
+177
+178
+179
+180</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/axlsx/workbook/worksheet/worksheet.rb', line 154</span>
+ <pre class="code"><span class="info file"># File 'lib/axlsx/workbook/worksheet/worksheet.rb', line 162</span>
<span class='def def kw'>def</span> <span class='update_auto_fit_data identifier id'>update_auto_fit_data</span><span class='lparen token'>(</span><span class='cells identifier id'>cells</span><span class='rparen token'>)</span>
<span class='styles identifier id'>styles</span> <span class='assign token'>=</span> <span class='self self kw'>self</span><span class='dot token'>.</span><span class='workbook identifier id'>workbook</span><span class='dot token'>.</span><span class='styles identifier id'>styles</span>
@@ -1855,7 +1900,7 @@ of Cell objects
</div>
<div id="footer">
- Generated on Tue Nov 22 23:52:47 2011 by
+ Generated on Wed Nov 23 12:23:49 2011 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.7.3 (ruby-1.8.7).
</div>
diff --git a/doc/Axlsx/Xf.html b/doc/Axlsx/Xf.html
index 17c94f7f..f92867c7 100644
--- a/doc/Axlsx/Xf.html
+++ b/doc/Axlsx/Xf.html
@@ -1672,7 +1672,7 @@ The document builder instance this objects xml will be added to.
</div>
<div id="footer">
- Generated on Tue Nov 22 23:52:54 2011 by
+ Generated on Wed Nov 23 12:23:42 2011 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.7.3 (ruby-1.8.7).
</div>
diff --git a/doc/_index.html b/doc/_index.html
index 6f891d0a..dc411c2f 100644
--- a/doc/_index.html
+++ b/doc/_index.html
@@ -151,6 +151,13 @@
</li>
<li>
+ <span class='object_link'><a href="Axlsx/CatAxisData.html" title="Axlsx::CatAxisData (class)">CatAxisData</a></span>
+
+ <small>(Axlsx)</small>
+
+ </li>
+
+ <li>
<span class='object_link'><a href="Axlsx/Cell.html" title="Axlsx::Cell (class)">Cell</a></span>
<small>(Axlsx)</small>
@@ -544,6 +551,13 @@
</li>
<li>
+ <span class='object_link'><a href="Axlsx/ValAxisData.html" title="Axlsx::ValAxisData (class)">ValAxisData</a></span>
+
+ <small>(Axlsx)</small>
+
+ </li>
+
+ <li>
<span class='object_link'><a href="Axlsx/View3D.html" title="Axlsx::View3D (class)">View3D</a></span>
<small>(Axlsx)</small>
@@ -602,7 +616,7 @@
</div>
<div id="footer">
- Generated on Tue Nov 22 23:52:31 2011 by
+ Generated on Wed Nov 23 12:23:40 2011 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.7.3 (ruby-1.8.7).
</div>
diff --git a/doc/class_list.html b/doc/class_list.html
index d2d0c201..768281a5 100644
--- a/doc/class_list.html
+++ b/doc/class_list.html
@@ -39,7 +39,7 @@
<ul id="full_list" class="class">
<li><span class='object_link'><a href="top-level-namespace.html" title=" (root)">Top Level Namespace</a></span></li>
-<li><a class='toggle'></a> <span class='object_link'><a href="Axlsx.html" title="Axlsx (module)">Axlsx</a></span><small class='search_info'>Top Level Namespace</small></li><ul><li><span class='object_link'><a href="Axlsx/App.html" title="Axlsx::App (class)">App</a></span> &lt; Object<small class='search_info'>Axlsx</small></li><li><span class='object_link'><a href="Axlsx/Axis.html" title="Axlsx::Axis (class)">Axis</a></span> &lt; Object<small class='search_info'>Axlsx</small></li><li><span class='object_link'><a href="Axlsx/Bar3DChart.html" title="Axlsx::Bar3DChart (class)">Bar3DChart</a></span> &lt; Chart<small class='search_info'>Axlsx</small></li><li><span class='object_link'><a href="Axlsx/BarSeries.html" title="Axlsx::BarSeries (class)">BarSeries</a></span> &lt; Series<small class='search_info'>Axlsx</small></li><li><span class='object_link'><a href="Axlsx/Border.html" title="Axlsx::Border (class)">Border</a></span> &lt; Object<small class='search_info'>Axlsx</small></li><li><span class='object_link'><a href="Axlsx/BorderPr.html" title="Axlsx::BorderPr (class)">BorderPr</a></span> &lt; Object<small class='search_info'>Axlsx</small></li><li><span class='object_link'><a href="Axlsx/CatAxis.html" title="Axlsx::CatAxis (class)">CatAxis</a></span> &lt; Axis<small class='search_info'>Axlsx</small></li><li><span class='object_link'><a href="Axlsx/Cell.html" title="Axlsx::Cell (class)">Cell</a></span> &lt; Object<small class='search_info'>Axlsx</small></li><li><span class='object_link'><a href="Axlsx/CellAlignment.html" title="Axlsx::CellAlignment (class)">CellAlignment</a></span> &lt; Object<small class='search_info'>Axlsx</small></li><li><span class='object_link'><a href="Axlsx/CellProtection.html" title="Axlsx::CellProtection (class)">CellProtection</a></span> &lt; Object<small class='search_info'>Axlsx</small></li><li><span class='object_link'><a href="Axlsx/CellStyle.html" title="Axlsx::CellStyle (class)">CellStyle</a></span> &lt; Object<small class='search_info'>Axlsx</small></li><li><span class='object_link'><a href="Axlsx/Chart.html" title="Axlsx::Chart (class)">Chart</a></span> &lt; Object<small class='search_info'>Axlsx</small></li><li><span class='object_link'><a href="Axlsx/Color.html" title="Axlsx::Color (class)">Color</a></span> &lt; Object<small class='search_info'>Axlsx</small></li><li><span class='object_link'><a href="Axlsx/ContentType.html" title="Axlsx::ContentType (class)">ContentType</a></span> &lt; SimpleTypedList<small class='search_info'>Axlsx</small></li><li><span class='object_link'><a href="Axlsx/Core.html" title="Axlsx::Core (class)">Core</a></span> &lt; Object<small class='search_info'>Axlsx</small></li><li><span class='object_link'><a href="Axlsx/DataTypeValidator.html" title="Axlsx::DataTypeValidator (class)">DataTypeValidator</a></span> &lt; Object<small class='search_info'>Axlsx</small></li><li><span class='object_link'><a href="Axlsx/Default.html" title="Axlsx::Default (class)">Default</a></span> &lt; Object<small class='search_info'>Axlsx</small></li><li><span class='object_link'><a href="Axlsx/Drawing.html" title="Axlsx::Drawing (class)">Drawing</a></span> &lt; Object<small class='search_info'>Axlsx</small></li><li><span class='object_link'><a href="Axlsx/Fill.html" title="Axlsx::Fill (class)">Fill</a></span> &lt; Object<small class='search_info'>Axlsx</small></li><li><span class='object_link'><a href="Axlsx/Font.html" title="Axlsx::Font (class)">Font</a></span> &lt; Object<small class='search_info'>Axlsx</small></li><li><span class='object_link'><a href="Axlsx/GradientFill.html" title="Axlsx::GradientFill (class)">GradientFill</a></span> &lt; Object<small class='search_info'>Axlsx</small></li><li><span class='object_link'><a href="Axlsx/GradientStop.html" title="Axlsx::GradientStop (class)">GradientStop</a></span> &lt; Object<small class='search_info'>Axlsx</small></li><li><span class='object_link'><a href="Axlsx/GraphicFrame.html" title="Axlsx::GraphicFrame (class)">GraphicFrame</a></span> &lt; Object<small class='search_info'>Axlsx</small></li><li><span class='object_link'><a href="Axlsx/Line3DChart.html" title="Axlsx::Line3DChart (class)">Line3DChart</a></span> &lt; Chart<small class='search_info'>Axlsx</small></li><li><span class='object_link'><a href="Axlsx/LineSeries.html" title="Axlsx::LineSeries (class)">LineSeries</a></span> &lt; Series<small class='search_info'>Axlsx</small></li><li><span class='object_link'><a href="Axlsx/Marker.html" title="Axlsx::Marker (class)">Marker</a></span> &lt; Object<small class='search_info'>Axlsx</small></li><li><span class='object_link'><a href="Axlsx/NumFmt.html" title="Axlsx::NumFmt (class)">NumFmt</a></span> &lt; Object<small class='search_info'>Axlsx</small></li><li><span class='object_link'><a href="Axlsx/Override.html" title="Axlsx::Override (class)">Override</a></span> &lt; Object<small class='search_info'>Axlsx</small></li><li><span class='object_link'><a href="Axlsx/Package.html" title="Axlsx::Package (class)">Package</a></span> &lt; Object<small class='search_info'>Axlsx</small></li><li><span class='object_link'><a href="Axlsx/PatternFill.html" title="Axlsx::PatternFill (class)">PatternFill</a></span> &lt; Object<small class='search_info'>Axlsx</small></li><li><span class='object_link'><a href="Axlsx/Pie3DChart.html" title="Axlsx::Pie3DChart (class)">Pie3DChart</a></span> &lt; Chart<small class='search_info'>Axlsx</small></li><li><span class='object_link'><a href="Axlsx/PieSeries.html" title="Axlsx::PieSeries (class)">PieSeries</a></span> &lt; Series<small class='search_info'>Axlsx</small></li><li><span class='object_link'><a href="Axlsx/RegexValidator.html" title="Axlsx::RegexValidator (class)">RegexValidator</a></span> &lt; Object<small class='search_info'>Axlsx</small></li><li><span class='object_link'><a href="Axlsx/Relationship.html" title="Axlsx::Relationship (class)">Relationship</a></span> &lt; Object<small class='search_info'>Axlsx</small></li><li><span class='object_link'><a href="Axlsx/Relationships.html" title="Axlsx::Relationships (class)">Relationships</a></span> &lt; SimpleTypedList<small class='search_info'>Axlsx</small></li><li><span class='object_link'><a href="Axlsx/RestrictionValidator.html" title="Axlsx::RestrictionValidator (class)">RestrictionValidator</a></span> &lt; Object<small class='search_info'>Axlsx</small></li><li><span class='object_link'><a href="Axlsx/Row.html" title="Axlsx::Row (class)">Row</a></span> &lt; Object<small class='search_info'>Axlsx</small></li><li><span class='object_link'><a href="Axlsx/Scaling.html" title="Axlsx::Scaling (class)">Scaling</a></span> &lt; Object<small class='search_info'>Axlsx</small></li><li><span class='object_link'><a href="Axlsx/SerAxis.html" title="Axlsx::SerAxis (class)">SerAxis</a></span> &lt; Axis<small class='search_info'>Axlsx</small></li><li><span class='object_link'><a href="Axlsx/Series.html" title="Axlsx::Series (class)">Series</a></span> &lt; Object<small class='search_info'>Axlsx</small></li><li><span class='object_link'><a href="Axlsx/SeriesTitle.html" title="Axlsx::SeriesTitle (class)">SeriesTitle</a></span> &lt; Title<small class='search_info'>Axlsx</small></li><li><span class='object_link'><a href="Axlsx/SimpleTypedList.html" title="Axlsx::SimpleTypedList (class)">SimpleTypedList</a></span> &lt; Object<small class='search_info'>Axlsx</small></li><li><span class='object_link'><a href="Axlsx/Styles.html" title="Axlsx::Styles (class)">Styles</a></span> &lt; Object<small class='search_info'>Axlsx</small></li><li><span class='object_link'><a href="Axlsx/TableStyle.html" title="Axlsx::TableStyle (class)">TableStyle</a></span> &lt; SimpleTypedList<small class='search_info'>Axlsx</small></li><li><span class='object_link'><a href="Axlsx/TableStyleElement.html" title="Axlsx::TableStyleElement (class)">TableStyleElement</a></span> &lt; Object<small class='search_info'>Axlsx</small></li><li><span class='object_link'><a href="Axlsx/TableStyles.html" title="Axlsx::TableStyles (class)">TableStyles</a></span> &lt; SimpleTypedList<small class='search_info'>Axlsx</small></li><li><span class='object_link'><a href="Axlsx/Title.html" title="Axlsx::Title (class)">Title</a></span> &lt; Object<small class='search_info'>Axlsx</small></li><li><span class='object_link'><a href="Axlsx/TwoCellAnchor.html" title="Axlsx::TwoCellAnchor (class)">TwoCellAnchor</a></span> &lt; Object<small class='search_info'>Axlsx</small></li><li><span class='object_link'><a href="Axlsx/ValAxis.html" title="Axlsx::ValAxis (class)">ValAxis</a></span> &lt; Axis<small class='search_info'>Axlsx</small></li><li><span class='object_link'><a href="Axlsx/View3D.html" title="Axlsx::View3D (class)">View3D</a></span> &lt; Object<small class='search_info'>Axlsx</small></li><li><span class='object_link'><a href="Axlsx/Workbook.html" title="Axlsx::Workbook (class)">Workbook</a></span> &lt; Object<small class='search_info'>Axlsx</small></li><li><span class='object_link'><a href="Axlsx/Worksheet.html" title="Axlsx::Worksheet (class)">Worksheet</a></span> &lt; Object<small class='search_info'>Axlsx</small></li><li><span class='object_link'><a href="Axlsx/Xf.html" title="Axlsx::Xf (class)">Xf</a></span> &lt; Object<small class='search_info'>Axlsx</small></li></ul>
+<li><a class='toggle'></a> <span class='object_link'><a href="Axlsx.html" title="Axlsx (module)">Axlsx</a></span><small class='search_info'>Top Level Namespace</small></li><ul><li><span class='object_link'><a href="Axlsx/App.html" title="Axlsx::App (class)">App</a></span> &lt; Object<small class='search_info'>Axlsx</small></li><li><span class='object_link'><a href="Axlsx/Axis.html" title="Axlsx::Axis (class)">Axis</a></span> &lt; Object<small class='search_info'>Axlsx</small></li><li><span class='object_link'><a href="Axlsx/Bar3DChart.html" title="Axlsx::Bar3DChart (class)">Bar3DChart</a></span> &lt; Chart<small class='search_info'>Axlsx</small></li><li><span class='object_link'><a href="Axlsx/BarSeries.html" title="Axlsx::BarSeries (class)">BarSeries</a></span> &lt; Series<small class='search_info'>Axlsx</small></li><li><span class='object_link'><a href="Axlsx/Border.html" title="Axlsx::Border (class)">Border</a></span> &lt; Object<small class='search_info'>Axlsx</small></li><li><span class='object_link'><a href="Axlsx/BorderPr.html" title="Axlsx::BorderPr (class)">BorderPr</a></span> &lt; Object<small class='search_info'>Axlsx</small></li><li><span class='object_link'><a href="Axlsx/CatAxis.html" title="Axlsx::CatAxis (class)">CatAxis</a></span> &lt; Axis<small class='search_info'>Axlsx</small></li><li><span class='object_link'><a href="Axlsx/CatAxisData.html" title="Axlsx::CatAxisData (class)">CatAxisData</a></span> &lt; SimpleTypedList<small class='search_info'>Axlsx</small></li><li><span class='object_link'><a href="Axlsx/Cell.html" title="Axlsx::Cell (class)">Cell</a></span> &lt; Object<small class='search_info'>Axlsx</small></li><li><span class='object_link'><a href="Axlsx/CellAlignment.html" title="Axlsx::CellAlignment (class)">CellAlignment</a></span> &lt; Object<small class='search_info'>Axlsx</small></li><li><span class='object_link'><a href="Axlsx/CellProtection.html" title="Axlsx::CellProtection (class)">CellProtection</a></span> &lt; Object<small class='search_info'>Axlsx</small></li><li><span class='object_link'><a href="Axlsx/CellStyle.html" title="Axlsx::CellStyle (class)">CellStyle</a></span> &lt; Object<small class='search_info'>Axlsx</small></li><li><span class='object_link'><a href="Axlsx/Chart.html" title="Axlsx::Chart (class)">Chart</a></span> &lt; Object<small class='search_info'>Axlsx</small></li><li><span class='object_link'><a href="Axlsx/Color.html" title="Axlsx::Color (class)">Color</a></span> &lt; Object<small class='search_info'>Axlsx</small></li><li><span class='object_link'><a href="Axlsx/ContentType.html" title="Axlsx::ContentType (class)">ContentType</a></span> &lt; SimpleTypedList<small class='search_info'>Axlsx</small></li><li><span class='object_link'><a href="Axlsx/Core.html" title="Axlsx::Core (class)">Core</a></span> &lt; Object<small class='search_info'>Axlsx</small></li><li><span class='object_link'><a href="Axlsx/DataTypeValidator.html" title="Axlsx::DataTypeValidator (class)">DataTypeValidator</a></span> &lt; Object<small class='search_info'>Axlsx</small></li><li><span class='object_link'><a href="Axlsx/Default.html" title="Axlsx::Default (class)">Default</a></span> &lt; Object<small class='search_info'>Axlsx</small></li><li><span class='object_link'><a href="Axlsx/Drawing.html" title="Axlsx::Drawing (class)">Drawing</a></span> &lt; Object<small class='search_info'>Axlsx</small></li><li><span class='object_link'><a href="Axlsx/Fill.html" title="Axlsx::Fill (class)">Fill</a></span> &lt; Object<small class='search_info'>Axlsx</small></li><li><span class='object_link'><a href="Axlsx/Font.html" title="Axlsx::Font (class)">Font</a></span> &lt; Object<small class='search_info'>Axlsx</small></li><li><span class='object_link'><a href="Axlsx/GradientFill.html" title="Axlsx::GradientFill (class)">GradientFill</a></span> &lt; Object<small class='search_info'>Axlsx</small></li><li><span class='object_link'><a href="Axlsx/GradientStop.html" title="Axlsx::GradientStop (class)">GradientStop</a></span> &lt; Object<small class='search_info'>Axlsx</small></li><li><span class='object_link'><a href="Axlsx/GraphicFrame.html" title="Axlsx::GraphicFrame (class)">GraphicFrame</a></span> &lt; Object<small class='search_info'>Axlsx</small></li><li><span class='object_link'><a href="Axlsx/Line3DChart.html" title="Axlsx::Line3DChart (class)">Line3DChart</a></span> &lt; Chart<small class='search_info'>Axlsx</small></li><li><span class='object_link'><a href="Axlsx/LineSeries.html" title="Axlsx::LineSeries (class)">LineSeries</a></span> &lt; Series<small class='search_info'>Axlsx</small></li><li><span class='object_link'><a href="Axlsx/Marker.html" title="Axlsx::Marker (class)">Marker</a></span> &lt; Object<small class='search_info'>Axlsx</small></li><li><span class='object_link'><a href="Axlsx/NumFmt.html" title="Axlsx::NumFmt (class)">NumFmt</a></span> &lt; Object<small class='search_info'>Axlsx</small></li><li><span class='object_link'><a href="Axlsx/Override.html" title="Axlsx::Override (class)">Override</a></span> &lt; Object<small class='search_info'>Axlsx</small></li><li><span class='object_link'><a href="Axlsx/Package.html" title="Axlsx::Package (class)">Package</a></span> &lt; Object<small class='search_info'>Axlsx</small></li><li><span class='object_link'><a href="Axlsx/PatternFill.html" title="Axlsx::PatternFill (class)">PatternFill</a></span> &lt; Object<small class='search_info'>Axlsx</small></li><li><span class='object_link'><a href="Axlsx/Pie3DChart.html" title="Axlsx::Pie3DChart (class)">Pie3DChart</a></span> &lt; Chart<small class='search_info'>Axlsx</small></li><li><span class='object_link'><a href="Axlsx/PieSeries.html" title="Axlsx::PieSeries (class)">PieSeries</a></span> &lt; Series<small class='search_info'>Axlsx</small></li><li><span class='object_link'><a href="Axlsx/RegexValidator.html" title="Axlsx::RegexValidator (class)">RegexValidator</a></span> &lt; Object<small class='search_info'>Axlsx</small></li><li><span class='object_link'><a href="Axlsx/Relationship.html" title="Axlsx::Relationship (class)">Relationship</a></span> &lt; Object<small class='search_info'>Axlsx</small></li><li><span class='object_link'><a href="Axlsx/Relationships.html" title="Axlsx::Relationships (class)">Relationships</a></span> &lt; SimpleTypedList<small class='search_info'>Axlsx</small></li><li><span class='object_link'><a href="Axlsx/RestrictionValidator.html" title="Axlsx::RestrictionValidator (class)">RestrictionValidator</a></span> &lt; Object<small class='search_info'>Axlsx</small></li><li><span class='object_link'><a href="Axlsx/Row.html" title="Axlsx::Row (class)">Row</a></span> &lt; Object<small class='search_info'>Axlsx</small></li><li><span class='object_link'><a href="Axlsx/Scaling.html" title="Axlsx::Scaling (class)">Scaling</a></span> &lt; Object<small class='search_info'>Axlsx</small></li><li><span class='object_link'><a href="Axlsx/SerAxis.html" title="Axlsx::SerAxis (class)">SerAxis</a></span> &lt; Axis<small class='search_info'>Axlsx</small></li><li><span class='object_link'><a href="Axlsx/Series.html" title="Axlsx::Series (class)">Series</a></span> &lt; Object<small class='search_info'>Axlsx</small></li><li><span class='object_link'><a href="Axlsx/SeriesTitle.html" title="Axlsx::SeriesTitle (class)">SeriesTitle</a></span> &lt; Title<small class='search_info'>Axlsx</small></li><li><span class='object_link'><a href="Axlsx/SimpleTypedList.html" title="Axlsx::SimpleTypedList (class)">SimpleTypedList</a></span> &lt; Object<small class='search_info'>Axlsx</small></li><li><span class='object_link'><a href="Axlsx/Styles.html" title="Axlsx::Styles (class)">Styles</a></span> &lt; Object<small class='search_info'>Axlsx</small></li><li><span class='object_link'><a href="Axlsx/TableStyle.html" title="Axlsx::TableStyle (class)">TableStyle</a></span> &lt; SimpleTypedList<small class='search_info'>Axlsx</small></li><li><span class='object_link'><a href="Axlsx/TableStyleElement.html" title="Axlsx::TableStyleElement (class)">TableStyleElement</a></span> &lt; Object<small class='search_info'>Axlsx</small></li><li><span class='object_link'><a href="Axlsx/TableStyles.html" title="Axlsx::TableStyles (class)">TableStyles</a></span> &lt; SimpleTypedList<small class='search_info'>Axlsx</small></li><li><span class='object_link'><a href="Axlsx/Title.html" title="Axlsx::Title (class)">Title</a></span> &lt; Object<small class='search_info'>Axlsx</small></li><li><span class='object_link'><a href="Axlsx/TwoCellAnchor.html" title="Axlsx::TwoCellAnchor (class)">TwoCellAnchor</a></span> &lt; Object<small class='search_info'>Axlsx</small></li><li><span class='object_link'><a href="Axlsx/ValAxis.html" title="Axlsx::ValAxis (class)">ValAxis</a></span> &lt; Axis<small class='search_info'>Axlsx</small></li><li><span class='object_link'><a href="Axlsx/ValAxisData.html" title="Axlsx::ValAxisData (class)">ValAxisData</a></span> &lt; CatAxisData<small class='search_info'>Axlsx</small></li><li><span class='object_link'><a href="Axlsx/View3D.html" title="Axlsx::View3D (class)">View3D</a></span> &lt; Object<small class='search_info'>Axlsx</small></li><li><span class='object_link'><a href="Axlsx/Workbook.html" title="Axlsx::Workbook (class)">Workbook</a></span> &lt; Object<small class='search_info'>Axlsx</small></li><li><span class='object_link'><a href="Axlsx/Worksheet.html" title="Axlsx::Worksheet (class)">Worksheet</a></span> &lt; Object<small class='search_info'>Axlsx</small></li><li><span class='object_link'><a href="Axlsx/Xf.html" title="Axlsx::Xf (class)">Xf</a></span> &lt; Object<small class='search_info'>Axlsx</small></li></ul>
</ul>
</div>
diff --git a/doc/file.README.html b/doc/file.README.html
index e4129686..312220af 100644
--- a/doc/file.README.html
+++ b/doc/file.README.html
@@ -99,7 +99,7 @@ It enables the you to generate 100% valid xlsx files that include customised sty
<span class='require identifier id'>require</span> <span class='string val'>'axlsx'</span>
</pre>
-<p>A Simple Workbooka</p>
+<p>A Simple Workbook</p>
<pre class="code"> <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>
<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> <span class='do do kw'>do</span> <span class='bitor op'>|</span><span class='sheet identifier id'>sheet</span><span class='bitor op'>|</span>
@@ -205,10 +205,18 @@ It enables the you to generate 100% valid xlsx files that include customised sty
<h2>Changelog</h2>
<ul>
-<li><strong>October.22.11</strong>: 1.0.7 release
+<li><strong>October.?.13</strong>: 1.0.7 release preparation
<ul>
-<li>Updated serialization write test to verify write permissions and warn if it cannot run the test</li>
+<li>Updated serialization write test to verify write permissions and warn if it cannot run the test due to permission restrcitions.</li>
+<li>updated rake to include build, genoc and deploy tasks.</li>
+<li>rebuilt documentation.</li>
+<li>moved version constant to its own file</li>
+<li>fixed bug in SerAxis that was requiring tickLblSkip and tickMarkSkip to be boolean. Should be unsigned int.</li>
+<li>Review and improve docs</li>
+<li>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.</li>
+<li>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</li>
+<li>Refactored cat and val axis data to keep series serialization a bit more DRY</li>
</ul>
</li>
</ul>
@@ -216,14 +224,6 @@ It enables the you to generate 100% valid xlsx files that include customised sty
<p>Please see the <a href="file.CHANGELOG.html" title="CHANGELOG">CHANGELOG</a> document for past release information.</p>
-<h2>On Deck</h2>
-
-<ul>
-<li>Verification with ruby 1.9.3</li>
-<li>Active Record support via package::serialize_ar so you can dump an AR result into a worksheet in one go.</li>
-</ul>
-
-
<h2>Copyright</h2>
<p>Axlsx &copy; 2011 by <a href="mailto:[email protected]">Randy Morgan</a>. Axlsx is
@@ -231,7 +231,7 @@ licensed under the MIT license. Please see the <a href="file.LICENSE.html" title
</div></div>
<div id="footer">
- Generated on Tue Nov 22 23:52:31 2011 by
+ Generated on Wed Nov 23 12:23:40 2011 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.7.3 (ruby-1.8.7).
</div>
diff --git a/doc/index.html b/doc/index.html
index e4129686..312220af 100644
--- a/doc/index.html
+++ b/doc/index.html
@@ -99,7 +99,7 @@ It enables the you to generate 100% valid xlsx files that include customised sty
<span class='require identifier id'>require</span> <span class='string val'>'axlsx'</span>
</pre>
-<p>A Simple Workbooka</p>
+<p>A Simple Workbook</p>
<pre class="code"> <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>
<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> <span class='do do kw'>do</span> <span class='bitor op'>|</span><span class='sheet identifier id'>sheet</span><span class='bitor op'>|</span>
@@ -205,10 +205,18 @@ It enables the you to generate 100% valid xlsx files that include customised sty
<h2>Changelog</h2>
<ul>
-<li><strong>October.22.11</strong>: 1.0.7 release
+<li><strong>October.?.13</strong>: 1.0.7 release preparation
<ul>
-<li>Updated serialization write test to verify write permissions and warn if it cannot run the test</li>
+<li>Updated serialization write test to verify write permissions and warn if it cannot run the test due to permission restrcitions.</li>
+<li>updated rake to include build, genoc and deploy tasks.</li>
+<li>rebuilt documentation.</li>
+<li>moved version constant to its own file</li>
+<li>fixed bug in SerAxis that was requiring tickLblSkip and tickMarkSkip to be boolean. Should be unsigned int.</li>
+<li>Review and improve docs</li>
+<li>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.</li>
+<li>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</li>
+<li>Refactored cat and val axis data to keep series serialization a bit more DRY</li>
</ul>
</li>
</ul>
@@ -216,14 +224,6 @@ It enables the you to generate 100% valid xlsx files that include customised sty
<p>Please see the <a href="file.CHANGELOG.html" title="CHANGELOG">CHANGELOG</a> document for past release information.</p>
-<h2>On Deck</h2>
-
-<ul>
-<li>Verification with ruby 1.9.3</li>
-<li>Active Record support via package::serialize_ar so you can dump an AR result into a worksheet in one go.</li>
-</ul>
-
-
<h2>Copyright</h2>
<p>Axlsx &copy; 2011 by <a href="mailto:[email protected]">Randy Morgan</a>. Axlsx is
@@ -231,7 +231,7 @@ licensed under the MIT license. Please see the <a href="file.LICENSE.html" title
</div></div>
<div id="footer">
- Generated on Tue Nov 22 23:52:31 2011 by
+ Generated on Wed Nov 23 12:23:40 2011 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.7.3 (ruby-1.8.7).
</div>
diff --git a/doc/method_list.html b/doc/method_list.html
index 0e0fa86c..8b35aedf 100644
--- a/doc/method_list.html
+++ b/doc/method_list.html
@@ -49,15 +49,15 @@
<li class="r2 ">
- <span class='object_link'><a href="Axlsx/App.html#AppVersion-instance_method" title="Axlsx::App#AppVersion (method)">#AppVersion</a></span>
+ <span class='object_link'><a href="Axlsx/SimpleTypedList.html#%3D%3D-instance_method" title="Axlsx::SimpleTypedList#== (method)">#==</a></span>
- <small>Axlsx::App</small>
+ <small>Axlsx::SimpleTypedList</small>
</li>
<li class="r1 ">
- <span class='object_link'><a href="Axlsx/App.html#Application-instance_method" title="Axlsx::App#Application (method)">#Application</a></span>
+ <span class='object_link'><a href="Axlsx/App.html#AppVersion-instance_method" title="Axlsx::App#AppVersion (method)">#AppVersion</a></span>
<small>Axlsx::App</small>
@@ -65,7 +65,7 @@
<li class="r2 ">
- <span class='object_link'><a href="Axlsx/App.html#Characters-instance_method" title="Axlsx::App#Characters (method)">#Characters</a></span>
+ <span class='object_link'><a href="Axlsx/App.html#Application-instance_method" title="Axlsx::App#Application (method)">#Application</a></span>
<small>Axlsx::App</small>
@@ -73,7 +73,7 @@
<li class="r1 ">
- <span class='object_link'><a href="Axlsx/App.html#CharactersWithSpaces-instance_method" title="Axlsx::App#CharactersWithSpaces (method)">#CharactersWithSpaces</a></span>
+ <span class='object_link'><a href="Axlsx/App.html#Characters-instance_method" title="Axlsx::App#Characters (method)">#Characters</a></span>
<small>Axlsx::App</small>
@@ -81,7 +81,7 @@
<li class="r2 ">
- <span class='object_link'><a href="Axlsx/App.html#Company-instance_method" title="Axlsx::App#Company (method)">#Company</a></span>
+ <span class='object_link'><a href="Axlsx/App.html#CharactersWithSpaces-instance_method" title="Axlsx::App#CharactersWithSpaces (method)">#CharactersWithSpaces</a></span>
<small>Axlsx::App</small>
@@ -89,9 +89,9 @@
<li class="r1 ">
- <span class='object_link'><a href="Axlsx/Override.html#ContentType-instance_method" title="Axlsx::Override#ContentType (method)">#ContentType</a></span>
+ <span class='object_link'><a href="Axlsx/App.html#Company-instance_method" title="Axlsx::App#Company (method)">#Company</a></span>
- <small>Axlsx::Override</small>
+ <small>Axlsx::App</small>
</li>
@@ -105,6 +105,14 @@
<li class="r1 ">
+ <span class='object_link'><a href="Axlsx/Override.html#ContentType-instance_method" title="Axlsx::Override#ContentType (method)">#ContentType</a></span>
+
+ <small>Axlsx::Override</small>
+
+ </li>
+
+
+ <li class="r2 ">
<span class='object_link'><a href="Axlsx/App.html#DocSecurity-instance_method" title="Axlsx::App#DocSecurity (method)">#DocSecurity</a></span>
<small>Axlsx::App</small>
@@ -112,7 +120,7 @@
</li>
- <li class="r2 ">
+ <li class="r1 ">
<span class='object_link'><a href="Axlsx/Default.html#Extension-instance_method" title="Axlsx::Default#Extension (method)">#Extension</a></span>
<small>Axlsx::Default</small>
@@ -120,7 +128,7 @@
</li>
- <li class="r1 ">
+ <li class="r2 ">
<span class='object_link'><a href="Axlsx/App.html#HiddenSlides-instance_method" title="Axlsx::App#HiddenSlides (method)">#HiddenSlides</a></span>
<small>Axlsx::App</small>
@@ -128,7 +136,7 @@
</li>
- <li class="r2 ">
+ <li class="r1 ">
<span class='object_link'><a href="Axlsx/App.html#HyperLinkBase-instance_method" title="Axlsx::App#HyperLinkBase (method)">#HyperLinkBase</a></span>
<small>Axlsx::App</small>
@@ -136,7 +144,7 @@
</li>
- <li class="r1 ">
+ <li class="r2 ">
<span class='object_link'><a href="Axlsx/App.html#HyperlinksChanged-instance_method" title="Axlsx::App#HyperlinksChanged (method)">#HyperlinksChanged</a></span>
<small>Axlsx::App</small>
@@ -144,7 +152,7 @@
</li>
- <li class="r2 ">
+ <li class="r1 ">
<span class='object_link'><a href="Axlsx/App.html#Lines-instance_method" title="Axlsx::App#Lines (method)">#Lines</a></span>
<small>Axlsx::App</small>
@@ -152,7 +160,7 @@
</li>
- <li class="r1 ">
+ <li class="r2 ">
<span class='object_link'><a href="Axlsx/App.html#LinksUpToDate-instance_method" title="Axlsx::App#LinksUpToDate (method)">#LinksUpToDate</a></span>
<small>Axlsx::App</small>
@@ -160,7 +168,7 @@
</li>
- <li class="r2 ">
+ <li class="r1 ">
<span class='object_link'><a href="Axlsx/App.html#MMClips-instance_method" title="Axlsx::App#MMClips (method)">#MMClips</a></span>
<small>Axlsx::App</small>
@@ -168,7 +176,7 @@
</li>
- <li class="r1 ">
+ <li class="r2 ">
<span class='object_link'><a href="Axlsx/App.html#Manager-instance_method" title="Axlsx::App#Manager (method)">#Manager</a></span>
<small>Axlsx::App</small>
@@ -176,7 +184,7 @@
</li>
- <li class="r2 ">
+ <li class="r1 ">
<span class='object_link'><a href="Axlsx/App.html#Notes-instance_method" title="Axlsx::App#Notes (method)">#Notes</a></span>
<small>Axlsx::App</small>
@@ -184,7 +192,7 @@
</li>
- <li class="r1 ">
+ <li class="r2 ">
<span class='object_link'><a href="Axlsx/App.html#Pages-instance_method" title="Axlsx::App#Pages (method)">#Pages</a></span>
<small>Axlsx::App</small>
@@ -192,7 +200,7 @@
</li>
- <li class="r2 ">
+ <li class="r1 ">
<span class='object_link'><a href="Axlsx/App.html#Paragraphs-instance_method" title="Axlsx::App#Paragraphs (method)">#Paragraphs</a></span>
<small>Axlsx::App</small>
@@ -200,7 +208,7 @@
</li>
- <li class="r1 ">
+ <li class="r2 ">
<span class='object_link'><a href="Axlsx/Override.html#PartName-instance_method" title="Axlsx::Override#PartName (method)">#PartName</a></span>
<small>Axlsx::Override</small>
@@ -208,7 +216,7 @@
</li>
- <li class="r2 ">
+ <li class="r1 ">
<span class='object_link'><a href="Axlsx/App.html#PresentationFormat-instance_method" title="Axlsx::App#PresentationFormat (method)">#PresentationFormat</a></span>
<small>Axlsx::App</small>
@@ -216,7 +224,7 @@
</li>
- <li class="r1 ">
+ <li class="r2 ">
<span class='object_link'><a href="Axlsx/App.html#ScaleCrop-instance_method" title="Axlsx::App#ScaleCrop (method)">#ScaleCrop</a></span>
<small>Axlsx::App</small>
@@ -224,7 +232,7 @@
</li>
- <li class="r2 ">
+ <li class="r1 ">
<span class='object_link'><a href="Axlsx/App.html#ShareDoc-instance_method" title="Axlsx::App#ShareDoc (method)">#ShareDoc</a></span>
<small>Axlsx::App</small>
@@ -232,7 +240,7 @@
</li>
- <li class="r1 ">
+ <li class="r2 ">
<span class='object_link'><a href="Axlsx/App.html#Slides-instance_method" title="Axlsx::App#Slides (method)">#Slides</a></span>
<small>Axlsx::App</small>
@@ -240,7 +248,7 @@
</li>
- <li class="r2 ">
+ <li class="r1 ">
<span class='object_link'><a href="Axlsx/Relationship.html#Target-instance_method" title="Axlsx::Relationship#Target (method)">#Target</a></span>
<small>Axlsx::Relationship</small>
@@ -248,7 +256,7 @@
</li>
- <li class="r1 ">
+ <li class="r2 ">
<span class='object_link'><a href="Axlsx/App.html#Template-instance_method" title="Axlsx::App#Template (method)">#Template</a></span>
<small>Axlsx::App</small>
@@ -256,7 +264,7 @@
</li>
- <li class="r2 ">
+ <li class="r1 ">
<span class='object_link'><a href="Axlsx/App.html#TotalTime-instance_method" title="Axlsx::App#TotalTime (method)">#TotalTime</a></span>
<small>Axlsx::App</small>
@@ -264,7 +272,7 @@
</li>
- <li class="r1 ">
+ <li class="r2 ">
<span class='object_link'><a href="Axlsx/Relationship.html#Type-instance_method" title="Axlsx::Relationship#Type (method)">#Type</a></span>
<small>Axlsx::Relationship</small>
@@ -272,7 +280,7 @@
</li>
- <li class="r2 ">
+ <li class="r1 ">
<span class='object_link'><a href="Axlsx/App.html#Words-instance_method" title="Axlsx::App#Words (method)">#Words</a></span>
<small>Axlsx::App</small>
@@ -280,7 +288,7 @@
</li>
- <li class="r1 ">
+ <li class="r2 ">
<span class='object_link'><a href="Axlsx/SimpleTypedList.html#%5B%5D%3D-instance_method" title="Axlsx::SimpleTypedList#[]= (method)">#[]=</a></span>
<small>Axlsx::SimpleTypedList</small>
@@ -288,7 +296,7 @@
</li>
- <li class="r2 ">
+ <li class="r1 ">
<span class='object_link'><a href="Axlsx/Row.html#add_cell-instance_method" title="Axlsx::Row#add_cell (method)">#add_cell</a></span>
<small>Axlsx::Row</small>
@@ -296,7 +304,7 @@
</li>
- <li class="r1 ">
+ <li class="r2 ">
<span class='object_link'><a href="Axlsx/Worksheet.html#add_chart-instance_method" title="Axlsx::Worksheet#add_chart (method)">#add_chart</a></span>
<small>Axlsx::Worksheet</small>
@@ -304,7 +312,7 @@
</li>
- <li class="r2 ">
+ <li class="r1 ">
<span class='object_link'><a href="Axlsx/Drawing.html#add_chart-instance_method" title="Axlsx::Drawing#add_chart (method)">#add_chart</a></span>
<small>Axlsx::Drawing</small>
@@ -312,7 +320,7 @@
</li>
- <li class="r1 ">
+ <li class="r2 ">
<span class='object_link'><a href="Axlsx/Worksheet.html#add_row-instance_method" title="Axlsx::Worksheet#add_row (method)">#add_row</a></span>
<small>Axlsx::Worksheet</small>
@@ -320,7 +328,7 @@
</li>
- <li class="r2 ">
+ <li class="r1 ">
<span class='object_link'><a href="Axlsx/Chart.html#add_series-instance_method" title="Axlsx::Chart#add_series (method)">#add_series</a></span>
<small>Axlsx::Chart</small>
@@ -328,7 +336,7 @@
</li>
- <li class="r1 ">
+ <li class="r2 ">
<span class='object_link'><a href="Axlsx/Styles.html#add_style-instance_method" title="Axlsx::Styles#add_style (method)">#add_style</a></span>
<small>Axlsx::Styles</small>
@@ -336,7 +344,7 @@
</li>
- <li class="r2 ">
+ <li class="r1 ">
<span class='object_link'><a href="Axlsx/Workbook.html#add_worksheet-instance_method" title="Axlsx::Workbook#add_worksheet (method)">#add_worksheet</a></span>
<small>Axlsx::Workbook</small>
@@ -344,7 +352,7 @@
</li>
- <li class="r1 ">
+ <li class="r2 ">
<span class='object_link'><a href="Axlsx/Xf.html#alignment-instance_method" title="Axlsx::Xf#alignment (method)">#alignment</a></span>
<small>Axlsx::Xf</small>
@@ -352,7 +360,7 @@
</li>
- <li class="r2 ">
+ <li class="r1 ">
<span class='object_link'><a href="Axlsx/SimpleTypedList.html#allowed_types-instance_method" title="Axlsx::SimpleTypedList#allowed_types (method)">#allowed_types</a></span>
<small>Axlsx::SimpleTypedList</small>
@@ -360,7 +368,7 @@
</li>
- <li class="r1 ">
+ <li class="r2 ">
<span class='object_link'><a href="Axlsx/GraphicFrame.html#anchor-instance_method" title="Axlsx::GraphicFrame#anchor (method)">#anchor</a></span>
<small>Axlsx::GraphicFrame</small>
@@ -368,7 +376,7 @@
</li>
- <li class="r2 ">
+ <li class="r1 ">
<span class='object_link'><a href="Axlsx/Drawing.html#anchors-instance_method" title="Axlsx::Drawing#anchors (method)">#anchors</a></span>
<small>Axlsx::Drawing</small>
@@ -376,7 +384,7 @@
</li>
- <li class="r1 ">
+ <li class="r2 ">
<span class='object_link'><a href="Axlsx/Xf.html#applyAlignment-instance_method" title="Axlsx::Xf#applyAlignment (method)">#applyAlignment</a></span>
<small>Axlsx::Xf</small>
@@ -384,7 +392,7 @@
</li>
- <li class="r2 ">
+ <li class="r1 ">
<span class='object_link'><a href="Axlsx/Xf.html#applyBorder-instance_method" title="Axlsx::Xf#applyBorder (method)">#applyBorder</a></span>
<small>Axlsx::Xf</small>
@@ -392,7 +400,7 @@
</li>
- <li class="r1 ">
+ <li class="r2 ">
<span class='object_link'><a href="Axlsx/Xf.html#applyFill-instance_method" title="Axlsx::Xf#applyFill (method)">#applyFill</a></span>
<small>Axlsx::Xf</small>
@@ -400,7 +408,7 @@
</li>
- <li class="r2 ">
+ <li class="r1 ">
<span class='object_link'><a href="Axlsx/Xf.html#applyFont-instance_method" title="Axlsx::Xf#applyFont (method)">#applyFont</a></span>
<small>Axlsx::Xf</small>
@@ -408,7 +416,7 @@
</li>
- <li class="r1 ">
+ <li class="r2 ">
<span class='object_link'><a href="Axlsx/Xf.html#applyNumberFormat-instance_method" title="Axlsx::Xf#applyNumberFormat (method)">#applyNumberFormat</a></span>
<small>Axlsx::Xf</small>
@@ -416,7 +424,7 @@
</li>
- <li class="r2 ">
+ <li class="r1 ">
<span class='object_link'><a href="Axlsx/Xf.html#applyProtection-instance_method" title="Axlsx::Xf#applyProtection (method)">#applyProtection</a></span>
<small>Axlsx::Xf</small>
@@ -424,7 +432,7 @@
</li>
- <li class="r1 ">
+ <li class="r2 ">
<span class='object_link'><a href="Axlsx/CatAxis.html#auto-instance_method" title="Axlsx::CatAxis#auto (method)">#auto</a></span>
<small>Axlsx::CatAxis</small>
@@ -432,7 +440,7 @@
</li>
- <li class="r2 ">
+ <li class="r1 ">
<span class='object_link'><a href="Axlsx/Color.html#auto-instance_method" title="Axlsx::Color#auto (method)">#auto</a></span>
<small>Axlsx::Color</small>
@@ -440,7 +448,7 @@
</li>
- <li class="r1 ">
+ <li class="r2 ">
<span class='object_link'><a href="Axlsx/Worksheet.html#auto_fit_data-instance_method" title="Axlsx::Worksheet#auto_fit_data (method)">#auto_fit_data</a></span>
<small>Axlsx::Worksheet</small>
@@ -448,7 +456,7 @@
</li>
- <li class="r2 ">
+ <li class="r1 ">
<span class='object_link'><a href="Axlsx/Worksheet.html#auto_width-instance_method" title="Axlsx::Worksheet#auto_width (method)">#auto_width</a></span>
<small>Axlsx::Worksheet</small>
@@ -456,7 +464,7 @@
</li>
- <li class="r1 ">
+ <li class="r2 ">
<span class='object_link'><a href="Axlsx/Axis.html#axId-instance_method" title="Axlsx::Axis#axId (method)">#axId</a></span>
<small>Axlsx::Axis</small>
@@ -464,7 +472,7 @@
</li>
- <li class="r2 ">
+ <li class="r1 ">
<span class='object_link'><a href="Axlsx/Axis.html#axPos-instance_method" title="Axlsx::Axis#axPos (method)">#axPos</a></span>
<small>Axlsx::Axis</small>
@@ -472,7 +480,7 @@
</li>
- <li class="r1 ">
+ <li class="r2 ">
<span class='object_link'><a href="Axlsx/Font.html#b-instance_method" title="Axlsx::Font#b (method)">#b</a></span>
<small>Axlsx::Font</small>
@@ -480,7 +488,7 @@
</li>
- <li class="r2 ">
+ <li class="r1 ">
<span class='object_link'><a href="Axlsx/Bar3DChart.html#barDir-instance_method" title="Axlsx::Bar3DChart#barDir (method)">#barDir</a></span>
<small>Axlsx::Bar3DChart</small>
@@ -488,7 +496,7 @@
</li>
- <li class="r1 ">
+ <li class="r2 ">
<span class='object_link'><a href="Axlsx/Package.html#base_content_types-instance_method" title="Axlsx::Package#base_content_types (method)">#base_content_types</a></span>
<small>Axlsx::Package</small>
@@ -496,7 +504,7 @@
</li>
- <li class="r2 ">
+ <li class="r1 ">
<span class='object_link'><a href="Axlsx/PatternFill.html#bgColor-instance_method" title="Axlsx::PatternFill#bgColor (method)">#bgColor</a></span>
<small>Axlsx::PatternFill</small>
@@ -504,7 +512,7 @@
</li>
- <li class="r1 ">
+ <li class="r2 ">
<span class='object_link'><a href="Axlsx/Xf.html#borderId-instance_method" title="Axlsx::Xf#borderId (method)">#borderId</a></span>
<small>Axlsx::Xf</small>
@@ -512,7 +520,7 @@
</li>
- <li class="r2 ">
+ <li class="r1 ">
<span class='object_link'><a href="Axlsx/Styles.html#borders-instance_method" title="Axlsx::Styles#borders (method)">#borders</a></span>
<small>Axlsx::Styles</small>
@@ -520,7 +528,7 @@
</li>
- <li class="r1 ">
+ <li class="r2 ">
<span class='object_link'><a href="Axlsx/GradientFill.html#bottom-instance_method" title="Axlsx::GradientFill#bottom (method)">#bottom</a></span>
<small>Axlsx::GradientFill</small>
@@ -528,7 +536,7 @@
</li>
- <li class="r2 ">
+ <li class="r1 ">
<span class='object_link'><a href="Axlsx/CellStyle.html#builtinId-instance_method" title="Axlsx::CellStyle#builtinId (method)">#builtinId</a></span>
<small>Axlsx::CellStyle</small>
@@ -536,7 +544,7 @@
</li>
- <li class="r1 ">
+ <li class="r2 ">
<span class='object_link'><a href="Axlsx/Cell.html#cast_value-instance_method" title="Axlsx::Cell#cast_value (method)">#cast_value</a></span>
<small>Axlsx::Cell</small>
@@ -544,23 +552,23 @@
</li>
- <li class="r2 ">
- <span class='object_link'><a href="Axlsx/Line3DChart.html#catAxis-instance_method" title="Axlsx::Line3DChart#catAxis (method)">#catAxis</a></span>
+ <li class="r1 ">
+ <span class='object_link'><a href="Axlsx/Bar3DChart.html#catAxis-instance_method" title="Axlsx::Bar3DChart#catAxis (method)">#catAxis</a></span>
- <small>Axlsx::Line3DChart</small>
+ <small>Axlsx::Bar3DChart</small>
</li>
- <li class="r1 ">
- <span class='object_link'><a href="Axlsx/Bar3DChart.html#catAxis-instance_method" title="Axlsx::Bar3DChart#catAxis (method)">#catAxis</a></span>
+ <li class="r2 ">
+ <span class='object_link'><a href="Axlsx/Line3DChart.html#catAxis-instance_method" title="Axlsx::Line3DChart#catAxis (method)">#catAxis</a></span>
- <small>Axlsx::Bar3DChart</small>
+ <small>Axlsx::Line3DChart</small>
</li>
- <li class="r2 ">
+ <li class="r1 ">
<span class='object_link'><a href="Axlsx/Title.html#cell-instance_method" title="Axlsx::Title#cell (method)">#cell</a></span>
<small>Axlsx::Title</small>
@@ -568,7 +576,7 @@
</li>
- <li class="r1 ">
+ <li class="r2 ">
<span class='object_link'><a href="Axlsx/Styles.html#cellStyleXfs-instance_method" title="Axlsx::Styles#cellStyleXfs (method)">#cellStyleXfs</a></span>
<small>Axlsx::Styles</small>
@@ -576,7 +584,7 @@
</li>
- <li class="r2 ">
+ <li class="r1 ">
<span class='object_link'><a href="Axlsx/Styles.html#cellStyles-instance_method" title="Axlsx::Styles#cellStyles (method)">#cellStyles</a></span>
<small>Axlsx::Styles</small>
@@ -584,7 +592,7 @@
</li>
- <li class="r1 ">
+ <li class="r2 ">
<span class='object_link'><a href="Axlsx/Styles.html#cellXfs-instance_method" title="Axlsx::Styles#cellXfs (method)">#cellXfs</a></span>
<small>Axlsx::Styles</small>
@@ -592,7 +600,7 @@
</li>
- <li class="r2 ">
+ <li class="r1 ">
<span class='object_link'><a href="Axlsx.html#cell_range-class_method" title="Axlsx.cell_range (method)">cell_range</a></span>
<small>Axlsx</small>
@@ -600,7 +608,7 @@
</li>
- <li class="r1 ">
+ <li class="r2 ">
<span class='object_link'><a href="Axlsx/Cell.html#cell_type_from_value-instance_method" title="Axlsx::Cell#cell_type_from_value (method)">#cell_type_from_value</a></span>
<small>Axlsx::Cell</small>
@@ -608,7 +616,7 @@
</li>
- <li class="r2 ">
+ <li class="r1 ">
<span class='object_link'><a href="Axlsx/Row.html#cells-instance_method" title="Axlsx::Row#cells (method)">#cells</a></span>
<small>Axlsx::Row</small>
@@ -616,7 +624,7 @@
</li>
- <li class="r1 ">
+ <li class="r2 ">
<span class='object_link'><a href="Axlsx/Font.html#charset-instance_method" title="Axlsx::Font#charset (method)">#charset</a></span>
<small>Axlsx::Font</small>
@@ -624,7 +632,7 @@
</li>
- <li class="r2 ">
+ <li class="r1 ">
<span class='object_link'><a href="Axlsx/Series.html#chart-instance_method" title="Axlsx::Series#chart (method)">#chart</a></span>
<small>Axlsx::Series</small>
@@ -632,7 +640,7 @@
</li>
- <li class="r1 ">
+ <li class="r2 ">
<span class='object_link'><a href="Axlsx/GraphicFrame.html#chart-instance_method" title="Axlsx::GraphicFrame#chart (method)">#chart</a></span>
<small>Axlsx::GraphicFrame</small>
@@ -640,14 +648,6 @@
</li>
- <li class="r2 ">
- <span class='object_link'><a href="Axlsx/Drawing.html#charts-instance_method" title="Axlsx::Drawing#charts (method)">#charts</a></span>
-
- <small>Axlsx::Drawing</small>
-
- </li>
-
-
<li class="r1 ">
<span class='object_link'><a href="Axlsx/Workbook.html#charts-instance_method" title="Axlsx::Workbook#charts (method)">#charts</a></span>
@@ -657,15 +657,15 @@
<li class="r2 ">
- <span class='object_link'><a href="Axlsx/Marker.html#col-instance_method" title="Axlsx::Marker#col (method)">#col</a></span>
+ <span class='object_link'><a href="Axlsx/Drawing.html#charts-instance_method" title="Axlsx::Drawing#charts (method)">#charts</a></span>
- <small>Axlsx::Marker</small>
+ <small>Axlsx::Drawing</small>
</li>
<li class="r1 ">
- <span class='object_link'><a href="Axlsx/Marker.html#colOff-instance_method" title="Axlsx::Marker#colOff (method)">#colOff</a></span>
+ <span class='object_link'><a href="Axlsx/Marker.html#col-instance_method" title="Axlsx::Marker#col (method)">#col</a></span>
<small>Axlsx::Marker</small>
@@ -673,17 +673,17 @@
<li class="r2 ">
- <span class='object_link'><a href="Axlsx/Cell.html#col_ref-instance_method" title="Axlsx::Cell#col_ref (method)">#col_ref</a></span>
+ <span class='object_link'><a href="Axlsx/Marker.html#colOff-instance_method" title="Axlsx::Marker#colOff (method)">#colOff</a></span>
- <small>Axlsx::Cell</small>
+ <small>Axlsx::Marker</small>
</li>
<li class="r1 ">
- <span class='object_link'><a href="Axlsx/Font.html#color-instance_method" title="Axlsx::Font#color (method)">#color</a></span>
+ <span class='object_link'><a href="Axlsx/Cell.html#col_ref-instance_method" title="Axlsx::Cell#col_ref (method)">#col_ref</a></span>
- <small>Axlsx::Font</small>
+ <small>Axlsx::Cell</small>
</li>
@@ -697,6 +697,14 @@
<li class="r1 ">
+ <span class='object_link'><a href="Axlsx/Font.html#color-instance_method" title="Axlsx::Font#color (method)">#color</a></span>
+
+ <small>Axlsx::Font</small>
+
+ </li>
+
+
+ <li class="r2 ">
<span class='object_link'><a href="Axlsx/BorderPr.html#color-instance_method" title="Axlsx::BorderPr#color (method)">#color</a></span>
<small>Axlsx::BorderPr</small>
@@ -704,7 +712,7 @@
</li>
- <li class="r2 ">
+ <li class="r1 ">
<span class='object_link'><a href="Axlsx/Font.html#condense-instance_method" title="Axlsx::Font#condense (method)">#condense</a></span>
<small>Axlsx::Font</small>
@@ -712,7 +720,7 @@
</li>
- <li class="r1 ">
+ <li class="r2 ">
<span class='object_link'><a href="Axlsx/Package.html#content_types-instance_method" title="Axlsx::Package#content_types (method)">#content_types</a></span>
<small>Axlsx::Package</small>
@@ -720,7 +728,7 @@
</li>
- <li class="r2 ">
+ <li class="r1 ">
<span class='object_link'><a href="Axlsx/Marker.html#coord-instance_method" title="Axlsx::Marker#coord (method)">#coord</a></span>
<small>Axlsx::Marker</small>
@@ -728,7 +736,7 @@
</li>
- <li class="r1 ">
+ <li class="r2 ">
<span class='object_link'><a href="Axlsx/Core.html#creator-instance_method" title="Axlsx::Core#creator (method)">#creator</a></span>
<small>Axlsx::Core</small>
@@ -736,7 +744,7 @@
</li>
- <li class="r2 ">
+ <li class="r1 ">
<span class='object_link'><a href="Axlsx/Axis.html#crossAx-instance_method" title="Axlsx::Axis#crossAx (method)">#crossAx</a></span>
<small>Axlsx::Axis</small>
@@ -744,7 +752,7 @@
</li>
- <li class="r1 ">
+ <li class="r2 ">
<span class='object_link'><a href="Axlsx/ValAxis.html#crossBetween-instance_method" title="Axlsx::ValAxis#crossBetween (method)">#crossBetween</a></span>
<small>Axlsx::ValAxis</small>
@@ -752,7 +760,7 @@
</li>
- <li class="r2 ">
+ <li class="r1 ">
<span class='object_link'><a href="Axlsx/Axis.html#crosses-instance_method" title="Axlsx::Axis#crosses (method)">#crosses</a></span>
<small>Axlsx::Axis</small>
@@ -760,7 +768,7 @@
</li>
- <li class="r1 ">
+ <li class="r2 ">
<span class='object_link'><a href="Axlsx/CellStyle.html#customBuiltin-instance_method" title="Axlsx::CellStyle#customBuiltin (method)">#customBuiltin</a></span>
<small>Axlsx::CellStyle</small>
@@ -768,23 +776,23 @@
</li>
- <li class="r2 ">
- <span class='object_link'><a href="Axlsx/BarSeries.html#data-instance_method" title="Axlsx::BarSeries#data (method)">#data</a></span>
+ <li class="r1 ">
+ <span class='object_link'><a href="Axlsx/PieSeries.html#data-instance_method" title="Axlsx::PieSeries#data (method)">#data</a></span>
- <small>Axlsx::BarSeries</small>
+ <small>Axlsx::PieSeries</small>
</li>
- <li class="r1 ">
- <span class='object_link'><a href="Axlsx/PieSeries.html#data-instance_method" title="Axlsx::PieSeries#data (method)">#data</a></span>
+ <li class="r2 ">
+ <span class='object_link'><a href="Axlsx/BarSeries.html#data-instance_method" title="Axlsx::BarSeries#data (method)">#data</a></span>
- <small>Axlsx::PieSeries</small>
+ <small>Axlsx::BarSeries</small>
</li>
- <li class="r2 ">
+ <li class="r1 ">
<span class='object_link'><a href="Axlsx/LineSeries.html#data-instance_method" title="Axlsx::LineSeries#data (method)">#data</a></span>
<small>Axlsx::LineSeries</small>
@@ -792,7 +800,7 @@
</li>
- <li class="r1 ">
+ <li class="r2 ">
<span class='object_link'><a href="Axlsx/Workbook.html#date1904-class_method" title="Axlsx::Workbook.date1904 (method)">date1904</a></span>
<small>Axlsx::Workbook</small>
@@ -800,7 +808,7 @@
</li>
- <li class="r2 ">
+ <li class="r1 ">
<span class='object_link'><a href="Axlsx/Workbook.html#date1904-instance_method" title="Axlsx::Workbook#date1904 (method)">#date1904</a></span>
<small>Axlsx::Workbook</small>
@@ -808,7 +816,7 @@
</li>
- <li class="r1 ">
+ <li class="r2 ">
<span class='object_link'><a href="Axlsx/Workbook.html#date1904%3D-class_method" title="Axlsx::Workbook.date1904= (method)">date1904=</a></span>
<small>Axlsx::Workbook</small>
@@ -816,7 +824,7 @@
</li>
- <li class="r2 ">
+ <li class="r1 ">
<span class='object_link'><a href="Axlsx/TableStyles.html#defaultPivotStyle-instance_method" title="Axlsx::TableStyles#defaultPivotStyle (method)">#defaultPivotStyle</a></span>
<small>Axlsx::TableStyles</small>
@@ -824,7 +832,7 @@
</li>
- <li class="r1 ">
+ <li class="r2 ">
<span class='object_link'><a href="Axlsx/TableStyles.html#defaultTableStyle-instance_method" title="Axlsx::TableStyles#defaultTableStyle (method)">#defaultTableStyle</a></span>
<small>Axlsx::TableStyles</small>
@@ -832,7 +840,7 @@
</li>
- <li class="r2 ">
+ <li class="r1 ">
<span class='object_link'><a href="Axlsx/GradientFill.html#degree-instance_method" title="Axlsx::GradientFill#degree (method)">#degree</a></span>
<small>Axlsx::GradientFill</small>
@@ -840,7 +848,7 @@
</li>
- <li class="r1 ">
+ <li class="r2 ">
<span class='object_link'><a href="Axlsx/SimpleTypedList.html#delete-instance_method" title="Axlsx::SimpleTypedList#delete (method)">#delete</a></span>
<small>Axlsx::SimpleTypedList</small>
@@ -848,7 +856,7 @@
</li>
- <li class="r2 ">
+ <li class="r1 ">
<span class='object_link'><a href="Axlsx/SimpleTypedList.html#delete_at-instance_method" title="Axlsx::SimpleTypedList#delete_at (method)">#delete_at</a></span>
<small>Axlsx::SimpleTypedList</small>
@@ -856,7 +864,7 @@
</li>
- <li class="r1 ">
+ <li class="r2 ">
<span class='object_link'><a href="Axlsx/View3D.html#depthPercent-instance_method" title="Axlsx::View3D#depthPercent (method)">#depthPercent</a></span>
<small>Axlsx::View3D</small>
@@ -864,7 +872,7 @@
</li>
- <li class="r2 ">
+ <li class="r1 ">
<span class='object_link'><a href="Axlsx/Border.html#diagonalDown-instance_method" title="Axlsx::Border#diagonalDown (method)">#diagonalDown</a></span>
<small>Axlsx::Border</small>
@@ -872,7 +880,7 @@
</li>
- <li class="r1 ">
+ <li class="r2 ">
<span class='object_link'><a href="Axlsx/Border.html#diagonalUp-instance_method" title="Axlsx::Border#diagonalUp (method)">#diagonalUp</a></span>
<small>Axlsx::Border</small>
@@ -880,7 +888,7 @@
</li>
- <li class="r2 ">
+ <li class="r1 ">
<span class='object_link'><a href="Axlsx/Worksheet.html#drawing-instance_method" title="Axlsx::Worksheet#drawing (method)">#drawing</a></span>
<small>Axlsx::Worksheet</small>
@@ -888,7 +896,7 @@
</li>
- <li class="r1 ">
+ <li class="r2 ">
<span class='object_link'><a href="Axlsx/TwoCellAnchor.html#drawing-instance_method" title="Axlsx::TwoCellAnchor#drawing (method)">#drawing</a></span>
<small>Axlsx::TwoCellAnchor</small>
@@ -896,7 +904,7 @@
</li>
- <li class="r2 ">
+ <li class="r1 ">
<span class='object_link'><a href="Axlsx/Workbook.html#drawings-instance_method" title="Axlsx::Workbook#drawings (method)">#drawings</a></span>
<small>Axlsx::Workbook</small>
@@ -904,7 +912,7 @@
</li>
- <li class="r1 ">
+ <li class="r2 ">
<span class='object_link'><a href="Axlsx/TableStyleElement.html#dxfId-instance_method" title="Axlsx::TableStyleElement#dxfId (method)">#dxfId</a></span>
<small>Axlsx::TableStyleElement</small>
@@ -912,7 +920,7 @@
</li>
- <li class="r2 ">
+ <li class="r1 ">
<span class='object_link'><a href="Axlsx/Styles.html#dxfs-instance_method" title="Axlsx::Styles#dxfs (method)">#dxfs</a></span>
<small>Axlsx::Styles</small>
@@ -920,7 +928,7 @@
</li>
- <li class="r1 ">
+ <li class="r2 ">
<span class='object_link'><a href="Axlsx/Chart.html#end_at-instance_method" title="Axlsx::Chart#end_at (method)">#end_at</a></span>
<small>Axlsx::Chart</small>
@@ -928,14 +936,6 @@
</li>
- <li class="r2 ">
- <span class='object_link'><a href="Axlsx/TwoCellAnchor.html#end_at-instance_method" title="Axlsx::TwoCellAnchor#end_at (method)">#end_at</a></span>
-
- <small>Axlsx::TwoCellAnchor</small>
-
- </li>
-
-
<li class="r1 ">
<span class='object_link'><a href="Axlsx/PieSeries.html#explosion-instance_method" title="Axlsx::PieSeries#explosion (method)">#explosion</a></span>
@@ -1025,17 +1025,17 @@
<li class="r2 ">
- <span class='object_link'><a href="Axlsx/TwoCellAnchor.html#from-instance_method" title="Axlsx::TwoCellAnchor#from (method)">#from</a></span>
+ <span class='object_link'><a href="Axlsx/Chart.html#from-instance_method" title="Axlsx::Chart#from (method)">#from</a></span>
- <small>Axlsx::TwoCellAnchor</small>
+ <small>Axlsx::Chart</small>
</li>
<li class="r1 ">
- <span class='object_link'><a href="Axlsx/Bar3DChart.html#gapDepth-instance_method" title="Axlsx::Bar3DChart#gapDepth (method)">#gapDepth</a></span>
+ <span class='object_link'><a href="Axlsx/TwoCellAnchor.html#from-instance_method" title="Axlsx::TwoCellAnchor#from (method)">#from</a></span>
- <small>Axlsx::Bar3DChart</small>
+ <small>Axlsx::TwoCellAnchor</small>
</li>
@@ -1049,7 +1049,7 @@
<li class="r1 ">
- <span class='object_link'><a href="Axlsx/Bar3DChart.html#gapWidth-instance_method" title="Axlsx::Bar3DChart#gapWidth (method)">#gapWidth</a></span>
+ <span class='object_link'><a href="Axlsx/Bar3DChart.html#gapDepth-instance_method" title="Axlsx::Bar3DChart#gapDepth (method)">#gapDepth</a></span>
<small>Axlsx::Bar3DChart</small>
@@ -1057,9 +1057,9 @@
<li class="r2 ">
- <span class='object_link'><a href="Axlsx/TwoCellAnchor.html#graphic_frame-instance_method" title="Axlsx::TwoCellAnchor#graphic_frame (method)">#graphic_frame</a></span>
+ <span class='object_link'><a href="Axlsx/Bar3DChart.html#gapWidth-instance_method" title="Axlsx::Bar3DChart#gapWidth (method)">#gapWidth</a></span>
- <small>Axlsx::TwoCellAnchor</small>
+ <small>Axlsx::Bar3DChart</small>
</li>
@@ -1073,9 +1073,9 @@
<li class="r2 ">
- <span class='object_link'><a href="Axlsx/Bar3DChart.html#grouping-instance_method" title="Axlsx::Bar3DChart#grouping (method)">#grouping</a></span>
+ <span class='object_link'><a href="Axlsx/TwoCellAnchor.html#graphic_frame-instance_method" title="Axlsx::TwoCellAnchor#graphic_frame (method)">#graphic_frame</a></span>
- <small>Axlsx::Bar3DChart</small>
+ <small>Axlsx::TwoCellAnchor</small>
</li>
@@ -1089,6 +1089,14 @@
<li class="r2 ">
+ <span class='object_link'><a href="Axlsx/Bar3DChart.html#grouping-instance_method" title="Axlsx::Bar3DChart#grouping (method)">#grouping</a></span>
+
+ <small>Axlsx::Bar3DChart</small>
+
+ </li>
+
+
+ <li class="r1 ">
<span class='object_link'><a href="Axlsx/View3D.html#hPercent-instance_method" title="Axlsx::View3D#hPercent (method)">#hPercent</a></span>
<small>Axlsx::View3D</small>
@@ -1096,7 +1104,7 @@
</li>
- <li class="r1 ">
+ <li class="r2 ">
<span class='object_link'><a href="Axlsx/CellProtection.html#hidden-instance_method" title="Axlsx::CellProtection#hidden (method)">#hidden</a></span>
<small>Axlsx::CellProtection</small>
@@ -1104,7 +1112,7 @@
</li>
- <li class="r2 ">
+ <li class="r1 ">
<span class='object_link'><a href="Axlsx/CellStyle.html#hidden-instance_method" title="Axlsx::CellStyle#hidden (method)">#hidden</a></span>
<small>Axlsx::CellStyle</small>
@@ -1112,7 +1120,7 @@
</li>
- <li class="r1 ">
+ <li class="r2 ">
<span class='object_link'><a href="Axlsx/CellAlignment.html#horizontal-instance_method" title="Axlsx::CellAlignment#horizontal (method)">#horizontal</a></span>
<small>Axlsx::CellAlignment</small>
@@ -1120,7 +1128,7 @@
</li>
- <li class="r2 ">
+ <li class="r1 ">
<span class='object_link'><a href="Axlsx/Font.html#i-instance_method" title="Axlsx::Font#i (method)">#i</a></span>
<small>Axlsx::Font</small>
@@ -1128,7 +1136,7 @@
</li>
- <li class="r1 ">
+ <li class="r2 ">
<span class='object_link'><a href="Axlsx/CellStyle.html#iLevel-instance_method" title="Axlsx::CellStyle#iLevel (method)">#iLevel</a></span>
<small>Axlsx::CellStyle</small>
@@ -1136,7 +1144,7 @@
</li>
- <li class="r2 ">
+ <li class="r1 ">
<span class='object_link'><a href="Axlsx/CellAlignment.html#indent-instance_method" title="Axlsx::CellAlignment#indent (method)">#indent</a></span>
<small>Axlsx::CellAlignment</small>
@@ -1144,7 +1152,7 @@
</li>
- <li class="r1 ">
+ <li class="r2 ">
<span class='object_link'><a href="Axlsx/TwoCellAnchor.html#index-instance_method" title="Axlsx::TwoCellAnchor#index (method)">#index</a></span>
<small>Axlsx::TwoCellAnchor</small>
@@ -1152,18 +1160,10 @@
</li>
- <li class="r2 ">
- <span class='object_link'><a href="Axlsx/Cell.html#index-instance_method" title="Axlsx::Cell#index (method)">#index</a></span>
-
- <small>Axlsx::Cell</small>
-
- </li>
-
-
<li class="r1 ">
- <span class='object_link'><a href="Axlsx/Row.html#index-instance_method" title="Axlsx::Row#index (method)">#index</a></span>
+ <span class='object_link'><a href="Axlsx/Series.html#index-instance_method" title="Axlsx::Series#index (method)">#index</a></span>
- <small>Axlsx::Row</small>
+ <small>Axlsx::Series</small>
</li>
@@ -1193,14 +1193,22 @@
<li class="r1 ">
- <span class='object_link'><a href="Axlsx/Series.html#index-instance_method" title="Axlsx::Series#index (method)">#index</a></span>
+ <span class='object_link'><a href="Axlsx/Row.html#index-instance_method" title="Axlsx::Row#index (method)">#index</a></span>
- <small>Axlsx::Series</small>
+ <small>Axlsx::Row</small>
</li>
<li class="r2 ">
+ <span class='object_link'><a href="Axlsx/Cell.html#index-instance_method" title="Axlsx::Cell#index (method)">#index</a></span>
+
+ <small>Axlsx::Cell</small>
+
+ </li>
+
+
+ <li class="r1 ">
<span class='object_link'><a href="Axlsx/App.html#initalize-instance_method" title="Axlsx::App#initalize (method)">#initalize</a></span>
<small>Axlsx::App</small>
@@ -1208,106 +1216,114 @@
</li>
+ <li class="r2 ">
+ <span class='object_link'><a href="Axlsx/SerAxis.html#initialize-instance_method" title="Axlsx::SerAxis#initialize (method)">#initialize</a></span>
+
+ <small>Axlsx::SerAxis</small>
+
+ </li>
+
+
<li class="r1 ">
- <span class='object_link'><a href="Axlsx/Package.html#initialize-instance_method" title="Axlsx::Package#initialize (method)">#initialize</a></span>
+ <span class='object_link'><a href="Axlsx/Fill.html#initialize-instance_method" title="Axlsx::Fill#initialize (method)">#initialize</a></span>
- <small>Axlsx::Package</small>
+ <small>Axlsx::Fill</small>
</li>
<li class="r2 ">
- <span class='object_link'><a href="Axlsx/Title.html#initialize-instance_method" title="Axlsx::Title#initialize (method)">#initialize</a></span>
+ <span class='object_link'><a href="Axlsx/TableStyles.html#initialize-instance_method" title="Axlsx::TableStyles#initialize (method)">#initialize</a></span>
- <small>Axlsx::Title</small>
+ <small>Axlsx::TableStyles</small>
</li>
<li class="r1 ">
- <span class='object_link'><a href="Axlsx/ValAxis.html#initialize-instance_method" title="Axlsx::ValAxis#initialize (method)">#initialize</a></span>
+ <span class='object_link'><a href="Axlsx/SimpleTypedList.html#initialize-instance_method" title="Axlsx::SimpleTypedList#initialize (method)">#initialize</a></span>
- <small>Axlsx::ValAxis</small>
+ <small>Axlsx::SimpleTypedList</small>
</li>
<li class="r2 ">
- <span class='object_link'><a href="Axlsx/TwoCellAnchor.html#initialize-instance_method" title="Axlsx::TwoCellAnchor#initialize (method)">#initialize</a></span>
+ <span class='object_link'><a href="Axlsx/Relationship.html#initialize-instance_method" title="Axlsx::Relationship#initialize (method)">#initialize</a></span>
- <small>Axlsx::TwoCellAnchor</small>
+ <small>Axlsx::Relationship</small>
</li>
<li class="r1 ">
- <span class='object_link'><a href="Axlsx/Core.html#initialize-instance_method" title="Axlsx::Core#initialize (method)">#initialize</a></span>
+ <span class='object_link'><a href="Axlsx/CellStyle.html#initialize-instance_method" title="Axlsx::CellStyle#initialize (method)">#initialize</a></span>
- <small>Axlsx::Core</small>
+ <small>Axlsx::CellStyle</small>
</li>
<li class="r2 ">
- <span class='object_link'><a href="Axlsx/PieSeries.html#initialize-instance_method" title="Axlsx::PieSeries#initialize (method)">#initialize</a></span>
+ <span class='object_link'><a href="Axlsx/Bar3DChart.html#initialize-instance_method" title="Axlsx::Bar3DChart#initialize (method)">#initialize</a></span>
- <small>Axlsx::PieSeries</small>
+ <small>Axlsx::Bar3DChart</small>
</li>
<li class="r1 ">
- <span class='object_link'><a href="Axlsx/BorderPr.html#initialize-instance_method" title="Axlsx::BorderPr#initialize (method)">#initialize</a></span>
+ <span class='object_link'><a href="Axlsx/Marker.html#initialize-instance_method" title="Axlsx::Marker#initialize (method)">#initialize</a></span>
- <small>Axlsx::BorderPr</small>
+ <small>Axlsx::Marker</small>
</li>
<li class="r2 ">
- <span class='object_link'><a href="Axlsx/LineSeries.html#initialize-instance_method" title="Axlsx::LineSeries#initialize (method)">#initialize</a></span>
+ <span class='object_link'><a href="Axlsx/View3D.html#initialize-instance_method" title="Axlsx::View3D#initialize (method)">#initialize</a></span>
- <small>Axlsx::LineSeries</small>
+ <small>Axlsx::View3D</small>
</li>
<li class="r1 ">
- <span class='object_link'><a href="Axlsx/Fill.html#initialize-instance_method" title="Axlsx::Fill#initialize (method)">#initialize</a></span>
+ <span class='object_link'><a href="Axlsx/Core.html#initialize-instance_method" title="Axlsx::Core#initialize (method)">#initialize</a></span>
- <small>Axlsx::Fill</small>
+ <small>Axlsx::Core</small>
</li>
<li class="r2 ">
- <span class='object_link'><a href="Axlsx/Cell.html#initialize-instance_method" title="Axlsx::Cell#initialize (method)">#initialize</a></span>
+ <span class='object_link'><a href="Axlsx/TableStyle.html#initialize-instance_method" title="Axlsx::TableStyle#initialize (method)">#initialize</a></span>
- <small>Axlsx::Cell</small>
+ <small>Axlsx::TableStyle</small>
</li>
<li class="r1 ">
- <span class='object_link'><a href="Axlsx/Scaling.html#initialize-instance_method" title="Axlsx::Scaling#initialize (method)">#initialize</a></span>
+ <span class='object_link'><a href="Axlsx/Axis.html#initialize-instance_method" title="Axlsx::Axis#initialize (method)">#initialize</a></span>
- <small>Axlsx::Scaling</small>
+ <small>Axlsx::Axis</small>
</li>
<li class="r2 ">
- <span class='object_link'><a href="Axlsx/SimpleTypedList.html#initialize-instance_method" title="Axlsx::SimpleTypedList#initialize (method)">#initialize</a></span>
+ <span class='object_link'><a href="Axlsx/GradientStop.html#initialize-instance_method" title="Axlsx::GradientStop#initialize (method)">#initialize</a></span>
- <small>Axlsx::SimpleTypedList</small>
+ <small>Axlsx::GradientStop</small>
</li>
<li class="r1 ">
- <span class='object_link'><a href="Axlsx/Drawing.html#initialize-instance_method" title="Axlsx::Drawing#initialize (method)">#initialize</a></span>
+ <span class='object_link'><a href="Axlsx/Pie3DChart.html#initialize-instance_method" title="Axlsx::Pie3DChart#initialize (method)">#initialize</a></span>
- <small>Axlsx::Drawing</small>
+ <small>Axlsx::Pie3DChart</small>
</li>
@@ -1321,161 +1337,161 @@
<li class="r1 ">
- <span class='object_link'><a href="Axlsx/Styles.html#initialize-instance_method" title="Axlsx::Styles#initialize (method)">#initialize</a></span>
+ <span class='object_link'><a href="Axlsx/Xf.html#initialize-instance_method" title="Axlsx::Xf#initialize (method)">#initialize</a></span>
- <small>Axlsx::Styles</small>
+ <small>Axlsx::Xf</small>
</li>
<li class="r2 ">
- <span class='object_link'><a href="Axlsx/Row.html#initialize-instance_method" title="Axlsx::Row#initialize (method)">#initialize</a></span>
+ <span class='object_link'><a href="Axlsx/BarSeries.html#initialize-instance_method" title="Axlsx::BarSeries#initialize (method)">#initialize</a></span>
- <small>Axlsx::Row</small>
+ <small>Axlsx::BarSeries</small>
</li>
<li class="r1 ">
- <span class='object_link'><a href="Axlsx/NumFmt.html#initialize-instance_method" title="Axlsx::NumFmt#initialize (method)">#initialize</a></span>
+ <span class='object_link'><a href="Axlsx/GradientFill.html#initialize-instance_method" title="Axlsx::GradientFill#initialize (method)">#initialize</a></span>
- <small>Axlsx::NumFmt</small>
+ <small>Axlsx::GradientFill</small>
</li>
<li class="r2 ">
- <span class='object_link'><a href="Axlsx/Border.html#initialize-instance_method" title="Axlsx::Border#initialize (method)">#initialize</a></span>
+ <span class='object_link'><a href="Axlsx/Package.html#initialize-instance_method" title="Axlsx::Package#initialize (method)">#initialize</a></span>
- <small>Axlsx::Border</small>
+ <small>Axlsx::Package</small>
</li>
<li class="r1 ">
- <span class='object_link'><a href="Axlsx/Workbook.html#initialize-instance_method" title="Axlsx::Workbook#initialize (method)">#initialize</a></span>
+ <span class='object_link'><a href="Axlsx/TableStyleElement.html#initialize-instance_method" title="Axlsx::TableStyleElement#initialize (method)">#initialize</a></span>
- <small>Axlsx::Workbook</small>
+ <small>Axlsx::TableStyleElement</small>
</li>
<li class="r2 ">
- <span class='object_link'><a href="Axlsx/Line3DChart.html#initialize-instance_method" title="Axlsx::Line3DChart#initialize (method)">#initialize</a></span>
+ <span class='object_link'><a href="Axlsx/Drawing.html#initialize-instance_method" title="Axlsx::Drawing#initialize (method)">#initialize</a></span>
- <small>Axlsx::Line3DChart</small>
+ <small>Axlsx::Drawing</small>
</li>
<li class="r1 ">
- <span class='object_link'><a href="Axlsx/TableStyle.html#initialize-instance_method" title="Axlsx::TableStyle#initialize (method)">#initialize</a></span>
+ <span class='object_link'><a href="Axlsx/Series.html#initialize-instance_method" title="Axlsx::Series#initialize (method)">#initialize</a></span>
- <small>Axlsx::TableStyle</small>
+ <small>Axlsx::Series</small>
</li>
<li class="r2 ">
- <span class='object_link'><a href="Axlsx/PatternFill.html#initialize-instance_method" title="Axlsx::PatternFill#initialize (method)">#initialize</a></span>
+ <span class='object_link'><a href="Axlsx/TwoCellAnchor.html#initialize-instance_method" title="Axlsx::TwoCellAnchor#initialize (method)">#initialize</a></span>
- <small>Axlsx::PatternFill</small>
+ <small>Axlsx::TwoCellAnchor</small>
</li>
<li class="r1 ">
- <span class='object_link'><a href="Axlsx/GraphicFrame.html#initialize-instance_method" title="Axlsx::GraphicFrame#initialize (method)">#initialize</a></span>
+ <span class='object_link'><a href="Axlsx/Chart.html#initialize-instance_method" title="Axlsx::Chart#initialize (method)">#initialize</a></span>
- <small>Axlsx::GraphicFrame</small>
+ <small>Axlsx::Chart</small>
</li>
<li class="r2 ">
- <span class='object_link'><a href="Axlsx/Xf.html#initialize-instance_method" title="Axlsx::Xf#initialize (method)">#initialize</a></span>
+ <span class='object_link'><a href="Axlsx/Default.html#initialize-instance_method" title="Axlsx::Default#initialize (method)">#initialize</a></span>
- <small>Axlsx::Xf</small>
+ <small>Axlsx::Default</small>
</li>
<li class="r1 ">
- <span class='object_link'><a href="Axlsx/GradientStop.html#initialize-instance_method" title="Axlsx::GradientStop#initialize (method)">#initialize</a></span>
+ <span class='object_link'><a href="Axlsx/CatAxis.html#initialize-instance_method" title="Axlsx::CatAxis#initialize (method)">#initialize</a></span>
- <small>Axlsx::GradientStop</small>
+ <small>Axlsx::CatAxis</small>
</li>
<li class="r2 ">
- <span class='object_link'><a href="Axlsx/Override.html#initialize-instance_method" title="Axlsx::Override#initialize (method)">#initialize</a></span>
+ <span class='object_link'><a href="Axlsx/Color.html#initialize-instance_method" title="Axlsx::Color#initialize (method)">#initialize</a></span>
- <small>Axlsx::Override</small>
+ <small>Axlsx::Color</small>
</li>
<li class="r1 ">
- <span class='object_link'><a href="Axlsx/TableStyles.html#initialize-instance_method" title="Axlsx::TableStyles#initialize (method)">#initialize</a></span>
+ <span class='object_link'><a href="Axlsx/Border.html#initialize-instance_method" title="Axlsx::Border#initialize (method)">#initialize</a></span>
- <small>Axlsx::TableStyles</small>
+ <small>Axlsx::Border</small>
</li>
<li class="r2 ">
- <span class='object_link'><a href="Axlsx/Marker.html#initialize-instance_method" title="Axlsx::Marker#initialize (method)">#initialize</a></span>
+ <span class='object_link'><a href="Axlsx/PatternFill.html#initialize-instance_method" title="Axlsx::PatternFill#initialize (method)">#initialize</a></span>
- <small>Axlsx::Marker</small>
+ <small>Axlsx::PatternFill</small>
</li>
<li class="r1 ">
- <span class='object_link'><a href="Axlsx/ContentType.html#initialize-instance_method" title="Axlsx::ContentType#initialize (method)">#initialize</a></span>
+ <span class='object_link'><a href="Axlsx/CatAxisData.html#initialize-instance_method" title="Axlsx::CatAxisData#initialize (method)">#initialize</a></span>
- <small>Axlsx::ContentType</small>
+ <small>Axlsx::CatAxisData</small>
</li>
<li class="r2 ">
- <span class='object_link'><a href="Axlsx/GradientFill.html#initialize-instance_method" title="Axlsx::GradientFill#initialize (method)">#initialize</a></span>
+ <span class='object_link'><a href="Axlsx/Relationships.html#initialize-instance_method" title="Axlsx::Relationships#initialize (method)">#initialize</a></span>
- <small>Axlsx::GradientFill</small>
+ <small>Axlsx::Relationships</small>
</li>
<li class="r1 ">
- <span class='object_link'><a href="Axlsx/Color.html#initialize-instance_method" title="Axlsx::Color#initialize (method)">#initialize</a></span>
+ <span class='object_link'><a href="Axlsx/Row.html#initialize-instance_method" title="Axlsx::Row#initialize (method)">#initialize</a></span>
- <small>Axlsx::Color</small>
+ <small>Axlsx::Row</small>
</li>
<li class="r2 ">
- <span class='object_link'><a href="Axlsx/CellStyle.html#initialize-instance_method" title="Axlsx::CellStyle#initialize (method)">#initialize</a></span>
+ <span class='object_link'><a href="Axlsx/Scaling.html#initialize-instance_method" title="Axlsx::Scaling#initialize (method)">#initialize</a></span>
- <small>Axlsx::CellStyle</small>
+ <small>Axlsx::Scaling</small>
</li>
<li class="r1 ">
- <span class='object_link'><a href="Axlsx/Chart.html#initialize-instance_method" title="Axlsx::Chart#initialize (method)">#initialize</a></span>
+ <span class='object_link'><a href="Axlsx/Workbook.html#initialize-instance_method" title="Axlsx::Workbook#initialize (method)">#initialize</a></span>
- <small>Axlsx::Chart</small>
+ <small>Axlsx::Workbook</small>
</li>
<li class="r2 ">
- <span class='object_link'><a href="Axlsx/Font.html#initialize-instance_method" title="Axlsx::Font#initialize (method)">#initialize</a></span>
+ <span class='object_link'><a href="Axlsx/NumFmt.html#initialize-instance_method" title="Axlsx::NumFmt#initialize (method)">#initialize</a></span>
- <small>Axlsx::Font</small>
+ <small>Axlsx::NumFmt</small>
</li>
@@ -1489,105 +1505,105 @@
<li class="r2 ">
- <span class='object_link'><a href="Axlsx/Pie3DChart.html#initialize-instance_method" title="Axlsx::Pie3DChart#initialize (method)">#initialize</a></span>
+ <span class='object_link'><a href="Axlsx/Title.html#initialize-instance_method" title="Axlsx::Title#initialize (method)">#initialize</a></span>
- <small>Axlsx::Pie3DChart</small>
+ <small>Axlsx::Title</small>
</li>
<li class="r1 ">
- <span class='object_link'><a href="Axlsx/Series.html#initialize-instance_method" title="Axlsx::Series#initialize (method)">#initialize</a></span>
+ <span class='object_link'><a href="Axlsx/Worksheet.html#initialize-instance_method" title="Axlsx::Worksheet#initialize (method)">#initialize</a></span>
- <small>Axlsx::Series</small>
+ <small>Axlsx::Worksheet</small>
</li>
<li class="r2 ">
- <span class='object_link'><a href="Axlsx/View3D.html#initialize-instance_method" title="Axlsx::View3D#initialize (method)">#initialize</a></span>
+ <span class='object_link'><a href="Axlsx/GraphicFrame.html#initialize-instance_method" title="Axlsx::GraphicFrame#initialize (method)">#initialize</a></span>
- <small>Axlsx::View3D</small>
+ <small>Axlsx::GraphicFrame</small>
</li>
<li class="r1 ">
- <span class='object_link'><a href="Axlsx/SerAxis.html#initialize-instance_method" title="Axlsx::SerAxis#initialize (method)">#initialize</a></span>
+ <span class='object_link'><a href="Axlsx/Font.html#initialize-instance_method" title="Axlsx::Font#initialize (method)">#initialize</a></span>
- <small>Axlsx::SerAxis</small>
+ <small>Axlsx::Font</small>
</li>
<li class="r2 ">
- <span class='object_link'><a href="Axlsx/Relationship.html#initialize-instance_method" title="Axlsx::Relationship#initialize (method)">#initialize</a></span>
+ <span class='object_link'><a href="Axlsx/Styles.html#initialize-instance_method" title="Axlsx::Styles#initialize (method)">#initialize</a></span>
- <small>Axlsx::Relationship</small>
+ <small>Axlsx::Styles</small>
</li>
<li class="r1 ">
- <span class='object_link'><a href="Axlsx/Worksheet.html#initialize-instance_method" title="Axlsx::Worksheet#initialize (method)">#initialize</a></span>
+ <span class='object_link'><a href="Axlsx/ValAxis.html#initialize-instance_method" title="Axlsx::ValAxis#initialize (method)">#initialize</a></span>
- <small>Axlsx::Worksheet</small>
+ <small>Axlsx::ValAxis</small>
</li>
<li class="r2 ">
- <span class='object_link'><a href="Axlsx/Bar3DChart.html#initialize-instance_method" title="Axlsx::Bar3DChart#initialize (method)">#initialize</a></span>
+ <span class='object_link'><a href="Axlsx/PieSeries.html#initialize-instance_method" title="Axlsx::PieSeries#initialize (method)">#initialize</a></span>
- <small>Axlsx::Bar3DChart</small>
+ <small>Axlsx::PieSeries</small>
</li>
<li class="r1 ">
- <span class='object_link'><a href="Axlsx/Default.html#initialize-instance_method" title="Axlsx::Default#initialize (method)">#initialize</a></span>
+ <span class='object_link'><a href="Axlsx/Cell.html#initialize-instance_method" title="Axlsx::Cell#initialize (method)">#initialize</a></span>
- <small>Axlsx::Default</small>
+ <small>Axlsx::Cell</small>
</li>
<li class="r2 ">
- <span class='object_link'><a href="Axlsx/CatAxis.html#initialize-instance_method" title="Axlsx::CatAxis#initialize (method)">#initialize</a></span>
+ <span class='object_link'><a href="Axlsx/LineSeries.html#initialize-instance_method" title="Axlsx::LineSeries#initialize (method)">#initialize</a></span>
- <small>Axlsx::CatAxis</small>
+ <small>Axlsx::LineSeries</small>
</li>
<li class="r1 ">
- <span class='object_link'><a href="Axlsx/Relationships.html#initialize-instance_method" title="Axlsx::Relationships#initialize (method)">#initialize</a></span>
+ <span class='object_link'><a href="Axlsx/Override.html#initialize-instance_method" title="Axlsx::Override#initialize (method)">#initialize</a></span>
- <small>Axlsx::Relationships</small>
+ <small>Axlsx::Override</small>
</li>
<li class="r2 ">
- <span class='object_link'><a href="Axlsx/BarSeries.html#initialize-instance_method" title="Axlsx::BarSeries#initialize (method)">#initialize</a></span>
+ <span class='object_link'><a href="Axlsx/BorderPr.html#initialize-instance_method" title="Axlsx::BorderPr#initialize (method)">#initialize</a></span>
- <small>Axlsx::BarSeries</small>
+ <small>Axlsx::BorderPr</small>
</li>
<li class="r1 ">
- <span class='object_link'><a href="Axlsx/TableStyleElement.html#initialize-instance_method" title="Axlsx::TableStyleElement#initialize (method)">#initialize</a></span>
+ <span class='object_link'><a href="Axlsx/ContentType.html#initialize-instance_method" title="Axlsx::ContentType#initialize (method)">#initialize</a></span>
- <small>Axlsx::TableStyleElement</small>
+ <small>Axlsx::ContentType</small>
</li>
<li class="r2 ">
- <span class='object_link'><a href="Axlsx/Axis.html#initialize-instance_method" title="Axlsx::Axis#initialize (method)">#initialize</a></span>
+ <span class='object_link'><a href="Axlsx/Line3DChart.html#initialize-instance_method" title="Axlsx::Line3DChart#initialize (method)">#initialize</a></span>
- <small>Axlsx::Axis</small>
+ <small>Axlsx::Line3DChart</small>
</li>
@@ -1609,17 +1625,17 @@
<li class="r1 ">
- <span class='object_link'><a href="Axlsx/PieSeries.html#labels-instance_method" title="Axlsx::PieSeries#labels (method)">#labels</a></span>
+ <span class='object_link'><a href="Axlsx/BarSeries.html#labels-instance_method" title="Axlsx::BarSeries#labels (method)">#labels</a></span>
- <small>Axlsx::PieSeries</small>
+ <small>Axlsx::BarSeries</small>
</li>
<li class="r2 ">
- <span class='object_link'><a href="Axlsx/BarSeries.html#labels-instance_method" title="Axlsx::BarSeries#labels (method)">#labels</a></span>
+ <span class='object_link'><a href="Axlsx/PieSeries.html#labels-instance_method" title="Axlsx::PieSeries#labels (method)">#labels</a></span>
- <small>Axlsx::BarSeries</small>
+ <small>Axlsx::PieSeries</small>
</li>
@@ -1713,25 +1729,25 @@
<li class="r2 ">
- <span class='object_link'><a href="Axlsx/Font.html#name-instance_method" title="Axlsx::Font#name (method)">#name</a></span>
+ <span class='object_link'><a href="Axlsx/TableStyle.html#name-instance_method" title="Axlsx::TableStyle#name (method)">#name</a></span>
- <small>Axlsx::Font</small>
+ <small>Axlsx::TableStyle</small>
</li>
<li class="r1 ">
- <span class='object_link'><a href="Axlsx/Worksheet.html#name-instance_method" title="Axlsx::Worksheet#name (method)">#name</a></span>
+ <span class='object_link'><a href="Axlsx/Font.html#name-instance_method" title="Axlsx::Font#name (method)">#name</a></span>
- <small>Axlsx::Worksheet</small>
+ <small>Axlsx::Font</small>
</li>
<li class="r2 ">
- <span class='object_link'><a href="Axlsx/TableStyle.html#name-instance_method" title="Axlsx::TableStyle#name (method)">#name</a></span>
+ <span class='object_link'><a href="Axlsx/Worksheet.html#name-instance_method" title="Axlsx::Worksheet#name (method)">#name</a></span>
- <small>Axlsx::TableStyle</small>
+ <small>Axlsx::Worksheet</small>
</li>
@@ -1929,25 +1945,25 @@
<li class="r1 ">
- <span class='object_link'><a href="Axlsx/Worksheet.html#rId-instance_method" title="Axlsx::Worksheet#rId (method)">#rId</a></span>
+ <span class='object_link'><a href="Axlsx/Drawing.html#rId-instance_method" title="Axlsx::Drawing#rId (method)">#rId</a></span>
- <small>Axlsx::Worksheet</small>
+ <small>Axlsx::Drawing</small>
</li>
<li class="r2 ">
- <span class='object_link'><a href="Axlsx/Drawing.html#rId-instance_method" title="Axlsx::Drawing#rId (method)">#rId</a></span>
+ <span class='object_link'><a href="Axlsx/GraphicFrame.html#rId-instance_method" title="Axlsx::GraphicFrame#rId (method)">#rId</a></span>
- <small>Axlsx::Drawing</small>
+ <small>Axlsx::GraphicFrame</small>
</li>
<li class="r1 ">
- <span class='object_link'><a href="Axlsx/GraphicFrame.html#rId-instance_method" title="Axlsx::GraphicFrame#rId (method)">#rId</a></span>
+ <span class='object_link'><a href="Axlsx/Worksheet.html#rId-instance_method" title="Axlsx::Worksheet#rId (method)">#rId</a></span>
- <small>Axlsx::GraphicFrame</small>
+ <small>Axlsx::Worksheet</small>
</li>
@@ -1977,9 +1993,9 @@
<li class="r1 ">
- <span class='object_link'><a href="Axlsx/Workbook.html#relationships-instance_method" title="Axlsx::Workbook#relationships (method)">#relationships</a></span>
+ <span class='object_link'><a href="Axlsx/Worksheet.html#relationships-instance_method" title="Axlsx::Worksheet#relationships (method)">#relationships</a></span>
- <small>Axlsx::Workbook</small>
+ <small>Axlsx::Worksheet</small>
</li>
@@ -1993,9 +2009,9 @@
<li class="r1 ">
- <span class='object_link'><a href="Axlsx/Worksheet.html#relationships-instance_method" title="Axlsx::Worksheet#relationships (method)">#relationships</a></span>
+ <span class='object_link'><a href="Axlsx/Workbook.html#relationships-instance_method" title="Axlsx::Workbook#relationships (method)">#relationships</a></span>
- <small>Axlsx::Worksheet</small>
+ <small>Axlsx::Workbook</small>
</li>
@@ -2017,17 +2033,17 @@
<li class="r2 ">
- <span class='object_link'><a href="Axlsx/Worksheet.html#rels_pn-instance_method" title="Axlsx::Worksheet#rels_pn (method)">#rels_pn</a></span>
+ <span class='object_link'><a href="Axlsx/Drawing.html#rels_pn-instance_method" title="Axlsx::Drawing#rels_pn (method)">#rels_pn</a></span>
- <small>Axlsx::Worksheet</small>
+ <small>Axlsx::Drawing</small>
</li>
<li class="r1 ">
- <span class='object_link'><a href="Axlsx/Drawing.html#rels_pn-instance_method" title="Axlsx::Drawing#rels_pn (method)">#rels_pn</a></span>
+ <span class='object_link'><a href="Axlsx/Worksheet.html#rels_pn-instance_method" title="Axlsx::Worksheet#rels_pn (method)">#rels_pn</a></span>
- <small>Axlsx::Drawing</small>
+ <small>Axlsx::Worksheet</small>
</li>
@@ -2193,14 +2209,6 @@
<li class="r2 ">
- <span class='object_link'><a href="Axlsx/TwoCellAnchor.html#start_at-instance_method" title="Axlsx::TwoCellAnchor#start_at (method)">#start_at</a></span>
-
- <small>Axlsx::TwoCellAnchor</small>
-
- </li>
-
-
- <li class="r1 ">
<span class='object_link'><a href="Axlsx/Chart.html#start_at-instance_method" title="Axlsx::Chart#start_at (method)">#start_at</a></span>
<small>Axlsx::Chart</small>
@@ -2208,7 +2216,7 @@
</li>
- <li class="r2 ">
+ <li class="r1 ">
<span class='object_link'><a href="Axlsx/GradientFill.html#stop-instance_method" title="Axlsx::GradientFill#stop (method)">#stop</a></span>
<small>Axlsx::GradientFill</small>
@@ -2216,7 +2224,7 @@
</li>
- <li class="r1 ">
+ <li class="r2 ">
<span class='object_link'><a href="Axlsx/Font.html#strike-instance_method" title="Axlsx::Font#strike (method)">#strike</a></span>
<small>Axlsx::Font</small>
@@ -2224,14 +2232,6 @@
</li>
- <li class="r2 ">
- <span class='object_link'><a href="Axlsx/Chart.html#style-instance_method" title="Axlsx::Chart#style (method)">#style</a></span>
-
- <small>Axlsx::Chart</small>
-
- </li>
-
-
<li class="r1 ">
<span class='object_link'><a href="Axlsx/BorderPr.html#style-instance_method" title="Axlsx::BorderPr#style (method)">#style</a></span>
@@ -2249,6 +2249,14 @@
<li class="r1 ">
+ <span class='object_link'><a href="Axlsx/Chart.html#style-instance_method" title="Axlsx::Chart#style (method)">#style</a></span>
+
+ <small>Axlsx::Chart</small>
+
+ </li>
+
+
+ <li class="r2 ">
<span class='object_link'><a href="Axlsx/Workbook.html#styles-instance_method" title="Axlsx::Workbook#styles (method)">#styles</a></span>
<small>Axlsx::Workbook</small>
@@ -2256,7 +2264,7 @@
</li>
- <li class="r2 ">
+ <li class="r1 ">
<span class='object_link'><a href="Axlsx/Font.html#sz-instance_method" title="Axlsx::Font#sz (method)">#sz</a></span>
<small>Axlsx::Font</small>
@@ -2264,7 +2272,7 @@
</li>
- <li class="r1 ">
+ <li class="r2 ">
<span class='object_link'><a href="Axlsx/TableStyle.html#table-instance_method" title="Axlsx::TableStyle#table (method)">#table</a></span>
<small>Axlsx::TableStyle</small>
@@ -2272,7 +2280,7 @@
</li>
- <li class="r2 ">
+ <li class="r1 ">
<span class='object_link'><a href="Axlsx/Styles.html#tableStyles-instance_method" title="Axlsx::Styles#tableStyles (method)">#tableStyles</a></span>
<small>Axlsx::Styles</small>
@@ -2280,7 +2288,7 @@
</li>
- <li class="r1 ">
+ <li class="r2 ">
<span class='object_link'><a href="Axlsx/Title.html#text-instance_method" title="Axlsx::Title#text (method)">#text</a></span>
<small>Axlsx::Title</small>
@@ -2288,7 +2296,7 @@
</li>
- <li class="r2 ">
+ <li class="r1 ">
<span class='object_link'><a href="Axlsx/CellAlignment.html#textRotation-instance_method" title="Axlsx::CellAlignment#textRotation (method)">#textRotation</a></span>
<small>Axlsx::CellAlignment</small>
@@ -2296,7 +2304,7 @@
</li>
- <li class="r1 ">
+ <li class="r2 ">
<span class='object_link'><a href="Axlsx/Axis.html#tickLblPos-instance_method" title="Axlsx::Axis#tickLblPos (method)">#tickLblPos</a></span>
<small>Axlsx::Axis</small>
@@ -2304,7 +2312,7 @@
</li>
- <li class="r2 ">
+ <li class="r1 ">
<span class='object_link'><a href="Axlsx/SerAxis.html#tickLblSkip-instance_method" title="Axlsx::SerAxis#tickLblSkip (method)">#tickLblSkip</a></span>
<small>Axlsx::SerAxis</small>
@@ -2312,7 +2320,7 @@
</li>
- <li class="r1 ">
+ <li class="r2 ">
<span class='object_link'><a href="Axlsx/SerAxis.html#tickMarkSkip-instance_method" title="Axlsx::SerAxis#tickMarkSkip (method)">#tickMarkSkip</a></span>
<small>Axlsx::SerAxis</small>
@@ -2320,7 +2328,7 @@
</li>
- <li class="r2 ">
+ <li class="r1 ">
<span class='object_link'><a href="Axlsx/Color.html#tint-instance_method" title="Axlsx::Color#tint (method)">#tint</a></span>
<small>Axlsx::Color</small>
@@ -2328,7 +2336,7 @@
</li>
- <li class="r1 ">
+ <li class="r2 ">
<span class='object_link'><a href="Axlsx/Chart.html#title-instance_method" title="Axlsx::Chart#title (method)">#title</a></span>
<small>Axlsx::Chart</small>
@@ -2336,7 +2344,7 @@
</li>
- <li class="r2 ">
+ <li class="r1 ">
<span class='object_link'><a href="Axlsx/Series.html#title-instance_method" title="Axlsx::Series#title (method)">#title</a></span>
<small>Axlsx::Series</small>
@@ -2344,6 +2352,14 @@
</li>
+ <li class="r2 ">
+ <span class='object_link'><a href="Axlsx/Chart.html#to-instance_method" title="Axlsx::Chart#to (method)">#to</a></span>
+
+ <small>Axlsx::Chart</small>
+
+ </li>
+
+
<li class="r1 ">
<span class='object_link'><a href="Axlsx/TwoCellAnchor.html#to-instance_method" title="Axlsx::TwoCellAnchor#to (method)">#to</a></span>
@@ -2353,393 +2369,409 @@
<li class="r2 ">
- <span class='object_link'><a href="Axlsx/Xf.html#to_xml-instance_method" title="Axlsx::Xf#to_xml (method)">#to_xml</a></span>
+ <span class='object_link'><a href="Axlsx/SimpleTypedList.html#to_xml-instance_method" title="Axlsx::SimpleTypedList#to_xml (method)">#to_xml</a></span>
- <small>Axlsx::Xf</small>
+ <small>Axlsx::SimpleTypedList</small>
</li>
<li class="r1 ">
- <span class='object_link'><a href="Axlsx/Line3DChart.html#to_xml-instance_method" title="Axlsx::Line3DChart#to_xml (method)">#to_xml</a></span>
+ <span class='object_link'><a href="Axlsx/Drawing.html#to_xml-instance_method" title="Axlsx::Drawing#to_xml (method)">#to_xml</a></span>
- <small>Axlsx::Line3DChart</small>
+ <small>Axlsx::Drawing</small>
</li>
<li class="r2 ">
- <span class='object_link'><a href="Axlsx/Styles.html#to_xml-instance_method" title="Axlsx::Styles#to_xml (method)">#to_xml</a></span>
+ <span class='object_link'><a href="Axlsx/Relationship.html#to_xml-instance_method" title="Axlsx::Relationship#to_xml (method)">#to_xml</a></span>
- <small>Axlsx::Styles</small>
+ <small>Axlsx::Relationship</small>
</li>
<li class="r1 ">
- <span class='object_link'><a href="Axlsx/Relationship.html#to_xml-instance_method" title="Axlsx::Relationship#to_xml (method)">#to_xml</a></span>
+ <span class='object_link'><a href="Axlsx/CellStyle.html#to_xml-instance_method" title="Axlsx::CellStyle#to_xml (method)">#to_xml</a></span>
- <small>Axlsx::Relationship</small>
+ <small>Axlsx::CellStyle</small>
</li>
<li class="r2 ">
- <span class='object_link'><a href="Axlsx/Workbook.html#to_xml-instance_method" title="Axlsx::Workbook#to_xml (method)">#to_xml</a></span>
+ <span class='object_link'><a href="Axlsx/View3D.html#to_xml-instance_method" title="Axlsx::View3D#to_xml (method)">#to_xml</a></span>
- <small>Axlsx::Workbook</small>
+ <small>Axlsx::View3D</small>
</li>
<li class="r1 ">
- <span class='object_link'><a href="Axlsx/GraphicFrame.html#to_xml-instance_method" title="Axlsx::GraphicFrame#to_xml (method)">#to_xml</a></span>
+ <span class='object_link'><a href="Axlsx/Bar3DChart.html#to_xml-instance_method" title="Axlsx::Bar3DChart#to_xml (method)">#to_xml</a></span>
- <small>Axlsx::GraphicFrame</small>
+ <small>Axlsx::Bar3DChart</small>
</li>
<li class="r2 ">
- <span class='object_link'><a href="Axlsx/Cell.html#to_xml-instance_method" title="Axlsx::Cell#to_xml (method)">#to_xml</a></span>
+ <span class='object_link'><a href="Axlsx/Fill.html#to_xml-instance_method" title="Axlsx::Fill#to_xml (method)">#to_xml</a></span>
- <small>Axlsx::Cell</small>
+ <small>Axlsx::Fill</small>
</li>
<li class="r1 ">
- <span class='object_link'><a href="Axlsx/Override.html#to_xml-instance_method" title="Axlsx::Override#to_xml (method)">#to_xml</a></span>
+ <span class='object_link'><a href="Axlsx/Default.html#to_xml-instance_method" title="Axlsx::Default#to_xml (method)">#to_xml</a></span>
- <small>Axlsx::Override</small>
+ <small>Axlsx::Default</small>
</li>
<li class="r2 ">
- <span class='object_link'><a href="Axlsx/Color.html#to_xml-instance_method" title="Axlsx::Color#to_xml (method)">#to_xml</a></span>
+ <span class='object_link'><a href="Axlsx/App.html#to_xml-instance_method" title="Axlsx::App#to_xml (method)">#to_xml</a></span>
- <small>Axlsx::Color</small>
+ <small>Axlsx::App</small>
</li>
<li class="r1 ">
- <span class='object_link'><a href="Axlsx/GradientFill.html#to_xml-instance_method" title="Axlsx::GradientFill#to_xml (method)">#to_xml</a></span>
+ <span class='object_link'><a href="Axlsx/Core.html#to_xml-instance_method" title="Axlsx::Core#to_xml (method)">#to_xml</a></span>
- <small>Axlsx::GradientFill</small>
+ <small>Axlsx::Core</small>
</li>
<li class="r2 ">
- <span class='object_link'><a href="Axlsx/Font.html#to_xml-instance_method" title="Axlsx::Font#to_xml (method)">#to_xml</a></span>
+ <span class='object_link'><a href="Axlsx/Row.html#to_xml-instance_method" title="Axlsx::Row#to_xml (method)">#to_xml</a></span>
- <small>Axlsx::Font</small>
+ <small>Axlsx::Row</small>
</li>
<li class="r1 ">
- <span class='object_link'><a href="Axlsx/View3D.html#to_xml-instance_method" title="Axlsx::View3D#to_xml (method)">#to_xml</a></span>
+ <span class='object_link'><a href="Axlsx/Axis.html#to_xml-instance_method" title="Axlsx::Axis#to_xml (method)">#to_xml</a></span>
- <small>Axlsx::View3D</small>
+ <small>Axlsx::Axis</small>
</li>
<li class="r2 ">
- <span class='object_link'><a href="Axlsx/GradientStop.html#to_xml-instance_method" title="Axlsx::GradientStop#to_xml (method)">#to_xml</a></span>
+ <span class='object_link'><a href="Axlsx/BorderPr.html#to_xml-instance_method" title="Axlsx::BorderPr#to_xml (method)">#to_xml</a></span>
- <small>Axlsx::GradientStop</small>
+ <small>Axlsx::BorderPr</small>
</li>
<li class="r1 ">
- <span class='object_link'><a href="Axlsx/CellAlignment.html#to_xml-instance_method" title="Axlsx::CellAlignment#to_xml (method)">#to_xml</a></span>
+ <span class='object_link'><a href="Axlsx/Relationships.html#to_xml-instance_method" title="Axlsx::Relationships#to_xml (method)">#to_xml</a></span>
- <small>Axlsx::CellAlignment</small>
+ <small>Axlsx::Relationships</small>
</li>
<li class="r2 ">
- <span class='object_link'><a href="Axlsx/TableStyleElement.html#to_xml-instance_method" title="Axlsx::TableStyleElement#to_xml (method)">#to_xml</a></span>
+ <span class='object_link'><a href="Axlsx/Series.html#to_xml-instance_method" title="Axlsx::Series#to_xml (method)">#to_xml</a></span>
- <small>Axlsx::TableStyleElement</small>
+ <small>Axlsx::Series</small>
</li>
<li class="r1 ">
- <span class='object_link'><a href="Axlsx/BorderPr.html#to_xml-instance_method" title="Axlsx::BorderPr#to_xml (method)">#to_xml</a></span>
+ <span class='object_link'><a href="Axlsx/Override.html#to_xml-instance_method" title="Axlsx::Override#to_xml (method)">#to_xml</a></span>
- <small>Axlsx::BorderPr</small>
+ <small>Axlsx::Override</small>
</li>
<li class="r2 ">
- <span class='object_link'><a href="Axlsx/Bar3DChart.html#to_xml-instance_method" title="Axlsx::Bar3DChart#to_xml (method)">#to_xml</a></span>
+ <span class='object_link'><a href="Axlsx/PatternFill.html#to_xml-instance_method" title="Axlsx::PatternFill#to_xml (method)">#to_xml</a></span>
- <small>Axlsx::Bar3DChart</small>
+ <small>Axlsx::PatternFill</small>
</li>
<li class="r1 ">
- <span class='object_link'><a href="Axlsx/SimpleTypedList.html#to_xml-instance_method" title="Axlsx::SimpleTypedList#to_xml (method)">#to_xml</a></span>
+ <span class='object_link'><a href="Axlsx/TableStyle.html#to_xml-instance_method" title="Axlsx::TableStyle#to_xml (method)">#to_xml</a></span>
- <small>Axlsx::SimpleTypedList</small>
+ <small>Axlsx::TableStyle</small>
</li>
<li class="r2 ">
- <span class='object_link'><a href="Axlsx/Row.html#to_xml-instance_method" title="Axlsx::Row#to_xml (method)">#to_xml</a></span>
+ <span class='object_link'><a href="Axlsx/GraphicFrame.html#to_xml-instance_method" title="Axlsx::GraphicFrame#to_xml (method)">#to_xml</a></span>
- <small>Axlsx::Row</small>
+ <small>Axlsx::GraphicFrame</small>
</li>
<li class="r1 ">
- <span class='object_link'><a href="Axlsx/CatAxis.html#to_xml-instance_method" title="Axlsx::CatAxis#to_xml (method)">#to_xml</a></span>
+ <span class='object_link'><a href="Axlsx/Font.html#to_xml-instance_method" title="Axlsx::Font#to_xml (method)">#to_xml</a></span>
- <small>Axlsx::CatAxis</small>
+ <small>Axlsx::Font</small>
</li>
<li class="r2 ">
- <span class='object_link'><a href="Axlsx/Fill.html#to_xml-instance_method" title="Axlsx::Fill#to_xml (method)">#to_xml</a></span>
+ <span class='object_link'><a href="Axlsx/BarSeries.html#to_xml-instance_method" title="Axlsx::BarSeries#to_xml (method)">#to_xml</a></span>
- <small>Axlsx::Fill</small>
+ <small>Axlsx::BarSeries</small>
</li>
<li class="r1 ">
- <span class='object_link'><a href="Axlsx/CellProtection.html#to_xml-instance_method" title="Axlsx::CellProtection#to_xml (method)">#to_xml</a></span>
+ <span class='object_link'><a href="Axlsx/Worksheet.html#to_xml-instance_method" title="Axlsx::Worksheet#to_xml (method)">#to_xml</a></span>
- <small>Axlsx::CellProtection</small>
+ <small>Axlsx::Worksheet</small>
</li>
<li class="r2 ">
- <span class='object_link'><a href="Axlsx/Chart.html#to_xml-instance_method" title="Axlsx::Chart#to_xml (method)">#to_xml</a></span>
+ <span class='object_link'><a href="Axlsx/Pie3DChart.html#to_xml-instance_method" title="Axlsx::Pie3DChart#to_xml (method)">#to_xml</a></span>
- <small>Axlsx::Chart</small>
+ <small>Axlsx::Pie3DChart</small>
</li>
<li class="r1 ">
- <span class='object_link'><a href="Axlsx/Relationships.html#to_xml-instance_method" title="Axlsx::Relationships#to_xml (method)">#to_xml</a></span>
+ <span class='object_link'><a href="Axlsx/SeriesTitle.html#to_xml-instance_method" title="Axlsx::SeriesTitle#to_xml (method)">#to_xml</a></span>
- <small>Axlsx::Relationships</small>
+ <small>Axlsx::SeriesTitle</small>
</li>
<li class="r2 ">
- <span class='object_link'><a href="Axlsx/Marker.html#to_xml-instance_method" title="Axlsx::Marker#to_xml (method)">#to_xml</a></span>
+ <span class='object_link'><a href="Axlsx/TableStyles.html#to_xml-instance_method" title="Axlsx::TableStyles#to_xml (method)">#to_xml</a></span>
- <small>Axlsx::Marker</small>
+ <small>Axlsx::TableStyles</small>
</li>
<li class="r1 ">
- <span class='object_link'><a href="Axlsx/Worksheet.html#to_xml-instance_method" title="Axlsx::Worksheet#to_xml (method)">#to_xml</a></span>
+ <span class='object_link'><a href="Axlsx/ContentType.html#to_xml-instance_method" title="Axlsx::ContentType#to_xml (method)">#to_xml</a></span>
- <small>Axlsx::Worksheet</small>
+ <small>Axlsx::ContentType</small>
</li>
<li class="r2 ">
- <span class='object_link'><a href="Axlsx/Title.html#to_xml-instance_method" title="Axlsx::Title#to_xml (method)">#to_xml</a></span>
+ <span class='object_link'><a href="Axlsx/ValAxisData.html#to_xml-instance_method" title="Axlsx::ValAxisData#to_xml (method)">#to_xml</a></span>
- <small>Axlsx::Title</small>
+ <small>Axlsx::ValAxisData</small>
</li>
<li class="r1 ">
- <span class='object_link'><a href="Axlsx/PatternFill.html#to_xml-instance_method" title="Axlsx::PatternFill#to_xml (method)">#to_xml</a></span>
+ <span class='object_link'><a href="Axlsx/GradientFill.html#to_xml-instance_method" title="Axlsx::GradientFill#to_xml (method)">#to_xml</a></span>
- <small>Axlsx::PatternFill</small>
+ <small>Axlsx::GradientFill</small>
</li>
<li class="r2 ">
- <span class='object_link'><a href="Axlsx/TableStyles.html#to_xml-instance_method" title="Axlsx::TableStyles#to_xml (method)">#to_xml</a></span>
+ <span class='object_link'><a href="Axlsx/Line3DChart.html#to_xml-instance_method" title="Axlsx::Line3DChart#to_xml (method)">#to_xml</a></span>
- <small>Axlsx::TableStyles</small>
+ <small>Axlsx::Line3DChart</small>
</li>
<li class="r1 ">
- <span class='object_link'><a href="Axlsx/Axis.html#to_xml-instance_method" title="Axlsx::Axis#to_xml (method)">#to_xml</a></span>
+ <span class='object_link'><a href="Axlsx/LineSeries.html#to_xml-instance_method" title="Axlsx::LineSeries#to_xml (method)">#to_xml</a></span>
- <small>Axlsx::Axis</small>
+ <small>Axlsx::LineSeries</small>
</li>
<li class="r2 ">
- <span class='object_link'><a href="Axlsx/NumFmt.html#to_xml-instance_method" title="Axlsx::NumFmt#to_xml (method)">#to_xml</a></span>
+ <span class='object_link'><a href="Axlsx/ValAxis.html#to_xml-instance_method" title="Axlsx::ValAxis#to_xml (method)">#to_xml</a></span>
- <small>Axlsx::NumFmt</small>
+ <small>Axlsx::ValAxis</small>
</li>
<li class="r1 ">
- <span class='object_link'><a href="Axlsx/Series.html#to_xml-instance_method" title="Axlsx::Series#to_xml (method)">#to_xml</a></span>
+ <span class='object_link'><a href="Axlsx/Chart.html#to_xml-instance_method" title="Axlsx::Chart#to_xml (method)">#to_xml</a></span>
- <small>Axlsx::Series</small>
+ <small>Axlsx::Chart</small>
</li>
<li class="r2 ">
- <span class='object_link'><a href="Axlsx/SerAxis.html#to_xml-instance_method" title="Axlsx::SerAxis#to_xml (method)">#to_xml</a></span>
+ <span class='object_link'><a href="Axlsx/TwoCellAnchor.html#to_xml-instance_method" title="Axlsx::TwoCellAnchor#to_xml (method)">#to_xml</a></span>
- <small>Axlsx::SerAxis</small>
+ <small>Axlsx::TwoCellAnchor</small>
</li>
<li class="r1 ">
- <span class='object_link'><a href="Axlsx/Pie3DChart.html#to_xml-instance_method" title="Axlsx::Pie3DChart#to_xml (method)">#to_xml</a></span>
+ <span class='object_link'><a href="Axlsx/Workbook.html#to_xml-instance_method" title="Axlsx::Workbook#to_xml (method)">#to_xml</a></span>
- <small>Axlsx::Pie3DChart</small>
+ <small>Axlsx::Workbook</small>
</li>
<li class="r2 ">
- <span class='object_link'><a href="Axlsx/Drawing.html#to_xml-instance_method" title="Axlsx::Drawing#to_xml (method)">#to_xml</a></span>
+ <span class='object_link'><a href="Axlsx/CellAlignment.html#to_xml-instance_method" title="Axlsx::CellAlignment#to_xml (method)">#to_xml</a></span>
- <small>Axlsx::Drawing</small>
+ <small>Axlsx::CellAlignment</small>
</li>
<li class="r1 ">
- <span class='object_link'><a href="Axlsx/App.html#to_xml-instance_method" title="Axlsx::App#to_xml (method)">#to_xml</a></span>
+ <span class='object_link'><a href="Axlsx/Scaling.html#to_xml-instance_method" title="Axlsx::Scaling#to_xml (method)">#to_xml</a></span>
- <small>Axlsx::App</small>
+ <small>Axlsx::Scaling</small>
</li>
<li class="r2 ">
- <span class='object_link'><a href="Axlsx/Border.html#to_xml-instance_method" title="Axlsx::Border#to_xml (method)">#to_xml</a></span>
+ <span class='object_link'><a href="Axlsx/Title.html#to_xml-instance_method" title="Axlsx::Title#to_xml (method)">#to_xml</a></span>
- <small>Axlsx::Border</small>
+ <small>Axlsx::Title</small>
</li>
<li class="r1 ">
- <span class='object_link'><a href="Axlsx/Scaling.html#to_xml-instance_method" title="Axlsx::Scaling#to_xml (method)">#to_xml</a></span>
+ <span class='object_link'><a href="Axlsx/Cell.html#to_xml-instance_method" title="Axlsx::Cell#to_xml (method)">#to_xml</a></span>
- <small>Axlsx::Scaling</small>
+ <small>Axlsx::Cell</small>
</li>
<li class="r2 ">
- <span class='object_link'><a href="Axlsx/TableStyle.html#to_xml-instance_method" title="Axlsx::TableStyle#to_xml (method)">#to_xml</a></span>
+ <span class='object_link'><a href="Axlsx/CatAxisData.html#to_xml-instance_method" title="Axlsx::CatAxisData#to_xml (method)">#to_xml</a></span>
- <small>Axlsx::TableStyle</small>
+ <small>Axlsx::CatAxisData</small>
</li>
<li class="r1 ">
- <span class='object_link'><a href="Axlsx/ValAxis.html#to_xml-instance_method" title="Axlsx::ValAxis#to_xml (method)">#to_xml</a></span>
+ <span class='object_link'><a href="Axlsx/Marker.html#to_xml-instance_method" title="Axlsx::Marker#to_xml (method)">#to_xml</a></span>
- <small>Axlsx::ValAxis</small>
+ <small>Axlsx::Marker</small>
</li>
<li class="r2 ">
- <span class='object_link'><a href="Axlsx/Default.html#to_xml-instance_method" title="Axlsx::Default#to_xml (method)">#to_xml</a></span>
+ <span class='object_link'><a href="Axlsx/GradientStop.html#to_xml-instance_method" title="Axlsx::GradientStop#to_xml (method)">#to_xml</a></span>
- <small>Axlsx::Default</small>
+ <small>Axlsx::GradientStop</small>
</li>
<li class="r1 ">
- <span class='object_link'><a href="Axlsx/LineSeries.html#to_xml-instance_method" title="Axlsx::LineSeries#to_xml (method)">#to_xml</a></span>
+ <span class='object_link'><a href="Axlsx/CellProtection.html#to_xml-instance_method" title="Axlsx::CellProtection#to_xml (method)">#to_xml</a></span>
- <small>Axlsx::LineSeries</small>
+ <small>Axlsx::CellProtection</small>
</li>
<li class="r2 ">
- <span class='object_link'><a href="Axlsx/CellStyle.html#to_xml-instance_method" title="Axlsx::CellStyle#to_xml (method)">#to_xml</a></span>
+ <span class='object_link'><a href="Axlsx/SerAxis.html#to_xml-instance_method" title="Axlsx::SerAxis#to_xml (method)">#to_xml</a></span>
- <small>Axlsx::CellStyle</small>
+ <small>Axlsx::SerAxis</small>
</li>
<li class="r1 ">
- <span class='object_link'><a href="Axlsx/SeriesTitle.html#to_xml-instance_method" title="Axlsx::SeriesTitle#to_xml (method)">#to_xml</a></span>
+ <span class='object_link'><a href="Axlsx/Styles.html#to_xml-instance_method" title="Axlsx::Styles#to_xml (method)">#to_xml</a></span>
- <small>Axlsx::SeriesTitle</small>
+ <small>Axlsx::Styles</small>
</li>
<li class="r2 ">
- <span class='object_link'><a href="Axlsx/BarSeries.html#to_xml-instance_method" title="Axlsx::BarSeries#to_xml (method)">#to_xml</a></span>
+ <span class='object_link'><a href="Axlsx/PieSeries.html#to_xml-instance_method" title="Axlsx::PieSeries#to_xml (method)">#to_xml</a></span>
- <small>Axlsx::BarSeries</small>
+ <small>Axlsx::PieSeries</small>
</li>
<li class="r1 ">
- <span class='object_link'><a href="Axlsx/TwoCellAnchor.html#to_xml-instance_method" title="Axlsx::TwoCellAnchor#to_xml (method)">#to_xml</a></span>
+ <span class='object_link'><a href="Axlsx/CatAxis.html#to_xml-instance_method" title="Axlsx::CatAxis#to_xml (method)">#to_xml</a></span>
- <small>Axlsx::TwoCellAnchor</small>
+ <small>Axlsx::CatAxis</small>
</li>
<li class="r2 ">
- <span class='object_link'><a href="Axlsx/ContentType.html#to_xml-instance_method" title="Axlsx::ContentType#to_xml (method)">#to_xml</a></span>
+ <span class='object_link'><a href="Axlsx/Xf.html#to_xml-instance_method" title="Axlsx::Xf#to_xml (method)">#to_xml</a></span>
- <small>Axlsx::ContentType</small>
+ <small>Axlsx::Xf</small>
</li>
<li class="r1 ">
- <span class='object_link'><a href="Axlsx/Core.html#to_xml-instance_method" title="Axlsx::Core#to_xml (method)">#to_xml</a></span>
+ <span class='object_link'><a href="Axlsx/NumFmt.html#to_xml-instance_method" title="Axlsx::NumFmt#to_xml (method)">#to_xml</a></span>
- <small>Axlsx::Core</small>
+ <small>Axlsx::NumFmt</small>
</li>
<li class="r2 ">
- <span class='object_link'><a href="Axlsx/PieSeries.html#to_xml-instance_method" title="Axlsx::PieSeries#to_xml (method)">#to_xml</a></span>
+ <span class='object_link'><a href="Axlsx/Color.html#to_xml-instance_method" title="Axlsx::Color#to_xml (method)">#to_xml</a></span>
- <small>Axlsx::PieSeries</small>
+ <small>Axlsx::Color</small>
+
+ </li>
+
+
+ <li class="r1 ">
+ <span class='object_link'><a href="Axlsx/TableStyleElement.html#to_xml-instance_method" title="Axlsx::TableStyleElement#to_xml (method)">#to_xml</a></span>
+
+ <small>Axlsx::TableStyleElement</small>
+
+ </li>
+
+
+ <li class="r2 ">
+ <span class='object_link'><a href="Axlsx/Border.html#to_xml-instance_method" title="Axlsx::Border#to_xml (method)">#to_xml</a></span>
+
+ <small>Axlsx::Border</small>
</li>
@@ -2761,17 +2793,17 @@
<li class="r1 ">
- <span class='object_link'><a href="Axlsx/Cell.html#type-instance_method" title="Axlsx::Cell#type (method)">#type</a></span>
+ <span class='object_link'><a href="Axlsx/TableStyleElement.html#type-instance_method" title="Axlsx::TableStyleElement#type (method)">#type</a></span>
- <small>Axlsx::Cell</small>
+ <small>Axlsx::TableStyleElement</small>
</li>
<li class="r2 ">
- <span class='object_link'><a href="Axlsx/TableStyleElement.html#type-instance_method" title="Axlsx::TableStyleElement#type (method)">#type</a></span>
+ <span class='object_link'><a href="Axlsx/Cell.html#type-instance_method" title="Axlsx::Cell#type (method)">#type</a></span>
- <small>Axlsx::TableStyleElement</small>
+ <small>Axlsx::Cell</small>
</li>
@@ -2809,9 +2841,9 @@
<li class="r1 ">
- <span class='object_link'><a href="Axlsx/DataTypeValidator.html#validate-class_method" title="Axlsx::DataTypeValidator.validate (method)">validate</a></span>
+ <span class='object_link'><a href="Axlsx/Package.html#validate-instance_method" title="Axlsx::Package#validate (method)">#validate</a></span>
- <small>Axlsx::DataTypeValidator</small>
+ <small>Axlsx::Package</small>
</li>
@@ -2833,9 +2865,9 @@
<li class="r2 ">
- <span class='object_link'><a href="Axlsx/Package.html#validate-instance_method" title="Axlsx::Package#validate (method)">#validate</a></span>
+ <span class='object_link'><a href="Axlsx/DataTypeValidator.html#validate-class_method" title="Axlsx::DataTypeValidator.validate (method)">validate</a></span>
- <small>Axlsx::Package</small>
+ <small>Axlsx::DataTypeValidator</small>
</li>
@@ -2969,33 +3001,33 @@
<li class="r1 ">
- <span class='object_link'><a href="Axlsx/Package.html#workbook-instance_method" title="Axlsx::Package#workbook (method)">#workbook</a></span>
+ <span class='object_link'><a href="Axlsx/Worksheet.html#workbook-instance_method" title="Axlsx::Worksheet#workbook (method)">#workbook</a></span>
- <small>Axlsx::Package</small>
+ <small>Axlsx::Worksheet</small>
</li>
<li class="r2 ">
- <span class='object_link'><a href="Axlsx/Worksheet.html#workbook-instance_method" title="Axlsx::Worksheet#workbook (method)">#workbook</a></span>
+ <span class='object_link'><a href="Axlsx/Package.html#workbook-instance_method" title="Axlsx::Package#workbook (method)">#workbook</a></span>
- <small>Axlsx::Worksheet</small>
+ <small>Axlsx::Package</small>
</li>
<li class="r1 ">
- <span class='object_link'><a href="Axlsx/Drawing.html#worksheet-instance_method" title="Axlsx::Drawing#worksheet (method)">#worksheet</a></span>
+ <span class='object_link'><a href="Axlsx/Row.html#worksheet-instance_method" title="Axlsx::Row#worksheet (method)">#worksheet</a></span>
- <small>Axlsx::Drawing</small>
+ <small>Axlsx::Row</small>
</li>
<li class="r2 ">
- <span class='object_link'><a href="Axlsx/Row.html#worksheet-instance_method" title="Axlsx::Row#worksheet (method)">#worksheet</a></span>
+ <span class='object_link'><a href="Axlsx/Drawing.html#worksheet-instance_method" title="Axlsx::Drawing#worksheet (method)">#worksheet</a></span>
- <small>Axlsx::Row</small>
+ <small>Axlsx::Drawing</small>
</li>
@@ -3017,17 +3049,17 @@
<li class="r1 ">
- <span class='object_link'><a href="Axlsx/CellStyle.html#xfId-instance_method" title="Axlsx::CellStyle#xfId (method)">#xfId</a></span>
+ <span class='object_link'><a href="Axlsx/Xf.html#xfId-instance_method" title="Axlsx::Xf#xfId (method)">#xfId</a></span>
- <small>Axlsx::CellStyle</small>
+ <small>Axlsx::Xf</small>
</li>
<li class="r2 ">
- <span class='object_link'><a href="Axlsx/Xf.html#xfId-instance_method" title="Axlsx::Xf#xfId (method)">#xfId</a></span>
+ <span class='object_link'><a href="Axlsx/CellStyle.html#xfId-instance_method" title="Axlsx::CellStyle#xfId (method)">#xfId</a></span>
- <small>Axlsx::Xf</small>
+ <small>Axlsx::CellStyle</small>
</li>
diff --git a/doc/top-level-namespace.html b/doc/top-level-namespace.html
index 8b0754bc..da01b08a 100644
--- a/doc/top-level-namespace.html
+++ b/doc/top-level-namespace.html
@@ -94,7 +94,7 @@
</div>
<div id="footer">
- Generated on Tue Nov 22 23:52:56 2011 by
+ Generated on Wed Nov 23 12:24:05 2011 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.7.3 (ruby-1.8.7).
</div>
diff --git a/examples/example.rb b/examples/example.rb
index fd889556..cb405fe2 100644
--- a/examples/example.rb
+++ b/examples/example.rb
@@ -59,6 +59,7 @@
p.serialize("example5.xlsx")
#Validation
+
p = Axlsx::Package.new
p.workbook.add_worksheet do |sheet|
sheet.add_row ["First", "Second", "Third"]
@@ -75,7 +76,9 @@
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
diff --git a/lib/axlsx/drawing/axis.rb b/lib/axlsx/drawing/axis.rb
index facc2a67..7e48801a 100644
--- a/lib/axlsx/drawing/axis.rb
+++ b/lib/axlsx/drawing/axis.rb
@@ -1,9 +1,8 @@
module Axlsx
- # the access class defines common properties and values for chart axis
+ # the access class defines common properties and values for a chart axis.
class Axis
-
- # the id of the axis
+ # the id of the axis.
# @return [Integer]
attr_reader :axId
@@ -12,6 +11,7 @@ module Axlsx
attr_reader :crossAx
# The scaling of the axis
+ # @see Scaling
# @return [Scaling]
attr_reader :scaling
@@ -25,8 +25,8 @@ module Axlsx
# @return [Symbol]
attr_accessor :tickLblPos
-
# The number format format code for this axis
+ # default :General
# @return [String]
attr_accessor :format_code
@@ -41,15 +41,16 @@ module Axlsx
# @option options [Symbol] axPos
# @option options [Symbol] crosses
# @option options [Symbol] tickLblPos
+ # @raise [ArgumentError] If axId or crossAx are not unsigned integers
def initialize(axId, crossAx, options={})
Axlsx::validate_unsigned_int(axId)
Axlsx::validate_unsigned_int(crossAx)
@axId = axId
@crossAx = crossAx
+ @scaling = Scaling.new(:orientation=>:minMax)
self.axPos = :l
self.tickLblPos = :nextTo
- @scaling = Scaling.new(:orientation=>:minMax)
- @formatCode = ""
+ self.format_code = "General"
self.crosses = :autoZero
options.each do |o|
self.send("#{o[0]}=", o[1]) if self.respond_to? "#{o[0]}="
diff --git a/lib/axlsx/drawing/bar_3D_chart.rb b/lib/axlsx/drawing/bar_3D_chart.rb
index 1d7e2bba..3d7f6296 100644
--- a/lib/axlsx/drawing/bar_3D_chart.rb
+++ b/lib/axlsx/drawing/bar_3D_chart.rb
@@ -1,43 +1,17 @@
module Axlsx
# The Bar3DChart is a three dimentional barchart (who would have guessed?) that you can add to your worksheet.
- # @example Creating a chart
- # # This example creates two charts in a single sheet.
- # # The first uses data directly fed to the sheet, while the second references cells withing the worksheet for data.
- #
- # require "rubygems" # if that is your preferred way to manage gems!
- # require "axlsx"
- #
- # p = Axlsx::Package.new
- # ws = p.workbook.add_worksheet
- # ws.add_row :values => ["This is a chart with no data in the sheet"]
- #
- # chart = ws.add_chart(Axlsx::Bar3DChart, :start_at=> [0,1], :end_at=>[0,6], :title=>"Most Popular Pets")
- # chart.add_series :data => [1, 9, 10], :labels => ["Slimy Reptiles", "Fuzzy Bunnies", "Rottweiler"]
- #
- # ws.add_row :values => ["This chart uses the data below"]
- # title_row = ws.add_row :values => ["Least Popular Pets"]
- # label_row = ws.add_row :values => ["", "Dry Skinned Reptiles", "Bald Cats", "Violent Parrots"]
- # data_row = ws.add_row :values => ["Votes", 6, 4, 1]
- #
- # chart = ws.add_chart(Axlsx::Pie3DChart, :start_at => [0,11], :end_at =>[0,16], :title => title_row.cells.last)
- # chart.add_series :data => data_row.cells[(1..-1)], :labels => label_row.cells
- #
- # f = File.open('example_pie_3d_chart.xlsx', 'w')
- # p.serialize(f)
- #
# @see Worksheet#add_chart
- # @see Worksheet#add_row
# @see Chart#add_series
- # @see Series
# @see Package#serialize
+ # @see README for an example
class Bar3DChart < Chart
# the category axis
# @return [CatAxis]
attr_reader :catAxis
- # the category axis
+ # the valueaxis
# @return [ValAxis]
attr_reader :valAxis
@@ -60,7 +34,7 @@ module Axlsx
attr_accessor :grouping
# The shabe of the bars or columns
- # must be one of [:percentStacked, :clustered, :standard, :stacked]
+ # must be one of [:cone, :coneToMax, :box, :cylinder, :pyramid, :pyramidToMax]
# @return [Symbol]
attr_accessor :shape
@@ -76,6 +50,14 @@ module Axlsx
# @option options [String] gapWidth
# @option options [String] gapDepth
# @option options [Symbol] shape
+ # @option options [Integer] rotX
+ # @option options [String] hPercent
+ # @option options [Integer] rotY
+ # @option options [String] depthPercent
+ # @option options [Boolean] rAngAx
+ # @option options [Integer] perspective
+ # @see Chart
+ # @see View3D
def initialize(frame, options={})
@barDir = :bar
@grouping = :clustered
@@ -83,9 +65,9 @@ module Axlsx
@valAxId = rand(8 ** 8)
@catAxis = CatAxis.new(@catAxId, @valAxId)
@valAxis = ValAxis.new(@valAxId, @catAxId)
- @view3D = View3D.new(:rAngAx=>1)
super(frame, options)
@series_type = BarSeries
+ @view3D = View3D.new({:rAngAx=>1}.merge(options))
end
def barDir=(v)
diff --git a/lib/axlsx/drawing/bar_series.rb b/lib/axlsx/drawing/bar_series.rb
index 0f46af15..5e10eb0e 100644
--- a/lib/axlsx/drawing/bar_series.rb
+++ b/lib/axlsx/drawing/bar_series.rb
@@ -28,8 +28,8 @@ module Axlsx
def initialize(chart, options={})
@shape = :box
super(chart, options)
- self.data = options[:data] || []
- self.labels = options[:labels] || []
+ self.labels = CatAxisData.new(options[:labels]) unless options[:labels].nil?
+ self.data = ValAxisData.new(options[:data]) unless options[:data].nil?
end
def shape=(v)
@@ -42,37 +42,8 @@ module Axlsx
# @return [String]
def to_xml(xml)
super(xml) do |xml|
- if !labels.empty?
- xml.send('c:cat') {
- xml.send('c:strRef') {
- xml.send('c:f', Axlsx::cell_range(labels))
- xml.send('c:strCache') {
- xml.send('c:ptCount', :val=>labels.size)
- labels.each_with_index do |cell, index|
- v = cell.is_a?(Cell) ? cell.value : cell
- xml.send('c:pt', :idx=>index) {
- xml.send('c:v', v)
- }
- end
- }
- }
- }
- end
- xml.send('c:val') {
- xml.send('c:numRef') {
- xml.send('c:f', Axlsx::cell_range(data))
- xml.send('c:numCache') {
- xml.send('c:formatCode', 'General')
- xml.send('c:ptCount', :val=>data.size)
- data.each_with_index do |cell, index|
- v = cell.is_a?(Cell) ? cell.value : cell
- xml.send('c:pt', :idx=>index) {
- xml.send('c:v', v)
- }
- end
- }
- }
- }
+ @labels.to_xml(xml) unless @labels.nil?
+ @data.to_xml(xml) unless @data.nil?
xml.send('c:shape', :val=>@shape)
end
end
@@ -82,10 +53,10 @@ module Axlsx
# assigns the data for this series
- def data=(v) DataTypeValidator.validate "Series.data", [Array, SimpleTypedList], v; @data = v; end
+ def data=(v) DataTypeValidator.validate "Series.data", [SimpleTypedList], v; @data = v; end
# assigns the labels for this series
- def labels=(v) DataTypeValidator.validate "Series.labels", [Array, SimpleTypedList], v; @labels = v; end
+ def labels=(v) DataTypeValidator.validate "Series.labels", [SimpleTypedList], v; @labels = v; end
end
diff --git a/lib/axlsx/drawing/cat_axis.rb b/lib/axlsx/drawing/cat_axis.rb
index f2458ffc..083eac68 100644
--- a/lib/axlsx/drawing/cat_axis.rb
+++ b/lib/axlsx/drawing/cat_axis.rb
@@ -1,6 +1,7 @@
module Axlsx
#A CatAxis object defines a chart category axis
class CatAxis < Axis
+
# From the docs: This element specifies that this axis is a date or text axis based on the data that is used for the axis labels, not a specific choice.
# @return [Boolean]
attr_accessor :auto
@@ -18,23 +19,20 @@ module Axlsx
# regex for validating label offset
LBL_OFFSET_REGEX = /0*(([0-9])|([1-9][0-9])|([1-9][0-9][0-9])|1000)%/
- # Creates a new CatAxis object
- # @param [Integer] axId the id of this axis
- # @param [Integer] crossAx the id of the perpendicular axis
- # @option options [Symbol] axPos
- # @option options [Symbol] tickLblPos
- # @option options [Symbol] crosses
+ # Creates a new CatAxis object
+ # @param [Integer] axId the id of this axis. Inherited
+ # @param [Integer] crossAx the id of the perpendicular axis. Inherited
+ # @option options [Symbol] axPos. Inherited
+ # @option options [Symbol] tickLblPos. Inherited
+ # @option options [Symbol] crosses. Inherited
# @option options [Boolean] auto
# @option options [Symbol] lblAlgn
# @option options [Integer] lblOffset
def initialize(axId, crossAx, options={})
- super(axId, crossAx, options)
self.auto = true
self.lblAlgn = :ctr
self.lblOffset = "100%"
- options.each do |o|
- self.send("#{o[0]}=", o[1]) if self.respond_to? "#{o[0]}="
- end
+ super(axId, crossAx, options)
end
def auto=(v) Axlsx::validate_boolean(v); @auto = v; end
diff --git a/lib/axlsx/drawing/cat_axis_data.rb b/lib/axlsx/drawing/cat_axis_data.rb
new file mode 100644
index 00000000..83dfa56e
--- /dev/null
+++ b/lib/axlsx/drawing/cat_axis_data.rb
@@ -0,0 +1,34 @@
+module Axlsx
+ # The CatAxisData class serializes the category axis data for a chart
+ class CatAxisData < SimpleTypedList
+
+ # Create a new CatAxisData object
+ # @param [Array, SimpleTypedList] data the data for this category axis. This can be a simple array or a simple typed list of cells.
+ def initialize(data=[])
+ super Object
+ @list.concat data if data.is_a?(Array)
+ end
+
+ # Serializes the category axis data
+ # @param [Nokogiri::XML::Builder] xml The document builder instance this objects xml will be added to.
+ # @return [String]
+ def to_xml(xml)
+ xml.send('c:cat') {
+ xml.send('c:strRef') {
+ xml.send('c:f', Axlsx::cell_range(@list))
+ xml.send('c:strCache') {
+ xml.send('c:ptCount', :val=>size)
+ each_with_index do |item, index|
+ v = item.is_a?(Cell) ? item.value : item
+ xml.send('c:pt', :idx=>index) {
+ xml.send('c:v', v)
+ }
+ end
+ }
+ }
+ }
+ end
+
+ end
+
+end
diff --git a/lib/axlsx/drawing/chart.rb b/lib/axlsx/drawing/chart.rb
index 315d9499..bf4a1bff 100644
--- a/lib/axlsx/drawing/chart.rb
+++ b/lib/axlsx/drawing/chart.rb
@@ -2,19 +2,12 @@
module Axlsx
# A Chart is the superclass for specific charts
# @note Worksheet#add_chart is the recommended way to create charts for your worksheets.
+ # @see README for examples
class Chart
- # The title object for the chart.
- # @return [Title]
- attr_accessor :title
-
- # The style for the chart.
- # see ECMA Part 1 §21.2.2.196
- # @return [Integer]
- attr_accessor :style
# The 3D view properties for the chart
- attr_accessor :view3D
+ attr_reader :view3D
# A reference to the graphic frame that owns this chart
# @return [GraphicFrame]
@@ -24,7 +17,7 @@ module Axlsx
# @return [SimpleTypedList]
attr_reader :series
- # The type of series to use for this chart
+ # The type of series to use for this chart.
# @return [Series]
attr_reader :series_type
@@ -39,13 +32,14 @@ module Axlsx
#TODO data labels!
#attr_accessor :dLabls
- # The starting marker for this chart
- # @return [Marker]
- attr_reader :start_at
+ # The title object for the chart.
+ # @return [Title]
+ attr_accessor :title
- # The ending marker for this chart
- # @return [Marker]
- attr_reader :end_at
+ # The style for the chart.
+ # see ECMA Part 1 §21.2.2.196
+ # @return [Integer]
+ attr_accessor :style
# Show the legend in the chart
# @return [Boolean]
@@ -65,6 +59,8 @@ module Axlsx
options.each do |o|
self.send("#{o[0]}=", o[1]) if self.respond_to? "#{o[0]}="
end
+ start_at *options[:start_at] if options[:start_at]
+ end_at *options[:end_at] if options[:start_at]
yield self if block_given?
end
@@ -76,8 +72,6 @@ module Axlsx
"#{CHART_PN % (index+1)}"
end
- def view3D=(v) DataTypeValidator.validate "#{self.class}.view3D", View3D, v; @view3D = v; end
-
def title=(v)
v = Title.new(v) if v.is_a?(String) || v.is_a?(Cell)
DataTypeValidator.validate "#{self.class}.title", Title, v
@@ -88,6 +82,19 @@ module Axlsx
def style=(v) DataTypeValidator.validate "Chart.style", Integer, v, lambda { |v| v >= 1 && v <= 48 }; @style = v; end
+ # backwards compatibility to allow chart.to and chart.from access to anchor markers
+ # @note This will be disconinued in version 2.0.0. Please use the end_at method
+ def to
+ @graphic_frame.anchor.to
+ end
+
+ # backwards compatibility to allow chart.to and chart.from access to anchor markers
+ # @note This will be disconinued in version 2.0.0. please use the start_at method
+ #
+ def from
+ @graphic_frame.anchor.from
+ end
+
# Adds a new series to the chart's series collection.
# @return [Series]
# @see Series
@@ -122,10 +129,30 @@ module Axlsx
builder.to_xml
end
+ # This is a short cut method to set the start anchor position
+ # If you need finer granularity in positioning use
+ # graphic_frame.anchor.from.colOff / rowOff
+ # @param [Integer] x The column
+ # @param [Integer] y The row
+ # @return [Marker]
+ def start_at(x, y)
+ @graphic_frame.anchor.from.col = x
+ @graphic_frame.anchor.from.row = y
+ end
+
+ # This is a short cut method to set the end anchor position
+ # If you need finer granularity in positioning use
+ # graphic_frame.anchor.to.colOff / rowOff
+ # @param [Integer] x The column
+ # @param [Integer] y The row
+ # @return [Marker]
+ def end_at(x, y)
+ @graphic_frame.anchor.to.col = x
+ @graphic_frame.anchor.to.row = y
+ end
+
private
-
- def start_at=(v) DataTypeValidator.validate "#{self.class}.start_at", Marker, v; @start_at = v; end
- def end_at=(v) DataTypeValidator.validate "#{self.class}.end_at", Marker, v; @end_at = v; end
+ def view3D=(v) DataTypeValidator.validate "#{self.class}.view3D", View3D, v; @view3D = v; end
end
end
diff --git a/lib/axlsx/drawing/drawing.rb b/lib/axlsx/drawing/drawing.rb
index 83902143..385cd592 100644
--- a/lib/axlsx/drawing/drawing.rb
+++ b/lib/axlsx/drawing/drawing.rb
@@ -6,35 +6,39 @@ module Axlsx
require 'axlsx/drawing/bar_series.rb'
require 'axlsx/drawing/line_series.rb'
+ require 'axlsx/drawing/scaling.rb'
require 'axlsx/drawing/axis.rb'
require 'axlsx/drawing/ser_axis.rb'
require 'axlsx/drawing/cat_axis.rb'
require 'axlsx/drawing/val_axis.rb'
- require 'axlsx/drawing/view_3D.rb'
- require 'axlsx/drawing/scaling.rb'
- require 'axlsx/drawing/graphic_frame.rb'
+ require 'axlsx/drawing/cat_axis_data.rb'
+ require 'axlsx/drawing/val_axis_data.rb'
+
require 'axlsx/drawing/marker.rb'
require 'axlsx/drawing/two_cell_anchor.rb'
+ require 'axlsx/drawing/graphic_frame.rb'
+ require 'axlsx/drawing/view_3D.rb'
require 'axlsx/drawing/chart.rb'
require 'axlsx/drawing/pie_3D_chart.rb'
require 'axlsx/drawing/bar_3D_chart.rb'
require 'axlsx/drawing/line_3D_chart.rb'
- # A Drawing is a canvas for charts. Each worksheet has a single drawing that can specify multiple anchors which reference charts.
- # @note The recommended way to manage drawings is to use the Worksheet.add_chart method, specifying the chart class, start and end marker locations.
+ # A Drawing is a canvas for charts. Each worksheet has a single drawing that manages anchors.
+ # The anchors reference the charts via graphical frames. This is not a trivial relationship so please do follow the advice in the note.
+ # @note The recommended way to manage drawings is to use the Worksheet.add_chart method.
# @see Worksheet#add_chart
- # @see TwoCellAnchor
# @see Chart
+ # see README for an example of how to create a chart.
class Drawing
# The worksheet that owns the drawing
# @return [Worksheet]
attr_reader :worksheet
-
# A collection of anchors for this drawing
+ # only TwoCellAnchors are supported in this version
# @return [SimpleTypedList]
attr_reader :anchors
@@ -72,12 +76,10 @@ module Axlsx
end
- # Adds a chart to the drawing.
- # @note The recommended way to manage charts is to use Worksheet.add_chart.
- # @param [Chart] chart_type The class of the chart to be added to the drawing
- # @param [Hash] options
+ # Adds a chart to the drawing.
+ # @note The recommended way to manage charts is to use Worksheet.add_chart. Please refer to that method for documentation.
+ # @see Worksheet#add_chart
def add_chart(chart_type, options={})
- DataTypeValidator.validate "Drawing.chart_type", Chart, chart_type
TwoCellAnchor.new(self, chart_type, options)
@anchors.last.graphic_frame.chart
end
diff --git a/lib/axlsx/drawing/graphic_frame.rb b/lib/axlsx/drawing/graphic_frame.rb
index 3fe71976..5e09fb8a 100644
--- a/lib/axlsx/drawing/graphic_frame.rb
+++ b/lib/axlsx/drawing/graphic_frame.rb
@@ -22,6 +22,7 @@ module Axlsx
# @param [TwoCellAnchor] anchor
# @param [Class] chart_type
def initialize(anchor, chart_type, options)
+ DataTypeValidator.validate "Drawing.chart_type", Chart, chart_type
@anchor = anchor
@chart = chart_type.new(self, options)
end
diff --git a/lib/axlsx/drawing/line_3D_chart.rb b/lib/axlsx/drawing/line_3D_chart.rb
index 39500f75..6fb34afb 100644
--- a/lib/axlsx/drawing/line_3D_chart.rb
+++ b/lib/axlsx/drawing/line_3D_chart.rb
@@ -46,8 +46,18 @@ module Axlsx
# Creates a new line chart object
# @param [GraphicFrame] frame The workbook that owns this chart.
+ # @option options [Cell, String] title
+ # @option options [Boolean] show_legend
# @option options [Symbol] grouping
# @option options [String] gapDepth
+ # @option options [Integer] rotX
+ # @option options [String] hPercent
+ # @option options [Integer] rotY
+ # @option options [String] depthPercent
+ # @option options [Boolean] rAngAx
+ # @option options [Integer] perspective
+ # @see Chart
+ # @see View3D
def initialize(frame, options={})
@grouping = :standard
@catAxId = rand(8 ** 8)
@@ -56,9 +66,9 @@ module Axlsx
@catAxis = CatAxis.new(@catAxId, @valAxId)
@valAxis = ValAxis.new(@valAxId, @catAxId)
@serAxis = SerAxis.new(@serAxId, @valAxId)
- @view3D = View3D.new(:perspective=>30)
super(frame, options)
@series_type = LineSeries
+ @view3D = View3D.new({:perspective=>30}.merge(options))
end
def grouping=(v)
diff --git a/lib/axlsx/drawing/line_series.rb b/lib/axlsx/drawing/line_series.rb
index db509d38..eea1e0ee 100644
--- a/lib/axlsx/drawing/line_series.rb
+++ b/lib/axlsx/drawing/line_series.rb
@@ -6,11 +6,11 @@ module Axlsx
class LineSeries < Series
# The data for this series.
- # @return [Array, SimpleTypedList]
+ # @return [ValAxisData]
attr_reader :data
# The labels for this series.
- # @return [Array, SimpleTypedList]
+ # @return [CatAxisData]
attr_reader :labels
# Creates a new series
@@ -19,58 +19,28 @@ module Axlsx
# @param [Chart] chart
def initialize(chart, options={})
super(chart, options)
- self.data = options[:data] || []
- self.labels = options[:labels] || []
+ self.labels = CatAxisData.new(options[:labels]) unless options[:labels].nil?
+ self.data = ValAxisData.new(options[:data]) unless options[:data].nil?
end
# Serializes the series
# @param [Nokogiri::XML::Builder] xml The document builder instance this objects xml will be added to.
# @return [String]
+ # TODO create series_cat and series_val classes as this serialization is duplicated
def to_xml(xml)
super(xml) do |xml|
- if !labels.empty?
- xml.send('c:cat') {
- xml.send('c:strRef') {
- xml.send('c:f', Axlsx::cell_range(labels))
- xml.send('c:strCache') {
- xml.send('c:ptCount', :val=>labels.size)
- labels.each_with_index do |cell, index|
- v = cell.is_a?(Cell) ? cell.value : cell
- xml.send('c:pt', :idx=>index) {
- xml.send('c:v', v)
- }
- end
- }
- }
- }
- end
- xml.send('c:val') {
- xml.send('c:numRef') {
- xml.send('c:f', Axlsx::cell_range(data))
- xml.send('c:numCache') {
- xml.send('c:formatCode', 'General')
- xml.send('c:ptCount', :val=>data.size)
- data.each_with_index do |cell, index|
- v = cell.is_a?(Cell) ? cell.value : cell
- xml.send('c:pt', :idx=>index) {
- xml.send('c:v', v)
- }
- end
- }
- }
- }
+ @labels.to_xml(xml) unless @labels.nil?
+ @data.to_xml(xml) unless @data.nil?
end
end
-
- private
+ private
# assigns the data for this series
- def data=(v) DataTypeValidator.validate "Series.data", [Array, SimpleTypedList], v; @data = v; end
+ def data=(v) DataTypeValidator.validate "Series.data", [SimpleTypedList], v; @data = v; end
# assigns the labels for this series
- def labels=(v) DataTypeValidator.validate "Series.labels", [Array, SimpleTypedList], v; @labels = v; end
+ def labels=(v) DataTypeValidator.validate "Series.labels", [SimpleTypedList], v; @labels = v; end
end
-
end
diff --git a/lib/axlsx/drawing/pie_3D_chart.rb b/lib/axlsx/drawing/pie_3D_chart.rb
index cf835bfd..dacba313 100644
--- a/lib/axlsx/drawing/pie_3D_chart.rb
+++ b/lib/axlsx/drawing/pie_3D_chart.rb
@@ -2,47 +2,30 @@ module Axlsx
# The Pie3DChart is a three dimentional piechart (who would have guessed?) that you can add to your worksheet.
- # @example Creating a chart
- # # This example creates two charts in a single sheet.
- # # The first uses data directly fed to the sheet, while the second references cells withing the worksheet for data.
- #
- # require "rubygems" # if that is your preferred way to manage gems!
- # require "axlsx"
- #
- # p = Axlsx::Package.new
- # ws = p.workbook.add_worksheet
- # ws.add_row :values => ["This is a chart with no data in the sheet"]
- #
- # chart = ws.add_chart(Axlsx::Pie3DChart, :start_at=> [0,1], :end_at=>[0,6], :title=>"Most Popular Pets")
- # chart.add_series :data => [1, 9, 10], :labels => ["Slimy Reptiles", "Fuzzy Bunnies", "Rottweiler"]
- #
- # ws.add_row :values => ["This chart uses the data below"]
- # title_row = ws.add_row :values => ["Least Popular Pets"]
- # label_row = ws.add_row :values => ["", "Dry Skinned Reptiles", "Bald Cats", "Violent Parrots"]
- # data_row = ws.add_row :values => ["Votes", 6, 4, 1]
- #
- # chart = ws.add_chart(Axlsx::Pie3DChart, :start_at => [0,11], :end_at =>[0,16], :title => title_row.cells.last)
- # chart.add_series :data => data_row.cells[(1..-1)], :labels => label_row.cells
- #
- # f = File.open('example_pie_3d_chart.xlsx', 'w')
- # p.serialize(f)
- #
# @see Worksheet#add_chart
- # @see Worksheet#add_row
# @see Chart#add_series
- # @see Series
- # @see Package#serialize
+ # @see README for an example
class Pie3DChart < Chart
-
# Creates a new pie chart object
- # @param [Workbook] workbook The workbook that owns this chart.
+ # @param [GraphicFrame] frame The workbook that owns this chart.
# @option options [Cell, String] title
- def initialize(workbook, options={})
- # this charts series type
- super(workbook, options)
+ # @option options [Boolean] show_legend
+ # @option options [Symbol] grouping
+ # @option options [String] gapDepth
+ # @option options [Integer] rotX
+ # @option options [String] hPercent
+ # @option options [Integer] rotY
+ # @option options [String] depthPercent
+ # @option options [Boolean] rAngAx
+ # @option options [Integer] perspective
+ # @see Chart
+ # @see View3D
+ def initialize(frame, options={})
+ super(frame, options)
@series_type = PieSeries
- @view3D = View3D.new(:rotX => 30, :perspective => 30)
+ @view3D = View3D.new({:rotX=>30, :perspective=>30}.merge(options))
+
end
# Serializes the pie chart
diff --git a/lib/axlsx/drawing/pie_series.rb b/lib/axlsx/drawing/pie_series.rb
index 98b61728..1f20058d 100644
--- a/lib/axlsx/drawing/pie_series.rb
+++ b/lib/axlsx/drawing/pie_series.rb
@@ -1,22 +1,20 @@
module Axlsx
- # A PieSeries defines the title, data and labels for pie charts
+ # A PieSeries defines the data and labels and explosion for pie charts series.
# @note The recommended way to manage series is to use Chart#add_series
# @see Worksheet#add_chart
# @see Chart#add_series
class PieSeries < Series
# The data for this series.
- # @return [Array, SimpleTypedList]
+ # @return [SimpleTypedList]
attr_reader :data
-
# The labels for this series.
- # @return [Array, SimpleTypedList]
+ # @return [SimpleTypedList]
attr_reader :labels
-
# The explosion for this series
- # @return [Array, SimpleTypedList]
+ # @return [Integert]
attr_accessor :explosion
# Creates a new series
@@ -27,61 +25,29 @@ module Axlsx
# @param [Chart] chart
def initialize(chart, options={})
super(chart, options)
- self.data = options[:data] || []
- self.labels = options[:labels] || []
+ self.labels = CatAxisData.new(options[:labels]) unless options[:labels].nil?
+ self.data = ValAxisData.new(options[:data]) unless options[:data].nil?
end
def explosion=(v) Axlsx::validate_unsigned_int(v); @explosion = v; end
+
# Serializes the series
# @param [Nokogiri::XML::Builder] xml The document builder instance this objects xml will be added to.
# @return [String]
def to_xml(xml)
super(xml) do |xml|
xml.send('c:explosion', :val=>@explosion) unless @explosion.nil?
- if !labels.empty?
- xml.send('c:cat') {
- xml.send('c:strRef') {
- xml.send('c:f', Axlsx::cell_range(labels))
- xml.send('c:strCache') {
- xml.send('c:ptCount', :val=>labels.size)
- labels.each_with_index do |cell, index|
- v = cell.is_a?(Cell) ? cell.value : cell
- xml.send('c:pt', :idx=>index) {
- xml.send('c:v', v)
- }
- end
- }
- }
- }
- end
- xml.send('c:val') {
- xml.send('c:numRef') {
- xml.send('c:f', Axlsx::cell_range(data))
- xml.send('c:numCache') {
- xml.send('c:formatCode', 'General')
- xml.send('c:ptCount', :val=>data.size)
- data.each_with_index do |cell, index|
- v = cell.is_a?(Cell) ? cell.value : cell
- xml.send('c:pt', :idx=>index) {
- xml.send('c:v', v)
- }
- end
- }
- }
- }
-
+ @labels.to_xml(xml) unless @labels.nil?
+ @data.to_xml(xml) unless @data.nil?
end
end
-
-
private
-
# assigns the data for this series
- def data=(v) DataTypeValidator.validate "Series.data", [Array, SimpleTypedList], v; @data = v; end
+ def data=(v) DataTypeValidator.validate "Series.data", [SimpleTypedList], v; @data = v; end
# assigns the labels for this series
- def labels=(v) DataTypeValidator.validate "Series.labels", [Array, SimpleTypedList], v; @labels = v; end
+ def labels=(v) DataTypeValidator.validate "Series.labels", [SimpleTypedList], v; @labels = v; end
end
diff --git a/lib/axlsx/drawing/ser_axis.rb b/lib/axlsx/drawing/ser_axis.rb
index 091a7d64..a086b23c 100644
--- a/lib/axlsx/drawing/ser_axis.rb
+++ b/lib/axlsx/drawing/ser_axis.rb
@@ -1,30 +1,29 @@
module Axlsx
- #A SarAxis object defines a series axis
+ #A SerAxis object defines a series axis
class SerAxis < Axis
- # @return [Boolean]
+ # The number of tick lables to skip between labels
+ # @return [Integer]
attr_accessor :tickLblSkip
+ # The number of tickmarks to be skipped before the next one is rendered.
# @return [Boolean]
attr_accessor :tickMarkSkip
# Creates a new SerAxis object
- # @param [Integer] axId the id of this axis
- # @param [Integer] crossAx the id of the perpendicular axis
- # @option options [Symbol] axPos
- # @option options [Symbol] tickLblPos
- # @option options [Symbol] crosses
- # @option options [Boolean] tickLblSkip
- # @option options [Symbol] tickMarkSkip
+ # @param [Integer] axId the id of this axis. Inherited
+ # @param [Integer] crossAx the id of the perpendicular axis. Inherited
+ # @option options [Symbol] axPos. Inherited
+ # @option options [Symbol] tickLblPos. Inherited
+ # @option options [Symbol] crosses. Inherited
+ # @option options [Integer] tickLblSkip
+ # @option options [Integer] tickMarkSkip
def initialize(axId, crossAx, options={})
super(axId, crossAx, options)
- options.each do |o|
- self.send("#{o[0]}=", o[1]) if self.respond_to? "#{o[0]}="
- end
end
- def tickLblSkip=(v) Axlsx::validate_boolean(v); @tickLblSkip = v; end
- def tickMarkSkip=(v) Axlsx::validate_boolean(v); @tickMarkSkip = v; end
+ def tickLblSkip=(v) Axlsx::validate_unsigned_int(v); @tickLblSkip = v; end
+ def tickMarkSkip=(v) Axlsx::validate_unsigned_int(v); @tickMarkSkip = v; end
# Serializes the series axis
# @param [Nokogiri::XML::Builder] xml The document builder instance this objects xml will be added to.
diff --git a/lib/axlsx/drawing/series.rb b/lib/axlsx/drawing/series.rb
index 51957acc..cb5d6a8d 100644
--- a/lib/axlsx/drawing/series.rb
+++ b/lib/axlsx/drawing/series.rb
@@ -1,5 +1,5 @@
module Axlsx
- # A Series defines the title, data and labels for chart data.
+ # A Series defines the common series attributes and is the super class for all concrete series types.
# @note The recommended way to manage series is to use Chart#add_series
# @see Worksheet#add_chart
# @see Chart#add_series
@@ -13,7 +13,7 @@ module Axlsx
# @return [Integer]
attr_reader :index
- # The order of this series in the chart's series.
+ # The order of this series in the chart's series. By default the order is the index of the series.
# @return [Integer]
attr_accessor :order
@@ -33,7 +33,6 @@ module Axlsx
end
end
- # retrieves the series index in the chart's series collection
def index
@chart.series.index(self)
end
diff --git a/lib/axlsx/drawing/series_title.rb b/lib/axlsx/drawing/series_title.rb
index 32b5b102..bfb1b56f 100644
--- a/lib/axlsx/drawing/series_title.rb
+++ b/lib/axlsx/drawing/series_title.rb
@@ -1,5 +1,5 @@
module Axlsx
- # A series title is a Title with a slightly different serialization
+ # A series title is a Title with a slightly different serialization than chart titles.
class SeriesTitle < Title
# Serializes the series title
diff --git a/lib/axlsx/drawing/two_cell_anchor.rb b/lib/axlsx/drawing/two_cell_anchor.rb
index aa9c04aa..62491b8c 100644
--- a/lib/axlsx/drawing/two_cell_anchor.rb
+++ b/lib/axlsx/drawing/two_cell_anchor.rb
@@ -23,51 +23,24 @@ module Axlsx
# @return [Integer]
attr_reader :index
- # Creates a new TwoCellAnchor object
+ # Creates a new TwoCellAnchor object and sets up a reference to the from and to markers in the
+ # graphic_frame's chart. That means that you can do stuff like
+ # c = worksheet.add_chart Axlsx::Chart
+ # c.start_at 5, 9
# @param [Drawing] drawing
- # @param [Chart] chart
- # @option options [Array] start_at
- # @option options [Array] end_at
+ # @param [Class] chart_type This is passed to the graphic frame for instantiation. must be Chart or a subclass of Chart
+ # @option options [Array] start_at the col, row to start at
+ # @option options [Array] end_at the col, row to end at
def initialize(drawing, chart_type, options)
@drawing = drawing
drawing.anchors << self
-
@from, @to = Marker.new, Marker.new(:col => 5, :row=>10)
@graphic_frame = GraphicFrame.new(self, chart_type, options)
-
- self.start_at(options[:start_at][0], options[:start_at][1]) if options[:start_at].is_a?(Array)
- self.end_at(options[:end_at][0], options[:end_at][1]) if options[:end_at].is_a?(Array)
- # passing a reference to our start and end markers for convenience
- # this lets us access the markers directly from the chart.
- @graphic_frame.chart.send(:start_at=, @from)
- @graphic_frame.chart.send(:end_at=, @to)
end
def index
@drawing.anchors.index(self)
end
-
-
- # This is a short cut method to set the start anchor position
- # @param [Integer] x The column
- # @param [Integer] y The row
- # @return [Marker]
- def start_at(x, y)
- @from.col = x
- @from.row = y
- @from
- end
-
- # This is a short cut method to set the end anchor position
- # @param [Integer] x The column
- # @param [Integer] y The row
- # @return [Marker]
- def end_at(x, y)
- @to.col = x
- @to.row = y
- @to
- end
-
# Serializes the two cell anchor
# @param [Nokogiri::XML::Builder] xml The document builder instance this objects xml will be added to.
# @return [String]
@@ -84,5 +57,8 @@ module Axlsx
xml.send('xdr:clientData')
}
end
+
+ private
+
end
end
diff --git a/lib/axlsx/drawing/val_axis.rb b/lib/axlsx/drawing/val_axis.rb
index fae6adec..10a070f6 100644
--- a/lib/axlsx/drawing/val_axis.rb
+++ b/lib/axlsx/drawing/val_axis.rb
@@ -2,7 +2,7 @@ module Axlsx
# the ValAxis class defines a chart value axis.
class ValAxis < Axis
- # This element specifies whether the value axis crosses the category axis between categories.
+ # This element specifies how the value axis crosses the category axis.
# must be one of [:between, :midCat]
# @return [Symbol]
attr_accessor :crossBetween
@@ -11,17 +11,17 @@ module Axlsx
# @param [Integer] axId the id of this axis
# @param [Integer] crossAx the id of the perpendicular axis
# @option options [Symbol] axPos
- # @option options [Symbol] crosses
# @option options [Symbol] tickLblPos
+ # @option options [Symbol] crosses
# @option options [Symbol] crossesBetween
def initialize(axId, crossAx, options={})
- @crossBetween = :between
+ self.crossBetween = :between
super(axId, crossAx, options)
end
def crossBetween=(v) RestrictionValidator.validate "ValAxis.crossBetween", [:between, :midCat], v; @crossBetween = v; end
- # Serializes the value axis
+ # Serializes the value axis
# @param [Nokogiri::XML::Builder] xml The document builder instance this objects xml will be added to.
# @return [String]
def to_xml(xml)
diff --git a/lib/axlsx/drawing/val_axis_data.rb b/lib/axlsx/drawing/val_axis_data.rb
new file mode 100644
index 00000000..6a24a1ef
--- /dev/null
+++ b/lib/axlsx/drawing/val_axis_data.rb
@@ -0,0 +1,28 @@
+module Axlsx
+ # The ValAxisData class manages the values for a chart value series.
+ class ValAxisData < CatAxisData
+
+ # Serializes the value axis data
+ # @param [Nokogiri::XML::Builder] xml The document builder instance this objects xml will be added to.
+ # @return [String]
+ def to_xml(xml)
+ xml.send('c:val') {
+ xml.send('c:numRef') {
+ xml.send('c:f', Axlsx::cell_range(@list))
+ xml.send('c:numCache') {
+ xml.send('c:formatCode', 'General')
+ xml.send('c:ptCount', :val=>size)
+ each_with_index do |item, index|
+ v = item.is_a?(Cell) ? item.value : item
+ xml.send('c:pt', :idx=>index) {
+ xml.send('c:v', v)
+ }
+ end
+ }
+ }
+ }
+ end
+
+ end
+
+end
diff --git a/lib/axlsx/drawing/view_3D.rb b/lib/axlsx/drawing/view_3D.rb
index 36a869cf..1065d778 100644
--- a/lib/axlsx/drawing/view_3D.rb
+++ b/lib/axlsx/drawing/view_3D.rb
@@ -1,6 +1,13 @@
module Axlsx
# 3D attributes for a chart.
class View3D
+
+ # Validation for hPercent
+ H_PERCENT_REGEX = /0*(([5-9])|([1-9][0-9])|([1-4][0-9][0-9])|500)%/
+
+ # validation for depthPercent
+ DEPTH_PERCENT_REGEX = /0*(([2-9][0-9])|([1-9][0-9][0-9])|(1[0-9][0-9][0-9])|2000)%/
+
# x rotation for the chart
# must be between -90 and 90
# @return [Integer]
@@ -41,18 +48,17 @@ module Axlsx
self.send("#{o[0]}=", o[1]) if self.respond_to? "#{o[0]}="
end
end
-
- # Validation for hPercent
- H_PERCENT_REGEX = /0*(([5-9])|([1-9][0-9])|([1-4][0-9][0-9])|500)%/
-
- # validation for depthPercent
- DEPTH_PERCENT_REGEX = /0*(([2-9][0-9])|([1-9][0-9][0-9])|(1[0-9][0-9][0-9])|2000)%/
def rotX=(v) DataTypeValidator.validate "#{self.class}.rotX", [Integer, Fixnum], v, lambda {|v| v >= -90 && v <= 90 }; @rotX = v; end
+
def hPercent=(v) RegexValidator.validate "#{self.class}.rotX", H_PERCENT_REGEX, v; @hPercent = v; end
+
def rotY=(v) DataTypeValidator.validate "#{self.class}.rotY", [Integer, Fixnum], v, lambda {|v| v >= 0 && v <= 360 }; @rotY = v; end
+
def depthPercent=(v) RegexValidator.validate "#{self.class}.depthPercent", DEPTH_PERCENT_REGEX, v; @depthPercent = v; end
+
def rAngAx=(v) Axlsx::validate_boolean(v); @rAngAx = v; end
+
def perspective=(v) DataTypeValidator.validate "#{self.class}.perspective", [Integer, Fixnum], v, lambda {|v| v >= 0 && v <= 240 }; @perspective = v; end
# Serializes the view3D properties
diff --git a/lib/axlsx/util/simple_typed_list.rb b/lib/axlsx/util/simple_typed_list.rb
index 7bb656cd..53b7b994 100644
--- a/lib/axlsx/util/simple_typed_list.rb
+++ b/lib/axlsx/util/simple_typed_list.rb
@@ -100,6 +100,11 @@ module Axlsx
index < @locked_at
end
+ # override the equality method so that this object can be compared to a simple array.
+ # if this object's list is equal to the specifiec array, we return true.
+ def ==(v)
+ v == @list
+ end
# method_mission override to pass allowed methods to the list.
# @note
# the following methods are not allowed
@@ -123,12 +128,12 @@ module Axlsx
# :drop_while
# :delete_if
# :clear
- # :concat
def method_missing(meth, *args, &block)
- raise ArgumentError, "#{meth} not supported" if [:replace, :insert, :collect!, :map!, :pop, :delete_if, :reverse!, :shift, :shuffle!, :slice!, :sort!, :uniq!, :unshift, :zip, :flatten!, :fill, :drop, :drop_while, :delete_if, :clear, :concat].include? meth.to_sym
+ raise ArgumentError, "#{meth} not supported" if [:replace, :insert, :collect!, :map!, :pop, :delete_if, :reverse!, :shift, :shuffle!, :slice!, :sort!, :uniq!, :unshift, :zip, :flatten!, :fill, :drop, :drop_while, :delete_if, :clear].include? meth.to_sym
if @list.respond_to? meth
@list.send(meth, *args, &block)
else
+ puts "method:#{meth.inspect}"
super
end
end
diff --git a/lib/axlsx/workbook/worksheet/worksheet.rb b/lib/axlsx/workbook/worksheet/worksheet.rb
index 4cc9d783..c82dbde9 100644
--- a/lib/axlsx/workbook/worksheet/worksheet.rb
+++ b/lib/axlsx/workbook/worksheet/worksheet.rb
@@ -100,11 +100,19 @@ module Axlsx
@rows.last
end
- # Adds a chart to this worksheets drawing.
+ # Adds a chart to this worksheets drawing. This is the recommended way to create charts for your worksheet. This method wraps the complexity of dealing with ooxml drawing, anchors, markers graphic frames chart objects and all the other dirty details.
# @param [Class] chart_type
# @option options [Array] start_at
# @option options [Array] end_at
# @option options [Cell, String] title
+ # @option options [Boolean] show_legend
+ # @option options [Integer] style
+ # @note each chart type also specifies additional options
+ # @see Chart
+ # @see Pie3DChart
+ # @see Bar3DChart
+ # @see Line3DChart
+ # @see README for examples
def add_chart(chart_type, options={})
chart = drawing.add_chart(chart_type, options)
yield chart if block_given?
diff --git a/test/drawing/tc_axis.rb b/test/drawing/tc_axis.rb
index 6b08d842..426bf4ad 100644
--- a/test/drawing/tc_axis.rb
+++ b/test/drawing/tc_axis.rb
@@ -14,6 +14,7 @@ class TestAxis < Test::Unit::TestCase
assert_equal(@axis.tickLblPos, :nextTo, "tick label position default incorrect")
assert_equal(@axis.crosses, :autoZero, "tick label position default incorrect")
assert(@axis.scaling.is_a?(Axlsx::Scaling) && @axis.scaling.orientation == :minMax, "scaling default incorrect")
+ assert_raise(ArgumentError) { Axlsx::Axis.new -1234, 'abcd' }
end
def test_axis_position
diff --git a/test/drawing/tc_cat_axis_data.rb b/test/drawing/tc_cat_axis_data.rb
new file mode 100644
index 00000000..e8a71fb1
--- /dev/null
+++ b/test/drawing/tc_cat_axis_data.rb
@@ -0,0 +1,18 @@
+require 'test/unit'
+require 'axlsx.rb'
+
+class TestCatAxisData < Test::Unit::TestCase
+
+ def setup
+ p = Axlsx::Package.new
+ @ws = p.workbook.add_worksheet
+ chart = @ws.drawing.add_chart Axlsx::Bar3DChart
+ @series = chart.add_series :labels=>["zero", "one", "two"]
+ end
+
+ def test_initialize
+ assert(@series.labels.is_a?Axlsx::SimpleTypedList)
+ assert_equal(@series.labels, ["zero", "one", "two"])
+ end
+
+end
diff --git a/test/drawing/tc_chart.rb b/test/drawing/tc_chart.rb
index 586df2c5..f303fab9 100644
--- a/test/drawing/tc_chart.rb
+++ b/test/drawing/tc_chart.rb
@@ -34,6 +34,18 @@ class TestChart < Test::Unit::TestCase
assert_equal(@chart.style, 2)
end
+ def test_start_at
+ @chart.start_at 15,25
+ assert_equal(@chart.graphic_frame.anchor.from.col, 15)
+ assert_equal(@chart.graphic_frame.anchor.from.row, 25)
+
+ end
+
+ def end_at
+ @chart.end_at 25, 90
+ assert_equal(@chart.graphic_frame.anchor.from.col, 25)
+ assert_equal(@chart.graphic_frame.anchor.to.row, 90)
+ end
def test_add_series
s = @chart.add_series :data=>[0,1,2,3], :labels => ["one", 1, "anything"], :title=>"bob"
diff --git a/test/drawing/tc_line_series.tc b/test/drawing/tc_line_series.rb
index 54cbc256..602e7770 100644
--- a/test/drawing/tc_line_series.tc
+++ b/test/drawing/tc_line_series.rb
@@ -14,7 +14,6 @@ class TestLineSeries < Test::Unit::TestCase
assert_equal(@series.title.text, "bob", "series title has been applied")
assert_equal(@series.data, [0,1,2], "data option applied")
assert_equal(@series.labels, ["zero", "one","two"], "labels option applied")
- assert_equal(@series.shape, :box, "series shape has been applied")
end
def test_data
@@ -25,10 +24,4 @@ class TestLineSeries < Test::Unit::TestCase
assert_equal(@series.labels, ["zero", "one", "two"])
end
- def test_shape
- assert_raise(ArgumentError, "require valid shape") { @series.shape = :teardropt }
- assert_nothing_raised("allow valid shape") { @series.shape = :cone }
- assert(@series.shape == :cone)
- end
-
end
diff --git a/test/drawing/tc_ser_axis.rb b/test/drawing/tc_ser_axis.rb
index 1882e1f1..3d744907 100644
--- a/test/drawing/tc_ser_axis.rb
+++ b/test/drawing/tc_ser_axis.rb
@@ -8,16 +8,24 @@ class TestSerAxis < Test::Unit::TestCase
def teardown
end
+ def test_options
+ a = Axlsx::SerAxis.new 12345, 54321, :tickLblSkip => 9, :tickMarkSkip => 7
+ assert_equal(a.tickLblSkip, 9)
+ assert_equal(a.tickMarkSkip, 7)
+ end
+
+
def test_tickLblSkip
- assert_raise(ArgumentError, "requires valid tickLblSkip") { @axis.tickLblSkip = :my_eyes }
- assert_nothing_raised("accepts valid tickLblSkip") { @axis.tickLblSkip = false }
- assert_equal(@axis.tickLblSkip, false)
+ assert_raise(ArgumentError, "requires valid tickLblSkip") { @axis.tickLblSkip = -1 }
+ assert_nothing_raised("accepts valid tickLblSkip") { @axis.tickLblSkip = 1 }
+ assert_equal(@axis.tickLblSkip, 1)
end
+
def test_tickMarkSkip
assert_raise(ArgumentError, "requires valid tickMarkSkip") { @axis.tickMarkSkip = :my_eyes }
- assert_nothing_raised("accepts valid tickMarkSkip") { @axis.tickMarkSkip = false }
- assert_equal(@axis.tickMarkSkip, false)
+ assert_nothing_raised("accepts valid tickMarkSkip") { @axis.tickMarkSkip = 2 }
+ assert_equal(@axis.tickMarkSkip, 2)
end
end
diff --git a/test/drawing/tc_two_cell_anchor.rb b/test/drawing/tc_two_cell_anchor.rb
index 1c6e6882..2d87b6a7 100644
--- a/test/drawing/tc_two_cell_anchor.rb
+++ b/test/drawing/tc_two_cell_anchor.rb
@@ -2,13 +2,14 @@ require 'test/unit'
require 'axlsx.rb'
class TestTwoCellAnchor < Test::Unit::TestCase
+
def setup
- @p = Axlsx::Package.new
- ws = @p.workbook.add_worksheet
- @row = ws.add_row ["one", 1, Time.now]
- @title = Axlsx::Title.new
- @chart = ws.add_chart Axlsx::Bar3DChart
- @anchor = @chart.graphic_frame.anchor
+ p = Axlsx::Package.new
+ @ws = p.workbook.add_worksheet
+ row = @ws.add_row ["one", 1, Time.now]
+ title = Axlsx::Title.new
+ chart = @ws.add_chart Axlsx::Bar3DChart
+ @anchor = chart.graphic_frame.anchor
end
def teardown
@@ -20,18 +21,18 @@ class TestTwoCellAnchor < Test::Unit::TestCase
assert(@anchor.to.col == 5)
assert(@anchor.to.row == 10)
end
+
- def test_start_at
- @anchor.start_at 5, 10
- assert(@anchor.from.col == 5)
- assert(@anchor.from.row == 10)
- end
-
- def test_end_at
- @anchor.end_at 10, 15
- assert(@anchor.to.col == 10)
- assert(@anchor.to.row == 15)
+ def test_options
+ assert_raise(ArgumentError, 'invalid start_at') { @ws.add_chart Axlsx::Chart, :start_at=>[1] }
+ assert_raise(ArgumentError, 'invalid end_at') { @ws.add_chart Axlsx::Chart, :start_at=>[1,2], :end_at => ["a", 4] }
+ # this is actually raised in the graphic frame
+ assert_raise(ArgumentError, 'invalid Chart') { @ws.add_chart Axlsx::TwoCellAnchor }
+ a = @ws.add_chart Axlsx::Chart, :start_at => [15, 35], :end_at => [90, 45]
+ assert_equal(a.graphic_frame.anchor.from.col, 15)
+ assert_equal(a.graphic_frame.anchor.from.row, 35)
+ assert_equal(a.graphic_frame.anchor.to.col, 90)
+ assert_equal(a.graphic_frame.anchor.to.row, 45)
end
-
end
diff --git a/test/drawing/tc_val_axis.rb b/test/drawing/tc_val_axis.rb
index 2dcdd416..4bd8b883 100644
--- a/test/drawing/tc_val_axis.rb
+++ b/test/drawing/tc_val_axis.rb
@@ -12,6 +12,11 @@ class TestValAxis < Test::Unit::TestCase
assert_equal(@axis.crossBetween, :between, "axis crossBetween default incorrect")
end
+ def test_options
+ a = Axlsx::ValAxis.new 2345, 4321, :crossBetween => :midCat
+ assert_equal(a.crossBetween, :midCat)
+ end
+
def test_crossBetween
assert_raise(ArgumentError, "requires valid crossBetween") { @axis.crossBetween = :my_eyes }
assert_nothing_raised("accepts valid crossBetween") { @axis.crossBetween = :midCat }
diff --git a/test/drawing/tc_val_axis_data.rb b/test/drawing/tc_val_axis_data.rb
new file mode 100644
index 00000000..cb39176d
--- /dev/null
+++ b/test/drawing/tc_val_axis_data.rb
@@ -0,0 +1,18 @@
+require 'test/unit'
+require 'axlsx.rb'
+
+class TestValAxisData < Test::Unit::TestCase
+
+ def setup
+ p = Axlsx::Package.new
+ @ws = p.workbook.add_worksheet
+ chart = @ws.drawing.add_chart Axlsx::Line3DChart
+ @series = chart.add_series :data=>[0,1,2]
+ end
+
+ def test_initialize
+ assert(@series.data.is_a?Axlsx::SimpleTypedList)
+ assert_equal(@series.data, [0,1,2])
+ end
+
+end
diff --git a/test/drawing/tc_view_3D.rb b/test/drawing/tc_view_3D.rb
index 909550b5..40d8982f 100644
--- a/test/drawing/tc_view_3D.rb
+++ b/test/drawing/tc_view_3D.rb
@@ -8,7 +8,16 @@ class TestView3D < Test::Unit::TestCase
def teardown
end
-
+
+ def test_options
+ v = Axlsx::View3D.new :rotX => 10, :rotY => 5, :hPercent => "30%", :depthPercent => "45%", :rAngAx => false, :perspective => 10
+ assert_equal(v.rotX, 10)
+ assert_equal(v.rotY, 5)
+ assert_equal(v.hPercent, "30%")
+ assert_equal(v.depthPercent, "45%")
+ assert_equal(v.rAngAx, false)
+ assert_equal(v.perspective, 10)
+ end
def test_rotX
assert_raise(ArgumentError) {@view.rotX = "bob"}