axlsx 1.0.5 → 1.0.6
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +10 -9
- data/doc/Axlsx.html +2443 -0
- data/doc/Axlsx/App.html +2640 -0
- data/doc/Axlsx/Axis.html +1047 -0
- data/doc/Axlsx/Bar3DChart.html +1153 -0
- data/doc/Axlsx/BarSeries.html +764 -0
- data/doc/Axlsx/Border.html +775 -0
- data/doc/Axlsx/BorderPr.html +709 -0
- data/doc/Axlsx/CatAxis.html +766 -0
- data/doc/Axlsx/Cell.html +1623 -0
- data/doc/Axlsx/CellAlignment.html +1247 -0
- data/doc/Axlsx/CellProtection.html +565 -0
- data/doc/Axlsx/CellStyle.html +949 -0
- data/doc/Axlsx/Chart.html +1459 -0
- data/doc/Axlsx/Color.html +665 -0
- data/doc/Axlsx/ContentType.html +340 -0
- data/doc/Axlsx/Core.html +465 -0
- data/doc/Axlsx/DataTypeValidator.html +324 -0
- data/doc/Axlsx/Default.html +575 -0
- data/doc/Axlsx/Drawing.html +1154 -0
- data/doc/Axlsx/Fill.html +460 -0
- data/doc/Axlsx/Font.html +1554 -0
- data/doc/Axlsx/GradientFill.html +1026 -0
- data/doc/Axlsx/GradientStop.html +526 -0
- data/doc/Axlsx/GraphicFrame.html +646 -0
- data/doc/Axlsx/Line3DChart.html +921 -0
- data/doc/Axlsx/LineSeries.html +656 -0
- data/doc/Axlsx/Marker.html +857 -0
- data/doc/Axlsx/NumFmt.html +562 -0
- data/doc/Axlsx/Override.html +568 -0
- data/doc/Axlsx/Package.html +1293 -0
- data/doc/Axlsx/PatternFill.html +681 -0
- data/doc/Axlsx/Pie3DChart.html +439 -0
- data/doc/Axlsx/PieSeries.html +762 -0
- data/doc/Axlsx/RegexValidator.html +268 -0
- data/doc/Axlsx/Relationship.html +554 -0
- data/doc/Axlsx/Relationships.html +343 -0
- data/doc/Axlsx/RestrictionValidator.html +300 -0
- data/doc/Axlsx/Row.html +771 -0
- data/doc/Axlsx/Scaling.html +740 -0
- data/doc/Axlsx/SerAxis.html +624 -0
- data/doc/Axlsx/Series.html +746 -0
- data/doc/Axlsx/SeriesTitle.html +289 -0
- data/doc/Axlsx/SimpleTypedList.html +1617 -0
- data/doc/Axlsx/Styles.html +1754 -0
- data/doc/Axlsx/TableStyle.html +710 -0
- data/doc/Axlsx/TableStyleElement.html +677 -0
- data/doc/Axlsx/TableStyles.html +599 -0
- data/doc/Axlsx/Title.html +625 -0
- data/doc/Axlsx/TwoCellAnchor.html +1115 -0
- data/doc/Axlsx/ValAxis.html +539 -0
- data/doc/Axlsx/View3D.html +971 -0
- data/doc/Axlsx/Workbook.html +1347 -0
- data/doc/Axlsx/Worksheet.html +1864 -0
- data/doc/Axlsx/Xf.html +1681 -0
- data/doc/_index.html +611 -0
- data/doc/class_list.html +47 -0
- data/doc/css/common.css +1 -0
- data/doc/css/full_list.css +55 -0
- data/doc/css/style.css +322 -0
- data/doc/file.README.html +262 -0
- data/doc/file_list.html +49 -0
- data/doc/frames.html +13 -0
- data/doc/index.html +262 -0
- data/doc/js/app.js +205 -0
- data/doc/js/full_list.js +167 -0
- data/doc/js/jquery.js +16 -0
- data/doc/method_list.html +3038 -0
- data/doc/top-level-namespace.html +103 -0
- data/lib/axlsx/util/constants.rb +1 -1
- metadata +71 -3
@@ -0,0 +1,971 @@
|
|
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::View3D
|
8
|
+
|
9
|
+
— Documentation by YARD 0.7.3
|
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 (V)</a> »
|
37
|
+
<span class='title'><span class='object_link'><a href="../Axlsx.html" title="Axlsx (module)">Axlsx</a></span></span>
|
38
|
+
»
|
39
|
+
<span class="title">View3D</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::View3D
|
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">Object</span>
|
70
|
+
|
71
|
+
<ul class="fullTree">
|
72
|
+
<li>Object</li>
|
73
|
+
|
74
|
+
<li class="next">Axlsx::View3D</li>
|
75
|
+
|
76
|
+
</ul>
|
77
|
+
<a href="#" class="inheritanceTree">show all</a>
|
78
|
+
|
79
|
+
</dd>
|
80
|
+
|
81
|
+
|
82
|
+
|
83
|
+
|
84
|
+
|
85
|
+
|
86
|
+
|
87
|
+
|
88
|
+
|
89
|
+
<dt class="r2 last">Defined in:</dt>
|
90
|
+
<dd class="r2 last">lib/axlsx/drawing/view_3D.rb</dd>
|
91
|
+
|
92
|
+
</dl>
|
93
|
+
<div class="clear"></div>
|
94
|
+
|
95
|
+
<h2>Overview</h2><div class="docstring">
|
96
|
+
<div class="discussion">
|
97
|
+
<p>
|
98
|
+
3D attributes for a chart.
|
99
|
+
</p>
|
100
|
+
|
101
|
+
|
102
|
+
</div>
|
103
|
+
</div>
|
104
|
+
<div class="tags">
|
105
|
+
|
106
|
+
|
107
|
+
</div>
|
108
|
+
<h2>Constant Summary</h2>
|
109
|
+
|
110
|
+
<dl class="constants">
|
111
|
+
|
112
|
+
<dt id="H_PERCENT_REGEX-constant" class="">H_PERCENT_REGEX =
|
113
|
+
<div class="docstring">
|
114
|
+
<div class="discussion">
|
115
|
+
<p>
|
116
|
+
Validation for hPercent
|
117
|
+
</p>
|
118
|
+
|
119
|
+
|
120
|
+
</div>
|
121
|
+
</div>
|
122
|
+
<div class="tags">
|
123
|
+
|
124
|
+
|
125
|
+
</div>
|
126
|
+
</dt>
|
127
|
+
<dd><pre class="code"><span class='regexp val'>/0*(([5-9])|([1-9][0-9])|([1-4][0-9][0-9])|500)%/</span>
|
128
|
+
</pre></dd>
|
129
|
+
|
130
|
+
<dt id="DEPTH_PERCENT_REGEX-constant" class="">DEPTH_PERCENT_REGEX =
|
131
|
+
<div class="docstring">
|
132
|
+
<div class="discussion">
|
133
|
+
<p>
|
134
|
+
validation for depthPercent
|
135
|
+
</p>
|
136
|
+
|
137
|
+
|
138
|
+
</div>
|
139
|
+
</div>
|
140
|
+
<div class="tags">
|
141
|
+
|
142
|
+
|
143
|
+
</div>
|
144
|
+
</dt>
|
145
|
+
<dd><pre class="code"><span class='regexp val'>/0*(([2-9][0-9])|([1-9][0-9][0-9])|(1[0-9][0-9][0-9])|2000)%/</span>
|
146
|
+
</pre></dd>
|
147
|
+
|
148
|
+
</dl>
|
149
|
+
|
150
|
+
|
151
|
+
|
152
|
+
<h2>Instance Attribute Summary <small>(<a href="#" class="summary_toggle">collapse</a>)</small></h2>
|
153
|
+
<ul class="summary">
|
154
|
+
|
155
|
+
<li class="public ">
|
156
|
+
<span class="summary_signature">
|
157
|
+
|
158
|
+
<a href="#depthPercent-instance_method" title="#depthPercent (instance method)">- (String) <strong>depthPercent</strong> </a>
|
159
|
+
|
160
|
+
|
161
|
+
|
162
|
+
</span>
|
163
|
+
|
164
|
+
|
165
|
+
|
166
|
+
|
167
|
+
|
168
|
+
|
169
|
+
|
170
|
+
|
171
|
+
|
172
|
+
|
173
|
+
|
174
|
+
<span class="summary_desc"><div class='inline'><p>
|
175
|
+
depth or chart as % of chart width must be between 20% and 2000%.
|
176
|
+
</p>
|
177
|
+
</div></span>
|
178
|
+
|
179
|
+
</li>
|
180
|
+
|
181
|
+
|
182
|
+
<li class="public ">
|
183
|
+
<span class="summary_signature">
|
184
|
+
|
185
|
+
<a href="#hPercent-instance_method" title="#hPercent (instance method)">- (String) <strong>hPercent</strong> </a>
|
186
|
+
|
187
|
+
|
188
|
+
|
189
|
+
</span>
|
190
|
+
|
191
|
+
|
192
|
+
|
193
|
+
|
194
|
+
|
195
|
+
|
196
|
+
|
197
|
+
|
198
|
+
|
199
|
+
|
200
|
+
|
201
|
+
<span class="summary_desc"><div class='inline'><p>
|
202
|
+
height of chart as % of chart must be between 5% and 500%.
|
203
|
+
</p>
|
204
|
+
</div></span>
|
205
|
+
|
206
|
+
</li>
|
207
|
+
|
208
|
+
|
209
|
+
<li class="public ">
|
210
|
+
<span class="summary_signature">
|
211
|
+
|
212
|
+
<a href="#perspective-instance_method" title="#perspective (instance method)">- (Integer) <strong>perspective</strong> </a>
|
213
|
+
|
214
|
+
|
215
|
+
|
216
|
+
</span>
|
217
|
+
|
218
|
+
|
219
|
+
|
220
|
+
|
221
|
+
|
222
|
+
|
223
|
+
|
224
|
+
|
225
|
+
|
226
|
+
|
227
|
+
|
228
|
+
<span class="summary_desc"><div class='inline'><p>
|
229
|
+
field of view angle.
|
230
|
+
</p>
|
231
|
+
</div></span>
|
232
|
+
|
233
|
+
</li>
|
234
|
+
|
235
|
+
|
236
|
+
<li class="public ">
|
237
|
+
<span class="summary_signature">
|
238
|
+
|
239
|
+
<a href="#rAngAx-instance_method" title="#rAngAx (instance method)">- (Boolean) <strong>rAngAx</strong> </a>
|
240
|
+
|
241
|
+
|
242
|
+
|
243
|
+
</span>
|
244
|
+
|
245
|
+
|
246
|
+
|
247
|
+
|
248
|
+
|
249
|
+
|
250
|
+
|
251
|
+
|
252
|
+
|
253
|
+
|
254
|
+
|
255
|
+
<span class="summary_desc"><div class='inline'><p>
|
256
|
+
Chart axis are at right angles.
|
257
|
+
</p>
|
258
|
+
</div></span>
|
259
|
+
|
260
|
+
</li>
|
261
|
+
|
262
|
+
|
263
|
+
<li class="public ">
|
264
|
+
<span class="summary_signature">
|
265
|
+
|
266
|
+
<a href="#rotX-instance_method" title="#rotX (instance method)">- (Integer) <strong>rotX</strong> </a>
|
267
|
+
|
268
|
+
|
269
|
+
|
270
|
+
</span>
|
271
|
+
|
272
|
+
|
273
|
+
|
274
|
+
|
275
|
+
|
276
|
+
|
277
|
+
|
278
|
+
|
279
|
+
|
280
|
+
|
281
|
+
|
282
|
+
<span class="summary_desc"><div class='inline'><p>
|
283
|
+
x rotation for the chart must be between -90 and 90.
|
284
|
+
</p>
|
285
|
+
</div></span>
|
286
|
+
|
287
|
+
</li>
|
288
|
+
|
289
|
+
|
290
|
+
<li class="public ">
|
291
|
+
<span class="summary_signature">
|
292
|
+
|
293
|
+
<a href="#rotY-instance_method" title="#rotY (instance method)">- (Integer) <strong>rotY</strong> </a>
|
294
|
+
|
295
|
+
|
296
|
+
|
297
|
+
</span>
|
298
|
+
|
299
|
+
|
300
|
+
|
301
|
+
|
302
|
+
|
303
|
+
|
304
|
+
|
305
|
+
|
306
|
+
|
307
|
+
|
308
|
+
|
309
|
+
<span class="summary_desc"><div class='inline'><p>
|
310
|
+
y rotation for the chart must be between 0 and 360.
|
311
|
+
</p>
|
312
|
+
</div></span>
|
313
|
+
|
314
|
+
</li>
|
315
|
+
|
316
|
+
|
317
|
+
</ul>
|
318
|
+
|
319
|
+
|
320
|
+
|
321
|
+
|
322
|
+
|
323
|
+
<h2>
|
324
|
+
Instance Method Summary
|
325
|
+
<small>(<a href="#" class="summary_toggle">collapse</a>)</small>
|
326
|
+
</h2>
|
327
|
+
|
328
|
+
<ul class="summary">
|
329
|
+
|
330
|
+
<li class="public ">
|
331
|
+
<span class="summary_signature">
|
332
|
+
|
333
|
+
<a href="#initialize-instance_method" title="#initialize (instance method)">- (View3D) <strong>initialize</strong>(options = {}) </a>
|
334
|
+
|
335
|
+
|
336
|
+
|
337
|
+
</span>
|
338
|
+
|
339
|
+
<span class="note title constructor">constructor</span>
|
340
|
+
|
341
|
+
|
342
|
+
|
343
|
+
|
344
|
+
|
345
|
+
|
346
|
+
|
347
|
+
|
348
|
+
<span class="summary_desc"><div class='inline'><p>
|
349
|
+
Creates a new View3D for charts.
|
350
|
+
</p>
|
351
|
+
</div></span>
|
352
|
+
|
353
|
+
</li>
|
354
|
+
|
355
|
+
|
356
|
+
<li class="public ">
|
357
|
+
<span class="summary_signature">
|
358
|
+
|
359
|
+
<a href="#to_xml-instance_method" title="#to_xml (instance method)">- (String) <strong>to_xml</strong>(xml) </a>
|
360
|
+
|
361
|
+
|
362
|
+
|
363
|
+
</span>
|
364
|
+
|
365
|
+
|
366
|
+
|
367
|
+
|
368
|
+
|
369
|
+
|
370
|
+
|
371
|
+
|
372
|
+
<span class="summary_desc"><div class='inline'><p>
|
373
|
+
Serializes the view3D properties.
|
374
|
+
</p>
|
375
|
+
</div></span>
|
376
|
+
|
377
|
+
</li>
|
378
|
+
|
379
|
+
|
380
|
+
</ul>
|
381
|
+
|
382
|
+
|
383
|
+
<div id="constructor_details" class="method_details_list">
|
384
|
+
<h2>Constructor Details</h2>
|
385
|
+
|
386
|
+
<div class="method_details first">
|
387
|
+
<p class="signature first" id="initialize-instance_method">
|
388
|
+
|
389
|
+
- (<tt><span class='object_link'><a href="" title="Axlsx::View3D (class)">View3D</a></span></tt>) <strong>initialize</strong>(options = {})
|
390
|
+
|
391
|
+
|
392
|
+
|
393
|
+
</p><div class="docstring">
|
394
|
+
<div class="discussion">
|
395
|
+
<p>
|
396
|
+
Creates a new View3D for charts
|
397
|
+
</p>
|
398
|
+
|
399
|
+
|
400
|
+
</div>
|
401
|
+
</div>
|
402
|
+
<div class="tags">
|
403
|
+
<h3>Parameters:</h3>
|
404
|
+
<ul class="param">
|
405
|
+
|
406
|
+
<li>
|
407
|
+
|
408
|
+
<span class='name'>options</span>
|
409
|
+
|
410
|
+
|
411
|
+
<span class='type'>(<tt>Hash</tt>)</span>
|
412
|
+
|
413
|
+
|
414
|
+
<em class="default">(defaults to: <tt>{}</tt>)</em>
|
415
|
+
|
416
|
+
|
417
|
+
—
|
418
|
+
<div class='inline'><p>
|
419
|
+
a customizable set of options
|
420
|
+
</p>
|
421
|
+
</div>
|
422
|
+
|
423
|
+
</li>
|
424
|
+
|
425
|
+
</ul>
|
426
|
+
|
427
|
+
|
428
|
+
|
429
|
+
|
430
|
+
<h3>Options Hash (<tt>options</tt>):</h3>
|
431
|
+
<ul class="option">
|
432
|
+
|
433
|
+
<li>
|
434
|
+
<span class="name">rotX</span>
|
435
|
+
<span class="type">(<tt>Integer</tt>)</span>
|
436
|
+
<span class="default">
|
437
|
+
|
438
|
+
</span>
|
439
|
+
|
440
|
+
</li>
|
441
|
+
|
442
|
+
<li>
|
443
|
+
<span class="name">hPercent</span>
|
444
|
+
<span class="type">(<tt>String</tt>)</span>
|
445
|
+
<span class="default">
|
446
|
+
|
447
|
+
</span>
|
448
|
+
|
449
|
+
</li>
|
450
|
+
|
451
|
+
<li>
|
452
|
+
<span class="name">rotY</span>
|
453
|
+
<span class="type">(<tt>Integer</tt>)</span>
|
454
|
+
<span class="default">
|
455
|
+
|
456
|
+
</span>
|
457
|
+
|
458
|
+
</li>
|
459
|
+
|
460
|
+
<li>
|
461
|
+
<span class="name">depthPercent</span>
|
462
|
+
<span class="type">(<tt>String</tt>)</span>
|
463
|
+
<span class="default">
|
464
|
+
|
465
|
+
</span>
|
466
|
+
|
467
|
+
</li>
|
468
|
+
|
469
|
+
<li>
|
470
|
+
<span class="name">rAngAx</span>
|
471
|
+
<span class="type">(<tt>Boolean</tt>)</span>
|
472
|
+
<span class="default">
|
473
|
+
|
474
|
+
</span>
|
475
|
+
|
476
|
+
</li>
|
477
|
+
|
478
|
+
<li>
|
479
|
+
<span class="name">perspective</span>
|
480
|
+
<span class="type">(<tt>Integer</tt>)</span>
|
481
|
+
<span class="default">
|
482
|
+
|
483
|
+
</span>
|
484
|
+
|
485
|
+
</li>
|
486
|
+
|
487
|
+
</ul>
|
488
|
+
|
489
|
+
|
490
|
+
|
491
|
+
</div><table class="source_code">
|
492
|
+
<tr>
|
493
|
+
<td>
|
494
|
+
<pre class="lines">
|
495
|
+
|
496
|
+
|
497
|
+
39
|
498
|
+
40
|
499
|
+
41
|
500
|
+
42
|
501
|
+
43</pre>
|
502
|
+
</td>
|
503
|
+
<td>
|
504
|
+
<pre class="code"><span class="info file"># File 'lib/axlsx/drawing/view_3D.rb', line 39</span>
|
505
|
+
|
506
|
+
<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>
|
507
|
+
<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>
|
508
|
+
<span class='self self kw'>self</span><span class='dot token'>.</span><span class='send identifier id'>send</span><span class='lparen token'>(</span><span class='dstring node'>"#{o[0]}="</span><span class='comma token'>,</span> <span class='o identifier id'>o</span><span class='lbrack token'>[</span><span class='integer val'>1</span><span class='rbrack token'>]</span><span class='rparen token'>)</span> <span class='if if_mod kw'>if</span> <span class='self self kw'>self</span><span class='dot token'>.</span><span class='respond_to? fid id'>respond_to?</span> <span class='dstring node'>"#{o[0]}="</span>
|
509
|
+
<span class='end end kw'>end</span>
|
510
|
+
<span class='end end kw'>end</span>
|
511
|
+
</pre>
|
512
|
+
</td>
|
513
|
+
</tr>
|
514
|
+
</table>
|
515
|
+
</div>
|
516
|
+
|
517
|
+
</div>
|
518
|
+
|
519
|
+
<div id="instance_attr_details" class="attr_details">
|
520
|
+
<h2>Instance Attribute Details</h2>
|
521
|
+
|
522
|
+
|
523
|
+
<span id="depthPercent=-instance_method"></span>
|
524
|
+
<span id="depthPercent-instance_method"></span>
|
525
|
+
<div class="method_details first">
|
526
|
+
<p class="signature first" id="depthPercent-instance_method">
|
527
|
+
|
528
|
+
- (<tt>String</tt>) <strong>depthPercent</strong>
|
529
|
+
|
530
|
+
|
531
|
+
|
532
|
+
</p><div class="docstring">
|
533
|
+
<div class="discussion">
|
534
|
+
<p>
|
535
|
+
depth or chart as % of chart width must be between 20% and 2000%
|
536
|
+
</p>
|
537
|
+
|
538
|
+
|
539
|
+
</div>
|
540
|
+
</div>
|
541
|
+
<div class="tags">
|
542
|
+
|
543
|
+
<h3>Returns:</h3>
|
544
|
+
<ul class="return">
|
545
|
+
|
546
|
+
<li>
|
547
|
+
|
548
|
+
|
549
|
+
<span class='type'>(<tt>String</tt>)</span>
|
550
|
+
|
551
|
+
|
552
|
+
|
553
|
+
</li>
|
554
|
+
|
555
|
+
</ul>
|
556
|
+
|
557
|
+
</div><table class="source_code">
|
558
|
+
<tr>
|
559
|
+
<td>
|
560
|
+
<pre class="lines">
|
561
|
+
|
562
|
+
|
563
|
+
22
|
564
|
+
23
|
565
|
+
24</pre>
|
566
|
+
</td>
|
567
|
+
<td>
|
568
|
+
<pre class="code"><span class="info file"># File 'lib/axlsx/drawing/view_3D.rb', line 22</span>
|
569
|
+
|
570
|
+
<span class='def def kw'>def</span> <span class='depthPercent identifier id'>depthPercent</span>
|
571
|
+
<span class='@depthPercent ivar id'>@depthPercent</span>
|
572
|
+
<span class='end end kw'>end</span>
|
573
|
+
</pre>
|
574
|
+
</td>
|
575
|
+
</tr>
|
576
|
+
</table>
|
577
|
+
</div>
|
578
|
+
|
579
|
+
|
580
|
+
<span id="hPercent=-instance_method"></span>
|
581
|
+
<span id="hPercent-instance_method"></span>
|
582
|
+
<div class="method_details ">
|
583
|
+
<p class="signature " id="hPercent-instance_method">
|
584
|
+
|
585
|
+
- (<tt>String</tt>) <strong>hPercent</strong>
|
586
|
+
|
587
|
+
|
588
|
+
|
589
|
+
</p><div class="docstring">
|
590
|
+
<div class="discussion">
|
591
|
+
<p>
|
592
|
+
height of chart as % of chart must be between 5% and 500%
|
593
|
+
</p>
|
594
|
+
|
595
|
+
|
596
|
+
</div>
|
597
|
+
</div>
|
598
|
+
<div class="tags">
|
599
|
+
|
600
|
+
<h3>Returns:</h3>
|
601
|
+
<ul class="return">
|
602
|
+
|
603
|
+
<li>
|
604
|
+
|
605
|
+
|
606
|
+
<span class='type'>(<tt>String</tt>)</span>
|
607
|
+
|
608
|
+
|
609
|
+
|
610
|
+
</li>
|
611
|
+
|
612
|
+
</ul>
|
613
|
+
|
614
|
+
</div><table class="source_code">
|
615
|
+
<tr>
|
616
|
+
<td>
|
617
|
+
<pre class="lines">
|
618
|
+
|
619
|
+
|
620
|
+
12
|
621
|
+
13
|
622
|
+
14</pre>
|
623
|
+
</td>
|
624
|
+
<td>
|
625
|
+
<pre class="code"><span class="info file"># File 'lib/axlsx/drawing/view_3D.rb', line 12</span>
|
626
|
+
|
627
|
+
<span class='def def kw'>def</span> <span class='hPercent identifier id'>hPercent</span>
|
628
|
+
<span class='@hPercent ivar id'>@hPercent</span>
|
629
|
+
<span class='end end kw'>end</span>
|
630
|
+
</pre>
|
631
|
+
</td>
|
632
|
+
</tr>
|
633
|
+
</table>
|
634
|
+
</div>
|
635
|
+
|
636
|
+
|
637
|
+
<span id="perspective=-instance_method"></span>
|
638
|
+
<span id="perspective-instance_method"></span>
|
639
|
+
<div class="method_details ">
|
640
|
+
<p class="signature " id="perspective-instance_method">
|
641
|
+
|
642
|
+
- (<tt>Integer</tt>) <strong>perspective</strong>
|
643
|
+
|
644
|
+
|
645
|
+
|
646
|
+
</p><div class="docstring">
|
647
|
+
<div class="discussion">
|
648
|
+
<p>
|
649
|
+
field of view angle
|
650
|
+
</p>
|
651
|
+
|
652
|
+
|
653
|
+
</div>
|
654
|
+
</div>
|
655
|
+
<div class="tags">
|
656
|
+
|
657
|
+
<h3>Returns:</h3>
|
658
|
+
<ul class="return">
|
659
|
+
|
660
|
+
<li>
|
661
|
+
|
662
|
+
|
663
|
+
<span class='type'>(<tt>Integer</tt>)</span>
|
664
|
+
|
665
|
+
|
666
|
+
|
667
|
+
</li>
|
668
|
+
|
669
|
+
</ul>
|
670
|
+
|
671
|
+
</div><table class="source_code">
|
672
|
+
<tr>
|
673
|
+
<td>
|
674
|
+
<pre class="lines">
|
675
|
+
|
676
|
+
|
677
|
+
30
|
678
|
+
31
|
679
|
+
32</pre>
|
680
|
+
</td>
|
681
|
+
<td>
|
682
|
+
<pre class="code"><span class="info file"># File 'lib/axlsx/drawing/view_3D.rb', line 30</span>
|
683
|
+
|
684
|
+
<span class='def def kw'>def</span> <span class='perspective identifier id'>perspective</span>
|
685
|
+
<span class='@perspective ivar id'>@perspective</span>
|
686
|
+
<span class='end end kw'>end</span>
|
687
|
+
</pre>
|
688
|
+
</td>
|
689
|
+
</tr>
|
690
|
+
</table>
|
691
|
+
</div>
|
692
|
+
|
693
|
+
|
694
|
+
<span id="rAngAx=-instance_method"></span>
|
695
|
+
<span id="rAngAx-instance_method"></span>
|
696
|
+
<div class="method_details ">
|
697
|
+
<p class="signature " id="rAngAx-instance_method">
|
698
|
+
|
699
|
+
- (<tt>Boolean</tt>) <strong>rAngAx</strong>
|
700
|
+
|
701
|
+
|
702
|
+
|
703
|
+
</p><div class="docstring">
|
704
|
+
<div class="discussion">
|
705
|
+
<p>
|
706
|
+
Chart axis are at right angles
|
707
|
+
</p>
|
708
|
+
|
709
|
+
|
710
|
+
</div>
|
711
|
+
</div>
|
712
|
+
<div class="tags">
|
713
|
+
|
714
|
+
<h3>Returns:</h3>
|
715
|
+
<ul class="return">
|
716
|
+
|
717
|
+
<li>
|
718
|
+
|
719
|
+
|
720
|
+
<span class='type'>(<tt>Boolean</tt>)</span>
|
721
|
+
|
722
|
+
|
723
|
+
|
724
|
+
</li>
|
725
|
+
|
726
|
+
</ul>
|
727
|
+
|
728
|
+
</div><table class="source_code">
|
729
|
+
<tr>
|
730
|
+
<td>
|
731
|
+
<pre class="lines">
|
732
|
+
|
733
|
+
|
734
|
+
26
|
735
|
+
27
|
736
|
+
28</pre>
|
737
|
+
</td>
|
738
|
+
<td>
|
739
|
+
<pre class="code"><span class="info file"># File 'lib/axlsx/drawing/view_3D.rb', line 26</span>
|
740
|
+
|
741
|
+
<span class='def def kw'>def</span> <span class='rAngAx identifier id'>rAngAx</span>
|
742
|
+
<span class='@rAngAx ivar id'>@rAngAx</span>
|
743
|
+
<span class='end end kw'>end</span>
|
744
|
+
</pre>
|
745
|
+
</td>
|
746
|
+
</tr>
|
747
|
+
</table>
|
748
|
+
</div>
|
749
|
+
|
750
|
+
|
751
|
+
<span id="rotX=-instance_method"></span>
|
752
|
+
<span id="rotX-instance_method"></span>
|
753
|
+
<div class="method_details ">
|
754
|
+
<p class="signature " id="rotX-instance_method">
|
755
|
+
|
756
|
+
- (<tt>Integer</tt>) <strong>rotX</strong>
|
757
|
+
|
758
|
+
|
759
|
+
|
760
|
+
</p><div class="docstring">
|
761
|
+
<div class="discussion">
|
762
|
+
<p>
|
763
|
+
x rotation for the chart must be between -90 and 90
|
764
|
+
</p>
|
765
|
+
|
766
|
+
|
767
|
+
</div>
|
768
|
+
</div>
|
769
|
+
<div class="tags">
|
770
|
+
|
771
|
+
<h3>Returns:</h3>
|
772
|
+
<ul class="return">
|
773
|
+
|
774
|
+
<li>
|
775
|
+
|
776
|
+
|
777
|
+
<span class='type'>(<tt>Integer</tt>)</span>
|
778
|
+
|
779
|
+
|
780
|
+
|
781
|
+
</li>
|
782
|
+
|
783
|
+
</ul>
|
784
|
+
|
785
|
+
</div><table class="source_code">
|
786
|
+
<tr>
|
787
|
+
<td>
|
788
|
+
<pre class="lines">
|
789
|
+
|
790
|
+
|
791
|
+
7
|
792
|
+
8
|
793
|
+
9</pre>
|
794
|
+
</td>
|
795
|
+
<td>
|
796
|
+
<pre class="code"><span class="info file"># File 'lib/axlsx/drawing/view_3D.rb', line 7</span>
|
797
|
+
|
798
|
+
<span class='def def kw'>def</span> <span class='rotX identifier id'>rotX</span>
|
799
|
+
<span class='@rotX ivar id'>@rotX</span>
|
800
|
+
<span class='end end kw'>end</span>
|
801
|
+
</pre>
|
802
|
+
</td>
|
803
|
+
</tr>
|
804
|
+
</table>
|
805
|
+
</div>
|
806
|
+
|
807
|
+
|
808
|
+
<span id="rotY=-instance_method"></span>
|
809
|
+
<span id="rotY-instance_method"></span>
|
810
|
+
<div class="method_details ">
|
811
|
+
<p class="signature " id="rotY-instance_method">
|
812
|
+
|
813
|
+
- (<tt>Integer</tt>) <strong>rotY</strong>
|
814
|
+
|
815
|
+
|
816
|
+
|
817
|
+
</p><div class="docstring">
|
818
|
+
<div class="discussion">
|
819
|
+
<p>
|
820
|
+
y rotation for the chart must be between 0 and 360
|
821
|
+
</p>
|
822
|
+
|
823
|
+
|
824
|
+
</div>
|
825
|
+
</div>
|
826
|
+
<div class="tags">
|
827
|
+
|
828
|
+
<h3>Returns:</h3>
|
829
|
+
<ul class="return">
|
830
|
+
|
831
|
+
<li>
|
832
|
+
|
833
|
+
|
834
|
+
<span class='type'>(<tt>Integer</tt>)</span>
|
835
|
+
|
836
|
+
|
837
|
+
|
838
|
+
</li>
|
839
|
+
|
840
|
+
</ul>
|
841
|
+
|
842
|
+
</div><table class="source_code">
|
843
|
+
<tr>
|
844
|
+
<td>
|
845
|
+
<pre class="lines">
|
846
|
+
|
847
|
+
|
848
|
+
17
|
849
|
+
18
|
850
|
+
19</pre>
|
851
|
+
</td>
|
852
|
+
<td>
|
853
|
+
<pre class="code"><span class="info file"># File 'lib/axlsx/drawing/view_3D.rb', line 17</span>
|
854
|
+
|
855
|
+
<span class='def def kw'>def</span> <span class='rotY identifier id'>rotY</span>
|
856
|
+
<span class='@rotY ivar id'>@rotY</span>
|
857
|
+
<span class='end end kw'>end</span>
|
858
|
+
</pre>
|
859
|
+
</td>
|
860
|
+
</tr>
|
861
|
+
</table>
|
862
|
+
</div>
|
863
|
+
|
864
|
+
</div>
|
865
|
+
|
866
|
+
|
867
|
+
<div id="instance_method_details" class="method_details_list">
|
868
|
+
<h2>Instance Method Details</h2>
|
869
|
+
|
870
|
+
|
871
|
+
<div class="method_details first">
|
872
|
+
<p class="signature first" id="to_xml-instance_method">
|
873
|
+
|
874
|
+
- (<tt>String</tt>) <strong>to_xml</strong>(xml)
|
875
|
+
|
876
|
+
|
877
|
+
|
878
|
+
</p><div class="docstring">
|
879
|
+
<div class="discussion">
|
880
|
+
<p>
|
881
|
+
Serializes the view3D properties
|
882
|
+
</p>
|
883
|
+
|
884
|
+
|
885
|
+
</div>
|
886
|
+
</div>
|
887
|
+
<div class="tags">
|
888
|
+
<h3>Parameters:</h3>
|
889
|
+
<ul class="param">
|
890
|
+
|
891
|
+
<li>
|
892
|
+
|
893
|
+
<span class='name'>xml</span>
|
894
|
+
|
895
|
+
|
896
|
+
<span class='type'>(<tt>Nokogiri::XML::Builder</tt>)</span>
|
897
|
+
|
898
|
+
|
899
|
+
|
900
|
+
—
|
901
|
+
<div class='inline'><p>
|
902
|
+
The document builder instance this objects xml will be added to.
|
903
|
+
</p>
|
904
|
+
</div>
|
905
|
+
|
906
|
+
</li>
|
907
|
+
|
908
|
+
</ul>
|
909
|
+
|
910
|
+
<h3>Returns:</h3>
|
911
|
+
<ul class="return">
|
912
|
+
|
913
|
+
<li>
|
914
|
+
|
915
|
+
|
916
|
+
<span class='type'>(<tt>String</tt>)</span>
|
917
|
+
|
918
|
+
|
919
|
+
|
920
|
+
</li>
|
921
|
+
|
922
|
+
</ul>
|
923
|
+
|
924
|
+
</div><table class="source_code">
|
925
|
+
<tr>
|
926
|
+
<td>
|
927
|
+
<pre class="lines">
|
928
|
+
|
929
|
+
|
930
|
+
61
|
931
|
+
62
|
932
|
+
63
|
933
|
+
64
|
934
|
+
65
|
935
|
+
66
|
936
|
+
67
|
937
|
+
68
|
938
|
+
69
|
939
|
+
70</pre>
|
940
|
+
</td>
|
941
|
+
<td>
|
942
|
+
<pre class="code"><span class="info file"># File 'lib/axlsx/drawing/view_3D.rb', line 61</span>
|
943
|
+
|
944
|
+
<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>
|
945
|
+
<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>
|
946
|
+
<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:rotX'</span><span class='comma token'>,</span> <span class='symbol val'>:val=</span><span class='gt op'>></span><span class='@rotX ivar id'>@rotX</span><span class='rparen token'>)</span> <span class='unless unless_mod kw'>unless</span> <span class='@rotX ivar id'>@rotX</span><span class='dot token'>.</span><span class='nil? fid id'>nil?</span>
|
947
|
+
<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:hPercent'</span><span class='comma token'>,</span> <span class='symbol val'>:val=</span><span class='gt op'>></span><span class='@hPercent ivar id'>@hPercent</span><span class='rparen token'>)</span> <span class='unless unless_mod kw'>unless</span> <span class='@hPercent ivar id'>@hPercent</span><span class='dot token'>.</span><span class='nil? fid id'>nil?</span>
|
948
|
+
<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:rotY'</span><span class='comma token'>,</span> <span class='symbol val'>:val=</span><span class='gt op'>></span><span class='@rotY ivar id'>@rotY</span><span class='rparen token'>)</span> <span class='unless unless_mod kw'>unless</span> <span class='@rotY ivar id'>@rotY</span><span class='dot token'>.</span><span class='nil? fid id'>nil?</span>
|
949
|
+
<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:depthPercent'</span><span class='comma token'>,</span> <span class='symbol val'>:val=</span><span class='gt op'>></span><span class='@depthPercent ivar id'>@depthPercent</span><span class='rparen token'>)</span> <span class='unless unless_mod kw'>unless</span> <span class='@depthPercent ivar id'>@depthPercent</span><span class='dot token'>.</span><span class='nil? fid id'>nil?</span>
|
950
|
+
<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:rAngAx'</span><span class='comma token'>,</span> <span class='symbol val'>:val=</span><span class='gt op'>></span><span class='@rAngAx ivar id'>@rAngAx</span><span class='rparen token'>)</span> <span class='unless unless_mod kw'>unless</span> <span class='@rAngAx ivar id'>@rAngAx</span><span class='dot token'>.</span><span class='nil? fid id'>nil?</span>
|
951
|
+
<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:perspective'</span><span class='comma token'>,</span> <span class='symbol val'>:val=</span><span class='gt op'>></span><span class='@perspective ivar id'>@perspective</span><span class='rparen token'>)</span> <span class='unless unless_mod kw'>unless</span> <span class='@perspective ivar id'>@perspective</span><span class='dot token'>.</span><span class='nil? fid id'>nil?</span>
|
952
|
+
<span class='rbrace token'>}</span>
|
953
|
+
<span class='end end kw'>end</span>
|
954
|
+
</pre>
|
955
|
+
</td>
|
956
|
+
</tr>
|
957
|
+
</table>
|
958
|
+
</div>
|
959
|
+
|
960
|
+
</div>
|
961
|
+
|
962
|
+
</div>
|
963
|
+
|
964
|
+
<div id="footer">
|
965
|
+
Generated on Tue Nov 22 00:27:42 2011 by
|
966
|
+
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
967
|
+
0.7.3 (ruby-1.8.7).
|
968
|
+
</div>
|
969
|
+
|
970
|
+
</body>
|
971
|
+
</html>
|