mdarray 0.5.5.2-java → 0.5.6-java
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.
- checksums.yaml +4 -4
- data/config.rb +29 -95
- data/doc/BinaryOperator.html +20 -21
- data/doc/BitwiseOperators.html +18 -8
- data/doc/BitwiseOperators/BinaryAnd.html +189 -0
- data/doc/BitwiseOperators/BinaryLeftShift.html +189 -0
- data/doc/BitwiseOperators/BinaryOnesComplement.html +189 -0
- data/doc/BitwiseOperators/BinaryOr.html +189 -0
- data/doc/BitwiseOperators/BinaryRightShift.html +189 -0
- data/doc/BitwiseOperators/BinaryXor.html +189 -0
- data/doc/BooleanFunctions.html +18 -8
- data/doc/BooleanFunctions/And.html +189 -0
- data/doc/BooleanFunctions/Not.html +189 -0
- data/doc/BooleanFunctions/Or.html +189 -0
- data/doc/BooleanMDArray.html +10 -10
- data/doc/ByteMDArray.html +73 -14
- data/doc/CernDoubleFunctions.html +208 -0
- data/doc/CernFloatFunctions.html +208 -0
- data/doc/CernFunctions.html +828 -0
- data/doc/CernIntFunctions.html +208 -0
- data/doc/CernLongFunctions.html +208 -0
- data/doc/CharMDArray.html +181 -0
- data/doc/Colt.html +18 -20
- data/doc/ComparisonOperators.html +18 -8
- data/doc/ComparisonOperators/Eq.html +189 -0
- data/doc/ComparisonOperators/Ge.html +189 -0
- data/doc/ComparisonOperators/Gt.html +189 -0
- data/doc/ComparisonOperators/Le.html +189 -0
- data/doc/ComparisonOperators/Lt.html +189 -0
- data/doc/Const.html +107 -47
- data/doc/Csv.html +325 -113
- data/doc/Csv/Dimension.html +771 -0
- data/doc/Csv/Dimensions.html +654 -0
- data/doc/DDescriptive.html +573 -625
- data/doc/DoubleMDArray.html +40 -172
- data/doc/DoubleStatList.html +19 -20
- data/doc/FastBinaryOperator.html +166 -148
- data/doc/FastUnaryOperator.html +104 -109
- data/doc/FloatMDArray.html +55 -16
- data/doc/FunctionCreation.html +53 -273
- data/doc/FunctionMap.html +381 -93
- data/doc/GenericFunctions.html +18 -8
- data/doc/GenericFunctions/Null.html +187 -0
- data/doc/IntMDArray.html +77 -16
- data/doc/Java/CernJetMathTdouble/DoubleFunctions.html +120 -0
- data/doc/Java/CernJetMathTfloat/FloatFunctions.html +120 -0
- data/doc/Java/CernJetMathTint/IntFunctions.html +120 -0
- data/doc/Java/CernJetMathTlong/LongFunctions.html +120 -0
- data/doc/LazyBinaryOperator.html +714 -0
- data/doc/LazyMDArray.html +990 -0
- data/doc/LazyMDArray/BinaryComp.html +282 -0
- data/doc/LazyMDArray/UnaryComp.html +280 -0
- data/doc/LazyUnaryOperator.html +537 -0
- data/doc/LongMDArray.html +59 -15
- data/doc/MDArray.html +3223 -2181
- data/doc/MDArray/Counter.html +321 -1233
- data/doc/MDArray/IteratorFast.html +177 -116
- data/doc/MDArray/IteratorFastBoolean.html +37 -41
- data/doc/MDArray/IteratorFastByte.html +46 -39
- data/doc/MDArray/IteratorFastChar.html +37 -41
- data/doc/MDArray/IteratorFastDouble.html +37 -41
- data/doc/MDArray/IteratorFastFloat.html +37 -41
- data/doc/MDArray/IteratorFastInt.html +37 -41
- data/doc/MDArray/IteratorFastLong.html +37 -41
- data/doc/MDArray/IteratorFastShort.html +37 -41
- data/doc/MDArray/Section.html +561 -0
- data/doc/Nashorn.html +1407 -0
- data/doc/NetCDF.html +749 -0
- data/doc/NetCDF/Attribute.html +875 -0
- data/doc/NetCDF/AttributeWriter.html +286 -0
- data/doc/NetCDF/CDMNode.html +460 -0
- data/doc/NetCDF/Dimension.html +559 -0
- data/doc/NetCDF/DimensionWriter.html +642 -0
- data/doc/NetCDF/File.html +1593 -0
- data/doc/NetCDF/FileParent.html +674 -0
- data/doc/NetCDF/FileWriter.html +2875 -0
- data/doc/NetCDF/Group.html +685 -0
- data/doc/NetCDF/GroupWriter.html +851 -0
- data/doc/NetCDF/TimeVariable.html +646 -0
- data/doc/NetCDF/Variable.html +2994 -0
- data/doc/NetCDF/VariableWriter.html +420 -0
- data/doc/NonNumericalMDArray.html +11 -11
- data/doc/NumericFunctions.html +38 -30
- data/doc/NumericFunctions/Abs.html +189 -0
- data/doc/NumericFunctions/Add.html +189 -0
- data/doc/NumericFunctions/Ceil.html +189 -0
- data/doc/NumericFunctions/Cube.html +189 -0
- data/doc/NumericFunctions/Div.html +189 -0
- data/doc/NumericFunctions/Floor.html +189 -0
- data/doc/NumericFunctions/Fourth.html +189 -0
- data/doc/NumericFunctions/IsZero.html +189 -0
- data/doc/NumericFunctions/Max.html +189 -0
- data/doc/NumericFunctions/Min.html +189 -0
- data/doc/NumericFunctions/Mul.html +189 -0
- data/doc/NumericFunctions/Power.html +189 -0
- data/doc/NumericFunctions/Square.html +189 -0
- data/doc/NumericFunctions/Sub.html +189 -0
- data/doc/NumericFunctions/Truncate.html +189 -0
- data/doc/NumericalMDArray.html +14 -15
- data/doc/Operator.html +318 -109
- data/doc/Proc.html +120 -129
- data/doc/RubyBinaryOperator.html +66 -70
- data/doc/RubyFunctions.html +572 -27
- data/doc/RubyMath.html +18 -8
- data/doc/RubyMath/Acos.html +189 -0
- data/doc/RubyMath/Acosh.html +189 -0
- data/doc/RubyMath/Asin.html +189 -0
- data/doc/RubyMath/Asinh.html +189 -0
- data/doc/RubyMath/Atan.html +189 -0
- data/doc/RubyMath/Atan2.html +189 -0
- data/doc/RubyMath/Atanh.html +189 -0
- data/doc/RubyMath/Cbrt.html +189 -0
- data/doc/RubyMath/Cos.html +189 -0
- data/doc/RubyMath/Cosh.html +189 -0
- data/doc/RubyMath/Erf.html +189 -0
- data/doc/RubyMath/Erfc.html +189 -0
- data/doc/RubyMath/Exp.html +189 -0
- data/doc/RubyMath/Gamma.html +189 -0
- data/doc/RubyMath/Hypot.html +189 -0
- data/doc/RubyMath/Ldexp.html +189 -0
- data/doc/RubyMath/Log.html +189 -0
- data/doc/RubyMath/Log10.html +189 -0
- data/doc/RubyMath/Log2.html +189 -0
- data/doc/RubyMath/Neg.html +189 -0
- data/doc/RubyMath/Sin.html +189 -0
- data/doc/RubyMath/Sinh.html +189 -0
- data/doc/RubyMath/Sqrt.html +189 -0
- data/doc/RubyMath/Tan.html +189 -0
- data/doc/RubyMath/Tanh.html +189 -0
- data/doc/RubyStats.html +8 -8
- data/doc/RubyUnaryOperator.html +61 -65
- data/doc/ShortMDArray.html +69 -14
- data/doc/Sol.html +700 -0
- data/doc/Sol/BarChart.html +181 -0
- data/doc/Sol/BaseChart.html +800 -0
- data/doc/Sol/Bootstrap.html +1137 -0
- data/doc/Sol/Bridge.html +586 -0
- data/doc/Sol/Chart.html +1162 -0
- data/doc/Sol/CoordinateChart.html +679 -0
- data/doc/Sol/Dashboard.html +2094 -0
- data/doc/Sol/Dashboard/DCFX.html +786 -0
- data/doc/Sol/Dashboard/MyHandle.html +338 -0
- data/doc/Sol/Dashboard/MyService.html +202 -0
- data/doc/Sol/Dashboard/MyTask.html +291 -0
- data/doc/Sol/Interval.html +1213 -0
- data/doc/Sol/LineChart.html +346 -0
- data/doc/Sol/LinearScale.html +334 -0
- data/doc/Sol/Margins.html +219 -0
- data/doc/Sol/OrdinalScale.html +263 -0
- data/doc/Sol/Scale.html +462 -0
- data/doc/Sol/Stack.html +199 -0
- data/doc/Sol/TimeScale.html +397 -0
- data/doc/StatList.html +110 -125
- data/doc/StringMDArray.html +10 -10
- data/doc/StructureMDArray.html +10 -10
- data/doc/UnaryOperator.html +20 -21
- data/doc/UserFunction.html +51 -49
- data/doc/_index.html +881 -106
- data/doc/class_list.html +8 -3
- data/doc/css/style.css +2 -1
- data/doc/file.README.html +455 -104
- data/doc/file_list.html +7 -2
- data/doc/frames.html +5 -7
- data/doc/index.html +455 -104
- data/doc/js/app.js +7 -2
- data/doc/js/full_list.js +11 -3
- data/doc/method_list.html +3170 -1233
- data/doc/top-level-namespace.html +31 -8
- data/lib/colt/matrix/algebra.rb +5 -5
- data/lib/mdarray.rb +6 -3
- data/lib/mdarray/csv.rb +25 -5
- data/lib/mdarray/fast_operators.rb +1 -1
- data/lib/mdarray/function_creation.rb +3 -1
- data/lib/mdarray/hierarchy.rb +2 -0
- data/lib/mdarray/operators.rb +1 -1
- data/lib/mdarray/ruby_functions.rb +8 -4
- data/lib/mdarray/ruby_math.rb +0 -28
- data/test/colt/matrix/test_matrix2d_floatingalgebra.rb +31 -7
- data/test/complete.rb +4 -4
- data/test/mdarray/PETR4_2014.csv +249 -0
- data/test/mdarray/VALE_2014.csv +253 -0
- data/test/mdarray/VALE_PETR4.csv +501 -0
- data/test/mdarray/arithmetic_casting.rb +1 -0
- data/test/mdarray/test_access.rb +1 -0
- data/test/mdarray/test_boolean.rb +1 -0
- data/test/mdarray/test_comparison.rb +1 -0
- data/test/mdarray/test_complete.rb +2 -5
- data/test/mdarray/test_counter.rb +1 -0
- data/test/mdarray/test_creation.rb +1 -0
- data/test/mdarray/test_csv.rb +51 -0
- data/test/mdarray/test_error.rb +1 -0
- data/test/mdarray/test_non_numeric.rb +1 -1
- data/test/mdarray/test_operator.rb +31 -14
- data/test/mdarray/test_performance.rb +2 -1
- data/test/mdarray/test_printing.rb +1 -0
- data/test/mdarray/test_sections.rb +1 -0
- data/test/mdarray/test_shape.rb +1 -0
- data/test/mdarray/test_trigonometry.rb +1 -0
- data/test/mdarray/test_views.rb +1 -0
- data/vendor/mdarray.jar +0 -0
- data/vendor/{netcdfAll-4.5_0.jar → netcdfAll-4.6.jar} +0 -0
- data/vendor/slf4j-jdk14-1.7.12.jar +0 -0
- data/version.rb +1 -1
- metadata +247 -139
- data/lib/env.rb +0 -12
- data/lib/mdarray/lazy_mdarray.rb +0 -315
- data/lib/mdarray/lazy_operators.rb +0 -174
- data/test/env.rb +0 -8
- data/test/mdarray/test_lazy.rb +0 -306
data/doc/Sol/Chart.html
ADDED
|
@@ -0,0 +1,1162 @@
|
|
|
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: Sol::Chart
|
|
8
|
+
|
|
9
|
+
— Documentation by YARD 0.8.7.6
|
|
10
|
+
|
|
11
|
+
</title>
|
|
12
|
+
|
|
13
|
+
<link rel="stylesheet" href="../css/style.css" type="text/css" charset="utf-8" />
|
|
14
|
+
|
|
15
|
+
<link rel="stylesheet" href="../css/common.css" type="text/css" charset="utf-8" />
|
|
16
|
+
|
|
17
|
+
<script type="text/javascript" charset="utf-8">
|
|
18
|
+
hasFrames = window.top.frames.main ? true : false;
|
|
19
|
+
relpath = '../';
|
|
20
|
+
framesUrl = "../frames.html#!Sol/Chart.html";
|
|
21
|
+
</script>
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
<script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
|
|
25
|
+
|
|
26
|
+
<script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
</head>
|
|
30
|
+
<body>
|
|
31
|
+
<div id="header">
|
|
32
|
+
<div id="menu">
|
|
33
|
+
|
|
34
|
+
<a href="../_index.html">Index (C)</a> »
|
|
35
|
+
<span class='title'><span class='object_link'><a href="../Sol.html" title="Sol (class)">Sol</a></span></span>
|
|
36
|
+
»
|
|
37
|
+
<span class="title">Chart</span>
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
<div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
|
|
41
|
+
</div>
|
|
42
|
+
|
|
43
|
+
<div id="search">
|
|
44
|
+
|
|
45
|
+
<a class="full_list_link" id="class_list_link"
|
|
46
|
+
href="../class_list.html">
|
|
47
|
+
Class List
|
|
48
|
+
</a>
|
|
49
|
+
|
|
50
|
+
<a class="full_list_link" id="method_list_link"
|
|
51
|
+
href="../method_list.html">
|
|
52
|
+
Method List
|
|
53
|
+
</a>
|
|
54
|
+
|
|
55
|
+
<a class="full_list_link" id="file_list_link"
|
|
56
|
+
href="../file_list.html">
|
|
57
|
+
File List
|
|
58
|
+
</a>
|
|
59
|
+
|
|
60
|
+
</div>
|
|
61
|
+
<div class="clear"></div>
|
|
62
|
+
</div>
|
|
63
|
+
|
|
64
|
+
<iframe id="search_frame"></iframe>
|
|
65
|
+
|
|
66
|
+
<div id="content"><h1>Class: Sol::Chart
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
</h1>
|
|
71
|
+
|
|
72
|
+
<dl class="box">
|
|
73
|
+
|
|
74
|
+
<dt class="r1">Inherits:</dt>
|
|
75
|
+
<dd class="r1">
|
|
76
|
+
<span class="inheritName">Object</span>
|
|
77
|
+
|
|
78
|
+
<ul class="fullTree">
|
|
79
|
+
<li>Object</li>
|
|
80
|
+
|
|
81
|
+
<li class="next">Sol::Chart</li>
|
|
82
|
+
|
|
83
|
+
</ul>
|
|
84
|
+
<a href="#" class="inheritanceTree">show all</a>
|
|
85
|
+
|
|
86
|
+
</dd>
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
<dt class="r2">Includes:</dt>
|
|
94
|
+
<dd class="r2"><span class='object_link'><a href="BaseChart.html" title="Sol::BaseChart (module)">BaseChart</a></span></dd>
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
<dt class="r1 last">Defined in:</dt>
|
|
101
|
+
<dd class="r1 last">lib/webview/chart.rb</dd>
|
|
102
|
+
|
|
103
|
+
</dl>
|
|
104
|
+
<div class="clear"></div>
|
|
105
|
+
|
|
106
|
+
<h2>Overview</h2><div class="docstring">
|
|
107
|
+
<div class="discussion">
|
|
108
|
+
|
|
109
|
+
<h6 id="label-"></h6>
|
|
110
|
+
|
|
111
|
+
<h6 id="label-"></h6>
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
</div>
|
|
115
|
+
</div>
|
|
116
|
+
<div class="tags">
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
</div><div id="subclasses">
|
|
120
|
+
<h2>Direct Known Subclasses</h2>
|
|
121
|
+
<p class="children"><span class='object_link'><a href="BarChart.html" title="Sol::BarChart (class)">BarChart</a></span>, <span class='object_link'><a href="LineChart.html" title="Sol::LineChart (class)">LineChart</a></span></p>
|
|
122
|
+
</div>
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
<h2>Class Attribute Summary <small>(<a href="#" class="summary_toggle">collapse</a>)</small></h2>
|
|
128
|
+
<ul class="summary">
|
|
129
|
+
|
|
130
|
+
<li class="public ">
|
|
131
|
+
<span class="summary_signature">
|
|
132
|
+
|
|
133
|
+
<a href="#chart_map-class_method" title="chart_map (class method)">+ (Object) <strong>chart_map</strong> </a>
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
</span>
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
|
|
142
|
+
<span class="note title readonly">readonly</span>
|
|
143
|
+
|
|
144
|
+
|
|
145
|
+
|
|
146
|
+
|
|
147
|
+
|
|
148
|
+
|
|
149
|
+
|
|
150
|
+
|
|
151
|
+
|
|
152
|
+
<span class="summary_desc"><div class='inline'>
|
|
153
|
+
<p>Returns the value of attribute chart_map.</p>
|
|
154
|
+
</div></span>
|
|
155
|
+
|
|
156
|
+
</li>
|
|
157
|
+
|
|
158
|
+
|
|
159
|
+
</ul>
|
|
160
|
+
|
|
161
|
+
<h2>Instance Attribute Summary <small>(<a href="#" class="summary_toggle">collapse</a>)</small></h2>
|
|
162
|
+
<ul class="summary">
|
|
163
|
+
|
|
164
|
+
<li class="public ">
|
|
165
|
+
<span class="summary_signature">
|
|
166
|
+
|
|
167
|
+
<a href="#dim-instance_method" title="#dim (instance method)">- (Object) <strong>dim</strong> </a>
|
|
168
|
+
|
|
169
|
+
|
|
170
|
+
|
|
171
|
+
</span>
|
|
172
|
+
|
|
173
|
+
|
|
174
|
+
|
|
175
|
+
|
|
176
|
+
<span class="note title readonly">readonly</span>
|
|
177
|
+
|
|
178
|
+
|
|
179
|
+
|
|
180
|
+
|
|
181
|
+
|
|
182
|
+
|
|
183
|
+
|
|
184
|
+
|
|
185
|
+
|
|
186
|
+
<span class="summary_desc"><div class='inline'>
|
|
187
|
+
<p>Returns the value of attribute dim.</p>
|
|
188
|
+
</div></span>
|
|
189
|
+
|
|
190
|
+
</li>
|
|
191
|
+
|
|
192
|
+
|
|
193
|
+
<li class="public ">
|
|
194
|
+
<span class="summary_signature">
|
|
195
|
+
|
|
196
|
+
<a href="#jstype-instance_method" title="#jstype (instance method)">- (Object) <strong>jstype</strong> </a>
|
|
197
|
+
|
|
198
|
+
|
|
199
|
+
|
|
200
|
+
</span>
|
|
201
|
+
|
|
202
|
+
|
|
203
|
+
|
|
204
|
+
|
|
205
|
+
<span class="note title readonly">readonly</span>
|
|
206
|
+
|
|
207
|
+
|
|
208
|
+
|
|
209
|
+
|
|
210
|
+
|
|
211
|
+
|
|
212
|
+
|
|
213
|
+
|
|
214
|
+
|
|
215
|
+
<span class="summary_desc"><div class='inline'>
|
|
216
|
+
<p>Returns the value of attribute jstype.</p>
|
|
217
|
+
</div></span>
|
|
218
|
+
|
|
219
|
+
</li>
|
|
220
|
+
|
|
221
|
+
|
|
222
|
+
<li class="public ">
|
|
223
|
+
<span class="summary_signature">
|
|
224
|
+
|
|
225
|
+
<a href="#name-instance_method" title="#name (instance method)">- (Object) <strong>name</strong> </a>
|
|
226
|
+
|
|
227
|
+
|
|
228
|
+
|
|
229
|
+
</span>
|
|
230
|
+
|
|
231
|
+
|
|
232
|
+
|
|
233
|
+
|
|
234
|
+
<span class="note title readonly">readonly</span>
|
|
235
|
+
|
|
236
|
+
|
|
237
|
+
|
|
238
|
+
|
|
239
|
+
|
|
240
|
+
|
|
241
|
+
|
|
242
|
+
|
|
243
|
+
|
|
244
|
+
<span class="summary_desc"><div class='inline'>
|
|
245
|
+
<p>Returns the value of attribute name.</p>
|
|
246
|
+
</div></span>
|
|
247
|
+
|
|
248
|
+
</li>
|
|
249
|
+
|
|
250
|
+
|
|
251
|
+
<li class="public ">
|
|
252
|
+
<span class="summary_signature">
|
|
253
|
+
|
|
254
|
+
<a href="#properties-instance_method" title="#properties (instance method)">- (Object) <strong>properties</strong> </a>
|
|
255
|
+
|
|
256
|
+
|
|
257
|
+
|
|
258
|
+
</span>
|
|
259
|
+
|
|
260
|
+
|
|
261
|
+
|
|
262
|
+
|
|
263
|
+
<span class="note title readonly">readonly</span>
|
|
264
|
+
|
|
265
|
+
|
|
266
|
+
|
|
267
|
+
|
|
268
|
+
|
|
269
|
+
|
|
270
|
+
|
|
271
|
+
|
|
272
|
+
|
|
273
|
+
<span class="summary_desc"><div class='inline'>
|
|
274
|
+
<p>Returns the value of attribute properties.</p>
|
|
275
|
+
</div></span>
|
|
276
|
+
|
|
277
|
+
</li>
|
|
278
|
+
|
|
279
|
+
|
|
280
|
+
<li class="public ">
|
|
281
|
+
<span class="summary_signature">
|
|
282
|
+
|
|
283
|
+
<a href="#spot-instance_method" title="#spot (instance method)">- (Object) <strong>spot</strong> </a>
|
|
284
|
+
|
|
285
|
+
|
|
286
|
+
|
|
287
|
+
</span>
|
|
288
|
+
|
|
289
|
+
|
|
290
|
+
|
|
291
|
+
|
|
292
|
+
<span class="note title readonly">readonly</span>
|
|
293
|
+
|
|
294
|
+
|
|
295
|
+
|
|
296
|
+
|
|
297
|
+
|
|
298
|
+
|
|
299
|
+
|
|
300
|
+
|
|
301
|
+
|
|
302
|
+
<span class="summary_desc"><div class='inline'>
|
|
303
|
+
<p>Returns the value of attribute spot.</p>
|
|
304
|
+
</div></span>
|
|
305
|
+
|
|
306
|
+
</li>
|
|
307
|
+
|
|
308
|
+
|
|
309
|
+
<li class="public ">
|
|
310
|
+
<span class="summary_signature">
|
|
311
|
+
|
|
312
|
+
<a href="#type-instance_method" title="#type (instance method)">- (Object) <strong>type</strong> </a>
|
|
313
|
+
|
|
314
|
+
|
|
315
|
+
|
|
316
|
+
</span>
|
|
317
|
+
|
|
318
|
+
|
|
319
|
+
|
|
320
|
+
|
|
321
|
+
<span class="note title readonly">readonly</span>
|
|
322
|
+
|
|
323
|
+
|
|
324
|
+
|
|
325
|
+
|
|
326
|
+
|
|
327
|
+
|
|
328
|
+
|
|
329
|
+
|
|
330
|
+
|
|
331
|
+
<span class="summary_desc"><div class='inline'>
|
|
332
|
+
<p>Returns the value of attribute type.</p>
|
|
333
|
+
</div></span>
|
|
334
|
+
|
|
335
|
+
</li>
|
|
336
|
+
|
|
337
|
+
|
|
338
|
+
<li class="public ">
|
|
339
|
+
<span class="summary_signature">
|
|
340
|
+
|
|
341
|
+
<a href="#y_column-instance_method" title="#y_column (instance method)">- (Object) <strong>y_column</strong> </a>
|
|
342
|
+
|
|
343
|
+
|
|
344
|
+
|
|
345
|
+
</span>
|
|
346
|
+
|
|
347
|
+
|
|
348
|
+
|
|
349
|
+
|
|
350
|
+
<span class="note title readonly">readonly</span>
|
|
351
|
+
|
|
352
|
+
|
|
353
|
+
|
|
354
|
+
|
|
355
|
+
|
|
356
|
+
|
|
357
|
+
|
|
358
|
+
|
|
359
|
+
|
|
360
|
+
<span class="summary_desc"><div class='inline'>
|
|
361
|
+
<p>Returns the value of attribute y_column.</p>
|
|
362
|
+
</div></span>
|
|
363
|
+
|
|
364
|
+
</li>
|
|
365
|
+
|
|
366
|
+
|
|
367
|
+
</ul>
|
|
368
|
+
|
|
369
|
+
|
|
370
|
+
|
|
371
|
+
|
|
372
|
+
|
|
373
|
+
<h2>
|
|
374
|
+
Class Method Summary
|
|
375
|
+
<small>(<a href="#" class="summary_toggle">collapse</a>)</small>
|
|
376
|
+
</h2>
|
|
377
|
+
|
|
378
|
+
<ul class="summary">
|
|
379
|
+
|
|
380
|
+
<li class="public ">
|
|
381
|
+
<span class="summary_signature">
|
|
382
|
+
|
|
383
|
+
<a href="#build-class_method" title="build (class method)">+ (Object) <strong>build</strong>(type, x_column, y_column, name) </a>
|
|
384
|
+
|
|
385
|
+
|
|
386
|
+
|
|
387
|
+
</span>
|
|
388
|
+
|
|
389
|
+
|
|
390
|
+
|
|
391
|
+
|
|
392
|
+
|
|
393
|
+
|
|
394
|
+
|
|
395
|
+
|
|
396
|
+
|
|
397
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
|
398
|
+
|
|
399
|
+
</li>
|
|
400
|
+
|
|
401
|
+
|
|
402
|
+
</ul>
|
|
403
|
+
|
|
404
|
+
<h2>
|
|
405
|
+
Instance Method Summary
|
|
406
|
+
<small>(<a href="#" class="summary_toggle">collapse</a>)</small>
|
|
407
|
+
</h2>
|
|
408
|
+
|
|
409
|
+
<ul class="summary">
|
|
410
|
+
|
|
411
|
+
<li class="public ">
|
|
412
|
+
<span class="summary_signature">
|
|
413
|
+
|
|
414
|
+
<a href="#header-instance_method" title="#header (instance method)">- (Object) <strong>header</strong> </a>
|
|
415
|
+
|
|
416
|
+
|
|
417
|
+
|
|
418
|
+
</span>
|
|
419
|
+
|
|
420
|
+
|
|
421
|
+
|
|
422
|
+
|
|
423
|
+
|
|
424
|
+
|
|
425
|
+
|
|
426
|
+
|
|
427
|
+
|
|
428
|
+
<span class="summary_desc"><div class='inline'>
|
|
429
|
+
<p>------------------------------------------------------------------------------------.</p>
|
|
430
|
+
</div></span>
|
|
431
|
+
|
|
432
|
+
</li>
|
|
433
|
+
|
|
434
|
+
|
|
435
|
+
<li class="public ">
|
|
436
|
+
<span class="summary_signature">
|
|
437
|
+
|
|
438
|
+
<a href="#initialize-instance_method" title="#initialize (instance method)">- (Chart) <strong>initialize</strong>(type, x_column, y_column, name) </a>
|
|
439
|
+
|
|
440
|
+
|
|
441
|
+
|
|
442
|
+
</span>
|
|
443
|
+
|
|
444
|
+
|
|
445
|
+
<span class="note title constructor">constructor</span>
|
|
446
|
+
|
|
447
|
+
|
|
448
|
+
|
|
449
|
+
|
|
450
|
+
|
|
451
|
+
|
|
452
|
+
|
|
453
|
+
|
|
454
|
+
<span class="summary_desc"><div class='inline'>
|
|
455
|
+
<p>------------------------------------------------------------------------------------.</p>
|
|
456
|
+
</div></span>
|
|
457
|
+
|
|
458
|
+
</li>
|
|
459
|
+
|
|
460
|
+
|
|
461
|
+
<li class="public ">
|
|
462
|
+
<span class="summary_signature">
|
|
463
|
+
|
|
464
|
+
<a href="#js_spec-instance_method" title="#js_spec (instance method)">- (Object) <strong>js_spec</strong> </a>
|
|
465
|
+
|
|
466
|
+
|
|
467
|
+
|
|
468
|
+
</span>
|
|
469
|
+
|
|
470
|
+
|
|
471
|
+
|
|
472
|
+
|
|
473
|
+
|
|
474
|
+
|
|
475
|
+
|
|
476
|
+
|
|
477
|
+
|
|
478
|
+
<span class="summary_desc"><div class='inline'>
|
|
479
|
+
<p>------------------------------------------------------------------------------------.</p>
|
|
480
|
+
</div></span>
|
|
481
|
+
|
|
482
|
+
</li>
|
|
483
|
+
|
|
484
|
+
|
|
485
|
+
<li class="public ">
|
|
486
|
+
<span class="summary_signature">
|
|
487
|
+
|
|
488
|
+
<a href="#props-instance_method" title="#props (instance method)">- (Object) <strong>props</strong> </a>
|
|
489
|
+
|
|
490
|
+
|
|
491
|
+
|
|
492
|
+
</span>
|
|
493
|
+
|
|
494
|
+
|
|
495
|
+
|
|
496
|
+
|
|
497
|
+
|
|
498
|
+
|
|
499
|
+
|
|
500
|
+
|
|
501
|
+
|
|
502
|
+
<span class="summary_desc"><div class='inline'>
|
|
503
|
+
<p>------------------------------------------------------------------------------------.</p>
|
|
504
|
+
</div></span>
|
|
505
|
+
|
|
506
|
+
</li>
|
|
507
|
+
|
|
508
|
+
|
|
509
|
+
</ul>
|
|
510
|
+
|
|
511
|
+
|
|
512
|
+
|
|
513
|
+
|
|
514
|
+
|
|
515
|
+
|
|
516
|
+
|
|
517
|
+
|
|
518
|
+
|
|
519
|
+
|
|
520
|
+
|
|
521
|
+
<h3 class="inherited">Methods included from <span class='object_link'><a href="BaseChart.html" title="Sol::BaseChart (module)">BaseChart</a></span></h3>
|
|
522
|
+
<p class="inherited"><span class='object_link'><a href="BaseChart.html#data-instance_method" title="Sol::BaseChart#data (method)">#data</a></span>, <span class='object_link'><a href="BaseChart.html#dimension-instance_method" title="Sol::BaseChart#dimension (method)">#dimension</a></span>, <span class='object_link'><a href="BaseChart.html#group-instance_method" title="Sol::BaseChart#group (method)">#group</a></span>, <span class='object_link'><a href="BaseChart.html#grouped%3F-instance_method" title="Sol::BaseChart#grouped? (method)">#grouped?</a></span>, <span class='object_link'><a href="BaseChart.html#height-instance_method" title="Sol::BaseChart#height (method)">#height</a></span>, <span class='object_link'><a href="BaseChart.html#min_height-instance_method" title="Sol::BaseChart#min_height (method)">#min_height</a></span>, <span class='object_link'><a href="BaseChart.html#min_width-instance_method" title="Sol::BaseChart#min_width (method)">#min_width</a></span>, <span class='object_link'><a href="BaseChart.html#transition_duration-instance_method" title="Sol::BaseChart#transition_duration (method)">#transition_duration</a></span>, <span class='object_link'><a href="BaseChart.html#width-instance_method" title="Sol::BaseChart#width (method)">#width</a></span></p>
|
|
523
|
+
<div id="constructor_details" class="method_details_list">
|
|
524
|
+
<h2>Constructor Details</h2>
|
|
525
|
+
|
|
526
|
+
<div class="method_details first">
|
|
527
|
+
<h3 class="signature first" id="initialize-instance_method">
|
|
528
|
+
|
|
529
|
+
- (<tt><span class='object_link'><a href="" title="Sol::Chart (class)">Chart</a></span></tt>) <strong>initialize</strong>(type, x_column, y_column, name)
|
|
530
|
+
|
|
531
|
+
|
|
532
|
+
|
|
533
|
+
|
|
534
|
+
|
|
535
|
+
</h3><div class="docstring">
|
|
536
|
+
<div class="discussion">
|
|
537
|
+
<hr>
|
|
538
|
+
<hr>
|
|
539
|
+
|
|
540
|
+
|
|
541
|
+
</div>
|
|
542
|
+
</div>
|
|
543
|
+
<div class="tags">
|
|
544
|
+
|
|
545
|
+
|
|
546
|
+
</div><table class="source_code">
|
|
547
|
+
<tr>
|
|
548
|
+
<td>
|
|
549
|
+
<pre class="lines">
|
|
550
|
+
|
|
551
|
+
|
|
552
|
+
78
|
|
553
|
+
79
|
|
554
|
+
80
|
|
555
|
+
81
|
|
556
|
+
82
|
|
557
|
+
83
|
|
558
|
+
84
|
|
559
|
+
85
|
|
560
|
+
86
|
|
561
|
+
87
|
|
562
|
+
88
|
|
563
|
+
89
|
|
564
|
+
90</pre>
|
|
565
|
+
</td>
|
|
566
|
+
<td>
|
|
567
|
+
<pre class="code"><span class="info file"># File 'lib/webview/chart.rb', line 78</span>
|
|
568
|
+
|
|
569
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_type'>type</span><span class='comma'>,</span> <span class='id identifier rubyid_x_column'>x_column</span><span class='comma'>,</span> <span class='id identifier rubyid_y_column'>y_column</span><span class='comma'>,</span> <span class='id identifier rubyid_name'>name</span><span class='rparen'>)</span>
|
|
570
|
+
|
|
571
|
+
<span class='ivar'>@type</span> <span class='op'>=</span> <span class='id identifier rubyid_type'>type</span>
|
|
572
|
+
<span class='ivar'>@dim</span> <span class='op'>=</span> <span class='id identifier rubyid_x_column'>x_column</span> <span class='op'>+</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>Dimension</span><span class='tstring_end'>"</span></span>
|
|
573
|
+
<span class='ivar'>@jstype</span> <span class='op'>=</span> <span class='const'>Chart</span><span class='period'>.</span><span class='id identifier rubyid_chart_map'>chart_map</span><span class='lbracket'>[</span><span class='id identifier rubyid_type'>type</span><span class='rbracket'>]</span>
|
|
574
|
+
<span class='ivar'>@y_column</span> <span class='op'>=</span> <span class='id identifier rubyid_y_column'>y_column</span>
|
|
575
|
+
<span class='ivar'>@name</span> <span class='op'>=</span> <span class='id identifier rubyid_name'>name</span>
|
|
576
|
+
<span class='ivar'>@spot</span> <span class='op'>=</span> <span class='id identifier rubyid_name'>name</span> <span class='op'>+</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>Chart</span><span class='tstring_end'>"</span></span>
|
|
577
|
+
<span class='ivar'>@properties</span> <span class='op'>=</span> <span class='const'>Hash</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span>
|
|
578
|
+
|
|
579
|
+
<span class='id identifier rubyid_dimension'>dimension</span><span class='lparen'>(</span><span class='const'>Sol</span><span class='period'>.</span><span class='id identifier rubyid_camelcase'>camelcase</span><span class='lparen'>(</span><span class='ivar'>@dim</span><span class='period'>.</span><span class='id identifier rubyid_to_s'>to_s</span><span class='rparen'>)</span><span class='rparen'>)</span>
|
|
580
|
+
|
|
581
|
+
<span class='kw'>end</span></pre>
|
|
582
|
+
</td>
|
|
583
|
+
</tr>
|
|
584
|
+
</table>
|
|
585
|
+
</div>
|
|
586
|
+
|
|
587
|
+
</div>
|
|
588
|
+
|
|
589
|
+
<div id="class_attr_details" class="attr_details">
|
|
590
|
+
<h2>Class Attribute Details</h2>
|
|
591
|
+
|
|
592
|
+
|
|
593
|
+
<span id=""></span>
|
|
594
|
+
<div class="method_details first">
|
|
595
|
+
<h3 class="signature first" id="chart_map-class_method">
|
|
596
|
+
|
|
597
|
+
+ (<tt>Object</tt>) <strong>chart_map</strong> <span class="extras">(readonly)</span>
|
|
598
|
+
|
|
599
|
+
|
|
600
|
+
|
|
601
|
+
|
|
602
|
+
|
|
603
|
+
</h3><div class="docstring">
|
|
604
|
+
<div class="discussion">
|
|
605
|
+
|
|
606
|
+
<p>Returns the value of attribute chart_map</p>
|
|
607
|
+
|
|
608
|
+
|
|
609
|
+
</div>
|
|
610
|
+
</div>
|
|
611
|
+
<div class="tags">
|
|
612
|
+
|
|
613
|
+
|
|
614
|
+
</div><table class="source_code">
|
|
615
|
+
<tr>
|
|
616
|
+
<td>
|
|
617
|
+
<pre class="lines">
|
|
618
|
+
|
|
619
|
+
|
|
620
|
+
60
|
|
621
|
+
61
|
|
622
|
+
62</pre>
|
|
623
|
+
</td>
|
|
624
|
+
<td>
|
|
625
|
+
<pre class="code"><span class="info file"># File 'lib/webview/chart.rb', line 60</span>
|
|
626
|
+
|
|
627
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_chart_map'>chart_map</span>
|
|
628
|
+
<span class='ivar'>@chart_map</span>
|
|
629
|
+
<span class='kw'>end</span></pre>
|
|
630
|
+
</td>
|
|
631
|
+
</tr>
|
|
632
|
+
</table>
|
|
633
|
+
</div>
|
|
634
|
+
|
|
635
|
+
</div>
|
|
636
|
+
|
|
637
|
+
<div id="instance_attr_details" class="attr_details">
|
|
638
|
+
<h2>Instance Attribute Details</h2>
|
|
639
|
+
|
|
640
|
+
|
|
641
|
+
<span id=""></span>
|
|
642
|
+
<div class="method_details first">
|
|
643
|
+
<h3 class="signature first" id="dim-instance_method">
|
|
644
|
+
|
|
645
|
+
- (<tt>Object</tt>) <strong>dim</strong> <span class="extras">(readonly)</span>
|
|
646
|
+
|
|
647
|
+
|
|
648
|
+
|
|
649
|
+
|
|
650
|
+
|
|
651
|
+
</h3><div class="docstring">
|
|
652
|
+
<div class="discussion">
|
|
653
|
+
|
|
654
|
+
<p>Returns the value of attribute dim</p>
|
|
655
|
+
|
|
656
|
+
|
|
657
|
+
</div>
|
|
658
|
+
</div>
|
|
659
|
+
<div class="tags">
|
|
660
|
+
|
|
661
|
+
|
|
662
|
+
</div><table class="source_code">
|
|
663
|
+
<tr>
|
|
664
|
+
<td>
|
|
665
|
+
<pre class="lines">
|
|
666
|
+
|
|
667
|
+
|
|
668
|
+
66
|
|
669
|
+
67
|
|
670
|
+
68</pre>
|
|
671
|
+
</td>
|
|
672
|
+
<td>
|
|
673
|
+
<pre class="code"><span class="info file"># File 'lib/webview/chart.rb', line 66</span>
|
|
674
|
+
|
|
675
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_dim'>dim</span>
|
|
676
|
+
<span class='ivar'>@dim</span>
|
|
677
|
+
<span class='kw'>end</span></pre>
|
|
678
|
+
</td>
|
|
679
|
+
</tr>
|
|
680
|
+
</table>
|
|
681
|
+
</div>
|
|
682
|
+
|
|
683
|
+
|
|
684
|
+
<span id=""></span>
|
|
685
|
+
<div class="method_details ">
|
|
686
|
+
<h3 class="signature " id="jstype-instance_method">
|
|
687
|
+
|
|
688
|
+
- (<tt>Object</tt>) <strong>jstype</strong> <span class="extras">(readonly)</span>
|
|
689
|
+
|
|
690
|
+
|
|
691
|
+
|
|
692
|
+
|
|
693
|
+
|
|
694
|
+
</h3><div class="docstring">
|
|
695
|
+
<div class="discussion">
|
|
696
|
+
|
|
697
|
+
<p>Returns the value of attribute jstype</p>
|
|
698
|
+
|
|
699
|
+
|
|
700
|
+
</div>
|
|
701
|
+
</div>
|
|
702
|
+
<div class="tags">
|
|
703
|
+
|
|
704
|
+
|
|
705
|
+
</div><table class="source_code">
|
|
706
|
+
<tr>
|
|
707
|
+
<td>
|
|
708
|
+
<pre class="lines">
|
|
709
|
+
|
|
710
|
+
|
|
711
|
+
67
|
|
712
|
+
68
|
|
713
|
+
69</pre>
|
|
714
|
+
</td>
|
|
715
|
+
<td>
|
|
716
|
+
<pre class="code"><span class="info file"># File 'lib/webview/chart.rb', line 67</span>
|
|
717
|
+
|
|
718
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_jstype'>jstype</span>
|
|
719
|
+
<span class='ivar'>@jstype</span>
|
|
720
|
+
<span class='kw'>end</span></pre>
|
|
721
|
+
</td>
|
|
722
|
+
</tr>
|
|
723
|
+
</table>
|
|
724
|
+
</div>
|
|
725
|
+
|
|
726
|
+
|
|
727
|
+
<span id=""></span>
|
|
728
|
+
<div class="method_details ">
|
|
729
|
+
<h3 class="signature " id="name-instance_method">
|
|
730
|
+
|
|
731
|
+
- (<tt>Object</tt>) <strong>name</strong> <span class="extras">(readonly)</span>
|
|
732
|
+
|
|
733
|
+
|
|
734
|
+
|
|
735
|
+
|
|
736
|
+
|
|
737
|
+
</h3><div class="docstring">
|
|
738
|
+
<div class="discussion">
|
|
739
|
+
|
|
740
|
+
<p>Returns the value of attribute name</p>
|
|
741
|
+
|
|
742
|
+
|
|
743
|
+
</div>
|
|
744
|
+
</div>
|
|
745
|
+
<div class="tags">
|
|
746
|
+
|
|
747
|
+
|
|
748
|
+
</div><table class="source_code">
|
|
749
|
+
<tr>
|
|
750
|
+
<td>
|
|
751
|
+
<pre class="lines">
|
|
752
|
+
|
|
753
|
+
|
|
754
|
+
68
|
|
755
|
+
69
|
|
756
|
+
70</pre>
|
|
757
|
+
</td>
|
|
758
|
+
<td>
|
|
759
|
+
<pre class="code"><span class="info file"># File 'lib/webview/chart.rb', line 68</span>
|
|
760
|
+
|
|
761
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_name'>name</span>
|
|
762
|
+
<span class='ivar'>@name</span>
|
|
763
|
+
<span class='kw'>end</span></pre>
|
|
764
|
+
</td>
|
|
765
|
+
</tr>
|
|
766
|
+
</table>
|
|
767
|
+
</div>
|
|
768
|
+
|
|
769
|
+
|
|
770
|
+
<span id=""></span>
|
|
771
|
+
<div class="method_details ">
|
|
772
|
+
<h3 class="signature " id="properties-instance_method">
|
|
773
|
+
|
|
774
|
+
- (<tt>Object</tt>) <strong>properties</strong> <span class="extras">(readonly)</span>
|
|
775
|
+
|
|
776
|
+
|
|
777
|
+
|
|
778
|
+
|
|
779
|
+
|
|
780
|
+
</h3><div class="docstring">
|
|
781
|
+
<div class="discussion">
|
|
782
|
+
|
|
783
|
+
<p>Returns the value of attribute properties</p>
|
|
784
|
+
|
|
785
|
+
|
|
786
|
+
</div>
|
|
787
|
+
</div>
|
|
788
|
+
<div class="tags">
|
|
789
|
+
|
|
790
|
+
|
|
791
|
+
</div><table class="source_code">
|
|
792
|
+
<tr>
|
|
793
|
+
<td>
|
|
794
|
+
<pre class="lines">
|
|
795
|
+
|
|
796
|
+
|
|
797
|
+
72
|
|
798
|
+
73
|
|
799
|
+
74</pre>
|
|
800
|
+
</td>
|
|
801
|
+
<td>
|
|
802
|
+
<pre class="code"><span class="info file"># File 'lib/webview/chart.rb', line 72</span>
|
|
803
|
+
|
|
804
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_properties'>properties</span>
|
|
805
|
+
<span class='ivar'>@properties</span>
|
|
806
|
+
<span class='kw'>end</span></pre>
|
|
807
|
+
</td>
|
|
808
|
+
</tr>
|
|
809
|
+
</table>
|
|
810
|
+
</div>
|
|
811
|
+
|
|
812
|
+
|
|
813
|
+
<span id=""></span>
|
|
814
|
+
<div class="method_details ">
|
|
815
|
+
<h3 class="signature " id="spot-instance_method">
|
|
816
|
+
|
|
817
|
+
- (<tt>Object</tt>) <strong>spot</strong> <span class="extras">(readonly)</span>
|
|
818
|
+
|
|
819
|
+
|
|
820
|
+
|
|
821
|
+
|
|
822
|
+
|
|
823
|
+
</h3><div class="docstring">
|
|
824
|
+
<div class="discussion">
|
|
825
|
+
|
|
826
|
+
<p>Returns the value of attribute spot</p>
|
|
827
|
+
|
|
828
|
+
|
|
829
|
+
</div>
|
|
830
|
+
</div>
|
|
831
|
+
<div class="tags">
|
|
832
|
+
|
|
833
|
+
|
|
834
|
+
</div><table class="source_code">
|
|
835
|
+
<tr>
|
|
836
|
+
<td>
|
|
837
|
+
<pre class="lines">
|
|
838
|
+
|
|
839
|
+
|
|
840
|
+
71
|
|
841
|
+
72
|
|
842
|
+
73</pre>
|
|
843
|
+
</td>
|
|
844
|
+
<td>
|
|
845
|
+
<pre class="code"><span class="info file"># File 'lib/webview/chart.rb', line 71</span>
|
|
846
|
+
|
|
847
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_spot'>spot</span>
|
|
848
|
+
<span class='ivar'>@spot</span>
|
|
849
|
+
<span class='kw'>end</span></pre>
|
|
850
|
+
</td>
|
|
851
|
+
</tr>
|
|
852
|
+
</table>
|
|
853
|
+
</div>
|
|
854
|
+
|
|
855
|
+
|
|
856
|
+
<span id=""></span>
|
|
857
|
+
<div class="method_details ">
|
|
858
|
+
<h3 class="signature " id="type-instance_method">
|
|
859
|
+
|
|
860
|
+
- (<tt>Object</tt>) <strong>type</strong> <span class="extras">(readonly)</span>
|
|
861
|
+
|
|
862
|
+
|
|
863
|
+
|
|
864
|
+
|
|
865
|
+
|
|
866
|
+
</h3><div class="docstring">
|
|
867
|
+
<div class="discussion">
|
|
868
|
+
|
|
869
|
+
<p>Returns the value of attribute type</p>
|
|
870
|
+
|
|
871
|
+
|
|
872
|
+
</div>
|
|
873
|
+
</div>
|
|
874
|
+
<div class="tags">
|
|
875
|
+
|
|
876
|
+
|
|
877
|
+
</div><table class="source_code">
|
|
878
|
+
<tr>
|
|
879
|
+
<td>
|
|
880
|
+
<pre class="lines">
|
|
881
|
+
|
|
882
|
+
|
|
883
|
+
65
|
|
884
|
+
66
|
|
885
|
+
67</pre>
|
|
886
|
+
</td>
|
|
887
|
+
<td>
|
|
888
|
+
<pre class="code"><span class="info file"># File 'lib/webview/chart.rb', line 65</span>
|
|
889
|
+
|
|
890
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_type'>type</span>
|
|
891
|
+
<span class='ivar'>@type</span>
|
|
892
|
+
<span class='kw'>end</span></pre>
|
|
893
|
+
</td>
|
|
894
|
+
</tr>
|
|
895
|
+
</table>
|
|
896
|
+
</div>
|
|
897
|
+
|
|
898
|
+
|
|
899
|
+
<span id=""></span>
|
|
900
|
+
<div class="method_details ">
|
|
901
|
+
<h3 class="signature " id="y_column-instance_method">
|
|
902
|
+
|
|
903
|
+
- (<tt>Object</tt>) <strong>y_column</strong> <span class="extras">(readonly)</span>
|
|
904
|
+
|
|
905
|
+
|
|
906
|
+
|
|
907
|
+
|
|
908
|
+
|
|
909
|
+
</h3><div class="docstring">
|
|
910
|
+
<div class="discussion">
|
|
911
|
+
|
|
912
|
+
<p>Returns the value of attribute y_column</p>
|
|
913
|
+
|
|
914
|
+
|
|
915
|
+
</div>
|
|
916
|
+
</div>
|
|
917
|
+
<div class="tags">
|
|
918
|
+
|
|
919
|
+
|
|
920
|
+
</div><table class="source_code">
|
|
921
|
+
<tr>
|
|
922
|
+
<td>
|
|
923
|
+
<pre class="lines">
|
|
924
|
+
|
|
925
|
+
|
|
926
|
+
69
|
|
927
|
+
70
|
|
928
|
+
71</pre>
|
|
929
|
+
</td>
|
|
930
|
+
<td>
|
|
931
|
+
<pre class="code"><span class="info file"># File 'lib/webview/chart.rb', line 69</span>
|
|
932
|
+
|
|
933
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_y_column'>y_column</span>
|
|
934
|
+
<span class='ivar'>@y_column</span>
|
|
935
|
+
<span class='kw'>end</span></pre>
|
|
936
|
+
</td>
|
|
937
|
+
</tr>
|
|
938
|
+
</table>
|
|
939
|
+
</div>
|
|
940
|
+
|
|
941
|
+
</div>
|
|
942
|
+
|
|
943
|
+
|
|
944
|
+
<div id="class_method_details" class="method_details_list">
|
|
945
|
+
<h2>Class Method Details</h2>
|
|
946
|
+
|
|
947
|
+
|
|
948
|
+
<div class="method_details first">
|
|
949
|
+
<h3 class="signature first" id="build-class_method">
|
|
950
|
+
|
|
951
|
+
+ (<tt>Object</tt>) <strong>build</strong>(type, x_column, y_column, name)
|
|
952
|
+
|
|
953
|
+
|
|
954
|
+
|
|
955
|
+
|
|
956
|
+
|
|
957
|
+
</h3><table class="source_code">
|
|
958
|
+
<tr>
|
|
959
|
+
<td>
|
|
960
|
+
<pre class="lines">
|
|
961
|
+
|
|
962
|
+
|
|
963
|
+
43
|
|
964
|
+
44
|
|
965
|
+
45
|
|
966
|
+
46
|
|
967
|
+
47
|
|
968
|
+
48
|
|
969
|
+
49
|
|
970
|
+
50
|
|
971
|
+
51
|
|
972
|
+
52
|
|
973
|
+
53</pre>
|
|
974
|
+
</td>
|
|
975
|
+
<td>
|
|
976
|
+
<pre class="code"><span class="info file"># File 'lib/webview/chart.rb', line 43</span>
|
|
977
|
+
|
|
978
|
+
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_build'>build</span><span class='lparen'>(</span><span class='id identifier rubyid_type'>type</span><span class='comma'>,</span> <span class='id identifier rubyid_x_column'>x_column</span><span class='comma'>,</span> <span class='id identifier rubyid_y_column'>y_column</span><span class='comma'>,</span> <span class='id identifier rubyid_name'>name</span><span class='rparen'>)</span>
|
|
979
|
+
<span class='kw'>case</span> <span class='id identifier rubyid_type'>type</span>
|
|
980
|
+
<span class='kw'>when</span> <span class='symbol'>:line_chart</span>
|
|
981
|
+
<span class='kw'>return</span> <span class='const'>LineChart</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_type'>type</span><span class='comma'>,</span> <span class='id identifier rubyid_x_column'>x_column</span><span class='comma'>,</span> <span class='id identifier rubyid_y_column'>y_column</span><span class='comma'>,</span> <span class='id identifier rubyid_name'>name</span><span class='rparen'>)</span>
|
|
982
|
+
<span class='kw'>when</span> <span class='symbol'>:bar_chart</span>
|
|
983
|
+
<span class='kw'>return</span> <span class='const'>BarChart</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_type'>type</span><span class='comma'>,</span> <span class='id identifier rubyid_x_column'>x_column</span><span class='comma'>,</span> <span class='id identifier rubyid_y_column'>y_column</span><span class='comma'>,</span> <span class='id identifier rubyid_name'>name</span><span class='rparen'>)</span>
|
|
984
|
+
<span class='kw'>else</span>
|
|
985
|
+
<span class='kw'>return</span> <span class='const'>Chart</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_type'>type</span><span class='comma'>,</span> <span class='id identifier rubyid_x_column'>x_column</span><span class='comma'>,</span> <span class='id identifier rubyid_y_column'>y_column</span><span class='comma'>,</span> <span class='id identifier rubyid_name'>name</span><span class='rparen'>)</span>
|
|
986
|
+
<span class='kw'>end</span>
|
|
987
|
+
|
|
988
|
+
<span class='kw'>end</span></pre>
|
|
989
|
+
</td>
|
|
990
|
+
</tr>
|
|
991
|
+
</table>
|
|
992
|
+
</div>
|
|
993
|
+
|
|
994
|
+
</div>
|
|
995
|
+
|
|
996
|
+
<div id="instance_method_details" class="method_details_list">
|
|
997
|
+
<h2>Instance Method Details</h2>
|
|
998
|
+
|
|
999
|
+
|
|
1000
|
+
<div class="method_details first">
|
|
1001
|
+
<h3 class="signature first" id="header-instance_method">
|
|
1002
|
+
|
|
1003
|
+
- (<tt>Object</tt>) <strong>header</strong>
|
|
1004
|
+
|
|
1005
|
+
|
|
1006
|
+
|
|
1007
|
+
|
|
1008
|
+
|
|
1009
|
+
</h3><div class="docstring">
|
|
1010
|
+
<div class="discussion">
|
|
1011
|
+
<hr>
|
|
1012
|
+
<hr>
|
|
1013
|
+
|
|
1014
|
+
|
|
1015
|
+
</div>
|
|
1016
|
+
</div>
|
|
1017
|
+
<div class="tags">
|
|
1018
|
+
|
|
1019
|
+
|
|
1020
|
+
</div><table class="source_code">
|
|
1021
|
+
<tr>
|
|
1022
|
+
<td>
|
|
1023
|
+
<pre class="lines">
|
|
1024
|
+
|
|
1025
|
+
|
|
1026
|
+
112
|
|
1027
|
+
113
|
|
1028
|
+
114
|
|
1029
|
+
115
|
|
1030
|
+
116
|
|
1031
|
+
117
|
|
1032
|
+
118
|
|
1033
|
+
119</pre>
|
|
1034
|
+
</td>
|
|
1035
|
+
<td>
|
|
1036
|
+
<pre class="code"><span class="info file"># File 'lib/webview/chart.rb', line 112</span>
|
|
1037
|
+
|
|
1038
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_header'>header</span>
|
|
1039
|
+
|
|
1040
|
+
<span class='heredoc_beg'><<EOS</span>
|
|
1041
|
+
<span class='tstring_content'>var </span><span class='embexpr_beg'>#{</span><span class='ivar'>@name</span><span class='rbrace'>}</span><span class='tstring_content'> = dc.</span><span class='embexpr_beg'>#{</span><span class='ivar'>@jstype</span><span class='rbrace'>}</span><span class='tstring_content'>(\"#</span><span class='embexpr_beg'>#{</span><span class='ivar'>@spot</span><span class='rbrace'>}</span><span class='tstring_content'>\");
|
|
1042
|
+
</span><span class='embexpr_beg'>#{</span><span class='ivar'>@group</span><span class='rbrace'>}</span><span class='tstring_content'>
|
|
1043
|
+
</span><span class='heredoc_end'>EOS
|
|
1044
|
+
</span>
|
|
1045
|
+
<span class='kw'>end</span></pre>
|
|
1046
|
+
</td>
|
|
1047
|
+
</tr>
|
|
1048
|
+
</table>
|
|
1049
|
+
</div>
|
|
1050
|
+
|
|
1051
|
+
<div class="method_details ">
|
|
1052
|
+
<h3 class="signature " id="js_spec-instance_method">
|
|
1053
|
+
|
|
1054
|
+
- (<tt>Object</tt>) <strong>js_spec</strong>
|
|
1055
|
+
|
|
1056
|
+
|
|
1057
|
+
|
|
1058
|
+
|
|
1059
|
+
|
|
1060
|
+
</h3><div class="docstring">
|
|
1061
|
+
<div class="discussion">
|
|
1062
|
+
<hr>
|
|
1063
|
+
<hr>
|
|
1064
|
+
|
|
1065
|
+
|
|
1066
|
+
</div>
|
|
1067
|
+
</div>
|
|
1068
|
+
<div class="tags">
|
|
1069
|
+
|
|
1070
|
+
|
|
1071
|
+
</div><table class="source_code">
|
|
1072
|
+
<tr>
|
|
1073
|
+
<td>
|
|
1074
|
+
<pre class="lines">
|
|
1075
|
+
|
|
1076
|
+
|
|
1077
|
+
125
|
|
1078
|
+
126
|
|
1079
|
+
127
|
|
1080
|
+
128</pre>
|
|
1081
|
+
</td>
|
|
1082
|
+
<td>
|
|
1083
|
+
<pre class="code"><span class="info file"># File 'lib/webview/chart.rb', line 125</span>
|
|
1084
|
+
|
|
1085
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_js_spec'>js_spec</span>
|
|
1086
|
+
<span class='id identifier rubyid_gr'>gr</span> <span class='op'>=</span> <span class='id identifier rubyid_header'>header</span> <span class='op'>+</span> <span class='id identifier rubyid_props'>props</span>
|
|
1087
|
+
<span class='id identifier rubyid_gr'>gr</span>
|
|
1088
|
+
<span class='kw'>end</span></pre>
|
|
1089
|
+
</td>
|
|
1090
|
+
</tr>
|
|
1091
|
+
</table>
|
|
1092
|
+
</div>
|
|
1093
|
+
|
|
1094
|
+
<div class="method_details ">
|
|
1095
|
+
<h3 class="signature " id="props-instance_method">
|
|
1096
|
+
|
|
1097
|
+
- (<tt>Object</tt>) <strong>props</strong>
|
|
1098
|
+
|
|
1099
|
+
|
|
1100
|
+
|
|
1101
|
+
|
|
1102
|
+
|
|
1103
|
+
</h3><div class="docstring">
|
|
1104
|
+
<div class="discussion">
|
|
1105
|
+
<hr>
|
|
1106
|
+
<hr>
|
|
1107
|
+
|
|
1108
|
+
|
|
1109
|
+
</div>
|
|
1110
|
+
</div>
|
|
1111
|
+
<div class="tags">
|
|
1112
|
+
|
|
1113
|
+
|
|
1114
|
+
</div><table class="source_code">
|
|
1115
|
+
<tr>
|
|
1116
|
+
<td>
|
|
1117
|
+
<pre class="lines">
|
|
1118
|
+
|
|
1119
|
+
|
|
1120
|
+
96
|
|
1121
|
+
97
|
|
1122
|
+
98
|
|
1123
|
+
99
|
|
1124
|
+
100
|
|
1125
|
+
101
|
|
1126
|
+
102
|
|
1127
|
+
103
|
|
1128
|
+
104
|
|
1129
|
+
105
|
|
1130
|
+
106</pre>
|
|
1131
|
+
</td>
|
|
1132
|
+
<td>
|
|
1133
|
+
<pre class="code"><span class="info file"># File 'lib/webview/chart.rb', line 96</span>
|
|
1134
|
+
|
|
1135
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_props'>props</span>
|
|
1136
|
+
|
|
1137
|
+
<span class='comment'># start the chart specification
|
|
1138
|
+
</span> <span class='id identifier rubyid_str'>str</span> <span class='op'>=</span> <span class='ivar'>@name</span>
|
|
1139
|
+
<span class='ivar'>@properties</span><span class='period'>.</span><span class='id identifier rubyid_each_pair'>each_pair</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_key'>key</span><span class='comma'>,</span> <span class='id identifier rubyid_value'>value</span><span class='op'>|</span>
|
|
1140
|
+
<span class='id identifier rubyid_str'>str</span> <span class='op'><<</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>.</span><span class='tstring_end'>"</span></span> <span class='op'>+</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_key'>key</span><span class='rbrace'>}</span><span class='tstring_content'>(</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_value'>value</span><span class='rbrace'>}</span><span class='tstring_content'>)</span><span class='tstring_end'>"</span></span>
|
|
1141
|
+
<span class='kw'>end</span>
|
|
1142
|
+
<span class='id identifier rubyid_str'>str</span> <span class='op'><<</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>;</span><span class='tstring_end'>"</span></span>
|
|
1143
|
+
<span class='id identifier rubyid_str'>str</span>
|
|
1144
|
+
|
|
1145
|
+
<span class='kw'>end</span></pre>
|
|
1146
|
+
</td>
|
|
1147
|
+
</tr>
|
|
1148
|
+
</table>
|
|
1149
|
+
</div>
|
|
1150
|
+
|
|
1151
|
+
</div>
|
|
1152
|
+
|
|
1153
|
+
</div>
|
|
1154
|
+
|
|
1155
|
+
<div id="footer">
|
|
1156
|
+
Generated on Tue Jul 14 18:09:14 2015 by
|
|
1157
|
+
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
1158
|
+
0.8.7.6 (ruby-1.9.3).
|
|
1159
|
+
</div>
|
|
1160
|
+
|
|
1161
|
+
</body>
|
|
1162
|
+
</html>
|