Passed
Push — master ( 802754...f898ad )
by WEBEWEB
07:59 queued 25s
created

HighchartsTreemapTest::testToArray()   B

Complexity

Conditions 1
Paths 1

Size

Total Lines 283
Code Lines 169

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 169
nc 1
nop 0
dl 0
loc 283
rs 8.2857
c 0
b 0
f 0

How to fix   Long Method   

Long Method

Small methods make your code easier to understand, in particular if combined with a good name. Besides, if your method is small, finding a good name is usually much easier.

For example, if you find yourself adding comments to a method's body, this is usually a good sign to extract the commented part to a new method, and use the comment as a starting point when coming up with a good name for this new method.

Commonly applied refactorings include:

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 treemap 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 HighchartsTreemapTest 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\HighchartsTreemap(true);
33
34
        $this->assertEquals(null, $obj1->getAllowDrillToNode());
35
        $this->assertEquals(null, $obj1->getAllowPointSelect());
36
        $this->assertEquals(null, $obj1->getAlternateStartingDirection());
37
        $this->assertEquals(null, $obj1->getAnimation());
38
        $this->assertEquals(null, $obj1->getAnimationLimit());
39
        $this->assertEquals(null, $obj1->getBorderColor());
40
        $this->assertEquals(null, $obj1->getBorderWidth());
41
        $this->assertEquals(null, $obj1->getClassName());
42
        $this->assertEquals(null, $obj1->getColor());
43
        $this->assertEquals(null, $obj1->getColorByPoint());
44
        $this->assertEquals(null, $obj1->getColorIndex());
45
        $this->assertEquals(null, $obj1->getColors());
46
        $this->assertEquals(null, $obj1->getCrisp());
47
        $this->assertEquals(null, $obj1->getCropThreshold());
48
        $this->assertEquals(null, $obj1->getCursor());
49
        $this->assertEquals(null, $obj1->getData());
50
        $this->assertEquals(null, $obj1->getDataLabels());
51
        $this->assertEquals(null, $obj1->getDescription());
52
        $this->assertEquals(null, $obj1->getEnableMouseTracking());
53
        $this->assertEquals(null, $obj1->getEvents());
54
        $this->assertEquals(null, $obj1->getExposeElementToA11y());
55
        $this->assertEquals(null, $obj1->getFindNearestPointBy());
56
        $this->assertEquals(null, $obj1->getGetExtremesFromAll());
57
        $this->assertEquals(null, $obj1->getId());
58
        $this->assertEquals(null, $obj1->getIgnoreHiddenPoint());
59
        $this->assertEquals(null, $obj1->getIndex());
60
        $this->assertEquals(null, $obj1->getInteractByLeaf());
61
        $this->assertEquals(null, $obj1->getKeys());
62
        $this->assertEquals(null, $obj1->getLayoutAlgorithm());
63
        $this->assertEquals(null, $obj1->getLayoutStartingDirection());
64
        $this->assertEquals(null, $obj1->getLegendIndex());
65
        $this->assertEquals(null, $obj1->getLevelIsConstant());
66
        $this->assertEquals(null, $obj1->getLevels());
67
        $this->assertEquals(null, $obj1->getLinkedTo());
68
        $this->assertEquals(null, $obj1->getMaxPointWidth());
69
        $this->assertEquals(null, $obj1->getName());
70
        $this->assertEquals(null, $obj1->getOpacity());
71
        $this->assertEquals(null, $obj1->getPoint());
72
        $this->assertEquals(null, $obj1->getPointDescriptionFormatter());
73
        $this->assertEquals(null, $obj1->getSelected());
74
        $this->assertEquals(null, $obj1->getShadow());
75
        $this->assertEquals(null, $obj1->getShowCheckbox());
76
        $this->assertEquals(null, $obj1->getShowInLegend());
77
        $this->assertEquals(null, $obj1->getSkipKeyboardNavigation());
78
        $this->assertEquals(null, $obj1->getSortIndex());
79
        $this->assertEquals(null, $obj1->getStates());
80
        $this->assertEquals(null, $obj1->getStickyTracking());
81
        $this->assertEquals(null, $obj1->getTooltip());
82
        $this->assertEquals(null, $obj1->getTurboThreshold());
83
        $this->assertEquals(null, $obj1->getType());
84
        $this->assertEquals(null, $obj1->getVisible());
85
        $this->assertEquals(null, $obj1->getXAxis());
86
        $this->assertEquals(null, $obj1->getYAxis());
87
        $this->assertEquals(null, $obj1->getZIndex());
88
        $this->assertEquals(null, $obj1->getZoneAxis());
89
        $this->assertEquals(null, $obj1->getZones());
90
91
        $obj0 = new \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsTreemap(false);
92
93
        $this->assertEquals(false, $obj0->getAllowDrillToNode());
94
        $this->assertEquals(false, $obj0->getAllowPointSelect());
95
        $this->assertEquals(false, $obj0->getAlternateStartingDirection());
96
        $this->assertEquals(true, $obj0->getAnimation());
97
        $this->assertEquals(null, $obj0->getAnimationLimit());
98
        $this->assertEquals("#e6e6e6", $obj0->getBorderColor());
99
        $this->assertEquals(1, $obj0->getBorderWidth());
100
        $this->assertEquals(null, $obj0->getClassName());
101
        $this->assertEquals(null, $obj0->getColor());
102
        $this->assertEquals(false, $obj0->getColorByPoint());
103
        $this->assertEquals(null, $obj0->getColorIndex());
104
        $this->assertEquals(null, $obj0->getColors());
105
        $this->assertEquals(true, $obj0->getCrisp());
106
        $this->assertEquals(300, $obj0->getCropThreshold());
107
        $this->assertEquals(null, $obj0->getCursor());
108
        $this->assertEquals(null, $obj0->getData());
109
        $this->assertEquals(null, $obj0->getDataLabels());
110
        $this->assertEquals(null, $obj0->getDescription());
111
        $this->assertEquals(true, $obj0->getEnableMouseTracking());
112
        $this->assertEquals(null, $obj0->getEvents());
113
        $this->assertEquals(null, $obj0->getExposeElementToA11y());
114
        $this->assertEquals(null, $obj0->getFindNearestPointBy());
