axlsx 1.0.5 → 1.0.6

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