axlsx 1.0.11 → 1.0.12
Sign up to get free protection for your applications and to get access to all the features.
- data/.yardopts +4 -0
- data/README.md +7 -4
- data/examples/example.rb +6 -4
- data/examples/example.rb~ +112 -0
- data/lib/schema/dc.xsd~ +118 -0
- data/lib/schema/dcterms.xsd~ +331 -0
- data/lib/schema/opc-coreProperties.xsd~ +50 -0
- metadata +43 -193
- data/Gemfile +0 -3
- data/Gemfile.lock +0 -29
- data/axlsx.gemspec +0 -42
- data/doc/Axlsx.html +0 -2718
- data/doc/Axlsx/App.html +0 -2640
- data/doc/Axlsx/Axis.html +0 -1075
- data/doc/Axlsx/Bar3DChart.html +0 -1182
- data/doc/Axlsx/BarSeries.html +0 -711
- data/doc/Axlsx/Border.html +0 -779
- data/doc/Axlsx/BorderPr.html +0 -709
- data/doc/Axlsx/CatAxis.html +0 -769
- data/doc/Axlsx/CatAxisData.html +0 -397
- data/doc/Axlsx/Cell.html +0 -3187
- data/doc/Axlsx/CellAlignment.html +0 -1247
- data/doc/Axlsx/CellProtection.html +0 -565
- data/doc/Axlsx/CellStyle.html +0 -949
- data/doc/Axlsx/Chart.html +0 -1692
- data/doc/Axlsx/Color.html +0 -670
- data/doc/Axlsx/ContentType.html +0 -335
- data/doc/Axlsx/Core.html +0 -465
- data/doc/Axlsx/DataTypeValidator.html +0 -324
- data/doc/Axlsx/Default.html +0 -565
- data/doc/Axlsx/Drawing.html +0 -1264
- data/doc/Axlsx/Fill.html +0 -460
- data/doc/Axlsx/Font.html +0 -1554
- data/doc/Axlsx/GradientFill.html +0 -1026
- data/doc/Axlsx/GradientStop.html +0 -526
- data/doc/Axlsx/GraphicFrame.html +0 -642
- data/doc/Axlsx/Line3DChart.html +0 -1004
- data/doc/Axlsx/LineSeries.html +0 -605
- data/doc/Axlsx/Marker.html +0 -857
- data/doc/Axlsx/NumFmt.html +0 -562
- data/doc/Axlsx/OneCellAnchor.html +0 -982
- data/doc/Axlsx/Override.html +0 -552
- data/doc/Axlsx/Package.html +0 -825
- data/doc/Axlsx/Parser.html +0 -549
- data/doc/Axlsx/PatternFill.html +0 -681
- data/doc/Axlsx/Pic.html +0 -1701
- data/doc/Axlsx/PictureLocking.html +0 -1159
- data/doc/Axlsx/Pie3DChart.html +0 -489
- data/doc/Axlsx/PieSeries.html +0 -710
- data/doc/Axlsx/RegexValidator.html +0 -268
- data/doc/Axlsx/Relationship.html +0 -554
- data/doc/Axlsx/Relationships.html +0 -338
- data/doc/Axlsx/RestrictionValidator.html +0 -300
- data/doc/Axlsx/Row.html +0 -916
- data/doc/Axlsx/Scaling.html +0 -742
- data/doc/Axlsx/SerAxis.html +0 -641
- data/doc/Axlsx/Series.html +0 -813
- data/doc/Axlsx/SeriesTitle.html +0 -290
- data/doc/Axlsx/Styles.html +0 -1754
- data/doc/Axlsx/TableStyle.html +0 -705
- data/doc/Axlsx/TableStyleElement.html +0 -677
- data/doc/Axlsx/TableStyles.html +0 -594
- data/doc/Axlsx/Title.html +0 -543
- data/doc/Axlsx/TwoCellAnchor.html +0 -973
- data/doc/Axlsx/ValAxis.html +0 -538
- data/doc/Axlsx/ValAxisData.html +0 -321
- data/doc/Axlsx/View3D.html +0 -973
- data/doc/Axlsx/Workbook.html +0 -1630
- data/doc/Axlsx/Worksheet.html +0 -2682
- data/doc/Axlsx/Xf.html +0 -1780
- data/doc/_index.html +0 -649
- data/doc/class_list.html +0 -47
- data/doc/css/common.css +0 -1
- data/doc/css/full_list.css +0 -55
- data/doc/css/style.css +0 -322
- data/doc/file.LICENSE.html +0 -91
- data/doc/file.README.html +0 -338
- data/doc/file_list.html +0 -52
- data/doc/frames.html +0 -13
- data/doc/index.html +0 -338
- data/doc/js/app.js +0 -205
- data/doc/js/full_list.js +0 -167
- data/doc/js/jquery.js +0 -16
- data/doc/method_list.html +0 -3502
- data/doc/top-level-namespace.html +0 -103
- data/lib/axlsx.rb +0 -54
- data/lib/axlsx/content_type/content_type.rb +0 -23
- data/lib/axlsx/content_type/default.rb +0 -37
- data/lib/axlsx/content_type/override.rb +0 -37
- data/lib/axlsx/doc_props/app.rb +0 -178
- data/lib/axlsx/doc_props/core.rb +0 -34
- data/lib/axlsx/drawing/axis.rb +0 -90
- data/lib/axlsx/drawing/bar_3D_chart.rb +0 -128
- data/lib/axlsx/drawing/bar_series.rb +0 -64
- data/lib/axlsx/drawing/cat_axis.rb +0 -63
- data/lib/axlsx/drawing/cat_axis_data.rb +0 -35
- data/lib/axlsx/drawing/chart.rb +0 -179
- data/lib/axlsx/drawing/drawing.rb +0 -137
- data/lib/axlsx/drawing/graphic_frame.rb +0 -52
- data/lib/axlsx/drawing/line_3D_chart.rb +0 -106
- data/lib/axlsx/drawing/line_series.rb +0 -46
- data/lib/axlsx/drawing/marker.rb +0 -61
- data/lib/axlsx/drawing/one_cell_anchor.rb +0 -89
- data/lib/axlsx/drawing/pic.rb +0 -153
- data/lib/axlsx/drawing/picture_locking.rb +0 -72
- data/lib/axlsx/drawing/pie_3D_chart.rb +0 -41
- data/lib/axlsx/drawing/pie_series.rb +0 -56
- data/lib/axlsx/drawing/scaling.rb +0 -59
- data/lib/axlsx/drawing/ser_axis.rb +0 -45
- data/lib/axlsx/drawing/series.rb +0 -71
- data/lib/axlsx/drawing/series_title.rb +0 -22
- data/lib/axlsx/drawing/title.rb +0 -61
- data/lib/axlsx/drawing/two_cell_anchor.rb +0 -76
- data/lib/axlsx/drawing/val_axis.rb +0 -34
- data/lib/axlsx/drawing/val_axis_data.rb +0 -28
- data/lib/axlsx/drawing/view_3D.rb +0 -85
- data/lib/axlsx/package.rb +0 -214
- data/lib/axlsx/rels/relationship.rb +0 -44
- data/lib/axlsx/rels/relationships.rb +0 -25
- data/lib/axlsx/stylesheet/border.rb +0 -57
- data/lib/axlsx/stylesheet/border_pr.rb +0 -68
- data/lib/axlsx/stylesheet/cell_alignment.rb +0 -105
- data/lib/axlsx/stylesheet/cell_protection.rb +0 -36
- data/lib/axlsx/stylesheet/cell_style.rb +0 -65
- data/lib/axlsx/stylesheet/color.rb +0 -69
- data/lib/axlsx/stylesheet/fill.rb +0 -32
- data/lib/axlsx/stylesheet/font.rb +0 -139
- data/lib/axlsx/stylesheet/gradient_fill.rb +0 -76
- data/lib/axlsx/stylesheet/gradient_stop.rb +0 -33
- data/lib/axlsx/stylesheet/num_fmt.rb +0 -63
- data/lib/axlsx/stylesheet/pattern_fill.rb +0 -66
- data/lib/axlsx/stylesheet/styles.rb +0 -298
- data/lib/axlsx/stylesheet/table_style.rb +0 -47
- data/lib/axlsx/stylesheet/table_style_element.rb +0 -71
- data/lib/axlsx/stylesheet/table_styles.rb +0 -39
- data/lib/axlsx/stylesheet/xf.rb +0 -138
- data/lib/axlsx/util/constants.rb +0 -216
- data/lib/axlsx/util/parser.rb +0 -43
- data/lib/axlsx/util/simple_typed_list.rb +0 -160
- data/lib/axlsx/util/validators.rb +0 -132
- data/lib/axlsx/version.rb +0 -4
- data/lib/axlsx/workbook/workbook.rb +0 -160
- data/lib/axlsx/workbook/worksheet/cell.rb +0 -340
- data/lib/axlsx/workbook/worksheet/row.rb +0 -107
- data/lib/axlsx/workbook/worksheet/worksheet.rb +0 -278
data/doc/Axlsx/CatAxis.html
DELETED
@@ -1,769 +0,0 @@
|
|
1
|
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
2
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
3
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
4
|
-
<head>
|
5
|
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
6
|
-
<title>
|
7
|
-
Class: Axlsx::CatAxis
|
8
|
-
|
9
|
-
— AXLSX
|
10
|
-
|
11
|
-
</title>
|
12
|
-
|
13
|
-
<link rel="stylesheet" href="../css/style.css" type="text/css" media="screen" charset="utf-8" />
|
14
|
-
|
15
|
-
<link rel="stylesheet" href="../css/common.css" type="text/css" media="screen" charset="utf-8" />
|
16
|
-
|
17
|
-
<script type="text/javascript" charset="utf-8">
|
18
|
-
relpath = '..';
|
19
|
-
if (relpath != '') relpath += '/';
|
20
|
-
</script>
|
21
|
-
|
22
|
-
<script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
|
23
|
-
|
24
|
-
<script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
|
25
|
-
|
26
|
-
|
27
|
-
</head>
|
28
|
-
<body>
|
29
|
-
<script type="text/javascript" charset="utf-8">
|
30
|
-
if (window.top.frames.main) document.body.className = 'frames';
|
31
|
-
</script>
|
32
|
-
|
33
|
-
<div id="header">
|
34
|
-
<div id="menu">
|
35
|
-
|
36
|
-
<a href="../_index.html">Index (C)</a> »
|
37
|
-
<span class='title'><span class='object_link'><a href="../Axlsx.html" title="Axlsx (module)">Axlsx</a></span></span>
|
38
|
-
»
|
39
|
-
<span class="title">CatAxis</span>
|
40
|
-
|
41
|
-
|
42
|
-
<div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
|
43
|
-
</div>
|
44
|
-
|
45
|
-
<div id="search">
|
46
|
-
|
47
|
-
<a id="class_list_link" href="#">Class List</a>
|
48
|
-
|
49
|
-
<a id="method_list_link" href="#">Method List</a>
|
50
|
-
|
51
|
-
<a id="file_list_link" href="#">File List</a>
|
52
|
-
|
53
|
-
</div>
|
54
|
-
<div class="clear"></div>
|
55
|
-
</div>
|
56
|
-
|
57
|
-
<iframe id="search_frame"></iframe>
|
58
|
-
|
59
|
-
<div id="content"><h1>Class: Axlsx::CatAxis
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
</h1>
|
64
|
-
|
65
|
-
<dl class="box">
|
66
|
-
|
67
|
-
<dt class="r1">Inherits:</dt>
|
68
|
-
<dd class="r1">
|
69
|
-
<span class="inheritName"><span class='object_link'><a href="Axis.html" title="Axlsx::Axis (class)">Axis</a></span></span>
|
70
|
-
|
71
|
-
<ul class="fullTree">
|
72
|
-
<li>Object</li>
|
73
|
-
|
74
|
-
<li class="next"><span class='object_link'><a href="Axis.html" title="Axlsx::Axis (class)">Axis</a></span></li>
|
75
|
-
|
76
|
-
<li class="next">Axlsx::CatAxis</li>
|
77
|
-
|
78
|
-
</ul>
|
79
|
-
<a href="#" class="inheritanceTree">show all</a>
|
80
|
-
|
81
|
-
</dd>
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
<dt class="r2 last">Defined in:</dt>
|
92
|
-
<dd class="r2 last">lib/axlsx/drawing/cat_axis.rb</dd>
|
93
|
-
|
94
|
-
</dl>
|
95
|
-
<div class="clear"></div>
|
96
|
-
|
97
|
-
<h2>Overview</h2><div class="docstring">
|
98
|
-
<div class="discussion">
|
99
|
-
<p>
|
100
|
-
A CatAxis object defines a chart category axis
|
101
|
-
</p>
|
102
|
-
|
103
|
-
|
104
|
-
</div>
|
105
|
-
</div>
|
106
|
-
<div class="tags">
|
107
|
-
|
108
|
-
|
109
|
-
</div>
|
110
|
-
<h2>Constant Summary</h2>
|
111
|
-
|
112
|
-
<dl class="constants">
|
113
|
-
|
114
|
-
<dt id="LBL_OFFSET_REGEX-constant" class="">LBL_OFFSET_REGEX =
|
115
|
-
<div class="docstring">
|
116
|
-
<div class="discussion">
|
117
|
-
<p>
|
118
|
-
regex for validating label offset
|
119
|
-
</p>
|
120
|
-
|
121
|
-
|
122
|
-
</div>
|
123
|
-
</div>
|
124
|
-
<div class="tags">
|
125
|
-
|
126
|
-
|
127
|
-
</div>
|
128
|
-
</dt>
|
129
|
-
<dd><pre class="code"><span class='regexp val'>/0*(([0-9])|([1-9][0-9])|([1-9][0-9][0-9])|1000)%/</span>
|
130
|
-
</pre></dd>
|
131
|
-
|
132
|
-
</dl>
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
<h2>Instance Attribute Summary <small>(<a href="#" class="summary_toggle">collapse</a>)</small></h2>
|
141
|
-
<ul class="summary">
|
142
|
-
|
143
|
-
<li class="public ">
|
144
|
-
<span class="summary_signature">
|
145
|
-
|
146
|
-
<a href="#auto-instance_method" title="#auto (instance method)">- (Boolean) <strong>auto</strong> </a>
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
</span>
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
<span class="summary_desc"><div class='inline'><p>
|
163
|
-
From the docs: This element specifies that this axis is a date or text axis
|
164
|
-
based on the data that is used for the axis labels, not a specific choice.
|
165
|
-
</p>
|
166
|
-
</div></span>
|
167
|
-
|
168
|
-
</li>
|
169
|
-
|
170
|
-
|
171
|
-
<li class="public ">
|
172
|
-
<span class="summary_signature">
|
173
|
-
|
174
|
-
<a href="#lblAlgn-instance_method" title="#lblAlgn (instance method)">- (Symbol) <strong>lblAlgn</strong> </a>
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
</span>
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
<span class="summary_desc"><div class='inline'><p>
|
191
|
-
specifies how the perpendicular axis is crossed must be one of [:ctr, :l,
|
192
|
-
:r].
|
193
|
-
</p>
|
194
|
-
</div></span>
|
195
|
-
|
196
|
-
</li>
|
197
|
-
|
198
|
-
|
199
|
-
<li class="public ">
|
200
|
-
<span class="summary_signature">
|
201
|
-
|
202
|
-
<a href="#lblOffset-instance_method" title="#lblOffset (instance method)">- (Integer) <strong>lblOffset</strong> </a>
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
</span>
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
<span class="summary_desc"><div class='inline'><p>
|
219
|
-
The offset of the labels must be between a string between 0 and 1000.
|
220
|
-
</p>
|
221
|
-
</div></span>
|
222
|
-
|
223
|
-
</li>
|
224
|
-
|
225
|
-
|
226
|
-
</ul>
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
<h3 class="inherited">Attributes inherited from <span class='object_link'><a href="Axis.html" title="Axlsx::Axis (class)">Axis</a></span></h3>
|
236
|
-
<p class="inherited"><span class='object_link'><a href="Axis.html#axId-instance_method" title="Axlsx::Axis#axId (method)">axId</a></span>, <span class='object_link'><a href="Axis.html#axPos-instance_method" title="Axlsx::Axis#axPos (method)">axPos</a></span>, <span class='object_link'><a href="Axis.html#crossAx-instance_method" title="Axlsx::Axis#crossAx (method)">crossAx</a></span>, <span class='object_link'><a href="Axis.html#crosses-instance_method" title="Axlsx::Axis#crosses (method)">crosses</a></span>, <span class='object_link'><a href="Axis.html#format_code-instance_method" title="Axlsx::Axis#format_code (method)">format_code</a></span>, <span class='object_link'><a href="Axis.html#scaling-instance_method" title="Axlsx::Axis#scaling (method)">scaling</a></span>, <span class='object_link'><a href="Axis.html#tickLblPos-instance_method" title="Axlsx::Axis#tickLblPos (method)">tickLblPos</a></span></p>
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
<h2>
|
241
|
-
Instance Method Summary
|
242
|
-
<small>(<a href="#" class="summary_toggle">collapse</a>)</small>
|
243
|
-
</h2>
|
244
|
-
|
245
|
-
<ul class="summary">
|
246
|
-
|
247
|
-
<li class="public ">
|
248
|
-
<span class="summary_signature">
|
249
|
-
|
250
|
-
<a href="#initialize-instance_method" title="#initialize (instance method)">- (CatAxis) <strong>initialize</strong>(axId, crossAx, options = {}) </a>
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
</span>
|
255
|
-
|
256
|
-
<span class="note title constructor">constructor</span>
|
257
|
-
|
258
|
-
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
<span class="summary_desc"><div class='inline'><p>
|
266
|
-
Creates a new CatAxis object.
|
267
|
-
</p>
|
268
|
-
</div></span>
|
269
|
-
|
270
|
-
</li>
|
271
|
-
|
272
|
-
|
273
|
-
<li class="public ">
|
274
|
-
<span class="summary_signature">
|
275
|
-
|
276
|
-
<a href="#to_xml-instance_method" title="#to_xml (instance method)">- (String) <strong>to_xml</strong>(xml) </a>
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
</span>
|
281
|
-
|
282
|
-
|
283
|
-
|
284
|
-
|
285
|
-
|
286
|
-
|
287
|
-
|
288
|
-
|
289
|
-
<span class="summary_desc"><div class='inline'><p>
|
290
|
-
Serializes the category axis.
|
291
|
-
</p>
|
292
|
-
</div></span>
|
293
|
-
|
294
|
-
</li>
|
295
|
-
|
296
|
-
|
297
|
-
</ul>
|
298
|
-
|
299
|
-
|
300
|
-
|
301
|
-
|
302
|
-
|
303
|
-
|
304
|
-
|
305
|
-
<div id="constructor_details" class="method_details_list">
|
306
|
-
<h2>Constructor Details</h2>
|
307
|
-
|
308
|
-
<div class="method_details first">
|
309
|
-
<p class="signature first" id="initialize-instance_method">
|
310
|
-
|
311
|
-
- (<tt><span class='object_link'><a href="" title="Axlsx::CatAxis (class)">CatAxis</a></span></tt>) <strong>initialize</strong>(axId, crossAx, options = {})
|
312
|
-
|
313
|
-
|
314
|
-
|
315
|
-
</p><div class="docstring">
|
316
|
-
<div class="discussion">
|
317
|
-
<p>
|
318
|
-
Creates a new CatAxis object
|
319
|
-
</p>
|
320
|
-
|
321
|
-
|
322
|
-
</div>
|
323
|
-
</div>
|
324
|
-
<div class="tags">
|
325
|
-
<h3>Parameters:</h3>
|
326
|
-
<ul class="param">
|
327
|
-
|
328
|
-
<li>
|
329
|
-
|
330
|
-
<span class='name'>axId</span>
|
331
|
-
|
332
|
-
|
333
|
-
<span class='type'>(<tt>Integer</tt>)</span>
|
334
|
-
|
335
|
-
|
336
|
-
|
337
|
-
—
|
338
|
-
<div class='inline'><p>
|
339
|
-
the id of this axis. Inherited
|
340
|
-
</p>
|
341
|
-
</div>
|
342
|
-
|
343
|
-
</li>
|
344
|
-
|
345
|
-
<li>
|
346
|
-
|
347
|
-
<span class='name'>crossAx</span>
|
348
|
-
|
349
|
-
|
350
|
-
<span class='type'>(<tt>Integer</tt>)</span>
|
351
|
-
|
352
|
-
|
353
|
-
|
354
|
-
—
|
355
|
-
<div class='inline'><p>
|
356
|
-
the id of the perpendicular axis. Inherited
|
357
|
-
</p>
|
358
|
-
</div>
|
359
|
-
|
360
|
-
</li>
|
361
|
-
|
362
|
-
<li>
|
363
|
-
|
364
|
-
<span class='name'>options</span>
|
365
|
-
|
366
|
-
|
367
|
-
<span class='type'>(<tt>Hash</tt>)</span>
|
368
|
-
|
369
|
-
|
370
|
-
<em class="default">(defaults to: <tt>{}</tt>)</em>
|
371
|
-
|
372
|
-
|
373
|
-
—
|
374
|
-
<div class='inline'><p>
|
375
|
-
a customizable set of options
|
376
|
-
</p>
|
377
|
-
</div>
|
378
|
-
|
379
|
-
</li>
|
380
|
-
|
381
|
-
</ul>
|
382
|
-
|
383
|
-
|
384
|
-
|
385
|
-
|
386
|
-
|
387
|
-
|
388
|
-
|
389
|
-
|
390
|
-
<h3>Options Hash (<tt>options</tt>):</h3>
|
391
|
-
<ul class="option">
|
392
|
-
|
393
|
-
<li>
|
394
|
-
<span class="name">axPos.</span>
|
395
|
-
<span class="type">(<tt>Symbol</tt>)</span>
|
396
|
-
<span class="default">
|
397
|
-
|
398
|
-
</span>
|
399
|
-
— <div class='inline'><p>
|
400
|
-
Inherited
|
401
|
-
</p>
|
402
|
-
</div>
|
403
|
-
</li>
|
404
|
-
|
405
|
-
<li>
|
406
|
-
<span class="name">tickLblPos.</span>
|
407
|
-
<span class="type">(<tt>Symbol</tt>)</span>
|
408
|
-
<span class="default">
|
409
|
-
|
410
|
-
</span>
|
411
|
-
— <div class='inline'><p>
|
412
|
-
Inherited
|
413
|
-
</p>
|
414
|
-
</div>
|
415
|
-
</li>
|
416
|
-
|
417
|
-
<li>
|
418
|
-
<span class="name">crosses.</span>
|
419
|
-
<span class="type">(<tt>Symbol</tt>)</span>
|
420
|
-
<span class="default">
|
421
|
-
|
422
|
-
</span>
|
423
|
-
— <div class='inline'><p>
|
424
|
-
Inherited
|
425
|
-
</p>
|
426
|
-
</div>
|
427
|
-
</li>
|
428
|
-
|
429
|
-
<li>
|
430
|
-
<span class="name">auto</span>
|
431
|
-
<span class="type">(<tt>Boolean</tt>)</span>
|
432
|
-
<span class="default">
|
433
|
-
|
434
|
-
</span>
|
435
|
-
|
436
|
-
</li>
|
437
|
-
|
438
|
-
<li>
|
439
|
-
<span class="name">lblAlgn</span>
|
440
|
-
<span class="type">(<tt>Symbol</tt>)</span>
|
441
|
-
<span class="default">
|
442
|
-
|
443
|
-
</span>
|
444
|
-
|
445
|
-
</li>
|
446
|
-
|
447
|
-
<li>
|
448
|
-
<span class="name">lblOffset</span>
|
449
|
-
<span class="type">(<tt>Integer</tt>)</span>
|
450
|
-
<span class="default">
|
451
|
-
|
452
|
-
</span>
|
453
|
-
|
454
|
-
</li>
|
455
|
-
|
456
|
-
</ul>
|
457
|
-
|
458
|
-
|
459
|
-
|
460
|
-
</div><table class="source_code">
|
461
|
-
<tr>
|
462
|
-
<td>
|
463
|
-
<pre class="lines">
|
464
|
-
|
465
|
-
|
466
|
-
31
|
467
|
-
32
|
468
|
-
33
|
469
|
-
34
|
470
|
-
35
|
471
|
-
36</pre>
|
472
|
-
</td>
|
473
|
-
<td>
|
474
|
-
<pre class="code"><span class="info file"># File 'lib/axlsx/drawing/cat_axis.rb', line 31</span>
|
475
|
-
|
476
|
-
<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>
|
477
|
-
<span class='self self kw'>self</span><span class='dot token'>.</span><span class='auto identifier id'>auto</span> <span class='assign token'>=</span> <span class='true true kw'>true</span>
|
478
|
-
<span class='self self kw'>self</span><span class='dot token'>.</span><span class='lblAlgn identifier id'>lblAlgn</span> <span class='assign token'>=</span> <span class='symbol val'>:ctr</span>
|
479
|
-
<span class='self self kw'>self</span><span class='dot token'>.</span><span class='lblOffset identifier id'>lblOffset</span> <span class='assign token'>=</span> <span class='string val'>"100%"</span>
|
480
|
-
<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>
|
481
|
-
<span class='end end kw'>end</span>
|
482
|
-
</pre>
|
483
|
-
</td>
|
484
|
-
</tr>
|
485
|
-
</table>
|
486
|
-
</div>
|
487
|
-
|
488
|
-
</div>
|
489
|
-
|
490
|
-
<div id="instance_attr_details" class="attr_details">
|
491
|
-
<h2>Instance Attribute Details</h2>
|
492
|
-
|
493
|
-
|
494
|
-
<span id="auto=-instance_method"></span>
|
495
|
-
<span id="auto-instance_method"></span>
|
496
|
-
<div class="method_details first">
|
497
|
-
<p class="signature first" id="auto-instance_method">
|
498
|
-
|
499
|
-
- (<tt>Boolean</tt>) <strong>auto</strong>
|
500
|
-
|
501
|
-
|
502
|
-
|
503
|
-
</p><div class="docstring">
|
504
|
-
<div class="discussion">
|
505
|
-
<p>
|
506
|
-
From the docs: This element specifies that this axis is a date or text axis
|
507
|
-
based on the data that is used for the axis labels, not a specific choice.
|
508
|
-
</p>
|
509
|
-
|
510
|
-
|
511
|
-
</div>
|
512
|
-
</div>
|
513
|
-
<div class="tags">
|
514
|
-
|
515
|
-
<h3>Returns:</h3>
|
516
|
-
<ul class="return">
|
517
|
-
|
518
|
-
<li>
|
519
|
-
|
520
|
-
|
521
|
-
<span class='type'>(<tt>Boolean</tt>)</span>
|
522
|
-
|
523
|
-
|
524
|
-
|
525
|
-
</li>
|
526
|
-
|
527
|
-
</ul>
|
528
|
-
|
529
|
-
</div><table class="source_code">
|
530
|
-
<tr>
|
531
|
-
<td>
|
532
|
-
<pre class="lines">
|
533
|
-
|
534
|
-
|
535
|
-
7
|
536
|
-
8
|
537
|
-
9</pre>
|
538
|
-
</td>
|
539
|
-
<td>
|
540
|
-
<pre class="code"><span class="info file"># File 'lib/axlsx/drawing/cat_axis.rb', line 7</span>
|
541
|
-
|
542
|
-
<span class='def def kw'>def</span> <span class='auto identifier id'>auto</span>
|
543
|
-
<span class='@auto ivar id'>@auto</span>
|
544
|
-
<span class='end end kw'>end</span>
|
545
|
-
</pre>
|
546
|
-
</td>
|
547
|
-
</tr>
|
548
|
-
</table>
|
549
|
-
</div>
|
550
|
-
|
551
|
-
|
552
|
-
<span id="lblAlgn=-instance_method"></span>
|
553
|
-
<span id="lblAlgn-instance_method"></span>
|
554
|
-
<div class="method_details ">
|
555
|
-
<p class="signature " id="lblAlgn-instance_method">
|
556
|
-
|
557
|
-
- (<tt>Symbol</tt>) <strong>lblAlgn</strong>
|
558
|
-
|
559
|
-
|
560
|
-
|
561
|
-
</p><div class="docstring">
|
562
|
-
<div class="discussion">
|
563
|
-
<p>
|
564
|
-
specifies how the perpendicular axis is crossed must be one of [:ctr, :l,
|
565
|
-
:r]
|
566
|
-
</p>
|
567
|
-
|
568
|
-
|
569
|
-
</div>
|
570
|
-
</div>
|
571
|
-
<div class="tags">
|
572
|
-
|
573
|
-
<h3>Returns:</h3>
|
574
|
-
<ul class="return">
|
575
|
-
|
576
|
-
<li>
|
577
|
-
|
578
|
-
|
579
|
-
<span class='type'>(<tt>Symbol</tt>)</span>
|
580
|
-
|
581
|
-
|
582
|
-
|
583
|
-
</li>
|
584
|
-
|
585
|
-
</ul>
|
586
|
-
|
587
|
-
</div><table class="source_code">
|
588
|
-
<tr>
|
589
|
-
<td>
|
590
|
-
<pre class="lines">
|
591
|
-
|
592
|
-
|
593
|
-
12
|
594
|
-
13
|
595
|
-
14</pre>
|
596
|
-
</td>
|
597
|
-
<td>
|
598
|
-
<pre class="code"><span class="info file"># File 'lib/axlsx/drawing/cat_axis.rb', line 12</span>
|
599
|
-
|
600
|
-
<span class='def def kw'>def</span> <span class='lblAlgn identifier id'>lblAlgn</span>
|
601
|
-
<span class='@lblAlgn ivar id'>@lblAlgn</span>
|
602
|
-
<span class='end end kw'>end</span>
|
603
|
-
</pre>
|
604
|
-
</td>
|
605
|
-
</tr>
|
606
|
-
</table>
|
607
|
-
</div>
|
608
|
-
|
609
|
-
|
610
|
-
<span id="lblOffset=-instance_method"></span>
|
611
|
-
<span id="lblOffset-instance_method"></span>
|
612
|
-
<div class="method_details ">
|
613
|
-
<p class="signature " id="lblOffset-instance_method">
|
614
|
-
|
615
|
-
- (<tt>Integer</tt>) <strong>lblOffset</strong>
|
616
|
-
|
617
|
-
|
618
|
-
|
619
|
-
</p><div class="docstring">
|
620
|
-
<div class="discussion">
|
621
|
-
<p>
|
622
|
-
The offset of the labels must be between a string between 0 and 1000
|
623
|
-
</p>
|
624
|
-
|
625
|
-
|
626
|
-
</div>
|
627
|
-
</div>
|
628
|
-
<div class="tags">
|
629
|
-
|
630
|
-
<h3>Returns:</h3>
|
631
|
-
<ul class="return">
|
632
|
-
|
633
|
-
<li>
|
634
|
-
|
635
|
-
|
636
|
-
<span class='type'>(<tt>Integer</tt>)</span>
|
637
|
-
|
638
|
-
|
639
|
-
|
640
|
-
</li>
|
641
|
-
|
642
|
-
</ul>
|
643
|
-
|
644
|
-
</div><table class="source_code">
|
645
|
-
<tr>
|
646
|
-
<td>
|
647
|
-
<pre class="lines">
|
648
|
-
|
649
|
-
|
650
|
-
17
|
651
|
-
18
|
652
|
-
19</pre>
|
653
|
-
</td>
|
654
|
-
<td>
|
655
|
-
<pre class="code"><span class="info file"># File 'lib/axlsx/drawing/cat_axis.rb', line 17</span>
|
656
|
-
|
657
|
-
<span class='def def kw'>def</span> <span class='lblOffset identifier id'>lblOffset</span>
|
658
|
-
<span class='@lblOffset ivar id'>@lblOffset</span>
|
659
|
-
<span class='end end kw'>end</span>
|
660
|
-
</pre>
|
661
|
-
</td>
|
662
|
-
</tr>
|
663
|
-
</table>
|
664
|
-
</div>
|
665
|
-
|
666
|
-
</div>
|
667
|
-
|
668
|
-
|
669
|
-
<div id="instance_method_details" class="method_details_list">
|
670
|
-
<h2>Instance Method Details</h2>
|
671
|
-
|
672
|
-
|
673
|
-
<div class="method_details first">
|
674
|
-
<p class="signature first" id="to_xml-instance_method">
|
675
|
-
|
676
|
-
- (<tt>String</tt>) <strong>to_xml</strong>(xml)
|
677
|
-
|
678
|
-
|
679
|
-
|
680
|
-
</p><div class="docstring">
|
681
|
-
<div class="discussion">
|
682
|
-
<p>
|
683
|
-
Serializes the category axis
|
684
|
-
</p>
|
685
|
-
|
686
|
-
|
687
|
-
</div>
|
688
|
-
</div>
|
689
|
-
<div class="tags">
|
690
|
-
<h3>Parameters:</h3>
|
691
|
-
<ul class="param">
|
692
|
-
|
693
|
-
<li>
|
694
|
-
|
695
|
-
<span class='name'>xml</span>
|
696
|
-
|
697
|
-
|
698
|
-
<span class='type'>(<tt>Nokogiri::XML::Builder</tt>)</span>
|
699
|
-
|
700
|
-
|
701
|
-
|
702
|
-
—
|
703
|
-
<div class='inline'><p>
|
704
|
-
The document builder instance this objects xml will be added to.
|
705
|
-
</p>
|
706
|
-
</div>
|
707
|
-
|
708
|
-
</li>
|
709
|
-
|
710
|
-
</ul>
|
711
|
-
|
712
|
-
<h3>Returns:</h3>
|
713
|
-
<ul class="return">
|
714
|
-
|
715
|
-
<li>
|
716
|
-
|
717
|
-
|
718
|
-
<span class='type'>(<tt>String</tt>)</span>
|
719
|
-
|
720
|
-
|
721
|
-
|
722
|
-
</li>
|
723
|
-
|
724
|
-
</ul>
|
725
|
-
|
726
|
-
</div><table class="source_code">
|
727
|
-
<tr>
|
728
|
-
<td>
|
729
|
-
<pre class="lines">
|
730
|
-
|
731
|
-
|
732
|
-
52
|
733
|
-
53
|
734
|
-
54
|
735
|
-
55
|
736
|
-
56
|
737
|
-
57
|
738
|
-
58
|
739
|
-
59</pre>
|
740
|
-
</td>
|
741
|
-
<td>
|
742
|
-
<pre class="code"><span class="info file"># File 'lib/axlsx/drawing/cat_axis.rb', line 52</span>
|
743
|
-
|
744
|
-
<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>
|
745
|
-
<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:catAx'</span><span class='rparen token'>)</span> <span class='lbrace token'>{</span>
|
746
|
-
<span class='super super kw'>super</span><span class='lparen token'>(</span><span class='xml identifier id'>xml</span><span class='rparen token'>)</span>
|
747
|
-
<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:auto'</span><span class='comma token'>,</span> <span class='symbol val'>:val=</span><span class='gt op'>></span><span class='@auto ivar id'>@auto</span><span class='rparen token'>)</span>
|
748
|
-
<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:lblAlgn'</span><span class='comma token'>,</span> <span class='symbol val'>:val=</span><span class='gt op'>></span><span class='@lblAlgn ivar id'>@lblAlgn</span><span class='rparen token'>)</span>
|
749
|
-
<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:lblOffset'</span><span class='comma token'>,</span> <span class='symbol val'>:val=</span><span class='gt op'>></span><span class='@lblOffset ivar id'>@lblOffset</span><span class='rparen token'>)</span>
|
750
|
-
<span class='rbrace token'>}</span>
|
751
|
-
<span class='end end kw'>end</span>
|
752
|
-
</pre>
|
753
|
-
</td>
|
754
|
-
</tr>
|
755
|
-
</table>
|
756
|
-
</div>
|
757
|
-
|
758
|
-
</div>
|
759
|
-
|
760
|
-
</div>
|
761
|
-
|
762
|
-
<div id="footer">
|
763
|
-
Generated on Mon Dec 5 14:21:19 2011 by
|
764
|
-
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
765
|
-
0.7.3 (ruby-1.8.7).
|
766
|
-
</div>
|
767
|
-
|
768
|
-
</body>
|
769
|
-
</html>
|