axlsx 1.0.9 → 1.0.10a
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +3 -0
- data/Gemfile.lock +24 -0
- data/README.md +86 -1
- data/axlsx.gemspec +6 -10
- data/doc/Axlsx.html +557 -360
- data/doc/Axlsx/App.html +347 -244
- data/doc/Axlsx/Ar.html +200 -0
- data/doc/Axlsx/Ar/ClassMethods.html +192 -0
- data/doc/Axlsx/Ar/InstanceMethods.html +109 -0
- data/doc/Axlsx/Ar/SingletonMethods.html +304 -0
- data/doc/Axlsx/Axis.html +131 -98
- data/doc/Axlsx/Bar3DChart.html +138 -106
- data/doc/Axlsx/BarSeries.html +73 -54
- data/doc/Axlsx/Border.html +114 -87
- data/doc/Axlsx/BorderPr.html +107 -82
- data/doc/Axlsx/CatAxis.html +93 -68
- data/doc/Axlsx/CatAxisData.html +47 -38
- data/doc/Axlsx/Cell.html +642 -148
- data/doc/Axlsx/CellAlignment.html +152 -111
- data/doc/Axlsx/CellProtection.html +63 -45
- data/doc/Axlsx/CellStyle.html +101 -73
- data/doc/Axlsx/Chart.html +238 -179
- data/doc/Axlsx/Color.html +75 -53
- data/doc/Axlsx/ContentType.html +34 -26
- data/doc/Axlsx/Core.html +54 -42
- data/doc/Axlsx/DataTypeValidator.html +39 -30
- data/doc/Axlsx/Default.html +59 -43
- data/doc/Axlsx/Drawing.html +176 -128
- data/doc/Axlsx/Fill.html +46 -33
- data/doc/Axlsx/Font.html +197 -147
- data/doc/Axlsx/GradientFill.html +114 -82
- data/doc/Axlsx/GradientStop.html +47 -33
- data/doc/Axlsx/GraphicFrame.html +78 -60
- data/doc/Axlsx/Line3DChart.html +125 -97
- data/doc/Axlsx/LineSeries.html +60 -44
- data/doc/Axlsx/Marker.html +98 -71
- data/doc/Axlsx/NumFmt.html +99 -80
- data/doc/Axlsx/OneCellAnchor.html +126 -94
- data/doc/Axlsx/Override.html +59 -43
- data/doc/Axlsx/Package.html +269 -134
- data/doc/Axlsx/PatternFill.html +93 -72
- data/doc/Axlsx/Pic.html +202 -152
- data/doc/Axlsx/Pie3DChart.html +39 -30
- data/doc/Axlsx/PieSeries.html +72 -53
- data/doc/Axlsx/RegexValidator.html +19 -14
- data/doc/Axlsx/Relationship.html +60 -43
- data/doc/Axlsx/Relationships.html +34 -26
- data/doc/Axlsx/RestrictionValidator.html +31 -22
- data/doc/Axlsx/Row.html +241 -67
- data/doc/Axlsx/Scaling.html +80 -59
- data/doc/Axlsx/SerAxis.html +71 -51
- data/doc/Axlsx/Series.html +179 -51
- data/doc/Axlsx/SeriesTitle.html +29 -24
- data/doc/Axlsx/Styles.html +354 -285
- data/doc/Axlsx/TableStyle.html +74 -54
- data/doc/Axlsx/TableStyleElement.html +99 -79
- data/doc/Axlsx/TableStyles.html +65 -47
- data/doc/Axlsx/Title.html +66 -51
- data/doc/Axlsx/TwoCellAnchor.html +129 -96
- data/doc/Axlsx/ValAxis.html +52 -38
- data/doc/Axlsx/ValAxisData.html +32 -27
- data/doc/Axlsx/View3D.html +111 -80
- data/doc/Axlsx/Workbook.html +333 -272
- data/doc/Axlsx/Worksheet.html +1018 -266
- data/doc/Axlsx/Xf.html +188 -134
- data/doc/_index.html +44 -8
- data/doc/class_list.html +1 -1
- data/doc/file.LICENSE.html +28 -23
- data/doc/file.README.html +180 -91
- data/doc/index.html +180 -91
- data/doc/method_list.html +541 -421
- data/doc/top-level-namespace.html +2 -2
- data/examples/example.rb +70 -13
- data/lib/axlsx.rb +1 -0
- data/lib/axlsx/ar.rb +72 -0
- data/lib/axlsx/package.rb +8 -1
- data/lib/axlsx/util/simple_typed_list.rb +5 -0
- data/lib/axlsx/version.rb +1 -1
- data/lib/axlsx/workbook/workbook.rb +4 -2
- data/lib/axlsx/workbook/worksheet/row.rb +15 -0
- data/lib/axlsx/workbook/worksheet/worksheet.rb +44 -1
- data/test/workbook/worksheet/tc_row.rb +6 -0
- data/test/workbook/worksheet/tc_worksheet.rb +36 -0
- metadata +103 -59
data/doc/Axlsx/Scaling.html
CHANGED
@@ -94,8 +94,9 @@
|
|
94
94
|
|
95
95
|
<h2>Overview</h2><div class="docstring">
|
96
96
|
<div class="discussion">
|
97
|
-
|
98
|
-
|
97
|
+
<p>
|
98
|
+
The Scaling class defines axis scaling
|
99
|
+
</p>
|
99
100
|
|
100
101
|
|
101
102
|
</div>
|
@@ -127,8 +128,9 @@
|
|
127
128
|
|
128
129
|
|
129
130
|
|
130
|
-
<span class="summary_desc"><div class='inline'>
|
131
|
-
|
131
|
+
<span class="summary_desc"><div class='inline'><p>
|
132
|
+
logarithmic base for a logarithmic axis.
|
133
|
+
</p>
|
132
134
|
</div></span>
|
133
135
|
|
134
136
|
</li>
|
@@ -153,8 +155,9 @@
|
|
153
155
|
|
154
156
|
|
155
157
|
|
156
|
-
<span class="summary_desc"><div class='inline'>
|
157
|
-
|
158
|
+
<span class="summary_desc"><div class='inline'><p>
|
159
|
+
the maximum scaling.
|
160
|
+
</p>
|
158
161
|
</div></span>
|
159
162
|
|
160
163
|
</li>
|
@@ -179,8 +182,9 @@
|
|
179
182
|
|
180
183
|
|
181
184
|
|
182
|
-
<span class="summary_desc"><div class='inline'>
|
183
|
-
|
185
|
+
<span class="summary_desc"><div class='inline'><p>
|
186
|
+
the minimu scaling.
|
187
|
+
</p>
|
184
188
|
</div></span>
|
185
189
|
|
186
190
|
</li>
|
@@ -205,8 +209,9 @@
|
|
205
209
|
|
206
210
|
|
207
211
|
|
208
|
-
<span class="summary_desc"><div class='inline'>
|
209
|
-
|
212
|
+
<span class="summary_desc"><div class='inline'><p>
|
213
|
+
the orientation of the axis must be one of [:minMax, :maxMin].
|
214
|
+
</p>
|
210
215
|
</div></span>
|
211
216
|
|
212
217
|
</li>
|
@@ -243,8 +248,9 @@
|
|
243
248
|
|
244
249
|
|
245
250
|
|
246
|
-
<span class="summary_desc"><div class='inline'>
|
247
|
-
|
251
|
+
<span class="summary_desc"><div class='inline'><p>
|
252
|
+
creates a new Scaling object.
|
253
|
+
</p>
|
248
254
|
</div></span>
|
249
255
|
|
250
256
|
</li>
|
@@ -266,8 +272,9 @@
|
|
266
272
|
|
267
273
|
|
268
274
|
|
269
|
-
<span class="summary_desc"><div class='inline'>
|
270
|
-
|
275
|
+
<span class="summary_desc"><div class='inline'><p>
|
276
|
+
Serializes the axId.
|
277
|
+
</p>
|
271
278
|
</div></span>
|
272
279
|
|
273
280
|
</li>
|
@@ -288,8 +295,9 @@
|
|
288
295
|
|
289
296
|
</p><div class="docstring">
|
290
297
|
<div class="discussion">
|
291
|
-
|
292
|
-
|
298
|
+
<p>
|
299
|
+
creates a new Scaling object
|
300
|
+
</p>
|
293
301
|
|
294
302
|
|
295
303
|
</div>
|
@@ -310,8 +318,9 @@
|
|
310
318
|
|
311
319
|
|
312
320
|
—
|
313
|
-
<div class='inline'>
|
314
|
-
|
321
|
+
<div class='inline'><p>
|
322
|
+
a customizable set of options
|
323
|
+
</p>
|
315
324
|
</div>
|
316
325
|
|
317
326
|
</li>
|
@@ -381,13 +390,14 @@
|
|
381
390
|
<td>
|
382
391
|
<pre class="code"><span class="info file"># File 'lib/axlsx/drawing/scaling.rb', line 28</span>
|
383
392
|
|
384
|
-
<span class='kw'>def</span> <span class='id
|
385
|
-
<span class='ivar'>@orientation</span> <span class='
|
386
|
-
<span class='ivar'>@logBase</span><span class='comma'>,</span> <span class='ivar'>@min</span><span class='comma'>,</span> <span class='ivar'>@max</span> <span class='
|
387
|
-
<span class='id
|
388
|
-
<span class='kw'>self</span><span class='
|
389
|
-
<span class='kw'>end</span>
|
390
|
-
<span class='kw'>end</span
|
393
|
+
<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>
|
394
|
+
<span class='@orientation ivar id'>@orientation</span> <span class='assign token'>=</span> <span class='symbol val'>:minMax</span>
|
395
|
+
<span class='@logBase ivar id'>@logBase</span><span class='comma token'>,</span> <span class='@min ivar id'>@min</span><span class='comma token'>,</span> <span class='@max ivar id'>@max</span> <span class='assign token'>=</span> <span class='nil nil kw'>nil</span><span class='comma token'>,</span> <span class='nil nil kw'>nil</span><span class='comma token'>,</span> <span class='nil nil kw'>nil</span>
|
396
|
+
<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>
|
397
|
+
<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>
|
398
|
+
<span class='end end kw'>end</span>
|
399
|
+
<span class='end end kw'>end</span>
|
400
|
+
</pre>
|
391
401
|
</td>
|
392
402
|
</tr>
|
393
403
|
</table>
|
@@ -410,8 +420,9 @@
|
|
410
420
|
|
411
421
|
</p><div class="docstring">
|
412
422
|
<div class="discussion">
|
413
|
-
|
414
|
-
|
423
|
+
<p>
|
424
|
+
logarithmic base for a logarithmic axis. must be between 2 and 1000
|
425
|
+
</p>
|
415
426
|
|
416
427
|
|
417
428
|
</div>
|
@@ -445,9 +456,10 @@
|
|
445
456
|
<td>
|
446
457
|
<pre class="code"><span class="info file"># File 'lib/axlsx/drawing/scaling.rb', line 8</span>
|
447
458
|
|
448
|
-
<span class='kw'>def</span> <span class='id
|
449
|
-
<span class='ivar'>@logBase</span>
|
450
|
-
<span class='kw'>end</span
|
459
|
+
<span class='def def kw'>def</span> <span class='logBase identifier id'>logBase</span>
|
460
|
+
<span class='@logBase ivar id'>@logBase</span>
|
461
|
+
<span class='end end kw'>end</span>
|
462
|
+
</pre>
|
451
463
|
</td>
|
452
464
|
</tr>
|
453
465
|
</table>
|
@@ -465,8 +477,9 @@
|
|
465
477
|
|
466
478
|
</p><div class="docstring">
|
467
479
|
<div class="discussion">
|
468
|
-
|
469
|
-
|
480
|
+
<p>
|
481
|
+
the maximum scaling
|
482
|
+
</p>
|
470
483
|
|
471
484
|
|
472
485
|
</div>
|
@@ -500,9 +513,10 @@
|
|
500
513
|
<td>
|
501
514
|
<pre class="code"><span class="info file"># File 'lib/axlsx/drawing/scaling.rb', line 17</span>
|
502
515
|
|
503
|
-
<span class='kw'>def</span> <span class='id
|
504
|
-
<span class='ivar'>@max</span>
|
505
|
-
<span class='kw'>end</span
|
516
|
+
<span class='def def kw'>def</span> <span class='max identifier id'>max</span>
|
517
|
+
<span class='@max ivar id'>@max</span>
|
518
|
+
<span class='end end kw'>end</span>
|
519
|
+
</pre>
|
506
520
|
</td>
|
507
521
|
</tr>
|
508
522
|
</table>
|
@@ -520,8 +534,9 @@
|
|
520
534
|
|
521
535
|
</p><div class="docstring">
|
522
536
|
<div class="discussion">
|
523
|
-
|
524
|
-
|
537
|
+
<p>
|
538
|
+
the minimu scaling
|
539
|
+
</p>
|
525
540
|
|
526
541
|
|
527
542
|
</div>
|
@@ -555,9 +570,10 @@
|
|
555
570
|
<td>
|
556
571
|
<pre class="code"><span class="info file"># File 'lib/axlsx/drawing/scaling.rb', line 21</span>
|
557
572
|
|
558
|
-
<span class='kw'>def</span> <span class='id
|
559
|
-
<span class='ivar'>@min</span>
|
560
|
-
<span class='kw'>end</span
|
573
|
+
<span class='def def kw'>def</span> <span class='min identifier id'>min</span>
|
574
|
+
<span class='@min ivar id'>@min</span>
|
575
|
+
<span class='end end kw'>end</span>
|
576
|
+
</pre>
|
561
577
|
</td>
|
562
578
|
</tr>
|
563
579
|
</table>
|
@@ -575,8 +591,9 @@
|
|
575
591
|
|
576
592
|
</p><div class="docstring">
|
577
593
|
<div class="discussion">
|
578
|
-
|
579
|
-
|
594
|
+
<p>
|
595
|
+
the orientation of the axis must be one of [:minMax, :maxMin]
|
596
|
+
</p>
|
580
597
|
|
581
598
|
|
582
599
|
</div>
|
@@ -610,9 +627,10 @@
|
|
610
627
|
<td>
|
611
628
|
<pre class="code"><span class="info file"># File 'lib/axlsx/drawing/scaling.rb', line 13</span>
|
612
629
|
|
613
|
-
<span class='kw'>def</span> <span class='id
|
614
|
-
<span class='ivar'>@orientation</span>
|
615
|
-
<span class='kw'>end</span
|
630
|
+
<span class='def def kw'>def</span> <span class='orientation identifier id'>orientation</span>
|
631
|
+
<span class='@orientation ivar id'>@orientation</span>
|
632
|
+
<span class='end end kw'>end</span>
|
633
|
+
</pre>
|
616
634
|
</td>
|
617
635
|
</tr>
|
618
636
|
</table>
|
@@ -634,8 +652,9 @@
|
|
634
652
|
|
635
653
|
</p><div class="docstring">
|
636
654
|
<div class="discussion">
|
637
|
-
|
638
|
-
|
655
|
+
<p>
|
656
|
+
Serializes the axId
|
657
|
+
</p>
|
639
658
|
|
640
659
|
|
641
660
|
</div>
|
@@ -654,8 +673,9 @@
|
|
654
673
|
|
655
674
|
|
656
675
|
—
|
657
|
-
<div class='inline'>
|
658
|
-
|
676
|
+
<div class='inline'><p>
|
677
|
+
The document builder instance this objects xml will be added to.
|
678
|
+
</p>
|
659
679
|
</div>
|
660
680
|
|
661
681
|
</li>
|
@@ -694,14 +714,15 @@
|
|
694
714
|
<td>
|
695
715
|
<pre class="code"><span class="info file"># File 'lib/axlsx/drawing/scaling.rb', line 49</span>
|
696
716
|
|
697
|
-
<span class='kw'>def</span> <span class='id
|
698
|
-
<span class='id
|
699
|
-
<span class='id
|
700
|
-
<span class='id
|
701
|
-
<span class='id
|
702
|
-
<span class='id
|
703
|
-
<span class='rbrace'>}</span>
|
704
|
-
<span class='kw'>end</span
|
717
|
+
<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>
|
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:scaling'</span><span class='rparen token'>)</span> <span class='lbrace token'>{</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: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>
|
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: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>
|
721
|
+
<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>
|
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: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>
|
723
|
+
<span class='rbrace token'>}</span>
|
724
|
+
<span class='end end kw'>end</span>
|
725
|
+
</pre>
|
705
726
|
</td>
|
706
727
|
</tr>
|
707
728
|
</table>
|
@@ -712,9 +733,9 @@
|
|
712
733
|
</div>
|
713
734
|
|
714
735
|
<div id="footer">
|
715
|
-
Generated on
|
736
|
+
Generated on Sun Nov 27 21:54:13 2011 by
|
716
737
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
717
|
-
0.7.3 (ruby-1.
|
738
|
+
0.7.3 (ruby-1.8.7).
|
718
739
|
</div>
|
719
740
|
|
720
741
|
</body>
|
data/doc/Axlsx/SerAxis.html
CHANGED
@@ -96,8 +96,9 @@
|
|
96
96
|
|
97
97
|
<h2>Overview</h2><div class="docstring">
|
98
98
|
<div class="discussion">
|
99
|
-
|
100
|
-
|
99
|
+
<p>
|
100
|
+
A SerAxis object defines a series axis
|
101
|
+
</p>
|
101
102
|
|
102
103
|
|
103
104
|
</div>
|
@@ -133,8 +134,9 @@
|
|
133
134
|
|
134
135
|
|
135
136
|
|
136
|
-
<span class="summary_desc"><div class='inline'>
|
137
|
-
|
137
|
+
<span class="summary_desc"><div class='inline'><p>
|
138
|
+
The number of tick lables to skip between labels.
|
139
|
+
</p>
|
138
140
|
</div></span>
|
139
141
|
|
140
142
|
</li>
|
@@ -159,8 +161,9 @@
|
|
159
161
|
|
160
162
|
|
161
163
|
|
162
|
-
<span class="summary_desc"><div class='inline'>
|
163
|
-
|
164
|
+
<span class="summary_desc"><div class='inline'><p>
|
165
|
+
The number of tickmarks to be skipped before the next one is rendered.
|
166
|
+
</p>
|
164
167
|
</div></span>
|
165
168
|
|
166
169
|
</li>
|
@@ -205,8 +208,9 @@
|
|
205
208
|
|
206
209
|
|
207
210
|
|
208
|
-
<span class="summary_desc"><div class='inline'>
|
209
|
-
|
211
|
+
<span class="summary_desc"><div class='inline'><p>
|
212
|
+
Creates a new SerAxis object.
|
213
|
+
</p>
|
210
214
|
</div></span>
|
211
215
|
|
212
216
|
</li>
|
@@ -228,8 +232,9 @@
|
|
228
232
|
|
229
233
|
|
230
234
|
|
231
|
-
<span class="summary_desc"><div class='inline'>
|
232
|
-
|
235
|
+
<span class="summary_desc"><div class='inline'><p>
|
236
|
+
Serializes the series axis.
|
237
|
+
</p>
|
233
238
|
</div></span>
|
234
239
|
|
235
240
|
</li>
|
@@ -255,8 +260,9 @@
|
|
255
260
|
|
256
261
|
</p><div class="docstring">
|
257
262
|
<div class="discussion">
|
258
|
-
|
259
|
-
|
263
|
+
<p>
|
264
|
+
Creates a new SerAxis object
|
265
|
+
</p>
|
260
266
|
|
261
267
|
|
262
268
|
</div>
|
@@ -275,8 +281,9 @@
|
|
275
281
|
|
276
282
|
|
277
283
|
—
|
278
|
-
<div class='inline'>
|
279
|
-
|
284
|
+
<div class='inline'><p>
|
285
|
+
the id of this axis. Inherited
|
286
|
+
</p>
|
280
287
|
</div>
|
281
288
|
|
282
289
|
</li>
|
@@ -291,8 +298,9 @@
|
|
291
298
|
|
292
299
|
|
293
300
|
—
|
294
|
-
<div class='inline'>
|
295
|
-
|
301
|
+
<div class='inline'><p>
|
302
|
+
the id of the perpendicular axis. Inherited
|
303
|
+
</p>
|
296
304
|
</div>
|
297
305
|
|
298
306
|
</li>
|
@@ -309,8 +317,9 @@
|
|
309
317
|
|
310
318
|
|
311
319
|
—
|
312
|
-
<div class='inline'>
|
313
|
-
|
320
|
+
<div class='inline'><p>
|
321
|
+
a customizable set of options
|
322
|
+
</p>
|
314
323
|
</div>
|
315
324
|
|
316
325
|
</li>
|
@@ -333,8 +342,9 @@
|
|
333
342
|
<span class="default">
|
334
343
|
|
335
344
|
</span>
|
336
|
-
— <div class='inline'>
|
337
|
-
|
345
|
+
— <div class='inline'><p>
|
346
|
+
Inherited
|
347
|
+
</p>
|
338
348
|
</div>
|
339
349
|
</li>
|
340
350
|
|
@@ -344,8 +354,9 @@
|
|
344
354
|
<span class="default">
|
345
355
|
|
346
356
|
</span>
|
347
|
-
— <div class='inline'>
|
348
|
-
|
357
|
+
— <div class='inline'><p>
|
358
|
+
Inherited
|
359
|
+
</p>
|
349
360
|
</div>
|
350
361
|
</li>
|
351
362
|
|
@@ -355,8 +366,9 @@
|
|
355
366
|
<span class="default">
|
356
367
|
|
357
368
|
</span>
|
358
|
-
— <div class='inline'>
|
359
|
-
|
369
|
+
— <div class='inline'><p>
|
370
|
+
Inherited
|
371
|
+
</p>
|
360
372
|
</div>
|
361
373
|
</li>
|
362
374
|
|
@@ -396,10 +408,11 @@
|
|
396
408
|
<td>
|
397
409
|
<pre class="code"><span class="info file"># File 'lib/axlsx/drawing/ser_axis.rb', line 21</span>
|
398
410
|
|
399
|
-
<span class='kw'>def</span> <span class='id
|
400
|
-
<span class='ivar'>@tickLblSkip</span><span class='comma'>,</span> <span class='ivar'>@tickMarkSkip</span> <span class='
|
401
|
-
<span class='kw'>super</span><span class='lparen'>(</span><span class='id
|
402
|
-
<span class='kw'>end</span
|
411
|
+
<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>
|
412
|
+
<span class='@tickLblSkip ivar id'>@tickLblSkip</span><span class='comma token'>,</span> <span class='@tickMarkSkip ivar id'>@tickMarkSkip</span> <span class='assign token'>=</span> <span class='nil nil kw'>nil</span><span class='comma token'>,</span> <span class='nil nil kw'>nil</span>
|
413
|
+
<span class='super super kw'>super</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='rparen token'>)</span>
|
414
|
+
<span class='end end kw'>end</span>
|
415
|
+
</pre>
|
403
416
|
</td>
|
404
417
|
</tr>
|
405
418
|
</table>
|
@@ -422,8 +435,9 @@
|
|
422
435
|
|
423
436
|
</p><div class="docstring">
|
424
437
|
<div class="discussion">
|
425
|
-
|
426
|
-
|
438
|
+
<p>
|
439
|
+
The number of tick lables to skip between labels
|
440
|
+
</p>
|
427
441
|
|
428
442
|
|
429
443
|
</div>
|
@@ -457,9 +471,10 @@
|
|
457
471
|
<td>
|
458
472
|
<pre class="code"><span class="info file"># File 'lib/axlsx/drawing/ser_axis.rb', line 7</span>
|
459
473
|
|
460
|
-
<span class='kw'>def</span> <span class='id
|
461
|
-
<span class='ivar'>@tickLblSkip</span>
|
462
|
-
<span class='kw'>end</span
|
474
|
+
<span class='def def kw'>def</span> <span class='tickLblSkip identifier id'>tickLblSkip</span>
|
475
|
+
<span class='@tickLblSkip ivar id'>@tickLblSkip</span>
|
476
|
+
<span class='end end kw'>end</span>
|
477
|
+
</pre>
|
463
478
|
</td>
|
464
479
|
</tr>
|
465
480
|
</table>
|
@@ -477,8 +492,9 @@
|
|
477
492
|
|
478
493
|
</p><div class="docstring">
|
479
494
|
<div class="discussion">
|
480
|
-
|
481
|
-
|
495
|
+
<p>
|
496
|
+
The number of tickmarks to be skipped before the next one is rendered.
|
497
|
+
</p>
|
482
498
|
|
483
499
|
|
484
500
|
</div>
|
@@ -512,9 +528,10 @@
|
|
512
528
|
<td>
|
513
529
|
<pre class="code"><span class="info file"># File 'lib/axlsx/drawing/ser_axis.rb', line 11</span>
|
514
530
|
|
515
|
-
<span class='kw'>def</span> <span class='id
|
516
|
-
<span class='ivar'>@tickMarkSkip</span>
|
517
|
-
<span class='kw'>end</span
|
531
|
+
<span class='def def kw'>def</span> <span class='tickMarkSkip identifier id'>tickMarkSkip</span>
|
532
|
+
<span class='@tickMarkSkip ivar id'>@tickMarkSkip</span>
|
533
|
+
<span class='end end kw'>end</span>
|
534
|
+
</pre>
|
518
535
|
</td>
|
519
536
|
</tr>
|
520
537
|
</table>
|
@@ -536,8 +553,9 @@
|
|
536
553
|
|
537
554
|
</p><div class="docstring">
|
538
555
|
<div class="discussion">
|
539
|
-
|
540
|
-
|
556
|
+
<p>
|
557
|
+
Serializes the series axis
|
558
|
+
</p>
|
541
559
|
|
542
560
|
|
543
561
|
</div>
|
@@ -556,8 +574,9 @@
|
|
556
574
|
|
557
575
|
|
558
576
|
—
|
559
|
-
<div class='inline'>
|
560
|
-
|
577
|
+
<div class='inline'><p>
|
578
|
+
The document builder instance this objects xml will be added to.
|
579
|
+
</p>
|
561
580
|
</div>
|
562
581
|
|
563
582
|
</li>
|
@@ -595,13 +614,14 @@
|
|
595
614
|
<td>
|
596
615
|
<pre class="code"><span class="info file"># File 'lib/axlsx/drawing/ser_axis.rb', line 35</span>
|
597
616
|
|
598
|
-
<span class='kw'>def</span> <span class='id
|
599
|
-
<span class='id
|
600
|
-
<span class='kw'>super</span><span class='lparen'>(</span><span class='id
|
601
|
-
<span class='id
|
602
|
-
<span class='id
|
603
|
-
<span class='rbrace'>}</span>
|
604
|
-
<span class='kw'>end</span
|
617
|
+
<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>
|
618
|
+
<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:serAx'</span><span class='rparen token'>)</span> <span class='lbrace token'>{</span>
|
619
|
+
<span class='super super kw'>super</span><span class='lparen token'>(</span><span class='xml identifier id'>xml</span><span class='rparen token'>)</span>
|
620
|
+
<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:tickLblSkip'</span><span class='comma token'>,</span> <span class='symbol val'>:val=</span><span class='gt op'>></span><span class='@tickLblSkip ivar id'>@tickLblSkip</span><span class='rparen token'>)</span> <span class='unless unless_mod kw'>unless</span> <span class='@tickLblSkip ivar id'>@tickLblSkip</span><span class='dot token'>.</span><span class='nil? fid id'>nil?</span>
|
621
|
+
<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:tickMarkSkip'</span><span class='comma token'>,</span> <span class='symbol val'>:val=</span><span class='gt op'>></span><span class='@tickMarkSkip ivar id'>@tickMarkSkip</span><span class='rparen token'>)</span> <span class='unless unless_mod kw'>unless</span> <span class='@tickMarkSkip ivar id'>@tickMarkSkip</span><span class='dot token'>.</span><span class='nil? fid id'>nil?</span>
|
622
|
+
<span class='rbrace token'>}</span>
|
623
|
+
<span class='end end kw'>end</span>
|
624
|
+
</pre>
|
605
625
|
</td>
|
606
626
|
</tr>
|
607
627
|
</table>
|
@@ -612,9 +632,9 @@
|
|
612
632
|
</div>
|
613
633
|
|
614
634
|
<div id="footer">
|
615
|
-
Generated on
|
635
|
+
Generated on Sun Nov 27 21:54:23 2011 by
|
616
636
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
617
|
-
0.7.3 (ruby-1.
|
637
|
+
0.7.3 (ruby-1.8.7).
|
618
638
|
</div>
|
619
639
|
|
620
640
|
</body>
|