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

HighchartsAreaTest::testToArray()   B

Complexity

Conditions 1
Paths 1

Size

Total Lines 308
Code Lines 184

Duplication

Lines 0
Ratio 0 %

Importance

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