axlsx 1.0.8 → 1.0.9
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +14 -0
- data/README.md +22 -21
- data/Rakefile +1 -1
- data/axlsx.gemspec +36 -0
- data/doc/Axlsx.html +373 -559
- data/doc/Axlsx/App.html +257 -360
- data/doc/Axlsx/Axis.html +113 -144
- data/doc/Axlsx/Bar3DChart.html +122 -152
- data/doc/Axlsx/BarSeries.html +67 -81
- data/doc/Axlsx/Border.html +96 -119
- data/doc/Axlsx/BorderPr.html +89 -114
- data/doc/Axlsx/CatAxis.html +79 -104
- data/doc/Axlsx/CatAxisData.html +40 -54
- data/doc/Axlsx/Cell.html +193 -679
- data/doc/Axlsx/CellAlignment.html +116 -157
- data/doc/Axlsx/CellProtection.html +50 -68
- data/doc/Axlsx/CellStyle.html +78 -106
- data/doc/Axlsx/Chart.html +361 -432
- data/doc/Axlsx/Color.html +56 -78
- data/doc/Axlsx/ContentType.html +28 -41
- data/doc/Axlsx/Core.html +43 -55
- data/doc/Axlsx/DataTypeValidator.html +34 -43
- data/doc/Axlsx/Default.html +55 -81
- data/doc/Axlsx/Drawing.html +322 -412
- data/doc/Axlsx/Fill.html +34 -47
- data/doc/Axlsx/Font.html +157 -207
- data/doc/Axlsx/GradientFill.html +90 -122
- data/doc/Axlsx/GradientStop.html +36 -50
- data/doc/Axlsx/GraphicFrame.html +106 -130
- data/doc/Axlsx/Line3DChart.html +108 -134
- data/doc/Axlsx/LineSeries.html +58 -67
- data/doc/Axlsx/Marker.html +84 -111
- data/doc/Axlsx/NumFmt.html +83 -102
- data/doc/Axlsx/OneCellAnchor.html +158 -196
- data/doc/Axlsx/Override.html +60 -92
- data/doc/Axlsx/Package.html +190 -759
- data/doc/Axlsx/PatternFill.html +78 -99
- data/doc/Axlsx/Pic.html +451 -405
- data/doc/Axlsx/Pie3DChart.html +33 -42
- data/doc/Axlsx/PieSeries.html +68 -80
- data/doc/Axlsx/RegexValidator.html +15 -20
- data/doc/Axlsx/Relationship.html +49 -66
- data/doc/Axlsx/Relationships.html +28 -41
- data/doc/Axlsx/RestrictionValidator.html +23 -32
- data/doc/Axlsx/Row.html +132 -161
- data/doc/Axlsx/Scaling.html +71 -90
- data/doc/Axlsx/SerAxis.html +61 -79
- data/doc/Axlsx/Series.html +125 -201
- data/doc/Axlsx/SeriesTitle.html +26 -31
- data/doc/Axlsx/Styles.html +286 -355
- data/doc/Axlsx/TableStyle.html +62 -87
- data/doc/Axlsx/TableStyleElement.html +84 -104
- data/doc/Axlsx/TableStyles.html +59 -82
- data/doc/Axlsx/Title.html +58 -155
- data/doc/Axlsx/TwoCellAnchor.html +165 -204
- data/doc/Axlsx/ValAxis.html +39 -53
- data/doc/Axlsx/ValAxisData.html +29 -39
- data/doc/Axlsx/View3D.html +93 -122
- data/doc/Axlsx/Workbook.html +359 -362
- data/doc/Axlsx/Worksheet.html +471 -816
- data/doc/Axlsx/Xf.html +341 -296
- data/doc/_index.html +7 -11
- data/doc/class_list.html +1 -1
- data/doc/file.LICENSE.html +86 -0
- data/doc/file.README.html +105 -107
- data/doc/file_list.html +3 -0
- data/doc/frames.html +1 -1
- data/doc/index.html +105 -107
- data/doc/method_list.html +426 -602
- data/doc/top-level-namespace.html +3 -3
- data/examples/example.rb +20 -1
- data/lib/axlsx.rb +20 -15
- data/lib/axlsx/content_type/default.rb +8 -3
- data/lib/axlsx/content_type/override.rb +11 -4
- data/lib/axlsx/doc_props/app.rb +53 -23
- data/lib/axlsx/drawing/axis.rb +16 -5
- data/lib/axlsx/drawing/bar_3D_chart.rb +15 -7
- data/lib/axlsx/drawing/bar_series.rb +7 -5
- data/lib/axlsx/drawing/cat_axis.rb +10 -3
- data/lib/axlsx/drawing/chart.rb +21 -15
- data/lib/axlsx/drawing/drawing.rb +16 -30
- data/lib/axlsx/drawing/graphic_frame.rb +2 -4
- data/lib/axlsx/drawing/line_3D_chart.rb +5 -2
- data/lib/axlsx/drawing/line_series.rb +6 -5
- data/lib/axlsx/drawing/marker.rb +9 -5
- data/lib/axlsx/drawing/one_cell_anchor.rb +7 -7
- data/lib/axlsx/drawing/pic.rb +29 -37
- data/lib/axlsx/drawing/pie_series.rb +7 -5
- data/lib/axlsx/drawing/scaling.rb +11 -5
- data/lib/axlsx/drawing/ser_axis.rb +6 -2
- data/lib/axlsx/drawing/series.rb +11 -11
- data/lib/axlsx/drawing/series_title.rb +1 -1
- data/lib/axlsx/drawing/title.rb +5 -12
- data/lib/axlsx/drawing/two_cell_anchor.rb +2 -3
- data/lib/axlsx/drawing/val_axis.rb +2 -2
- data/lib/axlsx/drawing/view_3D.rb +16 -9
- data/lib/axlsx/package.rb +25 -27
- data/lib/axlsx/rels/relationship.rb +4 -2
- data/lib/axlsx/stylesheet/border.rb +9 -4
- data/lib/axlsx/stylesheet/border_pr.rb +7 -4
- data/lib/axlsx/stylesheet/cell_alignment.rb +18 -9
- data/lib/axlsx/stylesheet/cell_protection.rb +5 -2
- data/lib/axlsx/stylesheet/cell_style.rb +12 -7
- data/lib/axlsx/stylesheet/color.rb +8 -6
- data/lib/axlsx/stylesheet/fill.rb +2 -1
- data/lib/axlsx/stylesheet/font.rb +24 -13
- data/lib/axlsx/stylesheet/gradient_fill.rb +16 -10
- data/lib/axlsx/stylesheet/gradient_stop.rb +5 -3
- data/lib/axlsx/stylesheet/num_fmt.rb +4 -2
- data/lib/axlsx/stylesheet/pattern_fill.rb +6 -4
- data/lib/axlsx/stylesheet/styles.rb +12 -12
- data/lib/axlsx/stylesheet/table_style.rb +6 -3
- data/lib/axlsx/stylesheet/table_style_element.rb +9 -4
- data/lib/axlsx/stylesheet/table_styles.rb +4 -4
- data/lib/axlsx/stylesheet/xf.rb +52 -31
- data/lib/axlsx/util/validators.rb +3 -3
- data/lib/axlsx/version.rb +1 -1
- data/lib/axlsx/workbook/workbook.rb +8 -9
- data/lib/axlsx/workbook/worksheet/cell.rb +25 -16
- data/lib/axlsx/workbook/worksheet/row.rb +2 -4
- data/lib/axlsx/workbook/worksheet/worksheet.rb +23 -32
- data/test/drawing/tc_one_cell_anchor.rb +1 -1
- metadata +135 -165
- data/doc/Axlsx/SimpleTypedList.html +0 -1686
- data/lib/schema/dc.xsd~ +0 -118
- data/lib/schema/dcterms.xsd~ +0 -331
- data/lib/schema/opc-coreProperties.xsd~ +0 -50
- data/test/drawing/tc_line_series.tc~ +0 -34
data/doc/Axlsx/Axis.html
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Class: Axlsx::Axis
|
8
8
|
|
9
|
-
—
|
9
|
+
— AXLSX
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -94,9 +94,8 @@
|
|
94
94
|
|
95
95
|
<h2>Overview</h2><div class="docstring">
|
96
96
|
<div class="discussion">
|
97
|
-
|
98
|
-
the access class defines common properties and values for a chart axis
|
99
|
-
</p>
|
97
|
+
|
98
|
+
<p>the access class defines common properties and values for a chart axis.</p>
|
100
99
|
|
101
100
|
|
102
101
|
</div>
|
@@ -132,9 +131,8 @@ the access class defines common properties and values for a chart axis.
|
|
132
131
|
|
133
132
|
|
134
133
|
|
135
|
-
<span class="summary_desc"><div class='inline'
|
136
|
-
the id of the axis
|
137
|
-
</p>
|
134
|
+
<span class="summary_desc"><div class='inline'>
|
135
|
+
<p>the id of the axis.</p>
|
138
136
|
</div></span>
|
139
137
|
|
140
138
|
</li>
|
@@ -159,9 +157,8 @@ the id of the axis.
|
|
159
157
|
|
160
158
|
|
161
159
|
|
162
|
-
<span class="summary_desc"><div class='inline'
|
163
|
-
The position of the axis must be one of [:l, :r, :t, :b]
|
164
|
-
</p>
|
160
|
+
<span class="summary_desc"><div class='inline'>
|
161
|
+
<p>The position of the axis must be one of [:l, :r, :t, :b].</p>
|
165
162
|
</div></span>
|
166
163
|
|
167
164
|
</li>
|
@@ -186,9 +183,8 @@ The position of the axis must be one of [:l, :r, :t, :b].
|
|
186
183
|
|
187
184
|
|
188
185
|
|
189
|
-
<span class="summary_desc"><div class='inline'
|
190
|
-
The perpendicular axis
|
191
|
-
</p>
|
186
|
+
<span class="summary_desc"><div class='inline'>
|
187
|
+
<p>The perpendicular axis.</p>
|
192
188
|
</div></span>
|
193
189
|
|
194
190
|
</li>
|
@@ -213,10 +209,9 @@ The perpendicular axis.
|
|
213
209
|
|
214
210
|
|
215
211
|
|
216
|
-
<span class="summary_desc"><div class='inline'
|
217
|
-
specifies how the perpendicular axis is crossed must be one of [:autoZero,
|
218
|
-
:min, :max]
|
219
|
-
</p>
|
212
|
+
<span class="summary_desc"><div class='inline'>
|
213
|
+
<p>specifies how the perpendicular axis is crossed must be one of [:autoZero,
|
214
|
+
:min, :max].</p>
|
220
215
|
</div></span>
|
221
216
|
|
222
217
|
</li>
|
@@ -241,9 +236,8 @@ specifies how the perpendicular axis is crossed must be one of [:autoZero,
|
|
241
236
|
|
242
237
|
|
243
238
|
|
244
|
-
<span class="summary_desc"><div class='inline'
|
245
|
-
The number format format code for this axis default :General
|
246
|
-
</p>
|
239
|
+
<span class="summary_desc"><div class='inline'>
|
240
|
+
<p>The number format format code for this axis default :General.</p>
|
247
241
|
</div></span>
|
248
242
|
|
249
243
|
</li>
|
@@ -268,9 +262,8 @@ The number format format code for this axis default :General.
|
|
268
262
|
|
269
263
|
|
270
264
|
|
271
|
-
<span class="summary_desc"><div class='inline'
|
272
|
-
The scaling of the axis
|
273
|
-
</p>
|
265
|
+
<span class="summary_desc"><div class='inline'>
|
266
|
+
<p>The scaling of the axis.</p>
|
274
267
|
</div></span>
|
275
268
|
|
276
269
|
</li>
|
@@ -295,9 +288,8 @@ The scaling of the axis.
|
|
295
288
|
|
296
289
|
|
297
290
|
|
298
|
-
<span class="summary_desc"><div class='inline'
|
299
|
-
the position of the tick labels must be one of [:nextTo, :high, :low]
|
300
|
-
</p>
|
291
|
+
<span class="summary_desc"><div class='inline'>
|
292
|
+
<p>the position of the tick labels must be one of [:nextTo, :high, :low].</p>
|
301
293
|
</div></span>
|
302
294
|
|
303
295
|
</li>
|
@@ -334,9 +326,8 @@ the position of the tick labels must be one of [:nextTo, :high, :low].
|
|
334
326
|
|
335
327
|
|
336
328
|
|
337
|
-
<span class="summary_desc"><div class='inline'
|
338
|
-
Creates an Axis object
|
339
|
-
</p>
|
329
|
+
<span class="summary_desc"><div class='inline'>
|
330
|
+
<p>Creates an Axis object.</p>
|
340
331
|
</div></span>
|
341
332
|
|
342
333
|
</li>
|
@@ -358,9 +349,8 @@ Creates an Axis object.
|
|
358
349
|
|
359
350
|
|
360
351
|
|
361
|
-
<span class="summary_desc"><div class='inline'
|
362
|
-
Serializes the common axis
|
363
|
-
</p>
|
352
|
+
<span class="summary_desc"><div class='inline'>
|
353
|
+
<p>Serializes the common axis.</p>
|
364
354
|
</div></span>
|
365
355
|
|
366
356
|
</li>
|
@@ -381,9 +371,8 @@ Serializes the common axis.
|
|
381
371
|
|
382
372
|
</p><div class="docstring">
|
383
373
|
<div class="discussion">
|
384
|
-
|
385
|
-
Creates an Axis object
|
386
|
-
</p>
|
374
|
+
|
375
|
+
<p>Creates an Axis object</p>
|
387
376
|
|
388
377
|
|
389
378
|
</div>
|
@@ -402,9 +391,8 @@ Creates an Axis object
|
|
402
391
|
|
403
392
|
|
404
393
|
—
|
405
|
-
<div class='inline'
|
406
|
-
the id of this axis
|
407
|
-
</p>
|
394
|
+
<div class='inline'>
|
395
|
+
<p>the id of this axis</p>
|
408
396
|
</div>
|
409
397
|
|
410
398
|
</li>
|
@@ -419,9 +407,8 @@ the id of this axis
|
|
419
407
|
|
420
408
|
|
421
409
|
—
|
422
|
-
<div class='inline'
|
423
|
-
the id of the perpendicular axis
|
424
|
-
</p>
|
410
|
+
<div class='inline'>
|
411
|
+
<p>the id of the perpendicular axis</p>
|
425
412
|
</div>
|
426
413
|
|
427
414
|
</li>
|
@@ -438,9 +425,8 @@ the id of the perpendicular axis
|
|
438
425
|
|
439
426
|
|
440
427
|
—
|
441
|
-
<div class='inline'
|
442
|
-
a customizable set of options
|
443
|
-
</p>
|
428
|
+
<div class='inline'>
|
429
|
+
<p>a customizable set of options</p>
|
444
430
|
</div>
|
445
431
|
|
446
432
|
</li>
|
@@ -498,9 +484,8 @@ a customizable set of options
|
|
498
484
|
|
499
485
|
|
500
486
|
—
|
501
|
-
<div class='inline'
|
502
|
-
If axId or crossAx are not unsigned integers
|
503
|
-
</p>
|
487
|
+
<div class='inline'>
|
488
|
+
<p>If axId or crossAx are not unsigned integers</p>
|
504
489
|
</div>
|
505
490
|
|
506
491
|
</li>
|
@@ -526,26 +511,27 @@ If axId or crossAx are not unsigned integers
|
|
526
511
|
55
|
527
512
|
56
|
528
513
|
57
|
529
|
-
58
|
514
|
+
58
|
515
|
+
59</pre>
|
530
516
|
</td>
|
531
517
|
<td>
|
532
518
|
<pre class="code"><span class="info file"># File 'lib/axlsx/drawing/axis.rb', line 45</span>
|
533
519
|
|
534
|
-
<span class='
|
535
|
-
<span class='
|
536
|
-
<span class='
|
537
|
-
<span class='
|
538
|
-
<span class='
|
539
|
-
<span class='
|
540
|
-
<span class='
|
541
|
-
<span class='
|
542
|
-
<span class='
|
543
|
-
<span class='
|
544
|
-
<span class='
|
545
|
-
|
546
|
-
|
547
|
-
<span class='
|
548
|
-
</pre>
|
520
|
+
<span class='kw'>def</span> <span class='id initialize'>initialize</span><span class='lparen'>(</span><span class='id axId'>axId</span><span class='comma'>,</span> <span class='id crossAx'>crossAx</span><span class='comma'>,</span> <span class='id options'>options</span><span class='op'>=</span><span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
|
521
|
+
<span class='const'>Axlsx</span><span class='op'>::</span><span class='id validate_unsigned_int'>validate_unsigned_int</span><span class='lparen'>(</span><span class='id axId'>axId</span><span class='rparen'>)</span>
|
522
|
+
<span class='const'>Axlsx</span><span class='op'>::</span><span class='id validate_unsigned_int'>validate_unsigned_int</span><span class='lparen'>(</span><span class='id crossAx'>crossAx</span><span class='rparen'>)</span>
|
523
|
+
<span class='ivar'>@axId</span> <span class='op'>=</span> <span class='id axId'>axId</span>
|
524
|
+
<span class='ivar'>@crossAx</span> <span class='op'>=</span> <span class='id crossAx'>crossAx</span>
|
525
|
+
<span class='ivar'>@format_code</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>General</span><span class='tstring_end'>"</span></span>
|
526
|
+
<span class='ivar'>@scaling</span> <span class='op'>=</span> <span class='const'>Scaling</span><span class='period'>.</span><span class='id new'>new</span><span class='lparen'>(</span><span class='symbol'>:orientation</span><span class='op'>=></span><span class='symbol'>:minMax</span><span class='rparen'>)</span>
|
527
|
+
<span class='kw'>self</span><span class='period'>.</span><span class='id axPos'>axPos</span> <span class='op'>=</span> <span class='symbol'>:l</span>
|
528
|
+
<span class='kw'>self</span><span class='period'>.</span><span class='id tickLblPos'>tickLblPos</span> <span class='op'>=</span> <span class='symbol'>:nextTo</span>
|
529
|
+
<span class='kw'>self</span><span class='period'>.</span><span class='id format_code'>format_code</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>General</span><span class='tstring_end'>"</span></span>
|
530
|
+
<span class='kw'>self</span><span class='period'>.</span><span class='id crosses'>crosses</span> <span class='op'>=</span> <span class='symbol'>:autoZero</span>
|
531
|
+
<span class='id options'>options</span><span class='period'>.</span><span class='id each'>each</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id o'>o</span><span class='op'>|</span>
|
532
|
+
<span class='kw'>self</span><span class='period'>.</span><span class='id send'>send</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>"</span><span class='embexpr_beg'>#{</span><span class='id o'>o</span><span class='lbracket'>[</span><span class='int'>0</span><span class='rbracket'>]</span><span class='rbrace'>}</span><span class='tstring_content'>=</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='id o'>o</span><span class='lbracket'>[</span><span class='int'>1</span><span class='rbracket'>]</span><span class='rparen'>)</span> <span class='kw'>if</span> <span class='kw'>self</span><span class='period'>.</span><span class='id respond_to?'>respond_to?</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='embexpr_beg'>#{</span><span class='id o'>o</span><span class='lbracket'>[</span><span class='int'>0</span><span class='rbracket'>]</span><span class='rbrace'>}</span><span class='tstring_content'>=</span><span class='tstring_end'>"</span></span>
|
533
|
+
<span class='kw'>end</span>
|
534
|
+
<span class='kw'>end</span></pre>
|
549
535
|
</td>
|
550
536
|
</tr>
|
551
537
|
</table>
|
@@ -568,9 +554,8 @@ If axId or crossAx are not unsigned integers
|
|
568
554
|
|
569
555
|
</p><div class="docstring">
|
570
556
|
<div class="discussion">
|
571
|
-
|
572
|
-
the id of the axis
|
573
|
-
</p>
|
557
|
+
|
558
|
+
<p>the id of the axis.</p>
|
574
559
|
|
575
560
|
|
576
561
|
</div>
|
@@ -604,10 +589,9 @@ the id of the axis.
|
|
604
589
|
<td>
|
605
590
|
<pre class="code"><span class="info file"># File 'lib/axlsx/drawing/axis.rb', line 7</span>
|
606
591
|
|
607
|
-
<span class='
|
608
|
-
<span class='
|
609
|
-
<span class='
|
610
|
-
</pre>
|
592
|
+
<span class='kw'>def</span> <span class='id axId'>axId</span>
|
593
|
+
<span class='ivar'>@axId</span>
|
594
|
+
<span class='kw'>end</span></pre>
|
611
595
|
</td>
|
612
596
|
</tr>
|
613
597
|
</table>
|
@@ -625,9 +609,8 @@ the id of the axis.
|
|
625
609
|
|
626
610
|
</p><div class="docstring">
|
627
611
|
<div class="discussion">
|
628
|
-
|
629
|
-
The position of the axis must be one of [:l, :r, :t, :b]
|
630
|
-
</p>
|
612
|
+
|
613
|
+
<p>The position of the axis must be one of [:l, :r, :t, :b]</p>
|
631
614
|
|
632
615
|
|
633
616
|
</div>
|
@@ -661,10 +644,9 @@ The position of the axis must be one of [:l, :r, :t, :b]
|
|
661
644
|
<td>
|
662
645
|
<pre class="code"><span class="info file"># File 'lib/axlsx/drawing/axis.rb', line 21</span>
|
663
646
|
|
664
|
-
<span class='
|
665
|
-
<span class='
|
666
|
-
<span class='
|
667
|
-
</pre>
|
647
|
+
<span class='kw'>def</span> <span class='id axPos'>axPos</span>
|
648
|
+
<span class='ivar'>@axPos</span>
|
649
|
+
<span class='kw'>end</span></pre>
|
668
650
|
</td>
|
669
651
|
</tr>
|
670
652
|
</table>
|
@@ -682,9 +664,8 @@ The position of the axis must be one of [:l, :r, :t, :b]
|
|
682
664
|
|
683
665
|
</p><div class="docstring">
|
684
666
|
<div class="discussion">
|
685
|
-
|
686
|
-
The perpendicular axis
|
687
|
-
</p>
|
667
|
+
|
668
|
+
<p>The perpendicular axis</p>
|
688
669
|
|
689
670
|
|
690
671
|
</div>
|
@@ -718,10 +699,9 @@ The perpendicular axis
|
|
718
699
|
<td>
|
719
700
|
<pre class="code"><span class="info file"># File 'lib/axlsx/drawing/axis.rb', line 11</span>
|
720
701
|
|
721
|
-
<span class='
|
722
|
-
<span class='
|
723
|
-
<span class='
|
724
|
-
</pre>
|
702
|
+
<span class='kw'>def</span> <span class='id crossAx'>crossAx</span>
|
703
|
+
<span class='ivar'>@crossAx</span>
|
704
|
+
<span class='kw'>end</span></pre>
|
725
705
|
</td>
|
726
706
|
</tr>
|
727
707
|
</table>
|
@@ -739,10 +719,9 @@ The perpendicular axis
|
|
739
719
|
|
740
720
|
</p><div class="docstring">
|
741
721
|
<div class="discussion">
|
742
|
-
|
743
|
-
specifies how the perpendicular axis is crossed must be one of [:autoZero,
|
744
|
-
:min, :max]
|
745
|
-
</p>
|
722
|
+
|
723
|
+
<p>specifies how the perpendicular axis is crossed must be one of [:autoZero,
|
724
|
+
:min, :max]</p>
|
746
725
|
|
747
726
|
|
748
727
|
</div>
|
@@ -776,10 +755,9 @@ specifies how the perpendicular axis is crossed must be one of [:autoZero,
|
|
776
755
|
<td>
|
777
756
|
<pre class="code"><span class="info file"># File 'lib/axlsx/drawing/axis.rb', line 36</span>
|
778
757
|
|
779
|
-
<span class='
|
780
|
-
<span class='
|
781
|
-
<span class='
|
782
|
-
</pre>
|
758
|
+
<span class='kw'>def</span> <span class='id crosses'>crosses</span>
|
759
|
+
<span class='ivar'>@crosses</span>
|
760
|
+
<span class='kw'>end</span></pre>
|
783
761
|
</td>
|
784
762
|
</tr>
|
785
763
|
</table>
|
@@ -797,9 +775,8 @@ specifies how the perpendicular axis is crossed must be one of [:autoZero,
|
|
797
775
|
|
798
776
|
</p><div class="docstring">
|
799
777
|
<div class="discussion">
|
800
|
-
|
801
|
-
The number format format code for this axis default :General
|
802
|
-
</p>
|
778
|
+
|
779
|
+
<p>The number format format code for this axis default :General</p>
|
803
780
|
|
804
781
|
|
805
782
|
</div>
|
@@ -833,10 +810,9 @@ The number format format code for this axis default :General
|
|
833
810
|
<td>
|
834
811
|
<pre class="code"><span class="info file"># File 'lib/axlsx/drawing/axis.rb', line 31</span>
|
835
812
|
|
836
|
-
<span class='
|
837
|
-
<span class='
|
838
|
-
<span class='
|
839
|
-
</pre>
|
813
|
+
<span class='kw'>def</span> <span class='id format_code'>format_code</span>
|
814
|
+
<span class='ivar'>@format_code</span>
|
815
|
+
<span class='kw'>end</span></pre>
|
840
816
|
</td>
|
841
817
|
</tr>
|
842
818
|
</table>
|
@@ -854,9 +830,8 @@ The number format format code for this axis default :General
|
|
854
830
|
|
855
831
|
</p><div class="docstring">
|
856
832
|
<div class="discussion">
|
857
|
-
|
858
|
-
The scaling of the axis
|
859
|
-
</p>
|
833
|
+
|
834
|
+
<p>The scaling of the axis</p>
|
860
835
|
|
861
836
|
|
862
837
|
</div>
|
@@ -897,10 +872,9 @@ The scaling of the axis
|
|
897
872
|
<td>
|
898
873
|
<pre class="code"><span class="info file"># File 'lib/axlsx/drawing/axis.rb', line 16</span>
|
899
874
|
|
900
|
-
<span class='
|
901
|
-
<span class='
|
902
|
-
<span class='
|
903
|
-
</pre>
|
875
|
+
<span class='kw'>def</span> <span class='id scaling'>scaling</span>
|
876
|
+
<span class='ivar'>@scaling</span>
|
877
|
+
<span class='kw'>end</span></pre>
|
904
878
|
</td>
|
905
879
|
</tr>
|
906
880
|
</table>
|
@@ -918,9 +892,8 @@ The scaling of the axis
|
|
918
892
|
|
919
893
|
</p><div class="docstring">
|
920
894
|
<div class="discussion">
|
921
|
-
|
922
|
-
the position of the tick labels must be one of [:nextTo, :high, :low]
|
923
|
-
</p>
|
895
|
+
|
896
|
+
<p>the position of the tick labels must be one of [:nextTo, :high, :low]</p>
|
924
897
|
|
925
898
|
|
926
899
|
</div>
|
@@ -954,10 +927,9 @@ the position of the tick labels must be one of [:nextTo, :high, :low]
|
|
954
927
|
<td>
|
955
928
|
<pre class="code"><span class="info file"># File 'lib/axlsx/drawing/axis.rb', line 26</span>
|
956
929
|
|
957
|
-
<span class='
|
958
|
-
<span class='
|
959
|
-
<span class='
|
960
|
-
</pre>
|
930
|
+
<span class='kw'>def</span> <span class='id tickLblPos'>tickLblPos</span>
|
931
|
+
<span class='ivar'>@tickLblPos</span>
|
932
|
+
<span class='kw'>end</span></pre>
|
961
933
|
</td>
|
962
934
|
</tr>
|
963
935
|
</table>
|
@@ -979,9 +951,8 @@ the position of the tick labels must be one of [:nextTo, :high, :low]
|
|
979
951
|
|
980
952
|
</p><div class="docstring">
|
981
953
|
<div class="discussion">
|
982
|
-
|
983
|
-
Serializes the common axis
|
984
|
-
</p>
|
954
|
+
|
955
|
+
<p>Serializes the common axis</p>
|
985
956
|
|
986
957
|
|
987
958
|
</div>
|
@@ -1000,9 +971,8 @@ Serializes the common axis
|
|
1000
971
|
|
1001
972
|
|
1002
973
|
—
|
1003
|
-
<div class='inline'
|
1004
|
-
The document builder instance this objects xml will be added to
|
1005
|
-
</p>
|
974
|
+
<div class='inline'>
|
975
|
+
<p>The document builder instance this objects xml will be added to.</p>
|
1006
976
|
</div>
|
1007
977
|
|
1008
978
|
</li>
|
@@ -1029,31 +999,30 @@ The document builder instance this objects xml will be added to.
|
|
1029
999
|
<pre class="lines">
|
1030
1000
|
|
1031
1001
|
|
1032
|
-
|
1033
|
-
|
1034
|
-
|
1035
|
-
|
1036
|
-
|
1037
|
-
|
1038
|
-
|
1039
|
-
|
1040
|
-
|
1041
|
-
|
1002
|
+
79
|
1003
|
+
80
|
1004
|
+
81
|
1005
|
+
82
|
1006
|
+
83
|
1007
|
+
84
|
1008
|
+
85
|
1009
|
+
86
|
1010
|
+
87
|
1011
|
+
88</pre>
|
1042
1012
|
</td>
|
1043
1013
|
<td>
|
1044
|
-
<pre class="code"><span class="info file"># File 'lib/axlsx/drawing/axis.rb', line
|
1045
|
-
|
1046
|
-
<span class='
|
1047
|
-
<span class='xml
|
1048
|
-
<span class='
|
1049
|
-
<span class='xml
|
1050
|
-
<span class='xml
|
1051
|
-
<span class='xml
|
1052
|
-
<span class='xml
|
1053
|
-
<span class='xml
|
1054
|
-
<span class='xml
|
1055
|
-
<span class='
|
1056
|
-
</pre>
|
1014
|
+
<pre class="code"><span class="info file"># File 'lib/axlsx/drawing/axis.rb', line 79</span>
|
1015
|
+
|
1016
|
+
<span class='kw'>def</span> <span class='id to_xml'>to_xml</span><span class='lparen'>(</span><span class='id xml'>xml</span><span class='rparen'>)</span>
|
1017
|
+
<span class='id xml'>xml</span><span class='period'>.</span><span class='id send'>send</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>c:axId</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='symbol'>:val</span><span class='op'>=></span><span class='ivar'>@axId</span><span class='rparen'>)</span>
|
1018
|
+
<span class='ivar'>@scaling</span><span class='period'>.</span><span class='id to_xml'>to_xml</span><span class='lparen'>(</span><span class='id xml'>xml</span><span class='rparen'>)</span>
|
1019
|
+
<span class='id xml'>xml</span><span class='period'>.</span><span class='id send'>send</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>c:axPos</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='symbol'>:val</span><span class='op'>=></span><span class='ivar'>@axPos</span><span class='rparen'>)</span>
|
1020
|
+
<span class='id xml'>xml</span><span class='period'>.</span><span class='id send'>send</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>c:majorGridlines</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span>
|
1021
|
+
<span class='id xml'>xml</span><span class='period'>.</span><span class='id send'>send</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>c:numFmt</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='symbol'>:formatCode</span> <span class='op'>=></span> <span class='ivar'>@format_code</span><span class='comma'>,</span> <span class='symbol'>:sourceLinked</span><span class='op'>=></span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>1</span><span class='tstring_end'>"</span></span><span class='rparen'>)</span>
|
1022
|
+
<span class='id xml'>xml</span><span class='period'>.</span><span class='id send'>send</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>c:tickLblPos</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='symbol'>:val</span><span class='op'>=></span><span class='ivar'>@tickLblPos</span><span class='rparen'>)</span>
|
1023
|
+
<span class='id xml'>xml</span><span class='period'>.</span><span class='id send'>send</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>c:crossAx</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='symbol'>:val</span><span class='op'>=></span><span class='ivar'>@crossAx</span><span class='rparen'>)</span>
|
1024
|
+
<span class='id xml'>xml</span><span class='period'>.</span><span class='id send'>send</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>c:crosses</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='symbol'>:val</span><span class='op'>=></span><span class='ivar'>@crosses</span><span class='rparen'>)</span>
|
1025
|
+
<span class='kw'>end</span></pre>
|
1057
1026
|
</td>
|
1058
1027
|
</tr>
|
1059
1028
|
</table>
|
@@ -1064,9 +1033,9 @@ The document builder instance this objects xml will be added to.
|
|
1064
1033
|
</div>
|
1065
1034
|
|
1066
1035
|
<div id="footer">
|
1067
|
-
Generated on
|
1036
|
+
Generated on Sat Nov 26 13:16:36 2011 by
|
1068
1037
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1069
|
-
0.7.3 (ruby-1.
|
1038
|
+
0.7.3 (ruby-1.9.3).
|
1070
1039
|
</div>
|
1071
1040
|
|
1072
1041
|
</body>
|