axlsx 1.0.6 → 1.0.7
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.
- data/CHANGELOG.md +32 -0
- data/README.md +34 -35
- data/Rakefile +19 -8
- data/doc/Axlsx.html +4 -4
- data/doc/Axlsx/App.html +1 -1
- data/doc/Axlsx/Axis.html +45 -19
- data/doc/Axlsx/Bar3DChart.html +134 -107
- data/doc/Axlsx/BarSeries.html +6 -64
- data/doc/Axlsx/Border.html +1 -1
- data/doc/Axlsx/BorderPr.html +1 -1
- data/doc/Axlsx/CatAxis.html +34 -31
- data/doc/Axlsx/CatAxisData.html +400 -0
- data/doc/Axlsx/Cell.html +1 -1
- data/doc/Axlsx/CellAlignment.html +1 -1
- data/doc/Axlsx/CellProtection.html +1 -1
- data/doc/Axlsx/CellStyle.html +1 -1
- data/doc/Axlsx/Chart.html +449 -212
- data/doc/Axlsx/Color.html +1 -1
- data/doc/Axlsx/ContentType.html +2 -2
- data/doc/Axlsx/Core.html +1 -1
- data/doc/Axlsx/DataTypeValidator.html +1 -1
- data/doc/Axlsx/Default.html +1 -1
- data/doc/Axlsx/Drawing.html +65 -91
- data/doc/Axlsx/Fill.html +1 -1
- data/doc/Axlsx/Font.html +1 -1
- data/doc/Axlsx/GradientFill.html +1 -1
- data/doc/Axlsx/GradientStop.html +1 -1
- data/doc/Axlsx/GraphicFrame.html +7 -5
- data/doc/Axlsx/Line3DChart.html +109 -28
- data/doc/Axlsx/LineSeries.html +17 -73
- data/doc/Axlsx/Marker.html +1 -1
- data/doc/Axlsx/NumFmt.html +1 -1
- data/doc/Axlsx/Override.html +1 -1
- data/doc/Axlsx/Package.html +1 -1
- data/doc/Axlsx/PatternFill.html +1 -1
- data/doc/Axlsx/Pie3DChart.html +118 -66
- data/doc/Axlsx/PieSeries.html +30 -89
- data/doc/Axlsx/RegexValidator.html +1 -1
- data/doc/Axlsx/Relationship.html +1 -1
- data/doc/Axlsx/Relationships.html +2 -2
- data/doc/Axlsx/RestrictionValidator.html +1 -1
- data/doc/Axlsx/Row.html +1 -1
- data/doc/Axlsx/Scaling.html +1 -1
- data/doc/Axlsx/SerAxis.html +52 -37
- data/doc/Axlsx/Series.html +25 -10
- data/doc/Axlsx/SeriesTitle.html +3 -2
- data/doc/Axlsx/SimpleTypedList.html +86 -17
- data/doc/Axlsx/Styles.html +1 -1
- data/doc/Axlsx/TableStyle.html +2 -2
- data/doc/Axlsx/TableStyleElement.html +1 -1
- data/doc/Axlsx/TableStyles.html +2 -2
- data/doc/Axlsx/Title.html +1 -1
- data/doc/Axlsx/TwoCellAnchor.html +40 -280
- data/doc/Axlsx/ValAxis.html +7 -8
- data/doc/Axlsx/ValAxisData.html +326 -0
- data/doc/Axlsx/View3D.html +39 -39
- data/doc/Axlsx/Workbook.html +1 -1
- data/doc/Axlsx/Worksheet.html +84 -39
- data/doc/Axlsx/Xf.html +1 -1
- data/doc/_index.html +15 -1
- data/doc/class_list.html +1 -1
- data/doc/file.README.html +30 -49
- data/doc/index.html +30 -49
- data/doc/method_list.html +448 -416
- data/doc/top-level-namespace.html +1 -1
- data/examples/#example.rb# +87 -0
- data/examples/example.rb +4 -1
- data/examples/multi_chart.xlsx +0 -0
- data/lib/axlsx/drawing/#bar_series.rb# +62 -0
- data/lib/axlsx/drawing/axis.rb +7 -6
- data/lib/axlsx/drawing/bar_3D_chart.rb +12 -30
- data/lib/axlsx/drawing/bar_series.rb +6 -35
- data/lib/axlsx/drawing/cat_axis.rb +8 -10
- data/lib/axlsx/drawing/cat_axis_data.rb +34 -0
- data/lib/axlsx/drawing/cat_axis_data.rb~ +28 -0
- data/lib/axlsx/drawing/chart.rb +48 -21
- data/lib/axlsx/drawing/drawing.rb +14 -12
- data/lib/axlsx/drawing/graphic_frame.rb +1 -0
- data/lib/axlsx/drawing/line_3D_chart.rb +11 -1
- data/lib/axlsx/drawing/line_series.rb +10 -40
- data/lib/axlsx/drawing/pie_3D_chart.rb +17 -34
- data/lib/axlsx/drawing/pie_series.rb +11 -45
- data/lib/axlsx/drawing/ser_axis.rb +13 -14
- data/lib/axlsx/drawing/series.rb +2 -3
- data/lib/axlsx/drawing/series_title.rb +1 -1
- data/lib/axlsx/drawing/two_cell_anchor.rb +10 -34
- data/lib/axlsx/drawing/val_axis.rb +4 -4
- data/lib/axlsx/drawing/val_axis_data.rb +28 -0
- data/lib/axlsx/drawing/val_axis_data.rb~ +29 -0
- data/lib/axlsx/drawing/view_3D.rb +12 -6
- data/lib/axlsx/util/constants.rb +0 -3
- data/lib/axlsx/util/simple_typed_list.rb +7 -2
- data/lib/axlsx/version.rb +4 -0
- data/lib/axlsx/workbook/worksheet/worksheet.rb +9 -1
- data/test/drawing/tc_axis.rb +1 -0
- data/test/drawing/tc_cat_axis_data.rb +18 -0
- data/test/drawing/tc_cat_axis_data.rb~ +32 -0
- data/test/drawing/tc_chart.rb +12 -0
- data/test/drawing/tc_line_series.rb +27 -0
- data/test/drawing/{tc_line_series.tc → tc_line_series.rb~} +0 -0
- data/test/drawing/tc_ser_axis.rb +13 -5
- data/test/drawing/tc_two_cell_anchor.rb +18 -17
- data/test/drawing/tc_val_axis.rb +5 -0
- data/test/drawing/tc_val_axis_data.rb +18 -0
- data/test/drawing/tc_val_axis_data.rb~ +18 -0
- data/test/drawing/tc_view_3D.rb +10 -1
- data/test/tc_package.rb +13 -13
- metadata +21 -6
data/doc/Axlsx/PieSeries.html
CHANGED
|
@@ -106,7 +106,8 @@ The recommended way to manage series is to use Chart#add_series
|
|
|
106
106
|
</div>
|
|
107
107
|
|
|
108
108
|
<p>
|
|
109
|
-
A PieSeries defines the
|
|
109
|
+
A PieSeries defines the data and labels and explosion for pie charts
|
|
110
|
+
series.
|
|
110
111
|
</p>
|
|
111
112
|
|
|
112
113
|
|
|
@@ -136,7 +137,7 @@ A PieSeries defines the title, data and labels for pie charts
|
|
|
136
137
|
<li class="public ">
|
|
137
138
|
<span class="summary_signature">
|
|
138
139
|
|
|
139
|
-
<a href="#data-instance_method" title="#data (instance method)">- (
|
|
140
|
+
<a href="#data-instance_method" title="#data (instance method)">- (SimpleTypedList) <strong>data</strong> </a>
|
|
140
141
|
|
|
141
142
|
|
|
142
143
|
|
|
@@ -163,7 +164,7 @@ The data for this series.
|
|
|
163
164
|
<li class="public ">
|
|
164
165
|
<span class="summary_signature">
|
|
165
166
|
|
|
166
|
-
<a href="#explosion-instance_method" title="#explosion (instance method)">- (
|
|
167
|
+
<a href="#explosion-instance_method" title="#explosion (instance method)">- (Integert) <strong>explosion</strong> </a>
|
|
167
168
|
|
|
168
169
|
|
|
169
170
|
|
|
@@ -190,7 +191,7 @@ The explosion for this series.
|
|
|
190
191
|
<li class="public ">
|
|
191
192
|
<span class="summary_signature">
|
|
192
193
|
|
|
193
|
-
<a href="#labels-instance_method" title="#labels (instance method)">- (
|
|
194
|
+
<a href="#labels-instance_method" title="#labels (instance method)">- (SimpleTypedList) <strong>labels</strong> </a>
|
|
194
195
|
|
|
195
196
|
|
|
196
197
|
|
|
@@ -402,19 +403,19 @@ a customizable set of options
|
|
|
402
403
|
<pre class="lines">
|
|
403
404
|
|
|
404
405
|
|
|
406
|
+
26
|
|
407
|
+
27
|
|
405
408
|
28
|
|
406
409
|
29
|
|
407
|
-
30
|
|
408
|
-
31
|
|
409
|
-
32</pre>
|
|
410
|
+
30</pre>
|
|
410
411
|
</td>
|
|
411
412
|
<td>
|
|
412
|
-
<pre class="code"><span class="info file"># File 'lib/axlsx/drawing/pie_series.rb', line
|
|
413
|
+
<pre class="code"><span class="info file"># File 'lib/axlsx/drawing/pie_series.rb', line 26</span>
|
|
413
414
|
|
|
414
415
|
<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>
|
|
415
416
|
<span class='super super kw'>super</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='rparen token'>)</span>
|
|
416
|
-
<span class='self self kw'>self</span><span class='dot token'>.</span><span class='
|
|
417
|
-
<span class='self self kw'>self</span><span class='dot token'>.</span><span class='
|
|
417
|
+
<span class='self self kw'>self</span><span class='dot token'>.</span><span class='labels identifier id'>labels</span> <span class='assign token'>=</span> <span class='CatAxisData constant id'>CatAxisData</span><span class='dot token'>.</span><span class='new identifier id'>new</span><span class='lparen token'>(</span><span class='options identifier id'>options</span><span class='lbrack token'>[</span><span class='symbol val'>:labels</span><span class='rbrack token'>]</span><span class='rparen token'>)</span> <span class='unless unless_mod kw'>unless</span> <span class='options identifier id'>options</span><span class='lbrack token'>[</span><span class='symbol val'>:labels</span><span class='rbrack token'>]</span><span class='dot token'>.</span><span class='nil? fid id'>nil?</span>
|
|
418
|
+
<span class='self self kw'>self</span><span class='dot token'>.</span><span class='data identifier id'>data</span> <span class='assign token'>=</span> <span class='ValAxisData constant id'>ValAxisData</span><span class='dot token'>.</span><span class='new identifier id'>new</span><span class='lparen token'>(</span><span class='options identifier id'>options</span><span class='lbrack token'>[</span><span class='symbol val'>:data</span><span class='rbrack token'>]</span><span class='rparen token'>)</span> <span class='unless unless_mod kw'>unless</span> <span class='options identifier id'>options</span><span class='lbrack token'>[</span><span class='symbol val'>:data</span><span class='rbrack token'>]</span><span class='dot token'>.</span><span class='nil? fid id'>nil?</span>
|
|
418
419
|
<span class='end end kw'>end</span>
|
|
419
420
|
</pre>
|
|
420
421
|
</td>
|
|
@@ -433,7 +434,7 @@ a customizable set of options
|
|
|
433
434
|
<div class="method_details first">
|
|
434
435
|
<p class="signature first" id="data-instance_method">
|
|
435
436
|
|
|
436
|
-
- (<tt
|
|
437
|
+
- (<tt><span class='object_link'><a href="SimpleTypedList.html" title="Axlsx::SimpleTypedList (class)">SimpleTypedList</a></span></tt>) <strong>data</strong>
|
|
437
438
|
|
|
438
439
|
|
|
439
440
|
|
|
@@ -454,7 +455,7 @@ The data for this series.
|
|
|
454
455
|
<li>
|
|
455
456
|
|
|
456
457
|
|
|
457
|
-
<span class='type'>(<tt
|
|
458
|
+
<span class='type'>(<tt><span class='object_link'><a href="SimpleTypedList.html" title="Axlsx::SimpleTypedList (class)">SimpleTypedList</a></span></tt>)</span>
|
|
458
459
|
|
|
459
460
|
|
|
460
461
|
|
|
@@ -490,7 +491,7 @@ The data for this series.
|
|
|
490
491
|
<div class="method_details ">
|
|
491
492
|
<p class="signature " id="explosion-instance_method">
|
|
492
493
|
|
|
493
|
-
- (<tt>
|
|
494
|
+
- (<tt>Integert</tt>) <strong>explosion</strong>
|
|
494
495
|
|
|
495
496
|
|
|
496
497
|
|
|
@@ -511,7 +512,7 @@ The explosion for this series
|
|
|
511
512
|
<li>
|
|
512
513
|
|
|
513
514
|
|
|
514
|
-
<span class='type'>(<tt>
|
|
515
|
+
<span class='type'>(<tt>Integert</tt>)</span>
|
|
515
516
|
|
|
516
517
|
|
|
517
518
|
|
|
@@ -525,12 +526,12 @@ The explosion for this series
|
|
|
525
526
|
<pre class="lines">
|
|
526
527
|
|
|
527
528
|
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
529
|
+
18
|
|
530
|
+
19
|
|
531
|
+
20</pre>
|
|
531
532
|
</td>
|
|
532
533
|
<td>
|
|
533
|
-
<pre class="code"><span class="info file"># File 'lib/axlsx/drawing/pie_series.rb', line
|
|
534
|
+
<pre class="code"><span class="info file"># File 'lib/axlsx/drawing/pie_series.rb', line 18</span>
|
|
534
535
|
|
|
535
536
|
<span class='def def kw'>def</span> <span class='explosion identifier id'>explosion</span>
|
|
536
537
|
<span class='@explosion ivar id'>@explosion</span>
|
|
@@ -547,7 +548,7 @@ The explosion for this series
|
|
|
547
548
|
<div class="method_details ">
|
|
548
549
|
<p class="signature " id="labels-instance_method">
|
|
549
550
|
|
|
550
|
-
- (<tt
|
|
551
|
+
- (<tt><span class='object_link'><a href="SimpleTypedList.html" title="Axlsx::SimpleTypedList (class)">SimpleTypedList</a></span></tt>) <strong>labels</strong>
|
|
551
552
|
|
|
552
553
|
|
|
553
554
|
|
|
@@ -568,7 +569,7 @@ The labels for this series.
|
|
|
568
569
|
<li>
|
|
569
570
|
|
|
570
571
|
|
|
571
|
-
<span class='type'>(<tt
|
|
572
|
+
<span class='type'>(<tt><span class='object_link'><a href="SimpleTypedList.html" title="Axlsx::SimpleTypedList (class)">SimpleTypedList</a></span></tt>)</span>
|
|
572
573
|
|
|
573
574
|
|
|
574
575
|
|
|
@@ -582,12 +583,12 @@ The labels for this series.
|
|
|
582
583
|
<pre class="lines">
|
|
583
584
|
|
|
584
585
|
|
|
586
|
+
14
|
|
585
587
|
15
|
|
586
|
-
16
|
|
587
|
-
17</pre>
|
|
588
|
+
16</pre>
|
|
588
589
|
</td>
|
|
589
590
|
<td>
|
|
590
|
-
<pre class="code"><span class="info file"># File 'lib/axlsx/drawing/pie_series.rb', line
|
|
591
|
+
<pre class="code"><span class="info file"># File 'lib/axlsx/drawing/pie_series.rb', line 14</span>
|
|
591
592
|
|
|
592
593
|
<span class='def def kw'>def</span> <span class='labels identifier id'>labels</span>
|
|
593
594
|
<span class='@labels ivar id'>@labels</span>
|
|
@@ -664,82 +665,22 @@ The document builder instance this objects xml will be added to.
|
|
|
664
665
|
<pre class="lines">
|
|
665
666
|
|
|
666
667
|
|
|
668
|
+
37
|
|
667
669
|
38
|
|
668
670
|
39
|
|
669
671
|
40
|
|
670
672
|
41
|
|
671
673
|
42
|
|
672
|
-
43
|
|
673
|
-
44
|
|
674
|
-
45
|
|
675
|
-
46
|
|
676
|
-
47
|
|
677
|
-
48
|
|
678
|
-
49
|
|
679
|
-
50
|
|
680
|
-
51
|
|
681
|
-
52
|
|
682
|
-
53
|
|
683
|
-
54
|
|
684
|
-
55
|
|
685
|
-
56
|
|
686
|
-
57
|
|
687
|
-
58
|
|
688
|
-
59
|
|
689
|
-
60
|
|
690
|
-
61
|
|
691
|
-
62
|
|
692
|
-
63
|
|
693
|
-
64
|
|
694
|
-
65
|
|
695
|
-
66
|
|
696
|
-
67
|
|
697
|
-
68
|
|
698
|
-
69
|
|
699
|
-
70
|
|
700
|
-
71
|
|
701
|
-
72
|
|
702
|
-
73
|
|
703
|
-
74</pre>
|
|
674
|
+
43</pre>
|
|
704
675
|
</td>
|
|
705
676
|
<td>
|
|
706
|
-
<pre class="code"><span class="info file"># File 'lib/axlsx/drawing/pie_series.rb', line
|
|
677
|
+
<pre class="code"><span class="info file"># File 'lib/axlsx/drawing/pie_series.rb', line 37</span>
|
|
707
678
|
|
|
708
679
|
<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>
|
|
709
680
|
<span class='super super kw'>super</span><span class='lparen token'>(</span><span class='xml identifier id'>xml</span><span class='rparen token'>)</span> <span class='do do kw'>do</span> <span class='bitor op'>|</span><span class='xml identifier id'>xml</span><span class='bitor op'>|</span>
|
|
710
681
|
<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:explosion'</span><span class='comma token'>,</span> <span class='symbol val'>:val=</span><span class='gt op'>></span><span class='@explosion ivar id'>@explosion</span><span class='rparen token'>)</span> <span class='unless unless_mod kw'>unless</span> <span class='@explosion ivar id'>@explosion</span><span class='dot token'>.</span><span class='nil? fid id'>nil?</span>
|
|
711
|
-
<span class='
|
|
712
|
-
|
|
713
|
-
<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:strRef'</span><span class='rparen token'>)</span> <span class='lbrace token'>{</span>
|
|
714
|
-
<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:f'</span><span class='comma token'>,</span> <span class='Axlsx constant id'>Axlsx</span><span class='colon2 op'>::</span><span class='cell_range identifier id'>cell_range</span><span class='lparen token'>(</span><span class='labels identifier id'>labels</span><span class='rparen token'>)</span><span class='rparen token'>)</span>
|
|
715
|
-
<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:strCache'</span><span class='rparen token'>)</span> <span class='lbrace 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:ptCount'</span><span class='comma token'>,</span> <span class='symbol val'>:val=</span><span class='gt op'>></span><span class='labels identifier id'>labels</span><span class='dot token'>.</span><span class='size identifier id'>size</span><span class='rparen token'>)</span>
|
|
717
|
-
<span class='labels identifier id'>labels</span><span class='dot token'>.</span><span class='each_with_index identifier id'>each_with_index</span> <span class='do do kw'>do</span> <span class='bitor op'>|</span><span class='cell identifier id'>cell</span><span class='comma token'>,</span> <span class='index identifier id'>index</span><span class='bitor op'>|</span>
|
|
718
|
-
<span class='v identifier id'>v</span> <span class='assign token'>=</span> <span class='cell identifier id'>cell</span><span class='dot token'>.</span><span class='is_a? fid id'>is_a?</span><span class='lparen token'>(</span><span class='Cell constant id'>Cell</span><span class='rparen token'>)</span> <span class='question op'>?</span> <span class='cell identifier id'>cell</span><span class='dot token'>.</span><span class='value identifier id'>value</span> <span class='colon op'>:</span> <span class='cell identifier id'>cell</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:pt'</span><span class='comma token'>,</span> <span class='symbol val'>:idx=</span><span class='gt op'>></span><span class='index identifier id'>index</span><span class='rparen token'>)</span> <span class='lbrace token'>{</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:v'</span><span class='comma token'>,</span> <span class='v identifier id'>v</span><span class='rparen token'>)</span>
|
|
721
|
-
<span class='rbrace token'>}</span>
|
|
722
|
-
<span class='end end kw'>end</span>
|
|
723
|
-
<span class='rbrace token'>}</span>
|
|
724
|
-
<span class='rbrace token'>}</span>
|
|
725
|
-
<span class='rbrace token'>}</span>
|
|
726
|
-
<span class='end end kw'>end</span>
|
|
727
|
-
<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:val'</span><span class='rparen token'>)</span> <span class='lbrace token'>{</span>
|
|
728
|
-
<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:numRef'</span><span class='rparen token'>)</span> <span class='lbrace token'>{</span>
|
|
729
|
-
<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:f'</span><span class='comma token'>,</span> <span class='Axlsx constant id'>Axlsx</span><span class='colon2 op'>::</span><span class='cell_range identifier id'>cell_range</span><span class='lparen token'>(</span><span class='data identifier id'>data</span><span class='rparen token'>)</span><span class='rparen token'>)</span>
|
|
730
|
-
<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:numCache'</span><span class='rparen token'>)</span> <span class='lbrace token'>{</span>
|
|
731
|
-
<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:formatCode'</span><span class='comma token'>,</span> <span class='string val'>'General'</span><span class='rparen token'>)</span>
|
|
732
|
-
<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:ptCount'</span><span class='comma token'>,</span> <span class='symbol val'>:val=</span><span class='gt op'>></span><span class='data identifier id'>data</span><span class='dot token'>.</span><span class='size identifier id'>size</span><span class='rparen token'>)</span>
|
|
733
|
-
<span class='data identifier id'>data</span><span class='dot token'>.</span><span class='each_with_index identifier id'>each_with_index</span> <span class='do do kw'>do</span> <span class='bitor op'>|</span><span class='cell identifier id'>cell</span><span class='comma token'>,</span> <span class='index identifier id'>index</span><span class='bitor op'>|</span>
|
|
734
|
-
<span class='v identifier id'>v</span> <span class='assign token'>=</span> <span class='cell identifier id'>cell</span><span class='dot token'>.</span><span class='is_a? fid id'>is_a?</span><span class='lparen token'>(</span><span class='Cell constant id'>Cell</span><span class='rparen token'>)</span> <span class='question op'>?</span> <span class='cell identifier id'>cell</span><span class='dot token'>.</span><span class='value identifier id'>value</span> <span class='colon op'>:</span> <span class='cell identifier id'>cell</span>
|
|
735
|
-
<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:pt'</span><span class='comma token'>,</span> <span class='symbol val'>:idx=</span><span class='gt op'>></span><span class='index identifier id'>index</span><span class='rparen token'>)</span> <span class='lbrace token'>{</span>
|
|
736
|
-
<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:v'</span><span class='comma token'>,</span> <span class='v identifier id'>v</span><span class='rparen token'>)</span>
|
|
737
|
-
<span class='rbrace token'>}</span>
|
|
738
|
-
<span class='end end kw'>end</span>
|
|
739
|
-
<span class='rbrace token'>}</span>
|
|
740
|
-
<span class='rbrace token'>}</span>
|
|
741
|
-
<span class='rbrace token'>}</span>
|
|
742
|
-
|
|
682
|
+
<span class='@labels ivar id'>@labels</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='@labels ivar id'>@labels</span><span class='dot token'>.</span><span class='nil? fid id'>nil?</span>
|
|
683
|
+
<span class='@data ivar id'>@data</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='@data ivar id'>@data</span><span class='dot token'>.</span><span class='nil? fid id'>nil?</span>
|
|
743
684
|
<span class='end end kw'>end</span>
|
|
744
685
|
<span class='end end kw'>end</span>
|
|
745
686
|
</pre>
|
|
@@ -753,7 +694,7 @@ The document builder instance this objects xml will be added to.
|
|
|
753
694
|
</div>
|
|
754
695
|
|
|
755
696
|
<div id="footer">
|
|
756
|
-
Generated on
|
|
697
|
+
Generated on Wed Nov 23 12:30:14 2011 by
|
|
757
698
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
758
699
|
0.7.3 (ruby-1.8.7).
|
|
759
700
|
</div>
|
|
@@ -259,7 +259,7 @@ The value to validate.
|
|
|
259
259
|
</div>
|
|
260
260
|
|
|
261
261
|
<div id="footer">
|
|
262
|
-
Generated on
|
|
262
|
+
Generated on Wed Nov 23 12:30:18 2011 by
|
|
263
263
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
264
264
|
0.7.3 (ruby-1.8.7).
|
|
265
265
|
</div>
|
data/doc/Axlsx/Relationship.html
CHANGED
|
@@ -545,7 +545,7 @@ the reference id of the object.
|
|
|
545
545
|
</div>
|
|
546
546
|
|
|
547
547
|
<div id="footer">
|
|
548
|
-
Generated on
|
|
548
|
+
Generated on Wed Nov 23 12:30:35 2011 by
|
|
549
549
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
550
550
|
0.7.3 (ruby-1.8.7).
|
|
551
551
|
</div>
|
|
@@ -203,7 +203,7 @@ Serializes the relationships document.
|
|
|
203
203
|
|
|
204
204
|
|
|
205
205
|
<h3 class="inherited">Methods inherited from <span class='object_link'><a href="SimpleTypedList.html" title="Axlsx::SimpleTypedList (class)">SimpleTypedList</a></span></h3>
|
|
206
|
-
<p class="inherited"><span class='object_link'><a href="SimpleTypedList.html#%3C%3C-instance_method" title="Axlsx::SimpleTypedList#<< (method)">#<<</a></span>, <span class='object_link'><a href="SimpleTypedList.html#%5B%5D%3D-instance_method" title="Axlsx::SimpleTypedList#[]= (method)">#[]=</a></span>, <span class='object_link'><a href="SimpleTypedList.html#delete-instance_method" title="Axlsx::SimpleTypedList#delete (method)">#delete</a></span>, <span class='object_link'><a href="SimpleTypedList.html#delete_at-instance_method" title="Axlsx::SimpleTypedList#delete_at (method)">#delete_at</a></span>, <span class='object_link'><a href="SimpleTypedList.html#lock-instance_method" title="Axlsx::SimpleTypedList#lock (method)">#lock</a></span>, <span class='object_link'><a href="SimpleTypedList.html#method_missing-instance_method" title="Axlsx::SimpleTypedList#method_missing (method)">#method_missing</a></span>, <span class='object_link'><a href="SimpleTypedList.html#protected%3F-instance_method" title="Axlsx::SimpleTypedList#protected? (method)">#protected?</a></span>, <span class='object_link'><a href="SimpleTypedList.html#push-instance_method" title="Axlsx::SimpleTypedList#push (method)">#push</a></span>, <span class='object_link'><a href="SimpleTypedList.html#unlock-instance_method" title="Axlsx::SimpleTypedList#unlock (method)">#unlock</a></span></p>
|
|
206
|
+
<p class="inherited"><span class='object_link'><a href="SimpleTypedList.html#%3C%3C-instance_method" title="Axlsx::SimpleTypedList#<< (method)">#<<</a></span>, <span class='object_link'><a href="SimpleTypedList.html#%3D%3D-instance_method" title="Axlsx::SimpleTypedList#== (method)">#==</a></span>, <span class='object_link'><a href="SimpleTypedList.html#%5B%5D%3D-instance_method" title="Axlsx::SimpleTypedList#[]= (method)">#[]=</a></span>, <span class='object_link'><a href="SimpleTypedList.html#delete-instance_method" title="Axlsx::SimpleTypedList#delete (method)">#delete</a></span>, <span class='object_link'><a href="SimpleTypedList.html#delete_at-instance_method" title="Axlsx::SimpleTypedList#delete_at (method)">#delete_at</a></span>, <span class='object_link'><a href="SimpleTypedList.html#lock-instance_method" title="Axlsx::SimpleTypedList#lock (method)">#lock</a></span>, <span class='object_link'><a href="SimpleTypedList.html#method_missing-instance_method" title="Axlsx::SimpleTypedList#method_missing (method)">#method_missing</a></span>, <span class='object_link'><a href="SimpleTypedList.html#protected%3F-instance_method" title="Axlsx::SimpleTypedList#protected? (method)">#protected?</a></span>, <span class='object_link'><a href="SimpleTypedList.html#push-instance_method" title="Axlsx::SimpleTypedList#push (method)">#push</a></span>, <span class='object_link'><a href="SimpleTypedList.html#unlock-instance_method" title="Axlsx::SimpleTypedList#unlock (method)">#unlock</a></span></p>
|
|
207
207
|
<div id="constructor_details" class="method_details_list">
|
|
208
208
|
<h2>Constructor Details</h2>
|
|
209
209
|
|
|
@@ -334,7 +334,7 @@ Serializes the relationships document.
|
|
|
334
334
|
</div>
|
|
335
335
|
|
|
336
336
|
<div id="footer">
|
|
337
|
-
Generated on
|
|
337
|
+
Generated on Wed Nov 23 12:30:18 2011 by
|
|
338
338
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
339
339
|
0.7.3 (ruby-1.8.7).
|
|
340
340
|
</div>
|
|
@@ -291,7 +291,7 @@ Raised if the value provided is not in the list of choices.
|
|
|
291
291
|
</div>
|
|
292
292
|
|
|
293
293
|
<div id="footer">
|
|
294
|
-
Generated on
|
|
294
|
+
Generated on Wed Nov 23 12:30:21 2011 by
|
|
295
295
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
296
296
|
0.7.3 (ruby-1.8.7).
|
|
297
297
|
</div>
|
data/doc/Axlsx/Row.html
CHANGED
|
@@ -762,7 +762,7 @@ The document builder instance this objects xml will be added to.
|
|
|
762
762
|
</div>
|
|
763
763
|
|
|
764
764
|
<div id="footer">
|
|
765
|
-
Generated on
|
|
765
|
+
Generated on Wed Nov 23 12:30:32 2011 by
|
|
766
766
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
767
767
|
0.7.3 (ruby-1.8.7).
|
|
768
768
|
</div>
|
data/doc/Axlsx/Scaling.html
CHANGED
|
@@ -731,7 +731,7 @@ The document builder instance this objects xml will be added to.
|
|
|
731
731
|
</div>
|
|
732
732
|
|
|
733
733
|
<div id="footer">
|
|
734
|
-
Generated on
|
|
734
|
+
Generated on Wed Nov 23 12:30:18 2011 by
|
|
735
735
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
736
736
|
0.7.3 (ruby-1.8.7).
|
|
737
737
|
</div>
|
data/doc/Axlsx/SerAxis.html
CHANGED
|
@@ -97,7 +97,7 @@
|
|
|
97
97
|
<h2>Overview</h2><div class="docstring">
|
|
98
98
|
<div class="discussion">
|
|
99
99
|
<p>
|
|
100
|
-
A
|
|
100
|
+
A SerAxis object defines a series axis
|
|
101
101
|
</p>
|
|
102
102
|
|
|
103
103
|
|
|
@@ -118,7 +118,7 @@ A SarAxis object defines a series axis
|
|
|
118
118
|
<li class="public ">
|
|
119
119
|
<span class="summary_signature">
|
|
120
120
|
|
|
121
|
-
<a href="#tickLblSkip-instance_method" title="#tickLblSkip (instance method)">- (
|
|
121
|
+
<a href="#tickLblSkip-instance_method" title="#tickLblSkip (instance method)">- (Integer) <strong>tickLblSkip</strong> </a>
|
|
122
122
|
|
|
123
123
|
|
|
124
124
|
|
|
@@ -134,7 +134,10 @@ A SarAxis object defines a series axis
|
|
|
134
134
|
|
|
135
135
|
|
|
136
136
|
|
|
137
|
-
<span class="summary_desc"><div class='inline'
|
|
137
|
+
<span class="summary_desc"><div class='inline'><p>
|
|
138
|
+
The number of tick lables to skip between labels.
|
|
139
|
+
</p>
|
|
140
|
+
</div></span>
|
|
138
141
|
|
|
139
142
|
</li>
|
|
140
143
|
|
|
@@ -158,7 +161,10 @@ A SarAxis object defines a series axis
|
|
|
158
161
|
|
|
159
162
|
|
|
160
163
|
|
|
161
|
-
<span class="summary_desc"><div class='inline'
|
|
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>
|
|
167
|
+
</div></span>
|
|
162
168
|
|
|
163
169
|
</li>
|
|
164
170
|
|
|
@@ -276,7 +282,7 @@ Creates a new SerAxis object
|
|
|
276
282
|
|
|
277
283
|
—
|
|
278
284
|
<div class='inline'><p>
|
|
279
|
-
the id of this axis
|
|
285
|
+
the id of this axis. Inherited
|
|
280
286
|
</p>
|
|
281
287
|
</div>
|
|
282
288
|
|
|
@@ -293,7 +299,7 @@ the id of this axis
|
|
|
293
299
|
|
|
294
300
|
—
|
|
295
301
|
<div class='inline'><p>
|
|
296
|
-
the id of the perpendicular axis
|
|
302
|
+
the id of the perpendicular axis. Inherited
|
|
297
303
|
</p>
|
|
298
304
|
</div>
|
|
299
305
|
|
|
@@ -331,35 +337,44 @@ a customizable set of options
|
|
|
331
337
|
<ul class="option">
|
|
332
338
|
|
|
333
339
|
<li>
|
|
334
|
-
<span class="name">axPos
|
|
340
|
+
<span class="name">axPos.</span>
|
|
335
341
|
<span class="type">(<tt>Symbol</tt>)</span>
|
|
336
342
|
<span class="default">
|
|
337
343
|
|
|
338
344
|
</span>
|
|
339
|
-
|
|
345
|
+
— <div class='inline'><p>
|
|
346
|
+
Inherited
|
|
347
|
+
</p>
|
|
348
|
+
</div>
|
|
340
349
|
</li>
|
|
341
350
|
|
|
342
351
|
<li>
|
|
343
|
-
<span class="name">tickLblPos
|
|
352
|
+
<span class="name">tickLblPos.</span>
|
|
344
353
|
<span class="type">(<tt>Symbol</tt>)</span>
|
|
345
354
|
<span class="default">
|
|
346
355
|
|
|
347
356
|
</span>
|
|
348
|
-
|
|
357
|
+
— <div class='inline'><p>
|
|
358
|
+
Inherited
|
|
359
|
+
</p>
|
|
360
|
+
</div>
|
|
349
361
|
</li>
|
|
350
362
|
|
|
351
363
|
<li>
|
|
352
|
-
<span class="name">crosses
|
|
364
|
+
<span class="name">crosses.</span>
|
|
353
365
|
<span class="type">(<tt>Symbol</tt>)</span>
|
|
354
366
|
<span class="default">
|
|
355
367
|
|
|
356
368
|
</span>
|
|
357
|
-
|
|
369
|
+
— <div class='inline'><p>
|
|
370
|
+
Inherited
|
|
371
|
+
</p>
|
|
372
|
+
</div>
|
|
358
373
|
</li>
|
|
359
374
|
|
|
360
375
|
<li>
|
|
361
376
|
<span class="name">tickLblSkip</span>
|
|
362
|
-
<span class="type">(<tt>
|
|
377
|
+
<span class="type">(<tt>Integer</tt>)</span>
|
|
363
378
|
<span class="default">
|
|
364
379
|
|
|
365
380
|
</span>
|
|
@@ -368,7 +383,7 @@ a customizable set of options
|
|
|
368
383
|
|
|
369
384
|
<li>
|
|
370
385
|
<span class="name">tickMarkSkip</span>
|
|
371
|
-
<span class="type">(<tt>
|
|
386
|
+
<span class="type">(<tt>Integer</tt>)</span>
|
|
372
387
|
<span class="default">
|
|
373
388
|
|
|
374
389
|
</span>
|
|
@@ -385,21 +400,15 @@ a customizable set of options
|
|
|
385
400
|
<pre class="lines">
|
|
386
401
|
|
|
387
402
|
|
|
388
|
-
19
|
|
389
|
-
20
|
|
390
403
|
21
|
|
391
404
|
22
|
|
392
|
-
23
|
|
393
|
-
24</pre>
|
|
405
|
+
23</pre>
|
|
394
406
|
</td>
|
|
395
407
|
<td>
|
|
396
|
-
<pre class="code"><span class="info file"># File 'lib/axlsx/drawing/ser_axis.rb', line
|
|
408
|
+
<pre class="code"><span class="info file"># File 'lib/axlsx/drawing/ser_axis.rb', line 21</span>
|
|
397
409
|
|
|
398
410
|
<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>
|
|
399
411
|
<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>
|
|
400
|
-
<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>
|
|
401
|
-
<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>
|
|
402
|
-
<span class='end end kw'>end</span>
|
|
403
412
|
<span class='end end kw'>end</span>
|
|
404
413
|
</pre>
|
|
405
414
|
</td>
|
|
@@ -418,13 +427,16 @@ a customizable set of options
|
|
|
418
427
|
<div class="method_details first">
|
|
419
428
|
<p class="signature first" id="tickLblSkip-instance_method">
|
|
420
429
|
|
|
421
|
-
- (<tt>
|
|
430
|
+
- (<tt>Integer</tt>) <strong>tickLblSkip</strong>
|
|
422
431
|
|
|
423
432
|
|
|
424
433
|
|
|
425
434
|
</p><div class="docstring">
|
|
426
435
|
<div class="discussion">
|
|
427
|
-
|
|
436
|
+
<p>
|
|
437
|
+
The number of tick lables to skip between labels
|
|
438
|
+
</p>
|
|
439
|
+
|
|
428
440
|
|
|
429
441
|
</div>
|
|
430
442
|
</div>
|
|
@@ -436,7 +448,7 @@ a customizable set of options
|
|
|
436
448
|
<li>
|
|
437
449
|
|
|
438
450
|
|
|
439
|
-
<span class='type'>(<tt>
|
|
451
|
+
<span class='type'>(<tt>Integer</tt>)</span>
|
|
440
452
|
|
|
441
453
|
|
|
442
454
|
|
|
@@ -450,12 +462,12 @@ a customizable set of options
|
|
|
450
462
|
<pre class="lines">
|
|
451
463
|
|
|
452
464
|
|
|
453
|
-
6
|
|
454
465
|
7
|
|
455
|
-
8
|
|
466
|
+
8
|
|
467
|
+
9</pre>
|
|
456
468
|
</td>
|
|
457
469
|
<td>
|
|
458
|
-
<pre class="code"><span class="info file"># File 'lib/axlsx/drawing/ser_axis.rb', line
|
|
470
|
+
<pre class="code"><span class="info file"># File 'lib/axlsx/drawing/ser_axis.rb', line 7</span>
|
|
459
471
|
|
|
460
472
|
<span class='def def kw'>def</span> <span class='tickLblSkip identifier id'>tickLblSkip</span>
|
|
461
473
|
<span class='@tickLblSkip ivar id'>@tickLblSkip</span>
|
|
@@ -478,7 +490,10 @@ a customizable set of options
|
|
|
478
490
|
|
|
479
491
|
</p><div class="docstring">
|
|
480
492
|
<div class="discussion">
|
|
481
|
-
|
|
493
|
+
<p>
|
|
494
|
+
The number of tickmarks to be skipped before the next one is rendered.
|
|
495
|
+
</p>
|
|
496
|
+
|
|
482
497
|
|
|
483
498
|
</div>
|
|
484
499
|
</div>
|
|
@@ -504,12 +519,12 @@ a customizable set of options
|
|
|
504
519
|
<pre class="lines">
|
|
505
520
|
|
|
506
521
|
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
522
|
+
11
|
|
523
|
+
12
|
|
524
|
+
13</pre>
|
|
510
525
|
</td>
|
|
511
526
|
<td>
|
|
512
|
-
<pre class="code"><span class="info file"># File 'lib/axlsx/drawing/ser_axis.rb', line
|
|
527
|
+
<pre class="code"><span class="info file"># File 'lib/axlsx/drawing/ser_axis.rb', line 11</span>
|
|
513
528
|
|
|
514
529
|
<span class='def def kw'>def</span> <span class='tickMarkSkip identifier id'>tickMarkSkip</span>
|
|
515
530
|
<span class='@tickMarkSkip ivar id'>@tickMarkSkip</span>
|
|
@@ -586,16 +601,16 @@ The document builder instance this objects xml will be added to.
|
|
|
586
601
|
<pre class="lines">
|
|
587
602
|
|
|
588
603
|
|
|
604
|
+
31
|
|
589
605
|
32
|
|
590
606
|
33
|
|
591
607
|
34
|
|
592
608
|
35
|
|
593
609
|
36
|
|
594
|
-
37
|
|
595
|
-
38</pre>
|
|
610
|
+
37</pre>
|
|
596
611
|
</td>
|
|
597
612
|
<td>
|
|
598
|
-
<pre class="code"><span class="info file"># File 'lib/axlsx/drawing/ser_axis.rb', line
|
|
613
|
+
<pre class="code"><span class="info file"># File 'lib/axlsx/drawing/ser_axis.rb', line 31</span>
|
|
599
614
|
|
|
600
615
|
<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>
|
|
601
616
|
<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>
|
|
@@ -615,7 +630,7 @@ The document builder instance this objects xml will be added to.
|
|
|
615
630
|
</div>
|
|
616
631
|
|
|
617
632
|
<div id="footer">
|
|
618
|
-
Generated on
|
|
633
|
+
Generated on Wed Nov 23 12:30:28 2011 by
|
|
619
634
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
620
635
|
0.7.3 (ruby-1.8.7).
|
|
621
636
|
</div>
|