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,740 @@
|
|
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::Scaling
|
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 (S)</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">Scaling</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::Scaling
|
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::Scaling</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/scaling.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
|
+
The Scaling class defines axis scaling
|
99
|
+
</p>
|
100
|
+
|
101
|
+
|
102
|
+
</div>
|
103
|
+
</div>
|
104
|
+
<div class="tags">
|
105
|
+
|
106
|
+
|
107
|
+
</div>
|
108
|
+
|
109
|
+
<h2>Instance Attribute Summary <small>(<a href="#" class="summary_toggle">collapse</a>)</small></h2>
|
110
|
+
<ul class="summary">
|
111
|
+
|
112
|
+
<li class="public ">
|
113
|
+
<span class="summary_signature">
|
114
|
+
|
115
|
+
<a href="#logBase-instance_method" title="#logBase (instance method)">- (Integer) <strong>logBase</strong> </a>
|
116
|
+
|
117
|
+
|
118
|
+
|
119
|
+
</span>
|
120
|
+
|
121
|
+
|
122
|
+
|
123
|
+
|
124
|
+
|
125
|
+
|
126
|
+
|
127
|
+
|
128
|
+
|
129
|
+
|
130
|
+
|
131
|
+
<span class="summary_desc"><div class='inline'><p>
|
132
|
+
logarithmic base for a logarithmic axis.
|
133
|
+
</p>
|
134
|
+
</div></span>
|
135
|
+
|
136
|
+
</li>
|
137
|
+
|
138
|
+
|
139
|
+
<li class="public ">
|
140
|
+
<span class="summary_signature">
|
141
|
+
|
142
|
+
<a href="#max-instance_method" title="#max (instance method)">- (Float) <strong>max</strong> </a>
|
143
|
+
|
144
|
+
|
145
|
+
|
146
|
+
</span>
|
147
|
+
|
148
|
+
|
149
|
+
|
150
|
+
|
151
|
+
|
152
|
+
|
153
|
+
|
154
|
+
|
155
|
+
|
156
|
+
|
157
|
+
|
158
|
+
<span class="summary_desc"><div class='inline'><p>
|
159
|
+
the maximum scaling.
|
160
|
+
</p>
|
161
|
+
</div></span>
|
162
|
+
|
163
|
+
</li>
|
164
|
+
|
165
|
+
|
166
|
+
<li class="public ">
|
167
|
+
<span class="summary_signature">
|
168
|
+
|
169
|
+
<a href="#min-instance_method" title="#min (instance method)">- (Float) <strong>min</strong> </a>
|
170
|
+
|
171
|
+
|
172
|
+
|
173
|
+
</span>
|
174
|
+
|
175
|
+
|
176
|
+
|
177
|
+
|
178
|
+
|
179
|
+
|
180
|
+
|
181
|
+
|
182
|
+
|
183
|
+
|
184
|
+
|
185
|
+
<span class="summary_desc"><div class='inline'><p>
|
186
|
+
the minimu scaling.
|
187
|
+
</p>
|
188
|
+
</div></span>
|
189
|
+
|
190
|
+
</li>
|
191
|
+
|
192
|
+
|
193
|
+
<li class="public ">
|
194
|
+
<span class="summary_signature">
|
195
|
+
|
196
|
+
<a href="#orientation-instance_method" title="#orientation (instance method)">- (Symbol) <strong>orientation</strong> </a>
|
197
|
+
|
198
|
+
|
199
|
+
|
200
|
+
</span>
|
201
|
+
|
202
|
+
|
203
|
+
|
204
|
+
|
205
|
+
|
206
|
+
|
207
|
+
|
208
|
+
|
209
|
+
|
210
|
+
|
211
|
+
|
212
|
+
<span class="summary_desc"><div class='inline'><p>
|
213
|
+
the orientation of the axis must be one of [:minMax, :maxMin].
|
214
|
+
</p>
|
215
|
+
</div></span>
|
216
|
+
|
217
|
+
</li>
|
218
|
+
|
219
|
+
|
220
|
+
</ul>
|
221
|
+
|
222
|
+
|
223
|
+
|
224
|
+
|
225
|
+
|
226
|
+
<h2>
|
227
|
+
Instance Method Summary
|
228
|
+
<small>(<a href="#" class="summary_toggle">collapse</a>)</small>
|
229
|
+
</h2>
|
230
|
+
|
231
|
+
<ul class="summary">
|
232
|
+
|
233
|
+
<li class="public ">
|
234
|
+
<span class="summary_signature">
|
235
|
+
|
236
|
+
<a href="#initialize-instance_method" title="#initialize (instance method)">- (Scaling) <strong>initialize</strong>(options = {}) </a>
|
237
|
+
|
238
|
+
|
239
|
+
|
240
|
+
</span>
|
241
|
+
|
242
|
+
<span class="note title constructor">constructor</span>
|
243
|
+
|
244
|
+
|
245
|
+
|
246
|
+
|
247
|
+
|
248
|
+
|
249
|
+
|
250
|
+
|
251
|
+
<span class="summary_desc"><div class='inline'><p>
|
252
|
+
creates a new Scaling object.
|
253
|
+
</p>
|
254
|
+
</div></span>
|
255
|
+
|
256
|
+
</li>
|
257
|
+
|
258
|
+
|
259
|
+
<li class="public ">
|
260
|
+
<span class="summary_signature">
|
261
|
+
|
262
|
+
<a href="#to_xml-instance_method" title="#to_xml (instance method)">- (String) <strong>to_xml</strong>(xml) </a>
|
263
|
+
|
264
|
+
|
265
|
+
|
266
|
+
</span>
|
267
|
+
|
268
|
+
|
269
|
+
|
270
|
+
|
271
|
+
|
272
|
+
|
273
|
+
|
274
|
+
|
275
|
+
<span class="summary_desc"><div class='inline'><p>
|
276
|
+
Serializes the axId.
|
277
|
+
</p>
|
278
|
+
</div></span>
|
279
|
+
|
280
|
+
</li>
|
281
|
+
|
282
|
+
|
283
|
+
</ul>
|
284
|
+
|
285
|
+
|
286
|
+
<div id="constructor_details" class="method_details_list">
|
287
|
+
<h2>Constructor Details</h2>
|
288
|
+
|
289
|
+
<div class="method_details first">
|
290
|
+
<p class="signature first" id="initialize-instance_method">
|
291
|
+
|
292
|
+
- (<tt><span class='object_link'><a href="" title="Axlsx::Scaling (class)">Scaling</a></span></tt>) <strong>initialize</strong>(options = {})
|
293
|
+
|
294
|
+
|
295
|
+
|
296
|
+
</p><div class="docstring">
|
297
|
+
<div class="discussion">
|
298
|
+
<p>
|
299
|
+
creates a new Scaling object
|
300
|
+
</p>
|
301
|
+
|
302
|
+
|
303
|
+
</div>
|
304
|
+
</div>
|
305
|
+
<div class="tags">
|
306
|
+
<h3>Parameters:</h3>
|
307
|
+
<ul class="param">
|
308
|
+
|
309
|
+
<li>
|
310
|
+
|
311
|
+
<span class='name'>options</span>
|
312
|
+
|
313
|
+
|
314
|
+
<span class='type'>(<tt>Hash</tt>)</span>
|
315
|
+
|
316
|
+
|
317
|
+
<em class="default">(defaults to: <tt>{}</tt>)</em>
|
318
|
+
|
319
|
+
|
320
|
+
—
|
321
|
+
<div class='inline'><p>
|
322
|
+
a customizable set of options
|
323
|
+
</p>
|
324
|
+
</div>
|
325
|
+
|
326
|
+
</li>
|
327
|
+
|
328
|
+
</ul>
|
329
|
+
|
330
|
+
|
331
|
+
|
332
|
+
|
333
|
+
<h3>Options Hash (<tt>options</tt>):</h3>
|
334
|
+
<ul class="option">
|
335
|
+
|
336
|
+
<li>
|
337
|
+
<span class="name">logBase</span>
|
338
|
+
<span class="type">(<tt>Integer</tt>, <tt>Fixnum</tt>)</span>
|
339
|
+
<span class="default">
|
340
|
+
|
341
|
+
</span>
|
342
|
+
|
343
|
+
</li>
|
344
|
+
|
345
|
+
<li>
|
346
|
+
<span class="name">orientation</span>
|
347
|
+
<span class="type">(<tt>Symbol</tt>)</span>
|
348
|
+
<span class="default">
|
349
|
+
|
350
|
+
</span>
|
351
|
+
|
352
|
+
</li>
|
353
|
+
|
354
|
+
<li>
|
355
|
+
<span class="name">max</span>
|
356
|
+
<span class="type">(<tt>Float</tt>)</span>
|
357
|
+
<span class="default">
|
358
|
+
|
359
|
+
</span>
|
360
|
+
|
361
|
+
</li>
|
362
|
+
|
363
|
+
<li>
|
364
|
+
<span class="name">min</span>
|
365
|
+
<span class="type">(<tt>Float</tt>)</span>
|
366
|
+
<span class="default">
|
367
|
+
|
368
|
+
</span>
|
369
|
+
|
370
|
+
</li>
|
371
|
+
|
372
|
+
</ul>
|
373
|
+
|
374
|
+
|
375
|
+
|
376
|
+
</div><table class="source_code">
|
377
|
+
<tr>
|
378
|
+
<td>
|
379
|
+
<pre class="lines">
|
380
|
+
|
381
|
+
|
382
|
+
28
|
383
|
+
29
|
384
|
+
30
|
385
|
+
31
|
386
|
+
32
|
387
|
+
33</pre>
|
388
|
+
</td>
|
389
|
+
<td>
|
390
|
+
<pre class="code"><span class="info file"># File 'lib/axlsx/drawing/scaling.rb', line 28</span>
|
391
|
+
|
392
|
+
<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>
|
393
|
+
<span class='@orientation ivar id'>@orientation</span> <span class='assign token'>=</span> <span class='symbol val'>:minMax</span>
|
394
|
+
<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>
|
395
|
+
<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>
|
396
|
+
<span class='end end kw'>end</span>
|
397
|
+
<span class='end end kw'>end</span>
|
398
|
+
</pre>
|
399
|
+
</td>
|
400
|
+
</tr>
|
401
|
+
</table>
|
402
|
+
</div>
|
403
|
+
|
404
|
+
</div>
|
405
|
+
|
406
|
+
<div id="instance_attr_details" class="attr_details">
|
407
|
+
<h2>Instance Attribute Details</h2>
|
408
|
+
|
409
|
+
|
410
|
+
<span id="logBase=-instance_method"></span>
|
411
|
+
<span id="logBase-instance_method"></span>
|
412
|
+
<div class="method_details first">
|
413
|
+
<p class="signature first" id="logBase-instance_method">
|
414
|
+
|
415
|
+
- (<tt>Integer</tt>) <strong>logBase</strong>
|
416
|
+
|
417
|
+
|
418
|
+
|
419
|
+
</p><div class="docstring">
|
420
|
+
<div class="discussion">
|
421
|
+
<p>
|
422
|
+
logarithmic base for a logarithmic axis. must be between 2 and 1000
|
423
|
+
</p>
|
424
|
+
|
425
|
+
|
426
|
+
</div>
|
427
|
+
</div>
|
428
|
+
<div class="tags">
|
429
|
+
|
430
|
+
<h3>Returns:</h3>
|
431
|
+
<ul class="return">
|
432
|
+
|
433
|
+
<li>
|
434
|
+
|
435
|
+
|
436
|
+
<span class='type'>(<tt>Integer</tt>)</span>
|
437
|
+
|
438
|
+
|
439
|
+
|
440
|
+
</li>
|
441
|
+
|
442
|
+
</ul>
|
443
|
+
|
444
|
+
</div><table class="source_code">
|
445
|
+
<tr>
|
446
|
+
<td>
|
447
|
+
<pre class="lines">
|
448
|
+
|
449
|
+
|
450
|
+
8
|
451
|
+
9
|
452
|
+
10</pre>
|
453
|
+
</td>
|
454
|
+
<td>
|
455
|
+
<pre class="code"><span class="info file"># File 'lib/axlsx/drawing/scaling.rb', line 8</span>
|
456
|
+
|
457
|
+
<span class='def def kw'>def</span> <span class='logBase identifier id'>logBase</span>
|
458
|
+
<span class='@logBase ivar id'>@logBase</span>
|
459
|
+
<span class='end end kw'>end</span>
|
460
|
+
</pre>
|
461
|
+
</td>
|
462
|
+
</tr>
|
463
|
+
</table>
|
464
|
+
</div>
|
465
|
+
|
466
|
+
|
467
|
+
<span id="max=-instance_method"></span>
|
468
|
+
<span id="max-instance_method"></span>
|
469
|
+
<div class="method_details ">
|
470
|
+
<p class="signature " id="max-instance_method">
|
471
|
+
|
472
|
+
- (<tt>Float</tt>) <strong>max</strong>
|
473
|
+
|
474
|
+
|
475
|
+
|
476
|
+
</p><div class="docstring">
|
477
|
+
<div class="discussion">
|
478
|
+
<p>
|
479
|
+
the maximum scaling
|
480
|
+
</p>
|
481
|
+
|
482
|
+
|
483
|
+
</div>
|
484
|
+
</div>
|
485
|
+
<div class="tags">
|
486
|
+
|
487
|
+
<h3>Returns:</h3>
|
488
|
+
<ul class="return">
|
489
|
+
|
490
|
+
<li>
|
491
|
+
|
492
|
+
|
493
|
+
<span class='type'>(<tt>Float</tt>)</span>
|
494
|
+
|
495
|
+
|
496
|
+
|
497
|
+
</li>
|
498
|
+
|
499
|
+
</ul>
|
500
|
+
|
501
|
+
</div><table class="source_code">
|
502
|
+
<tr>
|
503
|
+
<td>
|
504
|
+
<pre class="lines">
|
505
|
+
|
506
|
+
|
507
|
+
17
|
508
|
+
18
|
509
|
+
19</pre>
|
510
|
+
</td>
|
511
|
+
<td>
|
512
|
+
<pre class="code"><span class="info file"># File 'lib/axlsx/drawing/scaling.rb', line 17</span>
|
513
|
+
|
514
|
+
<span class='def def kw'>def</span> <span class='max identifier id'>max</span>
|
515
|
+
<span class='@max ivar id'>@max</span>
|
516
|
+
<span class='end end kw'>end</span>
|
517
|
+
</pre>
|
518
|
+
</td>
|
519
|
+
</tr>
|
520
|
+
</table>
|
521
|
+
</div>
|
522
|
+
|
523
|
+
|
524
|
+
<span id="min=-instance_method"></span>
|
525
|
+
<span id="min-instance_method"></span>
|
526
|
+
<div class="method_details ">
|
527
|
+
<p class="signature " id="min-instance_method">
|
528
|
+
|
529
|
+
- (<tt>Float</tt>) <strong>min</strong>
|
530
|
+
|
531
|
+
|
532
|
+
|
533
|
+
</p><div class="docstring">
|
534
|
+
<div class="discussion">
|
535
|
+
<p>
|
536
|
+
the minimu scaling
|
537
|
+
</p>
|
538
|
+
|
539
|
+
|
540
|
+
</div>
|
541
|
+
</div>
|
542
|
+
<div class="tags">
|
543
|
+
|
544
|
+
<h3>Returns:</h3>
|
545
|
+
<ul class="return">
|
546
|
+
|
547
|
+
<li>
|
548
|
+
|
549
|
+
|
550
|
+
<span class='type'>(<tt>Float</tt>)</span>
|
551
|
+
|
552
|
+
|
553
|
+
|
554
|
+
</li>
|
555
|
+
|
556
|
+
</ul>
|
557
|
+
|
558
|
+
</div><table class="source_code">
|
559
|
+
<tr>
|
560
|
+
<td>
|
561
|
+
<pre class="lines">
|
562
|
+
|
563
|
+
|
564
|
+
21
|
565
|
+
22
|
566
|
+
23</pre>
|
567
|
+
</td>
|
568
|
+
<td>
|
569
|
+
<pre class="code"><span class="info file"># File 'lib/axlsx/drawing/scaling.rb', line 21</span>
|
570
|
+
|
571
|
+
<span class='def def kw'>def</span> <span class='min identifier id'>min</span>
|
572
|
+
<span class='@min ivar id'>@min</span>
|
573
|
+
<span class='end end kw'>end</span>
|
574
|
+
</pre>
|
575
|
+
</td>
|
576
|
+
</tr>
|
577
|
+
</table>
|
578
|
+
</div>
|
579
|
+
|
580
|
+
|
581
|
+
<span id="orientation=-instance_method"></span>
|
582
|
+
<span id="orientation-instance_method"></span>
|
583
|
+
<div class="method_details ">
|
584
|
+
<p class="signature " id="orientation-instance_method">
|
585
|
+
|
586
|
+
- (<tt>Symbol</tt>) <strong>orientation</strong>
|
587
|
+
|
588
|
+
|
589
|
+
|
590
|
+
</p><div class="docstring">
|
591
|
+
<div class="discussion">
|
592
|
+
<p>
|
593
|
+
the orientation of the axis must be one of [:minMax, :maxMin]
|
594
|
+
</p>
|
595
|
+
|
596
|
+
|
597
|
+
</div>
|
598
|
+
</div>
|
599
|
+
<div class="tags">
|
600
|
+
|
601
|
+
<h3>Returns:</h3>
|
602
|
+
<ul class="return">
|
603
|
+
|
604
|
+
<li>
|
605
|
+
|
606
|
+
|
607
|
+
<span class='type'>(<tt>Symbol</tt>)</span>
|
608
|
+
|
609
|
+
|
610
|
+
|
611
|
+
</li>
|
612
|
+
|
613
|
+
</ul>
|
614
|
+
|
615
|
+
</div><table class="source_code">
|
616
|
+
<tr>
|
617
|
+
<td>
|
618
|
+
<pre class="lines">
|
619
|
+
|
620
|
+
|
621
|
+
13
|
622
|
+
14
|
623
|
+
15</pre>
|
624
|
+
</td>
|
625
|
+
<td>
|
626
|
+
<pre class="code"><span class="info file"># File 'lib/axlsx/drawing/scaling.rb', line 13</span>
|
627
|
+
|
628
|
+
<span class='def def kw'>def</span> <span class='orientation identifier id'>orientation</span>
|
629
|
+
<span class='@orientation ivar id'>@orientation</span>
|
630
|
+
<span class='end end kw'>end</span>
|
631
|
+
</pre>
|
632
|
+
</td>
|
633
|
+
</tr>
|
634
|
+
</table>
|
635
|
+
</div>
|
636
|
+
|
637
|
+
</div>
|
638
|
+
|
639
|
+
|
640
|
+
<div id="instance_method_details" class="method_details_list">
|
641
|
+
<h2>Instance Method Details</h2>
|
642
|
+
|
643
|
+
|
644
|
+
<div class="method_details first">
|
645
|
+
<p class="signature first" id="to_xml-instance_method">
|
646
|
+
|
647
|
+
- (<tt>String</tt>) <strong>to_xml</strong>(xml)
|
648
|
+
|
649
|
+
|
650
|
+
|
651
|
+
</p><div class="docstring">
|
652
|
+
<div class="discussion">
|
653
|
+
<p>
|
654
|
+
Serializes the axId
|
655
|
+
</p>
|
656
|
+
|
657
|
+
|
658
|
+
</div>
|
659
|
+
</div>
|
660
|
+
<div class="tags">
|
661
|
+
<h3>Parameters:</h3>
|
662
|
+
<ul class="param">
|
663
|
+
|
664
|
+
<li>
|
665
|
+
|
666
|
+
<span class='name'>xml</span>
|
667
|
+
|
668
|
+
|
669
|
+
<span class='type'>(<tt>Nokogiri::XML::Builder</tt>)</span>
|
670
|
+
|
671
|
+
|
672
|
+
|
673
|
+
—
|
674
|
+
<div class='inline'><p>
|
675
|
+
The document builder instance this objects xml will be added to.
|
676
|
+
</p>
|
677
|
+
</div>
|
678
|
+
|
679
|
+
</li>
|
680
|
+
|
681
|
+
</ul>
|
682
|
+
|
683
|
+
<h3>Returns:</h3>
|
684
|
+
<ul class="return">
|
685
|
+
|
686
|
+
<li>
|
687
|
+
|
688
|
+
|
689
|
+
<span class='type'>(<tt>String</tt>)</span>
|
690
|
+
|
691
|
+
|
692
|
+
|
693
|
+
</li>
|
694
|
+
|
695
|
+
</ul>
|
696
|
+
|
697
|
+
</div><table class="source_code">
|
698
|
+
<tr>
|
699
|
+
<td>
|
700
|
+
<pre class="lines">
|
701
|
+
|
702
|
+
|
703
|
+
43
|
704
|
+
44
|
705
|
+
45
|
706
|
+
46
|
707
|
+
47
|
708
|
+
48
|
709
|
+
49
|
710
|
+
50</pre>
|
711
|
+
</td>
|
712
|
+
<td>
|
713
|
+
<pre class="code"><span class="info file"># File 'lib/axlsx/drawing/scaling.rb', line 43</span>
|
714
|
+
|
715
|
+
<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>
|
716
|
+
<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:scaling'</span><span class='rparen token'>)</span> <span class='lbrace token'>{</span>
|
717
|
+
<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:logBase'</span><span class='comma token'>,</span> <span class='symbol val'>:val=</span><span class='gt op'>></span> <span class='@logBase ivar id'>@logBase</span><span class='rparen token'>)</span> <span class='unless unless_mod kw'>unless</span> <span class='@logBase ivar id'>@logBase</span><span class='dot token'>.</span><span class='nil? fid id'>nil?</span>
|
718
|
+
<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:orientation'</span><span class='comma token'>,</span> <span class='symbol val'>:val=</span><span class='gt op'>></span> <span class='@orientation ivar id'>@orientation</span><span class='rparen token'>)</span> <span class='unless unless_mod kw'>unless</span> <span class='@orientation ivar id'>@orientation</span><span class='dot token'>.</span><span class='nil? fid id'>nil?</span>
|
719
|
+
<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:min'</span><span class='comma token'>,</span> <span class='symbol val'>:val</span> <span class='assign token'>=</span><span class='gt op'>></span> <span class='@min ivar id'>@min</span><span class='rparen token'>)</span> <span class='unless unless_mod kw'>unless</span> <span class='@min ivar id'>@min</span><span class='dot token'>.</span><span class='nil? fid id'>nil?</span>
|
720
|
+
<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:max'</span><span class='comma token'>,</span> <span class='symbol val'>:val</span> <span class='assign token'>=</span><span class='gt op'>></span> <span class='@max ivar id'>@max</span><span class='rparen token'>)</span> <span class='unless unless_mod kw'>unless</span> <span class='@max ivar id'>@max</span><span class='dot token'>.</span><span class='nil? fid id'>nil?</span>
|
721
|
+
<span class='rbrace token'>}</span>
|
722
|
+
<span class='end end kw'>end</span>
|
723
|
+
</pre>
|
724
|
+
</td>
|
725
|
+
</tr>
|
726
|
+
</table>
|
727
|
+
</div>
|
728
|
+
|
729
|
+
</div>
|
730
|
+
|
731
|
+
</div>
|
732
|
+
|
733
|
+
<div id="footer">
|
734
|
+
Generated on Tue Nov 22 00:27:41 2011 by
|
735
|
+
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
736
|
+
0.7.3 (ruby-1.8.7).
|
737
|
+
</div>
|
738
|
+
|
739
|
+
</body>
|
740
|
+
</html>
|