axlsx 1.0.11 → 1.0.12

Sign up to get free protection for your applications and to get access to all the features.
Files changed (145) hide show
  1. data/.yardopts +4 -0
  2. data/README.md +7 -4
  3. data/examples/example.rb +6 -4
  4. data/examples/example.rb~ +112 -0
  5. data/lib/schema/dc.xsd~ +118 -0
  6. data/lib/schema/dcterms.xsd~ +331 -0
  7. data/lib/schema/opc-coreProperties.xsd~ +50 -0
  8. metadata +43 -193
  9. data/Gemfile +0 -3
  10. data/Gemfile.lock +0 -29
  11. data/axlsx.gemspec +0 -42
  12. data/doc/Axlsx.html +0 -2718
  13. data/doc/Axlsx/App.html +0 -2640
  14. data/doc/Axlsx/Axis.html +0 -1075
  15. data/doc/Axlsx/Bar3DChart.html +0 -1182
  16. data/doc/Axlsx/BarSeries.html +0 -711
  17. data/doc/Axlsx/Border.html +0 -779
  18. data/doc/Axlsx/BorderPr.html +0 -709
  19. data/doc/Axlsx/CatAxis.html +0 -769
  20. data/doc/Axlsx/CatAxisData.html +0 -397
  21. data/doc/Axlsx/Cell.html +0 -3187
  22. data/doc/Axlsx/CellAlignment.html +0 -1247
  23. data/doc/Axlsx/CellProtection.html +0 -565
  24. data/doc/Axlsx/CellStyle.html +0 -949
  25. data/doc/Axlsx/Chart.html +0 -1692
  26. data/doc/Axlsx/Color.html +0 -670
  27. data/doc/Axlsx/ContentType.html +0 -335
  28. data/doc/Axlsx/Core.html +0 -465
  29. data/doc/Axlsx/DataTypeValidator.html +0 -324
  30. data/doc/Axlsx/Default.html +0 -565
  31. data/doc/Axlsx/Drawing.html +0 -1264
  32. data/doc/Axlsx/Fill.html +0 -460
  33. data/doc/Axlsx/Font.html +0 -1554
  34. data/doc/Axlsx/GradientFill.html +0 -1026
  35. data/doc/Axlsx/GradientStop.html +0 -526
  36. data/doc/Axlsx/GraphicFrame.html +0 -642
  37. data/doc/Axlsx/Line3DChart.html +0 -1004
  38. data/doc/Axlsx/LineSeries.html +0 -605
  39. data/doc/Axlsx/Marker.html +0 -857
  40. data/doc/Axlsx/NumFmt.html +0 -562
  41. data/doc/Axlsx/OneCellAnchor.html +0 -982
  42. data/doc/Axlsx/Override.html +0 -552
  43. data/doc/Axlsx/Package.html +0 -825
  44. data/doc/Axlsx/Parser.html +0 -549
  45. data/doc/Axlsx/PatternFill.html +0 -681
  46. data/doc/Axlsx/Pic.html +0 -1701
  47. data/doc/Axlsx/PictureLocking.html +0 -1159
  48. data/doc/Axlsx/Pie3DChart.html +0 -489
  49. data/doc/Axlsx/PieSeries.html +0 -710
  50. data/doc/Axlsx/RegexValidator.html +0 -268
  51. data/doc/Axlsx/Relationship.html +0 -554
  52. data/doc/Axlsx/Relationships.html +0 -338
  53. data/doc/Axlsx/RestrictionValidator.html +0 -300
  54. data/doc/Axlsx/Row.html +0 -916
  55. data/doc/Axlsx/Scaling.html +0 -742
  56. data/doc/Axlsx/SerAxis.html +0 -641
  57. data/doc/Axlsx/Series.html +0 -813
  58. data/doc/Axlsx/SeriesTitle.html +0 -290
  59. data/doc/Axlsx/Styles.html +0 -1754
  60. data/doc/Axlsx/TableStyle.html +0 -705
  61. data/doc/Axlsx/TableStyleElement.html +0 -677
  62. data/doc/Axlsx/TableStyles.html +0 -594
  63. data/doc/Axlsx/Title.html +0 -543
  64. data/doc/Axlsx/TwoCellAnchor.html +0 -973
  65. data/doc/Axlsx/ValAxis.html +0 -538
  66. data/doc/Axlsx/ValAxisData.html +0 -321
  67. data/doc/Axlsx/View3D.html +0 -973
  68. data/doc/Axlsx/Workbook.html +0 -1630
  69. data/doc/Axlsx/Worksheet.html +0 -2682
  70. data/doc/Axlsx/Xf.html +0 -1780
  71. data/doc/_index.html +0 -649
  72. data/doc/class_list.html +0 -47
  73. data/doc/css/common.css +0 -1
  74. data/doc/css/full_list.css +0 -55
  75. data/doc/css/style.css +0 -322
  76. data/doc/file.LICENSE.html +0 -91
  77. data/doc/file.README.html +0 -338
  78. data/doc/file_list.html +0 -52
  79. data/doc/frames.html +0 -13
  80. data/doc/index.html +0 -338
  81. data/doc/js/app.js +0 -205
  82. data/doc/js/full_list.js +0 -167
  83. data/doc/js/jquery.js +0 -16
  84. data/doc/method_list.html +0 -3502
  85. data/doc/top-level-namespace.html +0 -103
  86. data/lib/axlsx.rb +0 -54
  87. data/lib/axlsx/content_type/content_type.rb +0 -23
  88. data/lib/axlsx/content_type/default.rb +0 -37
  89. data/lib/axlsx/content_type/override.rb +0 -37
  90. data/lib/axlsx/doc_props/app.rb +0 -178
  91. data/lib/axlsx/doc_props/core.rb +0 -34
  92. data/lib/axlsx/drawing/axis.rb +0 -90
  93. data/lib/axlsx/drawing/bar_3D_chart.rb +0 -128
  94. data/lib/axlsx/drawing/bar_series.rb +0 -64
  95. data/lib/axlsx/drawing/cat_axis.rb +0 -63
  96. data/lib/axlsx/drawing/cat_axis_data.rb +0 -35
  97. data/lib/axlsx/drawing/chart.rb +0 -179
  98. data/lib/axlsx/drawing/drawing.rb +0 -137
  99. data/lib/axlsx/drawing/graphic_frame.rb +0 -52
  100. data/lib/axlsx/drawing/line_3D_chart.rb +0 -106
  101. data/lib/axlsx/drawing/line_series.rb +0 -46
  102. data/lib/axlsx/drawing/marker.rb +0 -61
  103. data/lib/axlsx/drawing/one_cell_anchor.rb +0 -89
  104. data/lib/axlsx/drawing/pic.rb +0 -153
  105. data/lib/axlsx/drawing/picture_locking.rb +0 -72
  106. data/lib/axlsx/drawing/pie_3D_chart.rb +0 -41
  107. data/lib/axlsx/drawing/pie_series.rb +0 -56
  108. data/lib/axlsx/drawing/scaling.rb +0 -59
  109. data/lib/axlsx/drawing/ser_axis.rb +0 -45
  110. data/lib/axlsx/drawing/series.rb +0 -71
  111. data/lib/axlsx/drawing/series_title.rb +0 -22
  112. data/lib/axlsx/drawing/title.rb +0 -61
  113. data/lib/axlsx/drawing/two_cell_anchor.rb +0 -76
  114. data/lib/axlsx/drawing/val_axis.rb +0 -34
  115. data/lib/axlsx/drawing/val_axis_data.rb +0 -28
  116. data/lib/axlsx/drawing/view_3D.rb +0 -85
  117. data/lib/axlsx/package.rb +0 -214
  118. data/lib/axlsx/rels/relationship.rb +0 -44
  119. data/lib/axlsx/rels/relationships.rb +0 -25
  120. data/lib/axlsx/stylesheet/border.rb +0 -57
  121. data/lib/axlsx/stylesheet/border_pr.rb +0 -68
  122. data/lib/axlsx/stylesheet/cell_alignment.rb +0 -105
  123. data/lib/axlsx/stylesheet/cell_protection.rb +0 -36
  124. data/lib/axlsx/stylesheet/cell_style.rb +0 -65
  125. data/lib/axlsx/stylesheet/color.rb +0 -69
  126. data/lib/axlsx/stylesheet/fill.rb +0 -32
  127. data/lib/axlsx/stylesheet/font.rb +0 -139
  128. data/lib/axlsx/stylesheet/gradient_fill.rb +0 -76
  129. data/lib/axlsx/stylesheet/gradient_stop.rb +0 -33
  130. data/lib/axlsx/stylesheet/num_fmt.rb +0 -63
  131. data/lib/axlsx/stylesheet/pattern_fill.rb +0 -66
  132. data/lib/axlsx/stylesheet/styles.rb +0 -298
  133. data/lib/axlsx/stylesheet/table_style.rb +0 -47
  134. data/lib/axlsx/stylesheet/table_style_element.rb +0 -71
  135. data/lib/axlsx/stylesheet/table_styles.rb +0 -39
  136. data/lib/axlsx/stylesheet/xf.rb +0 -138
  137. data/lib/axlsx/util/constants.rb +0 -216
  138. data/lib/axlsx/util/parser.rb +0 -43
  139. data/lib/axlsx/util/simple_typed_list.rb +0 -160
  140. data/lib/axlsx/util/validators.rb +0 -132
  141. data/lib/axlsx/version.rb +0 -4
  142. data/lib/axlsx/workbook/workbook.rb +0 -160
  143. data/lib/axlsx/workbook/worksheet/cell.rb +0 -340
  144. data/lib/axlsx/workbook/worksheet/row.rb +0 -107
  145. data/lib/axlsx/workbook/worksheet/worksheet.rb +0 -278
