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