115
        $this->assertEquals(false, $obj0->getGetExtremesFromAll());
116
        $this->assertEquals(null, $obj0->getId());
117
        $this->assertEquals(true, $obj0->getIgnoreHiddenPoint());
118
        $this->assertEquals(null, $obj0->getIndex());
119
        $this->assertEquals(null, $obj0->getInteractByLeaf());
120
        $this->assertEquals(null, $obj0->getKeys());
121
        $this->assertEquals("sliceAndDice", $obj0->getLayoutAlgorithm());
122
        $this->assertEquals("vertical", $obj0->getLayoutStartingDirection());
123
        $this->assertEquals(null, $obj0->getLegendIndex());
124
        $this->assertEquals(true, $obj0->getLevelIsConstant());
125
        $this->assertEquals(null, $obj0->getLevels());
126
        $this->assertEquals(null, $obj0->getLinkedTo());
127
        $this->assertEquals(null, $obj0->getMaxPointWidth());
128
        $this->assertEquals(null, $obj0->getName());
129
        $this->assertEquals(0.15, $obj0->getOpacity());
130
        $this->assertEquals(null, $obj0->getPoint());
131
        $this->assertEquals(null, $obj0->getPointDescriptionFormatter());
132
        $this->assertEquals(false, $obj0->getSelected());
133
        $this->assertEquals(false, $obj0->getShadow());
134
        $this->assertEquals(false, $obj0->getShowCheckbox());
135
        $this->assertEquals(false, $obj0->getShowInLegend());
136
        $this->assertEquals(null, $obj0->getSkipKeyboardNavigation());
137
        $this->assertEquals(null, $obj0->getSortIndex());
138
        $this->assertEquals(null, $obj0->getStates());
139
        $this->assertEquals(true, $obj0->getStickyTracking());
140
        $this->assertEquals(null, $obj0->getTooltip());
141
        $this->assertEquals(1000, $obj0->getTurboThreshold());
142
        $this->assertEquals(null, $obj0->getType());
143
        $this->assertEquals(true, $obj0->getVisible());
144
        $this->assertEquals("0", $obj0->getXAxis());
145
        $this->assertEquals("0", $obj0->getYAxis());
146
        $this->assertEquals(null, $obj0->getZIndex());
147
        $this->assertEquals("y", $obj0->getZoneAxis());
148
        $this->assertEquals(null, $obj0->getZones());
149
    }
150
151
    /**
152
     * Tests the clear() method.
153
     *
154
     * @return void
155
     */
156
    public function testClear() {
157
158
        $obj = new \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsTreemap(false);
159
160
        $obj->newDataLabels();
161
        $obj->newEvents();
162
        $obj->newPoint();
163
        $obj->newStates();
164
        $obj->newTooltip();
165
166
        $obj->clear();
167
168
        $res = ["dataLabels" => [], "events" => [], "point" => [], "states" => [], "tooltip" => []];
169
        $this->assertEquals($res, $obj->toArray());
170
    }
171
172
    /**
173
     * Tests the jsonSerialize() method.
174
     *
175
     * @return void
176
     */
177
    public function testJsonSerialize() {
178
179
        $obj = new \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsTreemap(true);
180
181
        $this->assertEquals([], $obj->jsonSerialize());
182
    }
183
184
    /**
185
     * Tests the newDataLabels() method.
186
     *
187
     * @return void.
188
     */
189
    public function testNewDataLabels() {
190
191
        $obj = new \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsTreemap(false);
192
193
        $res = $obj->newDataLabels();
194
        $this->assertInstanceOf(\WBW\Bundle\HighchartsBundle\API\Chart\Series\Treemap\HighchartsDataLabels::class, $res);
195
    }
196
197
    /**
198
     * Tests the newEvents() method.
199
     *
200
     * @return void.
201
     */
202
    public function testNewEvents() {
203
204
        $obj = new \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsTreemap(false);
205
206
        $res = $obj->newEvents();
207
        $this->assertInstanceOf(\WBW\Bundle\HighchartsBundle\API\Chart\Series\Treemap\HighchartsEvents::class, $res);
208
    }
209
210
    /**
211
     * Tests the newPoint() method.
212
     *
213
     * @return void.
214
     */
215
    public function testNewPoint() {
216
217
        $obj = new \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsTreemap(false);
218
219
        $res = $obj->newPoint();
220
        $this->assertInstanceOf(\WBW\Bundle\HighchartsBundle\API\Chart\Series\Treemap\HighchartsPoint::class, $res);
221
    }
222
223
    /**
224
     * Tests the newStates() method.
225
     *
226
     * @return void.
227
     */
228
    public function testNewStates() {
229
230
        $obj = new \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsTreemap(false);
231
232
        $res = $obj->newStates();
233
        $this->assertInstanceOf(\WBW\Bundle\HighchartsBundle\API\Chart\Series\Treemap\HighchartsStates::class, $res);
234
    }
235
236
    /**
237
     * Tests the newTooltip() method.
238
     *
239
     * @return void.
240
     */
241
    public function testNewTooltip() {
242
243
        $obj = new \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsTreemap(false);
244
245
        $res = $obj->newTooltip();
246
        $this->assertInstanceOf(\WBW\Bundle\HighchartsBundle\API\Chart\Series\Treemap\HighchartsTooltip::class, $res);
247
    }
248
249
    /**
250
     * Tests the toArray() method.
251
     *
252
     * @return void
253
     */
