|
1
|
|
|
<?php |
|
2
|
|
|
|
|
3
|
|
|
/** |
|
4
|
|
|
* This file is part of the highcharts-bundle package. |
|
5
|
|
|
* |
|
6
|
|
|
* (c) 2017 WEBEWEB |
|
7
|
|
|
* |
|
8
|
|
|
* For the full copyright and license information, please view the LICENSE |
|
9
|
|
|
* file that was distributed with this source code. |
|
10
|
|
|
*/ |
|
11
|
|
|
|
|
12
|
|
|
namespace WBW\Bundle\HighchartsBundle\Tests\API\Chart\PlotOptions; |
|
13
|
|
|
|
|
14
|
|
|
use PHPUnit_Framework_TestCase; |
|
15
|
|
|
|
|
16
|
|
|
/** |
|
17
|
|
|
* Highcharts boxplot test. |
|
18
|
|
|
* |
|
19
|
|
|
* @author webeweb <https://github.com/webeweb/> |
|
20
|
|
|
* @package WBW\Bundle\HighchartsBundle\Tests\API\Chart\PlotOptions |
|
21
|
|
|
* @version 5.0.14 |
|
22
|
|
|
*/ |
|
23
|
|
|
final class HighchartsBoxplotTest extends PHPUnit_Framework_TestCase { |
|
24
|
|
|
|
|
25
|
|
|
/** |
|
26
|
|
|
* Tests the __construct() method. |
|
27
|
|
|
* |
|
28
|
|
|
* @return void |
|
29
|
|
|
*/ |
|
30
|
|
|
public function testConstructor() { |
|
31
|
|
|
|
|
32
|
|
|
$obj1 = new \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBoxplot(true); |
|
33
|
|
|
|
|
34
|
|
|
$this->assertEquals(null, $obj1->getAllowPointSelect()); |
|
35
|
|
|
$this->assertEquals(null, $obj1->getAnimationLimit()); |
|
36
|
|
|
$this->assertEquals(null, $obj1->getClassName()); |
|
37
|
|
|
$this->assertEquals(null, $obj1->getColor()); |
|
38
|
|
|
$this->assertEquals(null, $obj1->getColorByPoint()); |
|
39
|
|
|
$this->assertEquals(null, $obj1->getColorIndex()); |
|
40
|
|
|
$this->assertEquals(null, $obj1->getColors()); |
|
41
|
|
|
$this->assertEquals(null, $obj1->getCrisp()); |
|
42
|
|
|
$this->assertEquals(null, $obj1->getCursor()); |
|
43
|
|
|
$this->assertEquals(null, $obj1->getDepth()); |
|
44
|
|
|
$this->assertEquals(null, $obj1->getDescription()); |
|
45
|
|
|
$this->assertEquals(null, $obj1->getEdgeColor()); |
|
46
|
|
|
$this->assertEquals(null, $obj1->getEdgeWidth()); |
|
47
|
|
|
$this->assertEquals(null, $obj1->getEnableMouseTracking()); |
|
48
|
|
|
$this->assertEquals(null, $obj1->getEvents()); |
|
49
|
|
|
$this->assertEquals(null, $obj1->getExposeElementToA11y()); |
|
50
|
|
|
$this->assertEquals(null, $obj1->getFillColor()); |
|
51
|
|
|
$this->assertEquals(null, $obj1->getFindNearestPointBy()); |
|
52
|
|
|
$this->assertEquals(null, $obj1->getGetExtremesFromAll()); |
|
53
|
|
|
$this->assertEquals(null, $obj1->getGroupPadding()); |
|
54
|
|
|
$this->assertEquals(null, $obj1->getGroupZPadding()); |
|
55
|
|
|
$this->assertEquals(null, $obj1->getGrouping()); |
|
56
|
|
|
$this->assertEquals(null, $obj1->getKeys()); |
|
57
|
|
|
$this->assertEquals(null, $obj1->getLineWidth()); |
|
58
|
|
|
$this->assertEquals(null, $obj1->getLinkedTo()); |
|
59
|
|
|
$this->assertEquals(null, $obj1->getMaxPointWidth()); |
|
60
|
|
|
$this->assertEquals(null, $obj1->getMedianColor()); |
|
61
|
|
|
$this->assertEquals(null, $obj1->getMedianWidth()); |
|
62
|
|
|
$this->assertEquals(null, $obj1->getNegativeColor()); |
|
63
|
|
|
$this->assertEquals(null, $obj1->getPoint()); |
|
64
|
|
|
$this->assertEquals(null, $obj1->getPointDescriptionFormatter()); |
|
65
|
|
|
$this->assertEquals(null, $obj1->getPointInterval()); |
|
66
|
|
|
$this->assertEquals(null, $obj1->getPointIntervalUnit()); |
|
67
|
|
|
$this->assertEquals(null, $obj1->getPointPadding()); |
|
68
|
|
|
$this->assertEquals(null, $obj1->getPointPlacement()); |
|
69
|
|
|
$this->assertEquals(null, $obj1->getPointRange()); |
|
70
|
|
|
$this->assertEquals(null, $obj1->getPointStart()); |
|
71
|
|
|
$this->assertEquals(null, $obj1->getPointWidth()); |
|
72
|
|
|
$this->assertEquals(null, $obj1->getSelected()); |
|
73
|
|
|
$this->assertEquals(null, $obj1->getShowCheckbox()); |
|
74
|
|
|
$this->assertEquals(null, $obj1->getShowInLegend()); |
|
75
|
|
|
$this->assertEquals(null, $obj1->getSkipKeyboardNavigation()); |
|
76
|
|
|
$this->assertEquals(null, $obj1->getStates()); |
|
77
|
|
|
$this->assertEquals(null, $obj1->getStemColor()); |
|
78
|
|
|
$this->assertEquals(null, $obj1->getStemDashStyle()); |
|
79
|
|
|
$this->assertEquals(null, $obj1->getStemWidth()); |
|
80
|
|
|
$this->assertEquals(null, $obj1->getStickyTracking()); |
|
81
|
|
|
$this->assertEquals(null, $obj1->getTooltip()); |
|
82
|
|
|
$this->assertEquals(null, $obj1->getTurboThreshold()); |
|
83
|
|
|
$this->assertEquals(null, $obj1->getVisible()); |
|
84
|
|
|
$this->assertEquals(null, $obj1->getWhiskerColor()); |
|
85
|
|
|
$this->assertEquals(null, $obj1->getWhiskerLength()); |
|
86
|
|
|
$this->assertEquals(null, $obj1->getWhiskerWidth()); |
|
87
|
|
|
$this->assertEquals(null, $obj1->getZoneAxis()); |
|
88
|
|
|
$this->assertEquals(null, $obj1->getZones()); |
|
89
|
|
|
|
|
90
|
|
|
$obj0 = new \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBoxplot(false); |
|
91
|
|
|
|
|
92
|
|
|
$this->assertEquals(false, $obj0->getAllowPointSelect()); |
|
93
|
|
|
$this->assertEquals(null, $obj0->getAnimationLimit()); |
|
94
|
|
|
$this->assertEquals(null, $obj0->getClassName()); |
|
95
|
|
|
$this->assertEquals(null, $obj0->getColor()); |
|
96
|
|
|
$this->assertEquals(false, $obj0->getColorByPoint()); |
|
97
|
|
|
$this->assertEquals(null, $obj0->getColorIndex()); |
|
98
|
|
|
$this->assertEquals(null, $obj0->getColors()); |
|
99
|
|
|
$this->assertEquals(true, $obj0->getCrisp()); |
|
100
|
|
|
$this->assertEquals(null, $obj0->getCursor()); |
|
101
|
|
|
$this->assertEquals(25, $obj0->getDepth()); |
|
102
|
|
|
$this->assertEquals(null, $obj0->getDescription()); |
|
103
|
|
|
$this->assertEquals(null, $obj0->getEdgeColor()); |
|
104
|
|
|
$this->assertEquals(1, $obj0->getEdgeWidth()); |
|
105
|
|
|
$this->assertEquals(true, $obj0->getEnableMouseTracking()); |
|
106
|
|
|
$this->assertEquals(null, $obj0->getEvents()); |
|
107
|
|
|
$this->assertEquals(null, $obj0->getExposeElementToA11y()); |
|
108
|
|
|
$this->assertEquals("#ffffff", $obj0->getFillColor()); |
|
109
|
|
|
$this->assertEquals(null, $obj0->getFindNearestPointBy()); |
|
110
|
|
|
$this->assertEquals(false, $obj0->getGetExtremesFromAll()); |
|
111
|
|
|
$this->assertEquals(0.2, $obj0->getGroupPadding()); |
|
112
|
|
|
$this->assertEquals(1, $obj0->getGroupZPadding()); |
|
113
|
|
|
$this->assertEquals(true, $obj0->getGrouping()); |
|
114
|
|
|
$this->assertEquals(null, $obj0->getKeys()); |
|
115
|
|
|
$this->assertEquals(1, $obj0->getLineWidth()); |
|
116
|
|
|
$this->assertEquals(null, $obj0->getLinkedTo()); |
|
117
|
|
|
$this->assertEquals(null, $obj0->getMaxPointWidth()); |
|
118
|
|
|
$this->assertEquals(null, $obj0->getMedianColor()); |
|
119
|
|
|
$this->assertEquals(2, $obj0->getMedianWidth()); |
|
120
|
|
|
$this->assertEquals(null, $obj0->getNegativeColor()); |
|
121
|
|
|
$this->assertEquals(null, $obj0->getPoint()); |
|
122
|
|
|
$this->assertEquals(null, $obj0->getPointDescriptionFormatter()); |
|
123
|
|
|
$this->assertEquals(1, $obj0->getPointInterval()); |
|
124
|
|
|
$this->assertEquals(null, $obj0->getPointIntervalUnit()); |
|
125
|
|
|
$this->assertEquals(0.1, $obj0->getPointPadding()); |
|
126
|
|
|
$this->assertEquals(null, $obj0->getPointPlacement()); |
|
127
|
|
|
$this->assertEquals(null, $obj0->getPointRange()); |
|
128
|
|
|
$this->assertEquals(0, $obj0->getPointStart()); |
|
129
|
|
|
$this->assertEquals(null, $obj0->getPointWidth()); |
|
130
|
|
|
$this->assertEquals(false, $obj0->getSelected()); |
|
131
|
|
|
$this->assertEquals(false, $obj0->getShowCheckbox()); |
|
132
|
|
|
$this->assertEquals(true, $obj0->getShowInLegend()); |
|
133
|
|
|
$this->assertEquals(null, $obj0->getSkipKeyboardNavigation()); |
|
134
|
|
|
$this->assertEquals(null, $obj0->getStates()); |
|
135
|
|
|
$this->assertEquals(null, $obj0->getStemColor()); |
|
136
|
|
|
$this->assertEquals("Solid", $obj0->getStemDashStyle()); |
|
137
|
|
|
$this->assertEquals(null, $obj0->getStemWidth()); |
|
138
|
|
|
$this->assertEquals(true, $obj0->getStickyTracking()); |
|
139
|
|
|
$this->assertEquals(null, $obj0->getTooltip()); |
|
140
|
|
|
$this->assertEquals(1000, $obj0->getTurboThreshold()); |
|
141
|
|
|
$this->assertEquals(true, $obj0->getVisible()); |
|
142
|
|
|
$this->assertEquals(null, $obj0->getWhiskerColor()); |
|
143
|
|
|
$this->assertEquals("50%", $obj0->getWhiskerLength()); |
|
144
|
|
|
$this->assertEquals(2, $obj0->getWhiskerWidth()); |
|
145
|
|
|
$this->assertEquals("y", $obj0->getZoneAxis()); |
|
146
|
|
|
$this->assertEquals(null, $obj0->getZones()); |
|
147
|
|
|
} |
|
148
|
|
|
|
|
149
|
|
|
/** |
|
150
|
|
|
* Tests the clear() method. |
|
151
|
|
|
* |
|
152
|
|
|
* @return void |
|
153
|
|
|
*/ |
|
154
|
|
|
public function testClear() { |
|
155
|
|
|
|
|
156
|
|
|
$obj = new \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBoxplot(false); |
|
157
|
|
|
|
|
158
|
|
|
$obj->newEvents(); |
|
159
|
|
|
$obj->newPoint(); |
|
160
|
|
|
$obj->newStates(); |
|
161
|
|
|
|
|
162
|
|
|
$obj->clear(); |
|
163
|
|
|
|
|
164
|
|
|
$res = ["events" => [], "point" => [], "states" => []]; |
|
165
|
|
|
$this->assertEquals($res, $obj->toArray()); |
|
166
|
|
|
} |
|
167
|
|
|
|
|
168
|
|
|
/** |
|
169
|
|
|
* Tests the jsonSerialize() method. |
|
170
|
|
|
* |
|
171
|
|
|
* @return void |
|
172
|
|
|
*/ |
|
173
|
|
|
public function testJsonSerialize() { |
|
174
|
|
|
|
|
175
|
|
|
$obj = new \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBoxplot(true); |
|
176
|
|
|
|
|
177
|
|
|
$this->assertEquals([], $obj->jsonSerialize()); |
|
178
|
|
|
} |
|
179
|
|
|
|
|
180
|
|
|
/** |
|
181
|
|
|
* Tests the newEvents() method. |
|
182
|
|
|
* |
|
183
|
|
|
* @return void. |
|
184
|
|
|
*/ |
|
185
|
|
|
public function testNewEvents() { |
|
186
|
|
|
|
|
187
|
|
|
$obj = new \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBoxplot(false); |
|
188
|
|
|
|
|
189
|
|
|
$res = $obj->newEvents(); |
|
190
|
|
|
$this->assertInstanceOf(\WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Boxplot\HighchartsEvents::class, $res); |
|
191
|
|
|
} |
|
192
|
|
|
|
|
193
|
|
|
/** |
|
194
|
|
|
* Tests the newPoint() method. |
|
195
|
|
|
* |
|
196
|
|
|
* @return void. |
|
197
|
|
|
*/ |
|
198
|
|
|
public function testNewPoint() { |
|
199
|
|
|
|
|
200
|
|
|
$obj = new \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBoxplot(false); |
|
201
|
|
|
|
|
202
|
|
|
$res = $obj->newPoint(); |
|
203
|
|
|
$this->assertInstanceOf(\WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Boxplot\HighchartsPoint::class, $res); |
|
204
|
|
|
} |
|
205
|
|
|
|
|
206
|
|
|
/** |
|
207
|
|
|
* Tests the newStates() method. |
|
208
|
|
|
* |
|
209
|
|
|
* @return void. |
|
210
|
|
|
*/ |
|
211
|
|
|
public function testNewStates() { |
|
212
|
|
|
|
|
213
|
|
|
$obj = new \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBoxplot(false); |
|
214
|
|
|
|
|
215
|
|
|
$res = $obj->newStates(); |
|
216
|
|
|
$this->assertInstanceOf(\WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Boxplot\HighchartsStates::class, $res); |
|
217
|
|
|
} |
|
218
|
|
|
|
|
219
|
|
|
/** |
|
220
|
|
|
* Tests the toArray() method. |
|
221
|
|
|
* |
|
222
|
|
|
* @return void |
|
223
|
|
|
*/ |
|
224
|
|
|
public function testToArray() { |
|
225
|
|
|
|
|
226
|
|
|
$obj = new \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBoxplot(true); |
|
227
|
|
|
|
|
228
|
|
|
$obj->setAllowPointSelect(1); |
|
229
|
|
|
|
|
230
|
|
|
$res1 = ["allowPointSelect" => 1]; |
|
231
|
|
|
$this->assertEquals($res1, $obj->toArray()); |
|
232
|
|
|
|
|
233
|
|
|
$obj->setAnimationLimit(88); |
|
234
|
|
|
|
|
235
|
|
|
$res2 = ["allowPointSelect" => 1, "animationLimit" => 88]; |
|
236
|
|
|
$this->assertEquals($res2, $obj->toArray()); |
|
237
|
|
|
|
|
238
|
|
|
$obj->setClassName("6f66e878c62db60568a3487869695820"); |
|
239
|
|
|
|
|
240
|
|
|
$res3 = ["allowPointSelect" => 1, "animationLimit" => 88, "className" => "6f66e878c62db60568a3487869695820"]; |
|
241
|
|
|
$this->assertEquals($res3, $obj->toArray()); |
|
242
|
|
|
|
|
243
|
|
|
$obj->setColor("70dda5dfb8053dc6d1c492574bce9bfd"); |
|
244
|
|
|
|
|
245
|
|
|
$res4 = ["allowPointSelect" => 1, "animationLimit" => 88, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd"]; |
|
246
|
|
|
$this->assertEquals($res4, $obj->toArray()); |
|
247
|
|
|
|
|
248
|
|
|
$obj->setColorByPoint(1); |
|
249
|
|
|
|
|
250
|
|
|
$res5 = ["allowPointSelect" => 1, "animationLimit" => 88, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1]; |
|
251
|
|
|
$this->assertEquals($res5, $obj->toArray()); |
|
252
|
|
|
|
|
253
|
|
|
$obj->setColorIndex(27); |
|
254
|
|
|
|
|
255
|
|
|
$res6 = ["allowPointSelect" => 1, "animationLimit" => 88, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 27]; |
|
256
|
|
|
$this->assertEquals($res6, $obj->toArray()); |
|
257
|
|
|
|
|
258
|
|
|
$obj->setColors(["colors" => "62848e3ce5804aa985513a7922ff87b2"]); |
|
259
|
|
|
|
|
260
|
|
|
$res7 = ["allowPointSelect" => 1, "animationLimit" => 88, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 27, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"]]; |
|
261
|
|
|
$this->assertEquals($res7, $obj->toArray()); |
|
262
|
|
|
|
|
263
|
|
|
$obj->setCrisp(1); |
|
264
|
|
|
|
|
265
|
|
|
$res8 = ["allowPointSelect" => 1, "animationLimit" => 88, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 27, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 1]; |
|
266
|
|
|
$this->assertEquals($res8, $obj->toArray()); |
|
267
|
|
|
|
|
268
|
|
|
$obj->setCursor("crosshair"); |
|
269
|
|
|
|
|
270
|
|
|
$res9 = ["allowPointSelect" => 1, "animationLimit" => 88, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 27, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 1, "cursor" => "crosshair"]; |
|
271
|
|
|
$this->assertEquals($res9, $obj->toArray()); |
|
272
|
|
|
|
|
273
|
|
|
$obj->setDepth(22); |
|
274
|
|
|
|
|
275
|
|
|
$res10 = ["allowPointSelect" => 1, "animationLimit" => 88, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 27, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 1, "cursor" => "crosshair", "depth" => 22]; |
|
276
|
|
|
$this->assertEquals($res10, $obj->toArray()); |
|
277
|
|
|
|
|
278
|
|
|
$obj->setDescription("67daf92c833c41c95db874e18fcb2786"); |
|
279
|
|
|
|
|
280
|
|
|
$res11 = ["allowPointSelect" => 1, "animationLimit" => 88, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 27, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 1, "cursor" => "crosshair", "depth" => 22, "description" => "67daf92c833c41c95db874e18fcb2786"]; |
|
281
|
|
|
$this->assertEquals($res11, $obj->toArray()); |
|
282
|
|
|
|
|
283
|
|
|
$obj->setEdgeColor("acbab0d2e7e54e5a7a32fc80409601fc"); |
|
284
|
|
|
|
|
285
|
|
|
$res12 = ["allowPointSelect" => 1, "animationLimit" => 88, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 27, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 1, "cursor" => "crosshair", "depth" => 22, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc"]; |
|
286
|
|
|
$this->assertEquals($res12, $obj->toArray()); |
|
287
|
|
|
|
|
288
|
|
|
$obj->setEdgeWidth(57); |
|
289
|
|
|
|
|
290
|
|
|
$res13 = ["allowPointSelect" => 1, "animationLimit" => 88, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 27, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 1, "cursor" => "crosshair", "depth" => 22, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 57]; |
|
291
|
|
|
$this->assertEquals($res13, $obj->toArray()); |
|
292
|
|
|
|
|
293
|
|
|
$obj->setEnableMouseTracking(0); |
|
294
|
|
|
|
|
295
|
|
|
$res14 = ["allowPointSelect" => 1, "animationLimit" => 88, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 27, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 1, "cursor" => "crosshair", "depth" => 22, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 57, "enableMouseTracking" => 0]; |
|
296
|
|
|
$this->assertEquals($res14, $obj->toArray()); |
|
297
|
|
|
|
|
298
|
|
|
$obj->setEvents(new \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Boxplot\HighchartsEvents()); |
|
299
|
|
|
|
|
300
|
|
|
$res15 = ["allowPointSelect" => 1, "animationLimit" => 88, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 27, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 1, "cursor" => "crosshair", "depth" => 22, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 57, "enableMouseTracking" => 0, "events" => []]; |
|
301
|
|
|
$this->assertEquals($res15, $obj->toArray()); |
|
302
|
|
|
|
|
303
|
|
|
$obj->setExposeElementToA11y(1); |
|
304
|
|
|
|
|
305
|
|
|
$res16 = ["allowPointSelect" => 1, "animationLimit" => 88, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 27, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 1, "cursor" => "crosshair", "depth" => 22, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 57, "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 1]; |
|
306
|
|
|
$this->assertEquals($res16, $obj->toArray()); |
|
307
|
|
|
|
|
308
|
|
|
$obj->setFillColor("1fde055d3ff900e04ca08bc82066d7fd"); |
|
309
|
|
|
|
|
310
|
|
|
$res17 = ["allowPointSelect" => 1, "animationLimit" => 88, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 27, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 1, "cursor" => "crosshair", "depth" => 22, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 57, "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 1, "fillColor" => "1fde055d3ff900e04ca08bc82066d7fd"]; |
|
311
|
|
|
$this->assertEquals($res17, $obj->toArray()); |
|
312
|
|
|
|
|
313
|
|
|
$obj->setFindNearestPointBy("xy"); |
|
314
|
|
|
|
|
315
|
|
|
$res18 = ["allowPointSelect" => 1, "animationLimit" => 88, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 27, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 1, "cursor" => "crosshair", "depth" => 22, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 57, "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 1, "fillColor" => "1fde055d3ff900e04ca08bc82066d7fd", "findNearestPointBy" => "xy"]; |
|
316
|
|
|
$this->assertEquals($res18, $obj->toArray()); |
|
317
|
|
|
|
|
318
|
|
|
$obj->setGetExtremesFromAll(1); |
|
319
|
|
|
|
|
320
|
|
|
$res19 = ["allowPointSelect" => 1, "animationLimit" => 88, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 27, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 1, "cursor" => "crosshair", "depth" => 22, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 57, "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 1, "fillColor" => "1fde055d3ff900e04ca08bc82066d7fd", "findNearestPointBy" => "xy", "getExtremesFromAll" => 1]; |
|
321
|
|
|
$this->assertEquals($res19, $obj->toArray()); |
|
322
|
|
|
|
|
323
|
|
|
$obj->setGroupPadding(62); |
|
324
|
|
|
|
|
325
|
|
|
$res20 = ["allowPointSelect" => 1, "animationLimit" => 88, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 27, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 1, "cursor" => "crosshair", "depth" => 22, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 57, "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 1, "fillColor" => "1fde055d3ff900e04ca08bc82066d7fd", "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "groupPadding" => 62]; |
|
326
|
|
|
$this->assertEquals($res20, $obj->toArray()); |
|
327
|
|
|
|
|
328
|
|
|
$obj->setGroupZPadding(44); |
|
329
|
|
|
|
|
330
|
|
|
$res21 = ["allowPointSelect" => 1, "animationLimit" => 88, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 27, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 1, "cursor" => "crosshair", "depth" => 22, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 57, "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 1, "fillColor" => "1fde055d3ff900e04ca08bc82066d7fd", "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "groupPadding" => 62, "groupZPadding" => 44]; |
|
331
|
|
|
$this->assertEquals($res21, $obj->toArray()); |
|
332
|
|
|
|
|
333
|
|
|
$obj->setGrouping(0); |
|
334
|
|
|
|
|
335
|
|
|
$res22 = ["allowPointSelect" => 1, "animationLimit" => 88, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 27, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 1, "cursor" => "crosshair", "depth" => 22, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 57, "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 1, "fillColor" => "1fde055d3ff900e04ca08bc82066d7fd", "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "groupPadding" => 62, "groupZPadding" => 44, "grouping" => 0]; |
|
336
|
|
|
$this->assertEquals($res22, $obj->toArray()); |
|
337
|
|
|
|
|
338
|
|
|
$obj->setKeys(["keys" => "14f802e1fba977727845e8872c1743a7"]); |
|
339
|
|
|
|
|
340
|
|
|
$res23 = ["allowPointSelect" => 1, "animationLimit" => 88, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 27, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 1, "cursor" => "crosshair", "depth" => 22, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 57, "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 1, "fillColor" => "1fde055d3ff900e04ca08bc82066d7fd", "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "groupPadding" => 62, "groupZPadding" => 44, "grouping" => 0, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"]]; |
|
341
|
|
|
$this->assertEquals($res23, $obj->toArray()); |
|
342
|
|
|
|
|
343
|
|
|
$obj->setLineWidth(49); |
|
344
|
|
|
|
|
345
|
|
|
$res24 = ["allowPointSelect" => 1, "animationLimit" => 88, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 27, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 1, "cursor" => "crosshair", "depth" => 22, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 57, "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 1, "fillColor" => "1fde055d3ff900e04ca08bc82066d7fd", "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "groupPadding" => 62, "groupZPadding" => 44, "grouping" => 0, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "lineWidth" => 49]; |
|
346
|
|
|
$this->assertEquals($res24, $obj->toArray()); |
|
347
|
|
|
|
|
348
|
|
|
$obj->setLinkedTo("914fab47afc86331ec62837807a29419"); |
|
349
|
|
|
|
|
350
|
|
|
$res25 = ["allowPointSelect" => 1, "animationLimit" => 88, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 27, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 1, "cursor" => "crosshair", "depth" => 22, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 57, "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 1, "fillColor" => "1fde055d3ff900e04ca08bc82066d7fd", "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "groupPadding" => 62, "groupZPadding" => 44, "grouping" => 0, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "lineWidth" => 49, "linkedTo" => "914fab47afc86331ec62837807a29419"]; |
|
351
|
|
|
$this->assertEquals($res25, $obj->toArray()); |
|
352
|
|
|
|
|
353
|
|
|
$obj->setMaxPointWidth(82); |
|
354
|
|
|
|
|
355
|
|
|
$res26 = ["allowPointSelect" => 1, "animationLimit" => 88, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 27, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 1, "cursor" => "crosshair", "depth" => 22, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 57, "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 1, "fillColor" => "1fde055d3ff900e04ca08bc82066d7fd", "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "groupPadding" => 62, "groupZPadding" => 44, "grouping" => 0, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "lineWidth" => 49, "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 82]; |
|
356
|
|
|
$this->assertEquals($res26, $obj->toArray()); |
|
357
|
|
|
|
|
358
|
|
|
$obj->setMedianColor("c7dbc658d3d58056469f6d2d5a8a3626"); |
|
359
|
|
|
|
|
360
|
|
|
$res27 = ["allowPointSelect" => 1, "animationLimit" => 88, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 27, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 1, "cursor" => "crosshair", "depth" => 22, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 57, "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 1, "fillColor" => "1fde055d3ff900e04ca08bc82066d7fd", "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "groupPadding" => 62, "groupZPadding" => 44, "grouping" => 0, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "lineWidth" => 49, "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 82, "medianColor" => "c7dbc658d3d58056469f6d2d5a8a3626"]; |
|
361
|
|
|
$this->assertEquals($res27, $obj->toArray()); |
|
362
|
|
|
|
|
363
|
|
|
$obj->setMedianWidth(7); |
|
364
|
|
|
|
|
365
|
|
|
$res28 = ["allowPointSelect" => 1, "animationLimit" => 88, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 27, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 1, "cursor" => "crosshair", "depth" => 22, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 57, "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 1, "fillColor" => "1fde055d3ff900e04ca08bc82066d7fd", "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "groupPadding" => 62, "groupZPadding" => 44, "grouping" => 0, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "lineWidth" => 49, "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 82, "medianColor" => "c7dbc658d3d58056469f6d2d5a8a3626", "medianWidth" => 7]; |
|
366
|
|
|
$this->assertEquals($res28, $obj->toArray()); |
|
367
|
|
|
|
|
368
|
|
|
$obj->setNegativeColor("52fe4d3a854b01e25193b4f35fc2040e"); |
|
369
|
|
|
|
|
370
|
|
|
$res29 = ["allowPointSelect" => 1, "animationLimit" => 88, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 27, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 1, "cursor" => "crosshair", "depth" => 22, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 57, "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 1, "fillColor" => "1fde055d3ff900e04ca08bc82066d7fd", "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "groupPadding" => 62, "groupZPadding" => 44, "grouping" => 0, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "lineWidth" => 49, "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 82, "medianColor" => "c7dbc658d3d58056469f6d2d5a8a3626", "medianWidth" => 7, "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e"]; |
|
371
|
|
|
$this->assertEquals($res29, $obj->toArray()); |
|
372
|
|
|
|
|
373
|
|
|
$obj->setPoint(new \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Boxplot\HighchartsPoint()); |
|
374
|
|
|
|
|
375
|
|
|
$res30 = ["allowPointSelect" => 1, "animationLimit" => 88, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 27, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 1, "cursor" => "crosshair", "depth" => 22, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 57, "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 1, "fillColor" => "1fde055d3ff900e04ca08bc82066d7fd", "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "groupPadding" => 62, "groupZPadding" => 44, "grouping" => 0, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "lineWidth" => 49, "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 82, "medianColor" => "c7dbc658d3d58056469f6d2d5a8a3626", "medianWidth" => 7, "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "point" => []]; |
|
376
|
|
|
$this->assertEquals($res30, $obj->toArray()); |
|
377
|
|
|
|
|
378
|
|
|
$obj->setPointDescriptionFormatter("b5fd0c15b3ca81f726e2c7b93907ba36"); |
|
379
|
|
|
|
|
380
|
|
|
$res31 = ["allowPointSelect" => 1, "animationLimit" => 88, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 27, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 1, "cursor" => "crosshair", "depth" => 22, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 57, "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 1, "fillColor" => "1fde055d3ff900e04ca08bc82066d7fd", "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "groupPadding" => 62, "groupZPadding" => 44, "grouping" => 0, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "lineWidth" => 49, "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 82, "medianColor" => "c7dbc658d3d58056469f6d2d5a8a3626", "medianWidth" => 7, "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36"]; |
|
381
|
|
|
$this->assertEquals($res31, $obj->toArray()); |
|
382
|
|
|
|
|
383
|
|
|
$obj->setPointInterval(32); |
|
384
|
|
|
|
|
385
|
|
|
$res32 = ["allowPointSelect" => 1, "animationLimit" => 88, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 27, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 1, "cursor" => "crosshair", "depth" => 22, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 57, "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 1, "fillColor" => "1fde055d3ff900e04ca08bc82066d7fd", "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "groupPadding" => 62, "groupZPadding" => 44, "grouping" => 0, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "lineWidth" => 49, "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 82, "medianColor" => "c7dbc658d3d58056469f6d2d5a8a3626", "medianWidth" => 7, "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 32]; |
|
386
|
|
|
$this->assertEquals($res32, $obj->toArray()); |
|
387
|
|
|
|
|
388
|
|
|
$obj->setPointIntervalUnit("year"); |
|
389
|
|
|
|
|
390
|
|
|
$res33 = ["allowPointSelect" => 1, "animationLimit" => 88, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 27, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 1, "cursor" => "crosshair", "depth" => 22, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 57, "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 1, "fillColor" => "1fde055d3ff900e04ca08bc82066d7fd", "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "groupPadding" => 62, "groupZPadding" => 44, "grouping" => 0, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "lineWidth" => 49, "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 82, "medianColor" => "c7dbc658d3d58056469f6d2d5a8a3626", "medianWidth" => 7, "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 32, "pointIntervalUnit" => "year"]; |
|
391
|
|
|
$this->assertEquals($res33, $obj->toArray()); |
|
392
|
|
|
|
|
393
|
|
|
$obj->setPointPadding(5); |
|
394
|
|
|
|
|
395
|
|
|
$res34 = ["allowPointSelect" => 1, "animationLimit" => 88, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 27, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 1, "cursor" => "crosshair", "depth" => 22, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 57, "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 1, "fillColor" => "1fde055d3ff900e04ca08bc82066d7fd", "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "groupPadding" => 62, "groupZPadding" => 44, "grouping" => 0, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "lineWidth" => 49, "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 82, "medianColor" => "c7dbc658d3d58056469f6d2d5a8a3626", "medianWidth" => 7, "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 32, "pointIntervalUnit" => "year", "pointPadding" => 5]; |
|
396
|
|
|
$this->assertEquals($res34, $obj->toArray()); |
|
397
|
|
|
|
|
398
|
|
|
$obj->setPointPlacement("between"); |
|
399
|
|
|
|
|
400
|
|
|
$res35 = ["allowPointSelect" => 1, "animationLimit" => 88, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 27, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 1, "cursor" => "crosshair", "depth" => 22, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 57, "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 1, "fillColor" => "1fde055d3ff900e04ca08bc82066d7fd", "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "groupPadding" => 62, "groupZPadding" => 44, "grouping" => 0, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "lineWidth" => 49, "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 82, "medianColor" => "c7dbc658d3d58056469f6d2d5a8a3626", "medianWidth" => 7, "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 32, "pointIntervalUnit" => "year", "pointPadding" => 5, "pointPlacement" => "between"]; |
|
401
|
|
|
$this->assertEquals($res35, $obj->toArray()); |
|
402
|
|
|
|
|
403
|
|
|
$obj->setPointRange(11); |
|
404
|
|
|
|
|
405
|
|
|
$res36 = ["allowPointSelect" => 1, "animationLimit" => 88, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 27, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 1, "cursor" => "crosshair", "depth" => 22, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 57, "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 1, "fillColor" => "1fde055d3ff900e04ca08bc82066d7fd", "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "groupPadding" => 62, "groupZPadding" => 44, "grouping" => 0, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "lineWidth" => 49, "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 82, "medianColor" => "c7dbc658d3d58056469f6d2d5a8a3626", "medianWidth" => 7, "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 32, "pointIntervalUnit" => "year", "pointPadding" => 5, "pointPlacement" => "between", "pointRange" => 11]; |
|
406
|
|
|
$this->assertEquals($res36, $obj->toArray()); |
|
407
|
|
|
|
|
408
|
|
|
$obj->setPointStart(65); |
|
409
|
|
|
|
|
410
|
|
|
$res37 = ["allowPointSelect" => 1, "animationLimit" => 88, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 27, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 1, "cursor" => "crosshair", "depth" => 22, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 57, "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 1, "fillColor" => "1fde055d3ff900e04ca08bc82066d7fd", "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "groupPadding" => 62, "groupZPadding" => 44, "grouping" => 0, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "lineWidth" => 49, "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 82, "medianColor" => "c7dbc658d3d58056469f6d2d5a8a3626", "medianWidth" => 7, "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 32, "pointIntervalUnit" => "year", "pointPadding" => 5, "pointPlacement" => "between", "pointRange" => 11, "pointStart" => 65]; |
|
411
|
|
|
$this->assertEquals($res37, $obj->toArray()); |
|
412
|
|
|
|
|
413
|
|
|
$obj->setPointWidth(49); |
|
414
|
|
|
|
|
415
|
|
|
$res38 = ["allowPointSelect" => 1, "animationLimit" => 88, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 27, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 1, "cursor" => "crosshair", "depth" => 22, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 57, "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 1, "fillColor" => "1fde055d3ff900e04ca08bc82066d7fd", "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "groupPadding" => 62, "groupZPadding" => 44, "grouping" => 0, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "lineWidth" => 49, "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 82, "medianColor" => "c7dbc658d3d58056469f6d2d5a8a3626", "medianWidth" => 7, "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 32, "pointIntervalUnit" => "year", "pointPadding" => 5, "pointPlacement" => "between", "pointRange" => 11, "pointStart" => 65, "pointWidth" => 49]; |
|
416
|
|
|
$this->assertEquals($res38, $obj->toArray()); |
|
417
|
|
|
|
|
418
|
|
|
$obj->setSelected(0); |
|
419
|
|
|
|
|
420
|
|
|
$res39 = ["allowPointSelect" => 1, "animationLimit" => 88, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 27, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 1, "cursor" => "crosshair", "depth" => 22, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 57, "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 1, "fillColor" => "1fde055d3ff900e04ca08bc82066d7fd", "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "groupPadding" => 62, "groupZPadding" => 44, "grouping" => 0, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "lineWidth" => 49, "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 82, "medianColor" => "c7dbc658d3d58056469f6d2d5a8a3626", "medianWidth" => 7, "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 32, "pointIntervalUnit" => "year", "pointPadding" => 5, "pointPlacement" => "between", "pointRange" => 11, "pointStart" => 65, "pointWidth" => 49, "selected" => 0]; |
|
421
|
|
|
$this->assertEquals($res39, $obj->toArray()); |
|
422
|
|
|
|
|
423
|
|
|
$obj->setShowCheckbox(0); |
|
424
|
|
|
|
|
425
|
|
|
$res40 = ["allowPointSelect" => 1, "animationLimit" => 88, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 27, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 1, "cursor" => "crosshair", "depth" => 22, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 57, "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 1, "fillColor" => "1fde055d3ff900e04ca08bc82066d7fd", "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "groupPadding" => 62, "groupZPadding" => 44, "grouping" => 0, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "lineWidth" => 49, "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 82, "medianColor" => "c7dbc658d3d58056469f6d2d5a8a3626", "medianWidth" => 7, "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 32, "pointIntervalUnit" => "year", "pointPadding" => 5, "pointPlacement" => "between", "pointRange" => 11, "pointStart" => 65, "pointWidth" => 49, "selected" => 0, "showCheckbox" => 0]; |
|
426
|
|
|
$this->assertEquals($res40, $obj->toArray()); |
|
427
|
|
|
|
|
428
|
|
|
$obj->setShowInLegend(1); |
|
429
|
|
|
|
|
430
|
|
|
$res41 = ["allowPointSelect" => 1, "animationLimit" => 88, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 27, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 1, "cursor" => "crosshair", "depth" => 22, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 57, "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 1, "fillColor" => "1fde055d3ff900e04ca08bc82066d7fd", "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "groupPadding" => 62, "groupZPadding" => 44, "grouping" => 0, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "lineWidth" => 49, "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 82, "medianColor" => "c7dbc658d3d58056469f6d2d5a8a3626", "medianWidth" => 7, "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 32, "pointIntervalUnit" => "year", "pointPadding" => 5, "pointPlacement" => "between", "pointRange" => 11, "pointStart" => 65, "pointWidth" => 49, "selected" => 0, "showCheckbox" => 0, "showInLegend" => 1]; |
|
431
|
|
|
$this->assertEquals($res41, $obj->toArray()); |
|
432
|
|
|
|
|
433
|
|
|
$obj->setSkipKeyboardNavigation(1); |
|
434
|
|
|
|
|
435
|
|
|
$res42 = ["allowPointSelect" => 1, "animationLimit" => 88, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 27, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 1, "cursor" => "crosshair", "depth" => 22, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 57, "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 1, "fillColor" => "1fde055d3ff900e04ca08bc82066d7fd", "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "groupPadding" => 62, "groupZPadding" => 44, "grouping" => 0, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "lineWidth" => 49, "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 82, "medianColor" => "c7dbc658d3d58056469f6d2d5a8a3626", "medianWidth" => 7, "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 32, "pointIntervalUnit" => "year", "pointPadding" => 5, "pointPlacement" => "between", "pointRange" => 11, "pointStart" => 65, "pointWidth" => 49, "selected" => 0, "showCheckbox" => 0, "showInLegend" => 1, "skipKeyboardNavigation" => 1]; |
|
436
|
|
|
$this->assertEquals($res42, $obj->toArray()); |
|
437
|
|
|
|
|
438
|
|
|
$obj->setStates(new \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Boxplot\HighchartsStates()); |
|
439
|
|
|
|
|
440
|
|
|
$res43 = ["allowPointSelect" => 1, "animationLimit" => 88, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 27, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 1, "cursor" => "crosshair", "depth" => 22, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 57, "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 1, "fillColor" => "1fde055d3ff900e04ca08bc82066d7fd", "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "groupPadding" => 62, "groupZPadding" => 44, "grouping" => 0, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "lineWidth" => 49, "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 82, "medianColor" => "c7dbc658d3d58056469f6d2d5a8a3626", "medianWidth" => 7, "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 32, "pointIntervalUnit" => "year", "pointPadding" => 5, "pointPlacement" => "between", "pointRange" => 11, "pointStart" => 65, "pointWidth" => 49, "selected" => 0, "showCheckbox" => 0, "showInLegend" => 1, "skipKeyboardNavigation" => 1, "states" => []]; |
|
441
|
|
|
$this->assertEquals($res43, $obj->toArray()); |
|
442
|
|
|
|
|
443
|
|
|
$obj->setStemColor("98696f23b6ed2a881042dfa365a28d23"); |
|
444
|
|
|
|
|
445
|
|
|
$res44 = ["allowPointSelect" => 1, "animationLimit" => 88, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 27, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 1, "cursor" => "crosshair", "depth" => 22, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 57, "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 1, "fillColor" => "1fde055d3ff900e04ca08bc82066d7fd", "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "groupPadding" => 62, "groupZPadding" => 44, "grouping" => 0, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "lineWidth" => 49, "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 82, "medianColor" => "c7dbc658d3d58056469f6d2d5a8a3626", "medianWidth" => 7, "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 32, "pointIntervalUnit" => "year", "pointPadding" => 5, "pointPlacement" => "between", "pointRange" => 11, "pointStart" => 65, "pointWidth" => 49, "selected" => 0, "showCheckbox" => 0, "showInLegend" => 1, "skipKeyboardNavigation" => 1, "states" => [], "stemColor" => "98696f23b6ed2a881042dfa365a28d23"]; |
|
446
|
|
|
$this->assertEquals($res44, $obj->toArray()); |
|
447
|
|
|
|
|
448
|
|
|
$obj->setStemDashStyle("LongDashDotDot"); |
|
449
|
|
|
|
|
450
|
|
|
$res45 = ["allowPointSelect" => 1, "animationLimit" => 88, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 27, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 1, "cursor" => "crosshair", "depth" => 22, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 57, "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 1, "fillColor" => "1fde055d3ff900e04ca08bc82066d7fd", "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "groupPadding" => 62, "groupZPadding" => 44, "grouping" => 0, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "lineWidth" => 49, "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 82, "medianColor" => "c7dbc658d3d58056469f6d2d5a8a3626", "medianWidth" => 7, "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 32, "pointIntervalUnit" => "year", "pointPadding" => 5, "pointPlacement" => "between", "pointRange" => 11, "pointStart" => 65, "pointWidth" => 49, "selected" => 0, "showCheckbox" => 0, "showInLegend" => 1, "skipKeyboardNavigation" => 1, "states" => [], "stemColor" => "98696f23b6ed2a881042dfa365a28d23", "stemDashStyle" => "LongDashDotDot"]; |
|
451
|
|
|
$this->assertEquals($res45, $obj->toArray()); |
|
452
|
|
|
|
|
453
|
|
|
$obj->setStemWidth(8); |
|
454
|
|
|
|
|
455
|
|
|
$res46 = ["allowPointSelect" => 1, "animationLimit" => 88, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 27, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 1, "cursor" => "crosshair", "depth" => 22, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 57, "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 1, "fillColor" => "1fde055d3ff900e04ca08bc82066d7fd", "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "groupPadding" => 62, "groupZPadding" => 44, "grouping" => 0, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "lineWidth" => 49, "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 82, "medianColor" => "c7dbc658d3d58056469f6d2d5a8a3626", "medianWidth" => 7, "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 32, "pointIntervalUnit" => "year", "pointPadding" => 5, "pointPlacement" => "between", "pointRange" => 11, "pointStart" => 65, "pointWidth" => 49, "selected" => 0, "showCheckbox" => 0, "showInLegend" => 1, "skipKeyboardNavigation" => 1, "states" => [], "stemColor" => "98696f23b6ed2a881042dfa365a28d23", "stemDashStyle" => "LongDashDotDot", "stemWidth" => 8]; |
|
456
|
|
|
$this->assertEquals($res46, $obj->toArray()); |
|
457
|
|
|
|
|
458
|
|
|
$obj->setStickyTracking(0); |
|
459
|
|
|
|
|
460
|
|
|
$res47 = ["allowPointSelect" => 1, "animationLimit" => 88, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 27, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 1, "cursor" => "crosshair", "depth" => 22, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 57, "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 1, "fillColor" => "1fde055d3ff900e04ca08bc82066d7fd", "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "groupPadding" => 62, "groupZPadding" => 44, "grouping" => 0, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "lineWidth" => 49, "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 82, "medianColor" => "c7dbc658d3d58056469f6d2d5a8a3626", "medianWidth" => 7, "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 32, "pointIntervalUnit" => "year", "pointPadding" => 5, "pointPlacement" => "between", "pointRange" => 11, "pointStart" => 65, "pointWidth" => 49, "selected" => 0, "showCheckbox" => 0, "showInLegend" => 1, "skipKeyboardNavigation" => 1, "states" => [], "stemColor" => "98696f23b6ed2a881042dfa365a28d23", "stemDashStyle" => "LongDashDotDot", "stemWidth" => 8, "stickyTracking" => 0]; |
|
461
|
|
|
$this->assertEquals($res47, $obj->toArray()); |
|
462
|
|
|
|
|
463
|
|
|
$obj->setTooltip(["tooltip" => "ddbfc1b6aa0ad4d79c5dac7aa3b44888"]); |
|
464
|
|
|
|
|
465
|
|
|
$res48 = ["allowPointSelect" => 1, "animationLimit" => 88, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 27, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 1, "cursor" => "crosshair", "depth" => 22, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 57, "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 1, "fillColor" => "1fde055d3ff900e04ca08bc82066d7fd", "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "groupPadding" => 62, "groupZPadding" => 44, "grouping" => 0, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "lineWidth" => 49, "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 82, "medianColor" => "c7dbc658d3d58056469f6d2d5a8a3626", "medianWidth" => 7, "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 32, "pointIntervalUnit" => "year", "pointPadding" => 5, "pointPlacement" => "between", "pointRange" => 11, "pointStart" => 65, "pointWidth" => 49, "selected" => 0, "showCheckbox" => 0, "showInLegend" => 1, "skipKeyboardNavigation" => 1, "states" => [], "stemColor" => "98696f23b6ed2a881042dfa365a28d23", "stemDashStyle" => "LongDashDotDot", "stemWidth" => 8, "stickyTracking" => 0, "tooltip" => ["tooltip" => "ddbfc1b6aa0ad4d79c5dac7aa3b44888"]]; |
|
466
|
|
|
$this->assertEquals($res48, $obj->toArray()); |
|
467
|
|
|
|
|
468
|
|
|
$obj->setTurboThreshold(97); |
|
469
|
|
|
|
|
470
|
|
|
$res49 = ["allowPointSelect" => 1, "animationLimit" => 88, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 27, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 1, "cursor" => "crosshair", "depth" => 22, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 57, "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 1, "fillColor" => "1fde055d3ff900e04ca08bc82066d7fd", "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "groupPadding" => 62, "groupZPadding" => 44, "grouping" => 0, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "lineWidth" => 49, "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 82, "medianColor" => "c7dbc658d3d58056469f6d2d5a8a3626", "medianWidth" => 7, "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 32, "pointIntervalUnit" => "year", "pointPadding" => 5, "pointPlacement" => "between", "pointRange" => 11, "pointStart" => 65, "pointWidth" => 49, "selected" => 0, "showCheckbox" => 0, "showInLegend" => 1, "skipKeyboardNavigation" => 1, "states" => [], "stemColor" => "98696f23b6ed2a881042dfa365a28d23", "stemDashStyle" => "LongDashDotDot", "stemWidth" => 8, "stickyTracking" => 0, "tooltip" => ["tooltip" => "ddbfc1b6aa0ad4d79c5dac7aa3b44888"], "turboThreshold" => 97]; |
|
471
|
|
|
$this->assertEquals($res49, $obj->toArray()); |
|
472
|
|
|
|
|
473
|
|
|
$obj->setVisible(0); |
|
474
|
|
|
|
|
475
|
|
|
$res50 = ["allowPointSelect" => 1, "animationLimit" => 88, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 27, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 1, "cursor" => "crosshair", "depth" => 22, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 57, "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 1, "fillColor" => "1fde055d3ff900e04ca08bc82066d7fd", "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "groupPadding" => 62, "groupZPadding" => 44, "grouping" => 0, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "lineWidth" => 49, "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 82, "medianColor" => "c7dbc658d3d58056469f6d2d5a8a3626", "medianWidth" => 7, "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 32, "pointIntervalUnit" => "year", "pointPadding" => 5, "pointPlacement" => "between", "pointRange" => 11, "pointStart" => 65, "pointWidth" => 49, "selected" => 0, "showCheckbox" => 0, "showInLegend" => 1, "skipKeyboardNavigation" => 1, "states" => [], "stemColor" => "98696f23b6ed2a881042dfa365a28d23", "stemDashStyle" => "LongDashDotDot", "stemWidth" => 8, "stickyTracking" => 0, "tooltip" => ["tooltip" => "ddbfc1b6aa0ad4d79c5dac7aa3b44888"], "turboThreshold" => 97, "visible" => 0]; |
|
476
|
|
|
$this->assertEquals($res50, $obj->toArray()); |
|
477
|
|
|
|
|
478
|
|
|
$obj->setWhiskerColor("3176f361ab524a038497eb1a6c93df38"); |
|
479
|
|
|
|
|
480
|
|
|
$res51 = ["allowPointSelect" => 1, "animationLimit" => 88, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 27, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 1, "cursor" => "crosshair", "depth" => 22, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 57, "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 1, "fillColor" => "1fde055d3ff900e04ca08bc82066d7fd", "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "groupPadding" => 62, "groupZPadding" => 44, "grouping" => 0, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "lineWidth" => 49, "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 82, "medianColor" => "c7dbc658d3d58056469f6d2d5a8a3626", "medianWidth" => 7, "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 32, "pointIntervalUnit" => "year", "pointPadding" => 5, "pointPlacement" => "between", "pointRange" => 11, "pointStart" => 65, "pointWidth" => 49, "selected" => 0, "showCheckbox" => 0, "showInLegend" => 1, "skipKeyboardNavigation" => 1, "states" => [], "stemColor" => "98696f23b6ed2a881042dfa365a28d23", "stemDashStyle" => "LongDashDotDot", "stemWidth" => 8, "stickyTracking" => 0, "tooltip" => ["tooltip" => "ddbfc1b6aa0ad4d79c5dac7aa3b44888"], "turboThreshold" => 97, "visible" => 0, "whiskerColor" => "3176f361ab524a038497eb1a6c93df38"]; |
|
481
|
|
|
$this->assertEquals($res51, $obj->toArray()); |
|
482
|
|
|
|
|
483
|
|
|
$obj->setWhiskerLength(45); |
|
484
|
|
|
|
|
485
|
|
|
$res52 = ["allowPointSelect" => 1, "animationLimit" => 88, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 27, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 1, "cursor" => "crosshair", "depth" => 22, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 57, "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 1, "fillColor" => "1fde055d3ff900e04ca08bc82066d7fd", "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "groupPadding" => 62, "groupZPadding" => 44, "grouping" => 0, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "lineWidth" => 49, "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 82, "medianColor" => "c7dbc658d3d58056469f6d2d5a8a3626", "medianWidth" => 7, "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 32, "pointIntervalUnit" => "year", "pointPadding" => 5, "pointPlacement" => "between", "pointRange" => 11, "pointStart" => 65, "pointWidth" => 49, "selected" => 0, "showCheckbox" => 0, "showInLegend" => 1, "skipKeyboardNavigation" => 1, "states" => [], "stemColor" => "98696f23b6ed2a881042dfa365a28d23", "stemDashStyle" => "LongDashDotDot", "stemWidth" => 8, "stickyTracking" => 0, "tooltip" => ["tooltip" => "ddbfc1b6aa0ad4d79c5dac7aa3b44888"], "turboThreshold" => 97, "visible" => 0, "whiskerColor" => "3176f361ab524a038497eb1a6c93df38", "whiskerLength" => 45]; |
|
486
|
|
|
$this->assertEquals($res52, $obj->toArray()); |
|
487
|
|
|
|
|
488
|
|
|
$obj->setWhiskerWidth(64); |
|
489
|
|
|
|
|
490
|
|
|
$res53 = ["allowPointSelect" => 1, "animationLimit" => 88, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 27, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 1, "cursor" => "crosshair", "depth" => 22, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 57, "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 1, "fillColor" => "1fde055d3ff900e04ca08bc82066d7fd", "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "groupPadding" => 62, "groupZPadding" => 44, "grouping" => 0, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "lineWidth" => 49, "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 82, "medianColor" => "c7dbc658d3d58056469f6d2d5a8a3626", "medianWidth" => 7, "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 32, "pointIntervalUnit" => "year", "pointPadding" => 5, "pointPlacement" => "between", "pointRange" => 11, "pointStart" => 65, "pointWidth" => 49, "selected" => 0, "showCheckbox" => 0, "showInLegend" => 1, "skipKeyboardNavigation" => 1, "states" => [], "stemColor" => "98696f23b6ed2a881042dfa365a28d23", "stemDashStyle" => "LongDashDotDot", "stemWidth" => 8, "stickyTracking" => 0, "tooltip" => ["tooltip" => "ddbfc1b6aa0ad4d79c5dac7aa3b44888"], "turboThreshold" => 97, "visible" => 0, "whiskerColor" => "3176f361ab524a038497eb1a6c93df38", "whiskerLength" => 45, "whiskerWidth" => 64]; |
|
491
|
|
|
$this->assertEquals($res53, $obj->toArray()); |
|
492
|
|
|
|
|
493
|
|
|
$obj->setZoneAxis("88421adabea658556aa3ab6c6181afad"); |
|
494
|
|
|
|
|
495
|
|
|
$res54 = ["allowPointSelect" => 1, "animationLimit" => 88, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 27, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 1, "cursor" => "crosshair", "depth" => 22, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 57, "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 1, "fillColor" => "1fde055d3ff900e04ca08bc82066d7fd", "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "groupPadding" => 62, "groupZPadding" => 44, "grouping" => 0, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "lineWidth" => 49, "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 82, "medianColor" => "c7dbc658d3d58056469f6d2d5a8a3626", "medianWidth" => 7, "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 32, "pointIntervalUnit" => "year", "pointPadding" => 5, "pointPlacement" => "between", "pointRange" => 11, "pointStart" => 65, "pointWidth" => 49, "selected" => 0, "showCheckbox" => 0, "showInLegend" => 1, "skipKeyboardNavigation" => 1, "states" => [], "stemColor" => "98696f23b6ed2a881042dfa365a28d23", "stemDashStyle" => "LongDashDotDot", "stemWidth" => 8, "stickyTracking" => 0, "tooltip" => ["tooltip" => "ddbfc1b6aa0ad4d79c5dac7aa3b44888"], "turboThreshold" => 97, "visible" => 0, "whiskerColor" => "3176f361ab524a038497eb1a6c93df38", "whiskerLength" => 45, "whiskerWidth" => 64, "zoneAxis" => "88421adabea658556aa3ab6c6181afad"]; |
|
496
|
|
|
$this->assertEquals($res54, $obj->toArray()); |
|
497
|
|
|
|
|
498
|
|
|
$obj->setZones(["zones" => "26f94136f5db8afd4e9df1e512f7fdc5"]); |
|
499
|
|
|
|
|
500
|
|
|
$res55 = ["allowPointSelect" => 1, "animationLimit" => 88, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 27, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 1, "cursor" => "crosshair", "depth" => 22, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 57, "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 1, "fillColor" => "1fde055d3ff900e04ca08bc82066d7fd", "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "groupPadding" => 62, "groupZPadding" => 44, "grouping" => 0, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "lineWidth" => 49, "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 82, "medianColor" => "c7dbc658d3d58056469f6d2d5a8a3626", "medianWidth" => 7, "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 32, "pointIntervalUnit" => "year", "pointPadding" => 5, "pointPlacement" => "between", "pointRange" => 11, "pointStart" => 65, "pointWidth" => 49, "selected" => 0, "showCheckbox" => 0, "showInLegend" => 1, "skipKeyboardNavigation" => 1, "states" => [], "stemColor" => "98696f23b6ed2a881042dfa365a28d23", "stemDashStyle" => "LongDashDotDot", "stemWidth" => 8, "stickyTracking" => 0, "tooltip" => ["tooltip" => "ddbfc1b6aa0ad4d79c5dac7aa3b44888"], "turboThreshold" => 97, "visible" => 0, "whiskerColor" => "3176f361ab524a038497eb1a6c93df38", "whiskerLength" => 45, "whiskerWidth" => 64, "zoneAxis" => "88421adabea658556aa3ab6c6181afad", "zones" => ["zones" => "26f94136f5db8afd4e9df1e512f7fdc5"]]; |
|
501
|
|
|
$this->assertEquals($res55, $obj->toArray()); |
|
502
|
|
|
} |
|
503
|
|
|
|
|
504
|
|
|
} |
|
505
|
|
|
|