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

HighchartsAreasplineTest::testToArray()   B

Complexity

Conditions 1
Paths 1

Size

Total Lines 303
Code Lines 181

Duplication

Lines 0
Ratio 0 %

Importance

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