254
    public function testToArray() {
255
256
        $obj = new \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsTreemap(true);
257
258
        $obj->setAllowDrillToNode("true");
259
260
        $res1 = ["allowDrillToNode" => "true"];
261
        $this->assertEquals($res1, $obj->toArray());
262
263
        $obj->setAllowPointSelect(1);
264
265
        $res2 = ["allowDrillToNode" => "true", "allowPointSelect" => 1];
266
        $this->assertEquals($res2, $obj->toArray());
267
268
        $obj->setAlternateStartingDirection(1);
269
270
        $res3 = ["allowDrillToNode" => "true", "allowPointSelect" => 1, "alternateStartingDirection" => 1];
271
        $this->assertEquals($res3, $obj->toArray());
272
273
        $obj->setAnimation(0);
274
275
        $res4 = ["allowDrillToNode" => "true", "allowPointSelect" => 1, "alternateStartingDirection" => 1, "animation" => 0];
276
        $this->assertEquals($res4, $obj->toArray());
277
278
        $obj->setAnimationLimit(13);
279
280
        $res5 = ["allowDrillToNode" => "true", "allowPointSelect" => 1, "alternateStartingDirection" => 1, "animation" => 0, "animationLimit" => 13];
281
        $this->assertEquals($res5, $obj->toArray());
282
283
        $obj->setBorderColor("97da935a74593c55d78be9d1295aa994");
284
285
        $res6 = ["allowDrillToNode" => "true", "allowPointSelect" => 1, "alternateStartingDirection" => 1, "animation" => 0, "animationLimit" => 13, "borderColor" => "97da935a74593c55d78be9d1295aa994"];
286
        $this->assertEquals($res6, $obj->toArray());
287
288
        $obj->setBorderWidth(84);
289
290
        $res7 = ["allowDrillToNode" => "true", "allowPointSelect" => 1, "alternateStartingDirection" => 1, "animation" => 0, "animationLimit" => 13, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 84];
291
        $this->assertEquals($res7, $obj->toArray());
292
293
        $obj->setClassName("6f66e878c62db60568a3487869695820");
294
295
        $res8 = ["allowDrillToNode" => "true", "allowPointSelect" => 1, "alternateStartingDirection" => 1, "animation" => 0, "animationLimit" => 13, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 84, "className" => "6f66e878c62db60568a3487869695820"];
296
        $this->assertEquals($res8, $obj->toArray());
297
298
        $obj->setColor("70dda5dfb8053dc6d1c492574bce9bfd");
299
300
        $res9 = ["allowDrillToNode" => "true", "allowPointSelect" => 1, "alternateStartingDirection" => 1, "animation" => 0, "animationLimit" => 13, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 84, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd"];
301
        $this->assertEquals($res9, $obj->toArray());
302
303
        $obj->setColorByPoint(1);
304
305
        $res10 = ["allowDrillToNode" => "true", "allowPointSelect" => 1, "alternateStartingDirection" => 1, "animation" => 0, "animationLimit" => 13, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 84, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1];
306
        $this->assertEquals($res10, $obj->toArray());
307
308
        $obj->setColorIndex(51);
309
310
        $res11 = ["allowDrillToNode" => "true", "allowPointSelect" => 1, "alternateStartingDirection" => 1, "animation" => 0, "animationLimit" => 13, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 84, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 51];
311
        $this->assertEquals($res11, $obj->toArray());
312
313
        $obj->setColors(["colors" => "62848e3ce5804aa985513a7922ff87b2"]);
314
315
        $res12 = ["allowDrillToNode" => "true", "allowPointSelect" => 1, "alternateStartingDirection" => 1, "animation" => 0, "animationLimit" => 13, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 84, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 51, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"]];
316
        $this->assertEquals($res12, $obj->toArray());
317
318
        $obj->setCrisp(1);
319
320
        $res13 = ["allowDrillToNode" => "true", "allowPointSelect" => 1, "alternateStartingDirection" => 1, "animation" => 0, "animationLimit" => 13, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 84, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 51, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 1];
321
        $this->assertEquals($res13, $obj->toArray());
322
323
        $obj->setCropThreshold(11);
324
325
        $res14 = ["allowDrillToNode" => "true", "allowPointSelect" => 1, "alternateStartingDirection" => 1, "animation" => 0, "animationLimit" => 13, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 84, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 51, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 1, "cropThreshold" => 11];
326
        $this->assertEquals($res14, $obj->toArray());
327
328
        $obj->setCursor("crosshair");
329
330
        $res15 = ["allowDrillToNode" => "true", "allowPointSelect" => 1, "alternateStartingDirection" => 1, "animation" => 0, "animationLimit" => 13, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 84, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 51, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 1, "cropThreshold" => 11, "cursor" => "crosshair"];
331
        $this->assertEquals($res15, $obj->toArray());
332
333
        $obj->setData(["data" => "8d777f385d3dfec8815d20f7496026dc"]);
334
335
        $res16 = ["allowDrillToNode" => "true", "allowPointSelect" => 1, "alternateStartingDirection" => 1, "animation" => 0, "animationLimit" => 13, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 84, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 51, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 1, "cropThreshold" => 11, "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"]];
336
        $this->assertEquals($res16, $obj->toArray());
337
338
        $obj->setDataLabels(new \WBW\Bundle\HighchartsBundle\API\Chart\Series\Treemap\HighchartsDataLabels());
339
340
        $res17 = ["allowDrillToNode" => "true", "allowPointSelect" => 1, "alternateStartingDirection" => 1, "animation" => 0, "animationLimit" => 13, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 84, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 51, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 1, "cropThreshold" => 11, "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => []];
341
        $this->assertEquals($res17, $obj->toArray());
342
343
        $obj->setDescription("67daf92c833c41c95db874e18fcb2786");
344
345
        $res18 = ["allowDrillToNode" => "true", "allowPointSelect" => 1, "alternateStartingDirection" => 1, "animation" => 0, "animationLimit" => 13, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 84, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 51, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 1, "cropThreshold" => 11, "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786"];
346
        $this->assertEquals($res18, $obj->toArray());
347
348
        $obj->setEnableMouseTracking(1);
349
350
        $res19 = ["allowDrillToNode" => "true", "allowPointSelect" => 1, "alternateStartingDirection" => 1, "animation" => 0, "animationLimit" => 13, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 84, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 51, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 1, "cropThreshold" => 11, "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 1];
351
        $this->assertEquals($res19, $obj->toArray());
352
353
        $obj->setEvents(new \WBW\Bundle\HighchartsBundle\API\Chart\Series\Treemap\HighchartsEvents());
354
355
        $res20 = ["allowDrillToNode" => "true", "allowPointSelect" => 1, "alternateStartingDirection" => 1, "animation" => 0, "animationLimit" => 13, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 84, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 51, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 1, "cropThreshold" => 11, "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 1, "events" => []];
356
        $this->assertEquals($res20, $obj->toArray());
357
358
        $obj->setExposeElementToA11y(1);
359
360
        $res21 = ["allowDrillToNode" => "true", "allowPointSelect" => 1, "alternateStartingDirection" => 1, "animation" => 0, "animationLimit" => 13, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 84, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 51, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 1, "cropThreshold" => 11, "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 1];
361
        $this->assertEquals($res21, $obj->toArray());
362
363
        $obj->setFindNearestPointBy("xy");
364
365
        $res22 = ["allowDrillToNode" => "true", "allowPointSelect" => 1, "alternateStartingDirection" => 1, "animation" => 0, "animationLimit" => 13, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 84, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 51, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 1, "cropThreshold" => 11, "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 1, "findNearestPointBy" => "xy"];
366
        $this->assertEquals($res22, $obj->toArray());
367
368
        $obj->setGetExtremesFromAll(1);
369
370
        $res23 = ["allowDrillToNode" => "true", "allowPointSelect" => 1, "alternateStartingDirection" => 1, "animation" => 0, "animationLimit" => 13, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 84, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 51, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 1, "cropThreshold" => 11, "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 1, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1];
371
        $this->assertEquals($res23, $obj->toArray());
372
373
        $obj->setId("b80bb7740288fda1f201890375a60c8f");
374
375
        $res24 = ["allowDrillToNode" => "true", "allowPointSelect" => 1, "alternateStartingDirection" => 1, "animation" => 0, "animationLimit" => 13, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 84, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 51, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 1, "cropThreshold" => 11, "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 1, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "id" => "b80bb7740288fda1f201890375a60c8f"];
376
        $this->assertEquals($res24, $obj->toArray());
377
378
        $obj->setIgnoreHiddenPoint(1);
379
380
        $res25 = ["allowDrillToNode" => "true", "allowPointSelect" => 1, "alternateStartingDirection" => 1, "animation" => 0, "animationLimit" => 13, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 84, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 51, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 1, "cropThreshold" => 11, "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 1, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "id" => "b80bb7740288fda1f201890375a60c8f", "ignoreHiddenPoint" => 1];
381
        $this->assertEquals($res25, $obj->toArray());
382
383
        $obj->setIndex(2);
384
385
        $res26 = ["allowDrillToNode" => "true", "allowPointSelect" => 1, "alternateStartingDirection" => 1, "animation" => 0, "animationLimit" => 13, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 84, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 51, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 1, "cropThreshold" => 11, "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 1, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "id" => "b80bb7740288fda1f201890375a60c8f", "ignoreHiddenPoint" => 1, "index" => 2];
386
        $this->assertEquals($res26, $obj->toArray());
387
388
        $obj->setInteractByLeaf(true);
389
390
        $res27 = ["allowDrillToNode" => "true", "allowPointSelect" => 1, "alternateStartingDirection" => 1, "animation" => 0, "animationLimit" => 13, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 84, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 51, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 1, "cropThreshold" => 11, "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 1, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "id" => "b80bb7740288fda1f201890375a60c8f", "ignoreHiddenPoint" => 1, "index" => 2, "interactByLeaf" => true];
391
        $this->assertEquals($res27, $obj->toArray());
392
393
        $obj->setKeys(["keys" => "14f802e1fba977727845e8872c1743a7"]);
394
395
        $res28 = ["allowDrillToNode" => "true", "allowPointSelect" => 1, "alternateStartingDirection" => 1, "animation" => 0, "animationLimit" => 13, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 84, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 51, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 1, "cropThreshold" => 11, "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 1, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "id" => "b80bb7740288fda1f201890375a60c8f", "ignoreHiddenPoint" => 1, "index" => 2, "interactByLeaf" => true, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"]];
396
        $this->assertEquals($res28, $obj->toArray());
397
398
        $obj->setLayoutAlgorithm("strip");
399
400
        $res29 = ["allowDrillToNode" => "true", "allowPointSelect" => 1, "alternateStartingDirection" => 1, "animation" => 0, "animationLimit" => 13, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 84, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 51, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 1, "cropThreshold" => 11, "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 1, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "id" => "b80bb7740288fda1f201890375a60c8f", "ignoreHiddenPoint" => 1, "index" => 2, "interactByLeaf" => true, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "layoutAlgorithm" => "strip"];
401
        $this->assertEquals($res29, $obj->toArray());
402
403
        $obj->setLayoutStartingDirection("horizontal");
404
405
        $res30 = ["allowDrillToNode" => "true", "allowPointSelect" => 1, "alternateStartingDirection" => 1, "animation" => 0, "animationLimit" => 13, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 84, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 51, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 1, "cropThreshold" => 11, "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 1, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "id" => "b80bb7740288fda1f201890375a60c8f", "ignoreHiddenPoint" => 1, "index" => 2, "interactByLeaf" => true, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "layoutAlgorithm" => "strip", "layoutStartingDirection" => "horizontal"];
406
        $this->assertEquals($res30, $obj->toArray());
407
408
        $obj->setLegendIndex(25);
409
410
        $res31 = ["allowDrillToNode" => "true", "allowPointSelect" => 1, "alternateStartingDirection" => 1, "animation" => 0, "animationLimit" => 13, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 84, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 51, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 1, "cropThreshold" => 11, "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 1, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "id" => "b80bb7740288fda1f201890375a60c8f", "ignoreHiddenPoint" => 1, "index" => 2, "interactByLeaf" => true, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "layoutAlgorithm" => "strip", "layoutStartingDirection" => "horizontal", "legendIndex" => 25];
411
        $this->assertEquals($res31, $obj->toArray());
412
413
        $obj->setLevelIsConstant("false");
414
415
        $res32 = ["allowDrillToNode" => "true", "allowPointSelect" => 1, "alternateStartingDirection" => 1, "animation" => 0, "animationLimit" => 13, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 84, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 51, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 1, "cropThreshold" => 11, "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 1, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "id" => "b80bb7740288fda1f201890375a60c8f", "ignoreHiddenPoint" => 1, "index" => 2, "interactByLeaf" => true, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "layoutAlgorithm" => "strip", "layoutStartingDirection" => "horizontal", "legendIndex" => 25, "levelIsConstant" => "false"];
416
        $this->assertEquals($res32, $obj->toArray());
417
418
        $obj->setLevels(["levels" => "836eb5e382b5d9f430df48883fca918e"]);
419
420
        $res33 = ["allowDrillToNode" => "true", "allowPointSelect" => 1, "alternateStartingDirection" => 1, "animation" => 0, "animationLimit" => 13, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 84, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 51, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 1, "cropThreshold" => 11, "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 1, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "id" => "b80bb7740288fda1f201890375a60c8f", "ignoreHiddenPoint" => 1, "index" => 2, "interactByLeaf" => true, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "layoutAlgorithm" => "strip", "layoutStartingDirection" => "horizontal", "legendIndex" => 25, "levelIsConstant" => "false", "levels" => ["levels" => "836eb5e382b5d9f430df48883fca918e"]];
421
        $this->assertEquals($res33, $obj->toArray());
422
423
        $obj->setLinkedTo("914fab47afc86331ec62837807a29419");
424
425
        $res34 = ["allowDrillToNode" => "true", "allowPointSelect" => 1, "alternateStartingDirection" => 1, "animation" => 0, "animationLimit" => 13, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 84, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 51, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 1, "cropThreshold" => 11, "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 1, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "id" => "b80bb7740288fda1f201890375a60c8f", "ignoreHiddenPoint" => 1, "index" => 2, "interactByLeaf" => true, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "layoutAlgorithm" => "strip", "layoutStartingDirection" => "horizontal", "legendIndex" => 25, "levelIsConstant" => "false", "levels" => ["levels" => "836eb5e382b5d9f430df48883fca918e"], "linkedTo" => "914fab47afc86331ec62837807a29419"];
426
        $this->assertEquals($res34, $obj->toArray());
427
428
        $obj->setMaxPointWidth(94);
429
430
        $res35 = ["allowDrillToNode" => "true", "allowPointSelect" => 1, "alternateStartingDirection" => 1, "animation" => 0, "animationLimit" => 13, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 84, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 51, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 1, "cropThreshold" => 11, "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 1, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "id" => "b80bb7740288fda1f201890375a60c8f", "ignoreHiddenPoint" => 1, "index" => 2, "interactByLeaf" => true, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "layoutAlgorithm" => "strip", "layoutStartingDirection" => "horizontal", "legendIndex" => 25, "levelIsConstant" => "false", "levels" => ["levels" => "836eb5e382b5d9f430df48883fca918e"], "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 94];
431
        $this->assertEquals($res35, $obj->toArray());
432
433
        $obj->setName("b068931cc450442b63f5b3d276ea4297");
434
435
        $res36 = ["allowDrillToNode" => "true", "allowPointSelect" => 1, "alternateStartingDirection" => 1, "animation" => 0, "animationLimit" => 13, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 84, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 51, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 1, "cropThreshold" => 11, "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 1, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "id" => "b80bb7740288fda1f201890375a60c8f", "ignoreHiddenPoint" => 1, "index" => 2, "interactByLeaf" => true, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "layoutAlgorithm" => "strip", "layoutStartingDirection" => "horizontal", "legendIndex" => 25, "levelIsConstant" => "false", "levels" => ["levels" => "836eb5e382b5d9f430df48883fca918e"], "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 94, "name" => "b068931cc450442b63f5b3d276ea4297"];
436
        $this->assertEquals($res36, $obj->toArray());
437
438
        $obj->setOpacity(37);
439
440
        $res37 = ["allowDrillToNode" => "true", "allowPointSelect" => 1, "alternateStartingDirection" => 1, "animation" => 0, "animationLimit" => 13, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 84, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 51, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 1, "cropThreshold" => 11, "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 1, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "id" => "b80bb7740288fda1f201890375a60c8f", "ignoreHiddenPoint" => 1, "index" => 2, "interactByLeaf" => true, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "layoutAlgorithm" => "strip", "layoutStartingDirection" => "horizontal", "legendIndex" => 25, "levelIsConstant" => "false", "levels" => ["levels" => "836eb5e382b5d9f430df48883fca918e"], "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 94, "name" => "b068931cc450442b63f5b3d276ea4297", "opacity" => 37];
441
        $this->assertEquals($res37, $obj->toArray());
442
443
        $obj->setPoint(new \WBW\Bundle\HighchartsBundle\API\Chart\Series\Treemap\HighchartsPoint());
444
445
        $res38 = ["allowDrillToNode" => "true", "allowPointSelect" => 1, "alternateStartingDirection" => 1, "animation" => 0, "animationLimit" => 13, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 84, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 51, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 1, "cropThreshold" => 11, "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 1, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "id" => "b80bb7740288fda1f201890375a60c8f", "ignoreHiddenPoint" => 1, "index" => 2, "interactByLeaf" => true, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "layoutAlgorithm" => "strip", "layoutStartingDirection" => "horizontal", "legendIndex" => 25, "levelIsConstant" => "false", "levels" => ["levels" => "836eb5e382b5d9f430df48883fca918e"], "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 94, "name" => "b068931cc450442b63f5b3d276ea4297", "opacity" => 37, "point" => []];
446
        $this->assertEquals($res38, $obj->toArray());
447
448
        $obj->setPointDescriptionFormatter("b5fd0c15b3ca81f726e2c7b93907ba36");
449
450
        $res39 = ["allowDrillToNode" => "true", "allowPointSelect" => 1, "alternateStartingDirection" => 1, "animation" => 0, "animationLimit" => 13, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 84, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 51, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 1, "cropThreshold" => 11, "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 1, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "id" => "b80bb7740288fda1f201890375a60c8f", "ignoreHiddenPoint" => 1, "index" => 2, "interactByLeaf" => true, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "layoutAlgorithm" => "strip", "layoutStartingDirection" => "horizontal", "legendIndex" => 25, "levelIsConstant" => "false", "levels" => ["levels" => "836eb5e382b5d9f430df48883fca918e"], "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 94, "name" => "b068931cc450442b63f5b3d276ea4297", "opacity" => 37, "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36"];
451
        $this->assertEquals($res39, $obj->toArray());
452
453
        $obj->setSelected(1);
454
455
        $res40 = ["allowDrillToNode" => "true", "allowPointSelect" => 1, "alternateStartingDirection" => 1, "animation" => 0, "animationLimit" => 13, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 84, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 51, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 1, "cropThreshold" => 11, "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 1, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "id" => "b80bb7740288fda1f201890375a60c8f", "ignoreHiddenPoint" => 1, "index" => 2, "interactByLeaf" => true, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "layoutAlgorithm" => "strip", "layoutStartingDirection" => "horizontal", "legendIndex" => 25, "levelIsConstant" => "false", "levels" => ["levels" => "836eb5e382b5d9f430df48883fca918e"], "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 94, "name" => "b068931cc450442b63f5b3d276ea4297", "opacity" => 37, "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "selected" => 1];
456
        $this->assertEquals($res40, $obj->toArray());
457
458
        $obj->setShadow(0);
459
460
        $res41 = ["allowDrillToNode" => "true", "allowPointSelect" => 1, "alternateStartingDirection" => 1, "animation" => 0, "animationLimit" => 13, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 84, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 51, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 1, "cropThreshold" => 11, "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 1, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "id" => "b80bb7740288fda1f201890375a60c8f", "ignoreHiddenPoint" => 1, "index" => 2, "interactByLeaf" => true, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "layoutAlgorithm" => "strip", "layoutStartingDirection" => "horizontal", "legendIndex" => 25, "levelIsConstant" => "false", "levels" => ["levels" => "836eb5e382b5d9f430df48883fca918e"], "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 94, "name" => "b068931cc450442b63f5b3d276ea4297", "opacity" => 37, "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "selected" => 1, "shadow" => 0];
461
        $this->assertEquals($res41, $obj->toArray());
462
463
        $obj->setShowCheckbox(0);
464
465
        $res42 = ["allowDrillToNode" => "true", "allowPointSelect" => 1, "alternateStartingDirection" => 1, "animation" => 0, "animationLimit" => 13, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 84, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 51, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 1, "cropThreshold" => 11, "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 1, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "id" => "b80bb7740288fda1f201890375a60c8f", "ignoreHiddenPoint" => 1, "index" => 2, "interactByLeaf" => true, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "layoutAlgorithm" => "strip", "layoutStartingDirection" => "horizontal", "legendIndex" => 25, "levelIsConstant" => "false", "levels" => ["levels" => "836eb5e382b5d9f430df48883fca918e"], "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 94, "name" => "b068931cc450442b63f5b3d276ea4297", "opacity" => 37, "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "selected" => 1, "shadow" => 0, "showCheckbox" => 0];
466
        $this->assertEquals($res42, $obj->toArray());
467
468
        $obj->setShowInLegend(0);
469
470
        $res43 = ["allowDrillToNode" => "true", "allowPointSelect" => 1, "alternateStartingDirection" => 1, "animation" => 0, "animationLimit" => 13, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 84, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 51, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 1, "cropThreshold" => 11, "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 1, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "id" => "b80bb7740288fda1f201890375a60c8f", "ignoreHiddenPoint" => 1, "index" => 2, "interactByLeaf" => true, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "layoutAlgorithm" => "strip", "layoutStartingDirection" => "horizontal", "legendIndex" => 25, "levelIsConstant" => "false", "levels" => ["levels" => "836eb5e382b5d9f430df48883fca918e"], "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 94, "name" => "b068931cc450442b63f5b3d276ea4297", "opacity" => 37, "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "selected" => 1, "shadow" => 0, "showCheckbox" => 0, "showInLegend" => 0];
471
        $this->assertEquals($res43, $obj->toArray());
472
473
        $obj->setSkipKeyboardNavigation(1);
474
475
        $res44 = ["allowDrillToNode" => "true", "allowPointSelect" => 1, "alternateStartingDirection" => 1, "animation" => 0, "animationLimit" => 13, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 84, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 51, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 1, "cropThreshold" => 11, "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 1, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "id" => "b80bb7740288fda1f201890375a60c8f", "ignoreHiddenPoint" => 1, "index" => 2, "interactByLeaf" => true, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "layoutAlgorithm" => "strip", "layoutStartingDirection" => "horizontal", "legendIndex" => 25, "levelIsConstant" => "false", "levels" => ["levels" => "836eb5e382b5d9f430df48883fca918e"], "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 94, "name" => "b068931cc450442b63f5b3d276ea4297", "opacity" => 37, "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "selected" => 1, "shadow" => 0, "showCheckbox" => 0, "showInLegend" => 0, "skipKeyboardNavigation" => 1];
476
        $this->assertEquals($res44, $obj->toArray());
477
478
        $obj->setSortIndex(73);
479
480
        $res45 = ["allowDrillToNode" => "true", "allowPointSelect" => 1, "alternateStartingDirection" => 1, "animation" => 0, "animationLimit" => 13, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 84, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 51, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 1, "cropThreshold" => 11, "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 1, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "id" => "b80bb7740288fda1f201890375a60c8f", "ignoreHiddenPoint" => 1, "index" => 2, "interactByLeaf" => true, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "layoutAlgorithm" => "strip", "layoutStartingDirection" => "horizontal", "legendIndex" => 25, "levelIsConstant" => "false", "levels" => ["levels" => "836eb5e382b5d9f430df48883fca918e"], "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 94, "name" => "b068931cc450442b63f5b3d276ea4297", "opacity" => 37, "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "selected" => 1, "shadow" => 0, "showCheckbox" => 0, "showInLegend" => 0, "skipKeyboardNavigation" => 1, "sortIndex" => 73];
481
        $this->assertEquals($res45, $obj->toArray());
482
483
        $obj->setStates(new \WBW\Bundle\HighchartsBundle\API\Chart\Series\Treemap\HighchartsStates());
484
485
        $res46 = ["allowDrillToNode" => "true", "allowPointSelect" => 1, "alternateStartingDirection" => 1, "animation" => 0, "animationLimit" => 13, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 84, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 51, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 1, "cropThreshold" => 11, "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 1, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "id" => "b80bb7740288fda1f201890375a60c8f", "ignoreHiddenPoint" => 1, "index" => 2, "interactByLeaf" => true, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "layoutAlgorithm" => "strip", "layoutStartingDirection" => "horizontal", "legendIndex" => 25, "levelIsConstant" => "false", "levels" => ["levels" => "836eb5e382b5d9f430df48883fca918e"], "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 94, "name" => "b068931cc450442b63f5b3d276ea4297", "opacity" => 37, "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "selected" => 1, "shadow" => 0, "showCheckbox" => 0, "showInLegend" => 0, "skipKeyboardNavigation" => 1, "sortIndex" => 73, "states" => []];
486
        $this->assertEquals($res46, $obj->toArray());
487
488
        $obj->setStickyTracking(1);
489
490
        $res47 = ["allowDrillToNode" => "true", "allowPointSelect" => 1, "alternateStartingDirection" => 1, "animation" => 0, "animationLimit" => 13, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 84, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 51, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 1, "cropThreshold" => 11, "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 1, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "id" => "b80bb7740288fda1f201890375a60c8f", "ignoreHiddenPoint" => 1, "index" => 2, "interactByLeaf" => true, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "layoutAlgorithm" => "strip", "layoutStartingDirection" => "horizontal", "legendIndex" => 25, "levelIsConstant" => "false", "levels" => ["levels" => "836eb5e382b5d9f430df48883fca918e"], "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 94, "name" => "b068931cc450442b63f5b3d276ea4297", "opacity" => 37, "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "selected" => 1, "shadow" => 0, "showCheckbox" => 0, "showInLegend" => 0, "skipKeyboardNavigation" => 1, "sortIndex" => 73, "states" => [], "stickyTracking" => 1];
491
        $this->assertEquals($res47, $obj->toArray());
492
493
        $obj->setTooltip(new \WBW\Bundle\HighchartsBundle\API\Chart\Series\Treemap\HighchartsTooltip());
494
495
        $res48 = ["allowDrillToNode" => "true", "allowPointSelect" => 1, "alternateStartingDirection" => 1, "animation" => 0, "animationLimit" => 13, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 84, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 51, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 1, "cropThreshold" => 11, "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 1, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "id" => "b80bb7740288fda1f201890375a60c8f", "ignoreHiddenPoint" => 1, "index" => 2, "interactByLeaf" => true, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "layoutAlgorithm" => "strip", "layoutStartingDirection" => "horizontal", "legendIndex" => 25, "levelIsConstant" => "false", "levels" => ["levels" => "836eb5e382b5d9f430df48883fca918e"], "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 94, "name" => "b068931cc450442b63f5b3d276ea4297", "opacity" => 37, "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "selected" => 1, "shadow" => 0, "showCheckbox" => 0, "showInLegend" => 0, "skipKeyboardNavigation" => 1, "sortIndex" => 73, "states" => [], "stickyTracking" => 1, "tooltip" => []];
496
        $this->assertEquals($res48, $obj->toArray());
497
498
        $obj->setTurboThreshold(16);
499
500
        $res49 = ["allowDrillToNode" => "true", "allowPointSelect" => 1, "alternateStartingDirection" => 1, "animation" => 0, "animationLimit" => 13, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 84, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 51, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 1, "cropThreshold" => 11, "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 1, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "id" => "b80bb7740288fda1f201890375a60c8f", "ignoreHiddenPoint" => 1, "index" => 2, "interactByLeaf" => true, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "layoutAlgorithm" => "strip", "layoutStartingDirection" => "horizontal", "legendIndex" => 25, "levelIsConstant" => "false", "levels" => ["levels" => "836eb5e382b5d9f430df48883fca918e"], "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 94, "name" => "b068931cc450442b63f5b3d276ea4297", "opacity" => 37, "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "selected" => 1, "shadow" => 0, "showCheckbox" => 0, "showInLegend" => 0, "skipKeyboardNavigation" => 1, "sortIndex" => 73, "states" => [], "stickyTracking" => 1, "tooltip" => [], "turboThreshold" => 16];
501
        $this->assertEquals($res49, $obj->toArray());
502
503
        $obj->setType("waterfall");
504
505
        $res50 = ["allowDrillToNode" => "true", "allowPointSelect" => 1, "alternateStartingDirection" => 1, "animation" => 0, "animationLimit" => 13, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 84, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 51, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 1, "cropThreshold" => 11, "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 1, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "id" => "b80bb7740288fda1f201890375a60c8f", "ignoreHiddenPoint" => 1, "index" => 2, "interactByLeaf" => true, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "layoutAlgorithm" => "strip", "layoutStartingDirection" => "horizontal", "legendIndex" => 25, "levelIsConstant" => "false", "levels" => ["levels" => "836eb5e382b5d9f430df48883fca918e"], "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 94, "name" => "b068931cc450442b63f5b3d276ea4297", "opacity" => 37, "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "selected" => 1, "shadow" => 0, "showCheckbox" => 0, "showInLegend" => 0, "skipKeyboardNavigation" => 1, "sortIndex" => 73, "states" => [], "stickyTracking" => 1, "tooltip" => [], "turboThreshold" => 16, "type" => "waterfall"];
506
        $this->assertEquals($res50, $obj->toArray());
507
508
        $obj->setVisible(1);
509
510
        $res51 = ["allowDrillToNode" => "true", "allowPointSelect" => 1, "alternateStartingDirection" => 1, "animation" => 0, "animationLimit" => 13, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 84, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 51, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 1, "cropThreshold" => 11, "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 1, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "id" => "b80bb7740288fda1f201890375a60c8f", "ignoreHiddenPoint" => 1, "index" => 2, "interactByLeaf" => true, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "layoutAlgorithm" => "strip", "layoutStartingDirection" => "horizontal", "legendIndex" => 25, "levelIsConstant" => "false", "levels" => ["levels" => "836eb5e382b5d9f430df48883fca918e"], "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 94, "name" => "b068931cc450442b63f5b3d276ea4297", "opacity" => 37, "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "selected" => 1, "shadow" => 0, "showCheckbox" => 0, "showInLegend" => 0, "skipKeyboardNavigation" => 1, "sortIndex" => 73, "states" => [], "stickyTracking" => 1, "tooltip" => [], "turboThreshold" => 16, "type" => "waterfall", "visible" => 1];
511
        $this->assertEquals($res51, $obj->toArray());
512
513
        $obj->setXAxis(43);
514
515
        $res52 = ["allowDrillToNode" => "true", "allowPointSelect" => 1, "alternateStartingDirection" => 1, "animation" => 0, "animationLimit" => 13, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 84, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 51, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 1, "cropThreshold" => 11, "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 1, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "id" => "b80bb7740288fda1f201890375a60c8f", "ignoreHiddenPoint" => 1, "index" => 2, "interactByLeaf" => true, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "layoutAlgorithm" => "strip", "layoutStartingDirection" => "horizontal", "legendIndex" => 25, "levelIsConstant" => "false", "levels" => ["levels" => "836eb5e382b5d9f430df48883fca918e"], "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 94, "name" => "b068931cc450442b63f5b3d276ea4297", "opacity" => 37, "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "selected" => 1, "shadow" => 0, "showCheckbox" => 0, "showInLegend" => 0, "skipKeyboardNavigation" => 1, "sortIndex" => 73, "states" => [], "stickyTracking" => 1, "tooltip" => [], "turboThreshold" => 16, "type" => "waterfall", "visible" => 1, "xAxis" => 43];
516
        $this->assertEquals($res52, $obj->toArray());
517
518
        $obj->setYAxis(21);
519
520
        $res53 = ["allowDrillToNode" => "true", "allowPointSelect" => 1, "alternateStartingDirection" => 1, "animation" => 0, "animationLimit" => 13, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 84, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 51, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 1, "cropThreshold" => 11, "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 1, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "id" => "b80bb7740288fda1f201890375a60c8f", "ignoreHiddenPoint" => 1, "index" => 2, "interactByLeaf" => true, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "layoutAlgorithm" => "strip", "layoutStartingDirection" => "horizontal", "legendIndex" => 25, "levelIsConstant" => "false", "levels" => ["levels" => "836eb5e382b5d9f430df48883fca918e"], "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 94, "name" => "b068931cc450442b63f5b3d276ea4297", "opacity" => 37, "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "selected" => 1, "shadow" => 0, "showCheckbox" => 0, "showInLegend" => 0, "skipKeyboardNavigation" => 1, "sortIndex" => 73, "states" => [], "stickyTracking" => 1, "tooltip" => [], "turboThreshold" => 16, "type" => "waterfall", "visible" => 1, "xAxis" => 43, "yAxis" => 21];
521
        $this->assertEquals($res53, $obj->toArray());
522
523
        $obj->setZIndex(29);
524
525
        $res54 = ["allowDrillToNode" => "true", "allowPointSelect" => 1, "alternateStartingDirection" => 1, "animation" => 0, "animationLimit" => 13, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 84, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 51, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 1, "cropThreshold" => 11, "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 1, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "id" => "b80bb7740288fda1f201890375a60c8f", "ignoreHiddenPoint" => 1, "index" => 2, "interactByLeaf" => true, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "layoutAlgorithm" => "strip", "layoutStartingDirection" => "horizontal", "legendIndex" => 25, "levelIsConstant" => "false", "levels" => ["levels" => "836eb5e382b5d9f430df48883fca918e"], "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 94, "name" => "b068931cc450442b63f5b3d276ea4297", "opacity" => 37, "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "selected" => 1, "shadow" => 0, "showCheckbox" => 0, "showInLegend" => 0, "skipKeyboardNavigation" => 1, "sortIndex" => 73, "states" => [], "stickyTracking" => 1, "tooltip" => [], "turboThreshold" => 16, "type" => "waterfall", "visible" => 1, "xAxis" => 43, "yAxis" => 21, "zIndex" => 29];
526
        $this->assertEquals($res54, $obj->toArray());
527
528
        $obj->setZoneAxis("88421adabea658556aa3ab6c6181afad");
529
530
        $res55 = ["allowDrillToNode" => "true", "allowPointSelect" => 1, "alternateStartingDirection" => 1, "animation" => 0, "animationLimit" => 13, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 84, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 51, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 1, "cropThreshold" => 11, "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 1, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "id" => "b80bb7740288fda1f201890375a60c8f", "ignoreHiddenPoint" => 1, "index" => 2, "interactByLeaf" => true, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "layoutAlgorithm" => "strip", "layoutStartingDirection" => "horizontal", "legendIndex" => 25, "levelIsConstant" => "false", "levels" => ["levels" => "836eb5e382b5d9f430df48883fca918e"], "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 94, "name" => "b068931cc450442b63f5b3d276ea4297", "opacity" => 37, "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "selected" => 1, "shadow" => 0, "showCheckbox" => 0, "showInLegend" => 0, "skipKeyboardNavigation" => 1, "sortIndex" => 73, "states" => [], "stickyTracking" => 1, "tooltip" => [], "turboThreshold" => 16, "type" => "waterfall", "visible" => 1, "xAxis" => 43, "yAxis" => 21, "zIndex" => 29, "zoneAxis" => "88421adabea658556aa3ab6c6181afad"];
531
        $this->assertEquals($res55, $obj->toArray());
532
533
        $obj->setZones(["zones" => "26f94136f5db8afd4e9df1e512f7fdc5"]);
534
535
        $res56 = ["allowDrillToNode" => "true", "allowPointSelect" => 1, "alternateStartingDirection" => 1, "animation" => 0, "animationLimit" => 13, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 84, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 51, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 1, "cropThreshold" => 11, "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 1, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "id" => "b80bb7740288fda1f201890375a60c8f", "ignoreHiddenPoint" => 1, "index" => 2, "interactByLeaf" => true, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "layoutAlgorithm" => "strip", "layoutStartingDirection" => "horizontal", "legendIndex" => 25, "levelIsConstant" => "false", "levels" => ["levels" => "836eb5e382b5d9f430df48883fca918e"], "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 94, "name" => "b068931cc450442b63f5b3d276ea4297", "opacity" => 37, "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "selected" => 1, "shadow" => 0, "showCheckbox" => 0, "showInLegend" => 0, "skipKeyboardNavigation" => 1, "sortIndex" => 73, "states" => [], "stickyTracking" => 1, "tooltip" => [], "turboThreshold" => 16, "type" => "waterfall", "visible" => 1, "xAxis" => 43, "yAxis" => 21, "zIndex" => 29, "zoneAxis" => "88421adabea658556aa3ab6c6181afad", "zones" => ["zones" => "26f94136f5db8afd4e9df1e512f7fdc5"]];
536
        $this->assertEquals($res56, $obj->toArray());
537
    }
538
539
}
540