axlsx 1.0.5 → 1.0.6

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