@@ -1,1004 +0,0 @@
1
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
- <head>
5
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6
- <title>
7
- Class: Axlsx::Line3DChart
8
-
9
- &mdash; AXLSX
10
-
11
- </title>
12
-
13
- <link rel="stylesheet" href="../css/style.css" type="text/css" media="screen" charset="utf-8" />
14
-
15
- <link rel="stylesheet" href="../css/common.css" type="text/css" media="screen" charset="utf-8" />
16
-
17
- <script type="text/javascript" charset="utf-8">
18
- relpath = '..';
19
- if (relpath != '') relpath += '/';
20
- </script>
21
-
22
- <script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
23
-
24
- <script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
25
-
26
-
27
- </head>
28
- <body>
29
- <script type="text/javascript" charset="utf-8">
30
- if (window.top.frames.main) document.body.className = 'frames';
31
- </script>
32
-
33
- <div id="header">
34
- <div id="menu">
35
-
36
- <a href="../_index.html">Index (L)</a> &raquo;
37
- <span class='title'><span class='object_link'><a href="../Axlsx.html" title="Axlsx (module)">Axlsx</a></span></span>
38
- &raquo;
39
- <span class="title">Line3DChart</span>
40
-
41
-
42
- <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
43
- </div>
44
-
45
- <div id="search">
46
-
47
- <a id="class_list_link" href="#">Class List</a>
48
-
49
- <a id="method_list_link" href="#">Method List</a>
50
-
51
- <a id="file_list_link" href="#">File List</a>
52
-
53
- </div>
54
- <div class="clear"></div>
55
- </div>
56
-
57
- <iframe id="search_frame"></iframe>
58
-
59
- <div id="content"><h1>Class: Axlsx::Line3DChart
60
-
61
-
62
-
63
- </h1>
64
-
65
- <dl class="box">
66
-
67
- <dt class="r1">Inherits:</dt>
68
- <dd class="r1">
69
- <span class="inheritName"><span class='object_link'><a href="Chart.html" title="Axlsx::Chart (class)">Chart</a></span></span>
70
-
71
- <ul class="fullTree">
72
- <li>Object</li>
73
-
74
- <li class="next"><span class='object_link'><a href="Chart.html" title="Axlsx::Chart (class)">Chart</a></span></li>
75
-
76
- <li class="next">Axlsx::Line3DChart</li>
77
-
78
- </ul>
79
- <a href="#" class="inheritanceTree">show all</a>
80
-
81
- </dd>
82
-
83
-
84
-
85
-
86
-
87
-
88
-
89
-
90
-
91
- <dt class="r2 last">Defined in:</dt>
92
- <dd class="r2 last">lib/axlsx/drawing/line_3D_chart.rb</dd>
93
-
94
- </dl>
95
- <div class="clear"></div>
96
-
97
- <h2>Overview</h2><div class="docstring">
98
- <div class="discussion">
99
- <p>
100
- The Line3DChart is a three dimentional line chart (who would have guessed?)
101
- that you can add to your worksheet.
102
- </p>
103
-
104
-
105
- </div>
106
- </div>
107
- <div class="tags">
108
-
109
- <div class="examples">
110
- <h3>Examples:</h3>
111
-
112
- <h4><div class='inline'><p>
113
- Creating a chart
114
- </p>
115
- </div></h4>
116
- <pre class="example code"><span class='comment val'># This example creates a line in a single sheet.</span>
117
- <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>
118
- <span class='require identifier id'>require</span> <span class='string val'>&quot;axlsx&quot;</span>
119
-
120
- <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>
121
- <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>
122
- <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>
123
-
124
- <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='Line3DChart constant id'>Line3DChart</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>
125
- <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>
126
- </pre>
127
-
128
- </div>
129
-
130
-
131
- <h3>See Also:</h3>
132
- <ul class="see">
133
-
134
- <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>
135
-
136
- <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>
137
-
138
- <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>
139
-
140
- <li><span class='object_link'><a href="Series.html" title="Axlsx::Series (class)">Series</a></span></li>
141
-
142
- <li><span class='object_link'><a href="Package.html#serialize-instance_method" title="Axlsx::Package#serialize (method)">Package#serialize</a></span></li>
143
-
144
- </ul>
145
-
146
- </div>
147
- <h2>Constant Summary</h2>
148
-
149
- <dl class="constants">
150
-
151
- <dt id="GAP_AMOUNT_PERCENT-constant" class="">GAP_AMOUNT_PERCENT =
152
- <div class="docstring">
153
- <div class="discussion">
154
- <p>
155
- validation regex for gap amount percent
156
- </p>
157
-
158
-
159
- </div>
160
- </div>
161
- <div class="tags">
162
-
163
-
164
- </div>
165
- </dt>
166
- <dd><pre class="code"><span class='regexp val'>/0*(([0-9])|([1-9][0-9])|([1-4][0-9][0-9])|500)%/</span>
167
- </pre></dd>
168
-
169
- </dl>
170
-
171
-
172
-
173
-
174
-
175
-
176
-
177
- <h2>Instance Attribute Summary <small>(<a href="#" class="summary_toggle">collapse</a>)</small></h2>
178
- <ul class="summary">
179
-
180
- <li class="public ">
181
- <span class="summary_signature">
182
-
183
- <a href="#catAxis-instance_method" title="#catAxis (instance method)">- (CatAxis) <strong>catAxis</strong> </a>
184
-
185
-
186
-
187
- </span>
188
-
189
-
190
- <span class="note title readonly">readonly</span>
191
-
192
-
193
-
194
-
195
-
196
-
197
-
198
-
199
- <span class="summary_desc"><div class='inline'><p>
200
- the category axis.
201
- </p>
202
- </div></span>
203
-
204
- </li>
205
-
206
-
207
- <li class="public ">
208
- <span class="summary_signature">
209
-
210
- <a href="#gapDepth-instance_method" title="#gapDepth (instance method)">- (String) <strong>gapDepth</strong> </a>
211
-
212
-
213
-
214
- </span>
215
-
216
-
217
-
218
-
219
-
220
-
221
-
222
-
223
-
224
-
225
-
226
- <span class="summary_desc"><div class='inline'><p>
227
- space between bar or column clusters, as a percentage of the bar or column
228
- width.
229
- </p>
230
- </div></span>
231
-
232
- </li>
233
-
234
-
235
- <li class="public ">
236
- <span class="summary_signature">
237
-
238
- <a href="#grouping-instance_method" title="#grouping (instance method)">- (Symbol) <strong>grouping</strong> </a>
239
-
240
-
241
-
242
- </span>
243
-
244
-
245
-
246
-
247
-
248
-
249
-
250
-
251
-
252
-
253
-
254
- <span class="summary_desc"><div class='inline'><p>
255
- grouping for a column, line, or area chart.
256
- </p>
257
- </div></span>
258
-
259
- </li>
260
-
261
-
262
- <li class="public ">
263
- <span class="summary_signature">
264
-
265
- <a href="#serAxis-instance_method" title="#serAxis (instance method)">- (Axis) <strong>serAxis</strong> </a>
266
-
267
-
268
-
269
- </span>
270
-
271
-
272
- <span class="note title readonly">readonly</span>
273
-
274
-
275
-
276
-
277
-
278
-
279
-
280
-
281
- <span class="summary_desc"><div class='inline'><p>
282
- the category axis.
283
- </p>
284
- </div></span>
285
-
286
- </li>
287
-
288
-
289
- <li class="public ">
290
- <span class="summary_signature">
291
-
292
- <a href="#valAxis-instance_method" title="#valAxis (instance method)">- (ValAxis) <strong>valAxis</strong> </a>
293
-
294
-
295
-
296
- </span>
297
-
298
-
299
- <span class="note title readonly">readonly</span>
300
-
301
-
302
-
303
-
304
-
305
-
306
-
307
-
308
- <span class="summary_desc"><div class='inline'><p>
309
- the category axis.
310
- </p>
311
- </div></span>
312
-
313
- </li>
314
-
315
-
316
- </ul>
317
-
318
-
319
-
320
-
321
-
322
-
323
-
324
-
325
- <h3 class="inherited">Attributes inherited from <span class='object_link'><a href="Chart.html" title="Axlsx::Chart (class)">Chart</a></span></h3>
326
- <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#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>
327
-
328
-
329
-
330
- <h2>
331
- Instance Method Summary
332
- <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
333
- </h2>
334
-
335
- <ul class="summary">
336
-
337
- <li class="public ">
338
- <span class="summary_signature">
339
-
340
- <a href="#initialize-instance_method" title="#initialize (instance method)">- (Line3DChart) <strong>initialize</strong>(frame, options = {}) </a>
341
-
342
-
343
-
344
- </span>
345
-
346
- <span class="note title constructor">constructor</span>
347
-
348
-
349
-
350
-
351
-
352
-
353
-
354
-
355
- <span class="summary_desc"><div class='inline'><p>
356
- Creates a new line chart object.
357
- </p>
358
- </div></span>
359
-
360
- </li>
361
-
362
-
363
- <li class="public ">
364
- <span class="summary_signature">
365
-
366
- <a href="#to_xml-instance_method" title="#to_xml (instance method)">- (String) <strong>to_xml</strong> </a>
367
-
368
-
369
-
370
- </span>
371
-
372
-
373
-
374
-
375
-
376
-
377
-
378
-
379
- <span class="summary_desc"><div class='inline'><p>
380
- Serializes the bar chart.
381
- </p>
382
- </div></span>
383
-
384
- </li>
385
-
386
-
387
- </ul>
388
-
389
-
390
-
391
-
392
-
393
-
394
-
395
-
396
-
397
-
398
- <h3 class="inherited">Methods inherited from <span class='object_link'><a href="Chart.html" title="Axlsx::Chart (class)">Chart</a></span></h3>
399
- <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#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#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>
400
- <div id="constructor_details" class="method_details_list">
401
- <h2>Constructor Details</h2>
402
-
403
- <div class="method_details first">
404
- <p class="signature first" id="initialize-instance_method">
405
-
406
- - (<tt><span class='object_link'><a href="" title="Axlsx::Line3DChart (class)">Line3DChart</a></span></tt>) <strong>initialize</strong>(frame, options = {})
407
-
408
-
409
-
410
- </p><div class="docstring">
411
- <div class="discussion">
412
- <p>
413
- Creates a new line chart object
414
- </p>
415
-
416
-
417
- </div>
418
- </div>
419
- <div class="tags">
420
- <h3>Parameters:</h3>
421
- <ul class="param">
422
-
423
- <li>
424
-
425
- <span class='name'>frame</span>
426
-
427
-
428
- <span class='type'>(<tt><span class='object_link'><a href="GraphicFrame.html" title="Axlsx::GraphicFrame (class)">GraphicFrame</a></span></tt>)</span>
429
-
430
-
431
-
432
- &mdash;
433
- <div class='inline'><p>
434
- The workbook that owns this chart.
435
- </p>
436
- </div>
437
-
438
- </li>
439
-
440
- <li>
441
-
442
- <span class='name'>options</span>
443
-
444
-
445
- <span class='type'>(<tt>Hash</tt>)</span>
446
-
447
-
448
- <em class="default">(defaults to: <tt>{}</tt>)</em>
449
-
450
-
451
- &mdash;
452
- <div class='inline'><p>
453
- a customizable set of options
454
- </p>
455
- </div>
456
-
457
- </li>
458
-
459
- </ul>
460
-
461
-
462
-
463
-
464
-
465
-
466
- <h3>Options Hash (<tt>options</tt>):</h3>
467
- <ul class="option">
468
-
469
- <li>
470
- <span class="name">title</span>
471
- <span class="type">(<tt><span class='object_link'><a href="Cell.html" title="Axlsx::Cell (class)">Cell</a></span></tt>, <tt>String</tt>)</span>
472
- <span class="default">
473
-
474
- </span>
475
-
476
- </li>
477
-
478
- <li>
479
- <span class="name">show_legend</span>
480
- <span class="type">(<tt>Boolean</tt>)</span>
481
- <span class="default">
482
-
483
- </span>
484
-
485
- </li>
486
-
487
- <li>
488
- <span class="name">grouping</span>
489
- <span class="type">(<tt>Symbol</tt>)</span>
490
- <span class="default">
491
-
492
- </span>
493
-
494
- </li>
495
-
496
- <li>
497
- <span class="name">gapDepth</span>
498
- <span class="type">(<tt>String</tt>)</span>
499
- <span class="default">
500
-
501
- </span>
502
-
503
- </li>
504
-
505
- <li>
506
- <span class="name">rotX</span>
507
- <span class="type">(<tt>Integer</tt>)</span>
508
- <span class="default">
509
-
510
- </span>
511
-
512
- </li>
513
-
514
- <li>
515
- <span class="name">hPercent</span>
516
- <span class="type">(<tt>String</tt>)</span>
517
- <span class="default">
518
-
519
- </span>
520
-
521
- </li>
522
-
523
- <li>
524
- <span class="name">rotY</span>
525
- <span class="type">(<tt>Integer</tt>)</span>
526
- <span class="default">
527
-
528
- </span>
529
-
530
- </li>
531
-
532
- <li>
533
- <span class="name">depthPercent</span>
534
- <span class="type">(<tt>String</tt>)</span>
535
- <span class="default">
536
-
537
- </span>
538
-
539
- </li>
540
-
541
- <li>
542
- <span class="name">rAngAx</span>
543
- <span class="type">(<tt>Boolean</tt>)</span>
544
- <span class="default">
545
-
546
- </span>
547
-
548
- </li>
549
-
550
- <li>
551
- <span class="name">perspective</span>
552
- <span class="type">(<tt>Integer</tt>)</span>
553
- <span class="default">
554
-
555
- </span>
556
-
557
- </li>
558
-
559
- </ul>
560
-
561
-
562
-
563
- <h3>See Also:</h3>
564
- <ul class="see">
565
-
566
- <li><span class='object_link'><a href="Chart.html" title="Axlsx::Chart (class)">Chart</a></span></li>
567
-
568
- <li><span class='object_link'><a href="View3D.html" title="Axlsx::View3D (class)">View3D</a></span></li>
569
-
570
- </ul>
571
-
572
- </div><table class="source_code">
573
- <tr>
574
- <td>
575
- <pre class="lines">
576
-
577
-
578
- 61
579
- 62
580
- 63
581
- 64
582
- 65
583
- 66
584
- 67
585
- 68
586
- 69
587
- 70
588
- 71
589
- 72
590
- 73</pre>
591
- </td>
592
- <td>
593
- <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/line_3D_chart.rb', line 61</span>
594
-
595
- <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>
596
- <span class='@gapDepth ivar id'>@gapDepth</span> <span class='assign token'>=</span> <span class='nil nil kw'>nil</span>
597
- <span class='@grouping ivar id'>@grouping</span> <span class='assign token'>=</span> <span class='symbol val'>:standard</span>
598
- <span class='@catAxId ivar id'>@catAxId</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>
599
- <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>
600
- <span class='@serAxId ivar id'>@serAxId</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>
601
- <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>
602
- <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>
603
- <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>
604
- <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>
605
- <span class='@series_type ivar id'>@series_type</span> <span class='assign token'>=</span> <span class='LineSeries constant id'>LineSeries</span>
606
- <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>
607
- <span class='end end kw'>end</span>
608
- </pre>
609
- </td>
610
- </tr>
611
- </table>
612
- </div>
613
-
614
- </div>
615
-
616
- <div id="instance_attr_details" class="attr_details">
617
- <h2>Instance Attribute Details</h2>
618
-
619
-
620
- <span id=""></span>
621
- <span id="catAxis-instance_method"></span>
622
- <div class="method_details first">
623
- <p class="signature first" id="catAxis-instance_method">
624
-
625
- - (<tt><span class='object_link'><a href="CatAxis.html" title="Axlsx::CatAxis (class)">CatAxis</a></span></tt>) <strong>catAxis</strong> <span class="extras">(readonly)</span>
626
-
627
-
628
-
629
- </p><div class="docstring">
630
- <div class="discussion">
631
- <p>
632
- the category axis
633
- </p>
634
-
635
-
636
- </div>
637
- </div>
638
- <div class="tags">
639
-
640
- <h3>Returns:</h3>
641
- <ul class="return">
642
-
643
- <li>
644
-
645
-
646
- <span class='type'>(<tt><span class='object_link'><a href="CatAxis.html" title="Axlsx::CatAxis (class)">CatAxis</a></span></tt>)</span>
647
-
648
-
649
-
650
- </li>
651
-
652
- </ul>
653
-
654
- </div><table class="source_code">
655
- <tr>
656
- <td>
657
- <pre class="lines">
658
-
659
-
660
- 25
661
- 26
662
- 27</pre>
663
- </td>
664
- <td>
665
- <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/line_3D_chart.rb', line 25</span>
666
-
667
- <span class='def def kw'>def</span> <span class='catAxis identifier id'>catAxis</span>
668
- <span class='@catAxis ivar id'>@catAxis</span>
669
- <span class='end end kw'>end</span>
670
- </pre>
671
- </td>
672
- </tr>
673
- </table>
674
- </div>
675
-
676
-
677
- <span id="gapDepth=-instance_method"></span>
678
- <span id="gapDepth-instance_method"></span>
679
- <div class="method_details ">
680
- <p class="signature " id="gapDepth-instance_method">
681
-
682
- - (<tt>String</tt>) <strong>gapDepth</strong>
683
-
684
-
685
-
686
- </p><div class="docstring">
687
- <div class="discussion">
688
- <p>
689
- space between bar or column clusters, as a percentage of the bar or column
690
- width.
691
- </p>
692
-
693
-
694
- </div>
695
- </div>
696
- <div class="tags">
697
-
698
- <h3>Returns:</h3>
699
- <ul class="return">
700
-
701
- <li>
702
-
703
-
704
- <span class='type'>(<tt>String</tt>)</span>
705
-
706
-
707
-
708
- </li>
709
-
710
- </ul>
711
-
712
- </div><table class="source_code">
713
- <tr>
714
- <td>
715
- <pre class="lines">
716
-
717
-
718
- 37
719
- 38
720
- 39</pre>
721
- </td>
722
- <td>
723
- <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/line_3D_chart.rb', line 37</span>
724
-
725
- <span class='def def kw'>def</span> <span class='gapDepth identifier id'>gapDepth</span>
726
- <span class='@gapDepth ivar id'>@gapDepth</span>
727
- <span class='end end kw'>end</span>
728
- </pre>
729
- </td>
730
- </tr>
731
- </table>
732
- </div>
733
-
734
-
735
- <span id="grouping=-instance_method"></span>
736
- <span id="grouping-instance_method"></span>
737
- <div class="method_details ">
738
- <p class="signature " id="grouping-instance_method">
739
-
740
- - (<tt>Symbol</tt>) <strong>grouping</strong>
741
-
742
-
743
-
744
- </p><div class="docstring">
745
- <div class="discussion">
746
- <p>
747
- grouping for a column, line, or area chart. must be one of
748
- [:percentStacked, :clustered, :standard, :stacked]
749
- </p>
750
-
751
-
752
- </div>
753
- </div>
754
- <div class="tags">
755
-
756
- <h3>Returns:</h3>
757
- <ul class="return">
758
-
759
- <li>
760
-
761
-
762
- <span class='type'>(<tt>Symbol</tt>)</span>
763
-
764
-
765
-
766
- </li>
767
-
768
- </ul>
769
-
770
- </div><table class="source_code">
771
- <tr>
772
- <td>
773
- <pre class="lines">
774
-
775
-
776
- 42
777
- 43
778
- 44</pre>
779
- </td>
780
- <td>
781
- <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/line_3D_chart.rb', line 42</span>
782
-
783
- <span class='def def kw'>def</span> <span class='grouping identifier id'>grouping</span>
784
- <span class='@grouping ivar id'>@grouping</span>
785
- <span class='end end kw'>end</span>
786
- </pre>
787
- </td>
788
- </tr>
789
- </table>
790
- </div>
791
-
792
-
793
- <span id=""></span>
794
- <span id="serAxis-instance_method"></span>
795
- <div class="method_details ">
796
- <p class="signature " id="serAxis-instance_method">
797
-
798
- - (<tt><span class='object_link'><a href="Axis.html" title="Axlsx::Axis (class)">Axis</a></span></tt>) <strong>serAxis</strong> <span class="extras">(readonly)</span>
799
-
800
-
801
-
802
- </p><div class="docstring">
803
- <div class="discussion">
804
- <p>
805
- the category axis
806
- </p>
807
-
808
-
809
- </div>
810
- </div>
811
- <div class="tags">
812
-
813
- <h3>Returns:</h3>
814
- <ul class="return">
815
-
816
- <li>
817
-
818
-
819
- <span class='type'>(<tt><span class='object_link'><a href="Axis.html" title="Axlsx::Axis (class)">Axis</a></span></tt>)</span>
820
-
821
-
822
-
823
- </li>
824
-
825
- </ul>
826
-
827
- </div><table class="source_code">
828
- <tr>
829
- <td>
830
- <pre class="lines">
831
-
832
-
833
- 33
834
- 34
835
- 35</pre>
836
- </td>
837
- <td>
838
- <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/line_3D_chart.rb', line 33</span>
839
-
840
- <span class='def def kw'>def</span> <span class='serAxis identifier id'>serAxis</span>
841
- <span class='@serAxis ivar id'>@serAxis</span>
842
- <span class='end end kw'>end</span>
843
- </pre>
844
- </td>
845
- </tr>
846
- </table>
847
- </div>
848
-
849
-
850
- <span id=""></span>
851
- <span id="valAxis-instance_method"></span>
852
- <div class="method_details ">
853
- <p class="signature " id="valAxis-instance_method">
854
-
855
- - (<tt><span class='object_link'><a href="ValAxis.html" title="Axlsx::ValAxis (class)">ValAxis</a></span></tt>) <strong>valAxis</strong> <span class="extras">(readonly)</span>
856
-
857
-
858
-
859
- </p><div class="docstring">
860
- <div class="discussion">
861
- <p>
862
- the category axis
863
- </p>
864
-
865
-
866
- </div>
867
- </div>
868
- <div class="tags">
869
-
870
- <h3>Returns:</h3>
871
- <ul class="return">
872
-
873
- <li>
874
-
875
-
876
- <span class='type'>(<tt><span class='object_link'><a href="ValAxis.html" title="Axlsx::ValAxis (class)">ValAxis</a></span></tt>)</span>
877
-
878
-
879
-
880
- </li>
881
-
882
- </ul>
883
-
884
- </div><table class="source_code">
885
- <tr>
886
- <td>
887
- <pre class="lines">
888
-
889
-
890
- 29
891
- 30
892
- 31</pre>
893
- </td>
894
- <td>
895
- <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/line_3D_chart.rb', line 29</span>
896
-
897
- <span class='def def kw'>def</span> <span class='valAxis identifier id'>valAxis</span>
898
- <span class='@valAxis ivar id'>@valAxis</span>
899
- <span class='end end kw'>end</span>
900
- </pre>
901
- </td>
902
- </tr>
903
- </table>
904
- </div>
905
-
906
- </div>
907
-
908
-
909
- <div id="instance_method_details" class="method_details_list">
910
- <h2>Instance Method Details</h2>
911
-
912
-
913
- <div class="method_details first">
914
- <p class="signature first" id="to_xml-instance_method">
915
-
916
- - (<tt>String</tt>) <strong>to_xml</strong>
917
-
918
-
919
-
920
- </p><div class="docstring">
921
- <div class="discussion">
922
- <p>
923
- Serializes the bar chart
924
- </p>
925
-
926
-
927
- </div>
928
- </div>
929
- <div class="tags">
930
-
931
- <h3>Returns:</h3>
932
- <ul class="return">
933
-
934
- <li>
935
-
936
-
937
- <span class='type'>(<tt>String</tt>)</span>
938
-
939
-
940
-
941
- </li>
942
-
943
- </ul>
944
-
945
- </div><table class="source_code">
946
- <tr>
947
- <td>
948
- <pre class="lines">
949
-
950
-
951
- 89
952
- 90
953
- 91
954
- 92
955
- 93
956
- 94
957
- 95
958
- 96
959
- 97
960
- 98
961
- 99
962
- 100
963
- 101
964
- 102
965
- 103
966
- 104</pre>
967
- </td>
968
- <td>
969
- <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/line_3D_chart.rb', line 89</span>
970
-
971
- <span class='def def kw'>def</span> <span class='to_xml identifier id'>to_xml</span>
972
- <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>
973
- <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:line3DChart'</span><span class='rparen token'>)</span> <span class='lbrace token'>{</span>
974
- <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:grouping'</span><span class='comma token'>,</span> <span class='symbol val'>:val=</span><span class='gt op'>&gt;</span><span class='grouping identifier id'>grouping</span><span class='rparen token'>)</span>
975
- <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:varyColors'</span><span class='comma token'>,</span> <span class='symbol val'>:val=</span><span class='gt op'>&gt;</span><span class='integer val'>1</span><span class='rparen token'>)</span>
976
- <span class='@series ivar id'>@series</span><span class='dot token'>.</span><span class='each identifier id'>each</span> <span class='lbrace token'>{</span> <span class='bitor op'>|</span><span class='ser identifier id'>ser</span><span class='bitor op'>|</span> <span class='ser identifier id'>ser</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='rbrace token'>}</span>
977
- <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:gapDepth'</span><span class='comma token'>,</span> <span class='symbol val'>:val=</span><span class='gt op'>&gt;</span><span class='@gapDepth ivar id'>@gapDepth</span><span class='rparen token'>)</span> <span class='unless unless_mod kw'>unless</span> <span class='@gapDepth ivar id'>@gapDepth</span><span class='dot token'>.</span><span class='nil? fid id'>nil?</span>
978
- <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='@catAxId ivar id'>@catAxId</span><span class='rparen token'>)</span>
979
- <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='@valAxId ivar id'>@valAxId</span><span class='rparen token'>)</span>
980
- <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='@serAxId ivar id'>@serAxId</span><span class='rparen token'>)</span>
981
- <span class='rbrace token'>}</span>
982
- <span class='@catAxis ivar id'>@catAxis</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>
983
- <span class='@valAxis ivar id'>@valAxis</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>
984
- <span class='@serAxis ivar id'>@serAxis</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>
985
- <span class='end end kw'>end</span>
986
- <span class='end end kw'>end</span>
987
- </pre>
988
- </td>
989
- </tr>
990
- </table>
991
- </div>
992
-
993
- </div>
994
-
995
- </div>
996
-
997
- <div id="footer">
998
- Generated on Mon Dec 5 14:21:18 2011 by
999
- <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1000
- 0.7.3 (ruby-1.8.7).
1001
- </div>
1002
-
1003
- </body>
1004
- </html>