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

HighchartsBubbleTest::testConstructor()   B

Complexity

Conditions 1
Paths 1

Size

Total Lines 101
Code Lines 96

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 96
nc 1
nop 0
dl 0
loc 101
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\PlotOptions;
13
14
use PHPUnit_Framework_TestCase;
15
16
/**
17
 * Highcharts bubble test.
18
 *
19
 * @author webeweb <https://github.com/webeweb/>
20
 * @package WBW\Bundle\HighchartsBundle\Tests\API\Chart\PlotOptions
21
 * @version 5.0.14
22
 */
23
final class HighchartsBubbleTest extends PHPUnit_Framework_TestCase {
24
25
    /**
26
     * Tests the __construct() method.
27
     *
28
     * @return void
29
     */
30
    public function testConstructor() {
31
32
        $obj1 = new \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBubble(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->getCropThreshold());
41
        $this->assertEquals(null, $obj1->getCursor());
42
        $this->assertEquals(null, $obj1->getDashStyle());
43
        $this->assertEquals(null, $obj1->getDataLabels());
44
        $this->assertEquals(null, $obj1->getDescription());
45
        $this->assertEquals(null, $obj1->getDisplayNegative());
46
        $this->assertEquals(null, $obj1->getEnableMouseTracking());
47
        $this->assertEquals(null, $obj1->getEvents());
48
        $this->assertEquals(null, $obj1->getExposeElementToA11y());
49
        $this->assertEquals(null, $obj1->getFindNearestPointBy());
50
        $this->assertEquals(null, $obj1->getGetExtremesFromAll());
51
        $this->assertEquals(null, $obj1->getKeys());
52
        $this->assertEquals(null, $obj1->getLineWidth());
53
        $this->assertEquals(null, $obj1->getLinkedTo());
54
        $this->assertEquals(null, $obj1->getMarker());
55
        $this->assertEquals(null, $obj1->getMaxSize());
56
        $this->assertEquals(null, $obj1->getMinSize());
57
        $this->assertEquals(null, $obj1->getNegativeColor());
58
        $this->assertEquals(null, $obj1->getPoint());
59
        $this->assertEquals(null, $obj1->getPointDescriptionFormatter());
60
        $this->assertEquals(null, $obj1->getPointInterval());
61
        $this->assertEquals(null, $obj1->getPointIntervalUnit());
62
        $this->assertEquals(null, $obj1->getPointStart());
63
        $this->assertEquals(null, $obj1->getSelected());
64
        $this->assertEquals(null, $obj1->getShadow());
65
        $this->assertEquals(null, $obj1->getShowCheckbox());
66
        $this->assertEquals(null, $obj1->getShowInLegend());
67
        $this->assertEquals(null, $obj1->getSizeBy());
68
        $this->assertEquals(null, $obj1->getSizeByAbsoluteValue());
69
        $this->assertEquals(null, $obj1->getSkipKeyboardNavigation());
70
        $this->assertEquals(null, $obj1->getSoftThreshold());
71
        $this->assertEquals(null, $obj1->getStates());
72
        $this->assertEquals(null, $obj1->getStickyTracking());
73
        $this->assertEquals(null, $obj1->getThreshold());
74
        $this->assertEquals(null, $obj1->getTooltip());
75
        $this->assertEquals(null, $obj1->getVisible());
76
        $this->assertEquals(null, $obj1->getZMax());
77
        $this->assertEquals(null, $obj1->getZMin());
78
        $this->assertEquals(null, $obj1->getZThreshold());
79
        $this->assertEquals(null, $obj1->getZoneAxis());
80
        $this->assertEquals(null, $obj1->getZones());
81
82
        $obj0 = new \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBubble(false);
83
84
        $this->assertEquals(false, $obj0->getAllowPointSelect());
85
        $this->assertEquals(true, $obj0->getAnimation());
86
        $this->assertEquals(null, $obj0->getAnimationLimit());
87
        $this->assertEquals(null, $obj0->getClassName());
88
        $this->assertEquals(null, $obj0->getColor());
89
        $this->assertEquals(null, $obj0->getColorIndex());
90
        $this->assertEquals(300, $obj0->getCropThreshold());
91
        $this->assertEquals(null, $obj0->getCursor());
92
        $this->assertEquals("Solid", $obj0->getDashStyle());
93
        $this->assertEquals(null, $obj0->getDataLabels());
94
        $this->assertEquals(null, $obj0->getDescription());
95
        $this->assertEquals(true, $obj0->getDisplayNegative());
96
        $this->assertEquals(true, $obj0->getEnableMouseTracking());
97
        $this->assertEquals(null, $obj0->getEvents());
98
        $this->assertEquals(null, $obj0->getExposeElementToA11y());
99
        $this->assertEquals(null, $obj0->getFindNearestPointBy());
100
        $this->assertEquals(false, $obj0->getGetExtremesFromAll());
101
        $this->assertEquals(null, $obj0->getKeys());
102
        $this->assertEquals(0, $obj0->getLineWidth());
103
        $this->assertEquals(null, $obj0->getLinkedTo());
104
        $this->assertEquals(null, $obj0->getMarker());
105
        $this->assertEquals("20%", $obj0->getMaxSize());
106
        $this->assertEquals("8", $obj0->getMinSize());
107
        $this->assertEquals(null, $obj0->getNegativeColor());
108
        $this->assertEquals(null, $obj0->getPoint());
109
        $this->assertEquals(null, $obj0->getPointDescriptionFormatter());
110
        $this->assertEquals(1, $obj0->getPointInterval());
111
        $this->assertEquals(null, $obj0->getPointIntervalUnit());
112
        $this->assertEquals(0, $obj0->getPointStart());
113
        $this->assertEquals(false, $obj0->getSelected());
114
        $this->assertEquals(false, $obj0->getShadow());
115
        $this->assertEquals(false, $obj0->getShowCheckbox());
116
        $this->assertEquals(true, $obj0->getShowInLegend());
117
        $this->assertEquals("area", $obj0->getSizeBy());
118
        $this->assertEquals(false, $obj0->getSizeByAbsoluteValue());
119
        $this->assertEquals(null, $obj0->getSkipKeyboardNavigation());
120
        $this->assertEquals(false, $obj0->getSoftThreshold());
121
        $this->assertEquals(null, $obj0->getStates());
122
        $this->assertEquals(false, $obj0->getStickyTracking());
123
        $this->assertEquals(0, $obj0->getThreshold());
124
        $this->assertEquals(null, $obj0->getTooltip());
125
        $this->assertEquals(true, $obj0->getVisible());
126
        $this->assertEquals(null, $obj0->getZMax());
127
        $this->assertEquals(null, $obj0->getZMin());
128
        $this->assertEquals(0, $obj0->getZThreshold());
129
        $this->assertEquals("y", $obj0->getZoneAxis());
130
        $this->assertEquals(null, $obj0->getZones());
131
    }
132
133
    /**
134
     * Tests the clear() method.
135
     *
136
     * @return void
137
     */
138
    public function testClear() {
139
140
        $obj = new \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBubble(false);
141
142
        $obj->newDataLabels();
143
        $obj->newEvents();
144
        $obj->newPoint();
145
        $obj->newStates();
146
147
        $obj->clear();
148
149
        $res = ["dataLabels" => [], "events" => [], "point" => [], "states" => []];
150
        $this->assertEquals($res, $obj->toArray());
151
    }
152
153
    /**
154
     * Tests the jsonSerialize() method.
155
     *
156
     * @return void
157
     */
158
    public function testJsonSerialize() {
159
160
        $obj = new \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBubble(true);
161
162
        $this->assertEquals([], $obj->jsonSerialize());
163
    }
164
165
    /**
166
     * Tests the newDataLabels() method.
167
     *
168
     * @return void.
169
     */
170
    public function testNewDataLabels() {
171
172
        $obj = new \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBubble(false);
173
174
        $res = $obj->newDataLabels();
175
        $this->assertInstanceOf(\WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Bubble\HighchartsDataLabels::class, $res);
176
    }
177
178
    /**
179
     * Tests the newEvents() method.
180
     *
181
     * @return void.
182
     */
183
    public function testNewEvents() {
184
185
        $obj = new \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBubble(false);
186
187
        $res = $obj->newEvents();
188
        $this->assertInstanceOf(\WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Bubble\HighchartsEvents::class, $res);
189
    }
190
191
    /**
192
     * Tests the newPoint() method.
193
     *
194
     * @return void.
195
     */
196
    public function testNewPoint() {
197
198
        $obj = new \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBubble(false);
199
200
        $res = $obj->newPoint();
201
        $this->assertInstanceOf(\WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Bubble\HighchartsPoint::class, $res);
202
    }
203
204
    /**
205
     * Tests the newStates() method.
206
     *
207
     * @return void.
208
     */
209
    public function testNewStates() {
210
211
        $obj = new \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBubble(false);
212
213
        $res = $obj->newStates();
214
        $this->assertInstanceOf(\WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Bubble\HighchartsStates::class, $res);
215
    }
216
217
    /**
218
     * Tests the toArray() method.
219
     *
220
     * @return void
221
     */
222
    public function testToArray() {
223
224
        $obj = new \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBubble(true);
225
226
        $obj->setAllowPointSelect(0);
227
228
        $res1 = ["allowPointSelect" => 0];
229
        $this->assertEquals($res1, $obj->toArray());
230
231
        $obj->setAnimation(0);
232
233
        $res2 = ["allowPointSelect" => 0, "animation" => 0];
234
        $this->assertEquals($res2, $obj->toArray());
235
236
        $obj->setAnimationLimit(64);
237
238
        $res3 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 64];
239
        $this->assertEquals($res3, $obj->toArray());
240
241
        $obj->setClassName("6f66e878c62db60568a3487869695820");
242
243
        $res4 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 64, "className" => "6f66e878c62db60568a3487869695820"];
244
        $this->assertEquals($res4, $obj->toArray());
245
246
        $obj->setColor("70dda5dfb8053dc6d1c492574bce9bfd");
247
248
        $res5 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 64, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd"];
249
        $this->assertEquals($res5, $obj->toArray());
250
251
        $obj->setColorIndex(64);
252
253
        $res6 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 64, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorIndex" => 64];
254
        $this->assertEquals($res6, $obj->toArray());
255
256
        $obj->setCropThreshold(21);
257
258
        $res7 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 64, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorIndex" => 64, "cropThreshold" => 21];
259
        $this->assertEquals($res7, $obj->toArray());
260
261
        $obj->setCursor("crosshair");
262
263
        $res8 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 64, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorIndex" => 64, "cropThreshold" => 21, "cursor" => "crosshair"];
264
        $this->assertEquals($res8, $obj->toArray());
265
266
        $obj->setDashStyle("LongDashDotDot");
267
268
        $res9 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 64, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorIndex" => 64, "cropThreshold" => 21, "cursor" => "crosshair", "dashStyle" => "LongDashDotDot"];
269
        $this->assertEquals($res9, $obj->toArray());
270
271
        $obj->setDataLabels(new \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Bubble\HighchartsDataLabels());
272
273
        $res10 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 64, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorIndex" => 64, "cropThreshold" => 21, "cursor" => "crosshair", "dashStyle" => "LongDashDotDot", "dataLabels" => []];
274
        $this->assertEquals($res10, $obj->toArray());
275
276
        $obj->setDescription("67daf92c833c41c95db874e18fcb2786");
277
278
        $res11 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 64, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorIndex" => 64, "cropThreshold" => 21, "cursor" => "crosshair", "dashStyle" => "LongDashDotDot", "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786"];
279
        $this->assertEquals($res11, $obj->toArray());
280
281
        $obj->setDisplayNegative(1);
282
283
        $res12 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 64, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorIndex" => 64, "cropThreshold" => 21, "cursor" => "crosshair", "dashStyle" => "LongDashDotDot", "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "displayNegative" => 1];
284
        $this->assertEquals($res12, $obj->toArray());
285
286
        $obj->setEnableMouseTracking(0);
287
288
        $res13 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 64, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorIndex" => 64, "cropThreshold" => 21, "cursor" => "crosshair", "dashStyle" => "LongDashDotDot", "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "displayNegative" => 1, "enableMouseTracking" => 0];
289
        $this->assertEquals($res13, $obj->toArray());
290
291
        $obj->setEvents(new \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Bubble\HighchartsEvents());
292
293
        $res14 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 64, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorIndex" => 64, "cropThreshold" => 21, "cursor" => "crosshair", "dashStyle" => "LongDashDotDot", "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "displayNegative" => 1, "enableMouseTracking" => 0, "events" => []];
294
        $this->assertEquals($res14, $obj->toArray());
295
296
        $obj->setExposeElementToA11y(0);
297
298
        $res15 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 64, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorIndex" => 64, "cropThreshold" => 21, "cursor" => "crosshair", "dashStyle" => "LongDashDotDot", "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "displayNegative" => 1, "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 0];
299
        $this->assertEquals($res15, $obj->toArray());
300
301
        $obj->setFindNearestPointBy("xy");
302
303
        $res16 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 64, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorIndex" => 64, "cropThreshold" => 21, "cursor" => "crosshair", "dashStyle" => "LongDashDotDot", "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "displayNegative" => 1, "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy"];
304
        $this->assertEquals($res16, $obj->toArray());
305
306
        $obj->setGetExtremesFromAll(0);
307
308
        $res17 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 64, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorIndex" => 64, "cropThreshold" => 21, "cursor" => "crosshair", "dashStyle" => "LongDashDotDot", "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "displayNegative" => 1, "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0];
309
        $this->assertEquals($res17, $obj->toArray());
310
311
        $obj->setKeys(["keys" => "14f802e1fba977727845e8872c1743a7"]);
312
313
        $res18 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 64, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorIndex" => 64, "cropThreshold" => 21, "cursor" => "crosshair", "dashStyle" => "LongDashDotDot", "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "displayNegative" => 1, "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"]];
314
        $this->assertEquals($res18, $obj->toArray());
315
316
        $obj->setLineWidth(18);
317
318
        $res19 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 64, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorIndex" => 64, "cropThreshold" => 21, "cursor" => "crosshair", "dashStyle" => "LongDashDotDot", "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "displayNegative" => 1, "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "lineWidth" => 18];
319
        $this->assertEquals($res19, $obj->toArray());
320
321
        $obj->setLinkedTo("914fab47afc86331ec62837807a29419");
322
323
        $res20 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 64, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorIndex" => 64, "cropThreshold" => 21, "cursor" => "crosshair", "dashStyle" => "LongDashDotDot", "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "displayNegative" => 1, "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "lineWidth" => 18, "linkedTo" => "914fab47afc86331ec62837807a29419"];
324
        $this->assertEquals($res20, $obj->toArray());
325
326
        $obj->setMarker(["marker" => "b272bda9bf0c1cdcba614b5ed99c4d62"]);
327
328
        $res21 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 64, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorIndex" => 64, "cropThreshold" => 21, "cursor" => "crosshair", "dashStyle" => "LongDashDotDot", "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "displayNegative" => 1, "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "lineWidth" => 18, "linkedTo" => "914fab47afc86331ec62837807a29419", "marker" => ["marker" => "b272bda9bf0c1cdcba614b5ed99c4d62"]];
329
        $this->assertEquals($res21, $obj->toArray());
330
331
        $obj->setMaxSize("b78e1120b12abd7215d67324fe9476ff");
332
333
        $res22 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 64, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorIndex" => 64, "cropThreshold" => 21, "cursor" => "crosshair", "dashStyle" => "LongDashDotDot", "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "displayNegative" => 1, "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "lineWidth" => 18, "linkedTo" => "914fab47afc86331ec62837807a29419", "marker" => ["marker" => "b272bda9bf0c1cdcba614b5ed99c4d62"], "maxSize" => "b78e1120b12abd7215d67324fe9476ff"];
334
        $this->assertEquals($res22, $obj->toArray());
335
336
        $obj->setMinSize("3de5f14eaef5c47fb68166862243861e");
337
338
        $res23 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 64, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorIndex" => 64, "cropThreshold" => 21, "cursor" => "crosshair", "dashStyle" => "LongDashDotDot", "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "displayNegative" => 1, "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "lineWidth" => 18, "linkedTo" => "914fab47afc86331ec62837807a29419", "marker" => ["marker" => "b272bda9bf0c1cdcba614b5ed99c4d62"], "maxSize" => "b78e1120b12abd7215d67324fe9476ff", "minSize" => "3de5f14eaef5c47fb68166862243861e"];
339
        $this->assertEquals($res23, $obj->toArray());
340
341
        $obj->setNegativeColor("52fe4d3a854b01e25193b4f35fc2040e");
342
343
        $res24 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 64, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorIndex" => 64, "cropThreshold" => 21, "cursor" => "crosshair", "dashStyle" => "LongDashDotDot", "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "displayNegative" => 1, "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "lineWidth" => 18, "linkedTo" => "914fab47afc86331ec62837807a29419", "marker" => ["marker" => "b272bda9bf0c1cdcba614b5ed99c4d62"], "maxSize" => "b78e1120b12abd7215d67324fe9476ff", "minSize" => "3de5f14eaef5c47fb68166862243861e", "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e"];
344
        $this->assertEquals($res24, $obj->toArray());
345
346
        $obj->setPoint(new \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Bubble\HighchartsPoint());
347
348
        $res25 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 64, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorIndex" => 64, "cropThreshold" => 21, "cursor" => "crosshair", "dashStyle" => "LongDashDotDot", "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "displayNegative" => 1, "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "lineWidth" => 18, "linkedTo" => "914fab47afc86331ec62837807a29419", "marker" => ["marker" => "b272bda9bf0c1cdcba614b5ed99c4d62"], "maxSize" => "b78e1120b12abd7215d67324fe9476ff", "minSize" => "3de5f14eaef5c47fb68166862243861e", "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "point" => []];
349
        $this->assertEquals($res25, $obj->toArray());
350
351
        $obj->setPointDescriptionFormatter("b5fd0c15b3ca81f726e2c7b93907ba36");
352
353
        $res26 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 64, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorIndex" => 64, "cropThreshold" => 21, "cursor" => "crosshair", "dashStyle" => "LongDashDotDot", "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "displayNegative" => 1, "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "lineWidth" => 18, "linkedTo" => "914fab47afc86331ec62837807a29419", "marker" => ["marker" => "b272bda9bf0c1cdcba614b5ed99c4d62"], "maxSize" => "b78e1120b12abd7215d67324fe9476ff", "minSize" => "3de5f14eaef5c47fb68166862243861e", "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36"];
354
        $this->assertEquals($res26, $obj->toArray());
355
356
        $obj->setPointInterval(92);
357
358
        $res27 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 64, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorIndex" => 64, "cropThreshold" => 21, "cursor" => "crosshair", "dashStyle" => "LongDashDotDot", "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "displayNegative" => 1, "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "lineWidth" => 18, "linkedTo" => "914fab47afc86331ec62837807a29419", "marker" => ["marker" => "b272bda9bf0c1cdcba614b5ed99c4d62"], "maxSize" => "b78e1120b12abd7215d67324fe9476ff", "minSize" => "3de5f14eaef5c47fb68166862243861e", "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 92];
359
        $this->assertEquals($res27, $obj->toArray());
360
361
        $obj->setPointIntervalUnit("year");
362
363
        $res28 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 64, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorIndex" => 64, "cropThreshold" => 21, "cursor" => "crosshair", "dashStyle" => "LongDashDotDot", "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "displayNegative" => 1, "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "lineWidth" => 18, "linkedTo" => "914fab47afc86331ec62837807a29419", "marker" => ["marker" => "b272bda9bf0c1cdcba614b5ed99c4d62"], "maxSize" => "b78e1120b12abd7215d67324fe9476ff", "minSize" => "3de5f14eaef5c47fb68166862243861e", "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 92, "pointIntervalUnit" => "year"];
364
        $this->assertEquals($res28, $obj->toArray());
365
366
        $obj->setPointStart(86);
367
368
        $res29 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 64, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorIndex" => 64, "cropThreshold" => 21, "cursor" => "crosshair", "dashStyle" => "LongDashDotDot", "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "displayNegative" => 1, "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "lineWidth" => 18, "linkedTo" => "914fab47afc86331ec62837807a29419", "marker" => ["marker" => "b272bda9bf0c1cdcba614b5ed99c4d62"], "maxSize" => "b78e1120b12abd7215d67324fe9476ff", "minSize" => "3de5f14eaef5c47fb68166862243861e", "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 92, "pointIntervalUnit" => "year", "pointStart" => 86];
369
        $this->assertEquals($res29, $obj->toArray());
370
371
        $obj->setSelected(1);
372
373
        $res30 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 64, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorIndex" => 64, "cropThreshold" => 21, "cursor" => "crosshair", "dashStyle" => "LongDashDotDot", "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "displayNegative" => 1, "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "lineWidth" => 18, "linkedTo" => "914fab47afc86331ec62837807a29419", "marker" => ["marker" => "b272bda9bf0c1cdcba614b5ed99c4d62"], "maxSize" => "b78e1120b12abd7215d67324fe9476ff", "minSize" => "3de5f14eaef5c47fb68166862243861e", "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 92, "pointIntervalUnit" => "year", "pointStart" => 86, "selected" => 1];
374
        $this->assertEquals($res30, $obj->toArray());
375
376
        $obj->setShadow(0);
377
378
        $res31 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 64, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorIndex" => 64, "cropThreshold" => 21, "cursor" => "crosshair", "dashStyle" => "LongDashDotDot", "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "displayNegative" => 1, "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "lineWidth" => 18, "linkedTo" => "914fab47afc86331ec62837807a29419", "marker" => ["marker" => "b272bda9bf0c1cdcba614b5ed99c4d62"], "maxSize" => "b78e1120b12abd7215d67324fe9476ff", "minSize" => "3de5f14eaef5c47fb68166862243861e", "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 92, "pointIntervalUnit" => "year", "pointStart" => 86, "selected" => 1, "shadow" => 0];
379
        $this->assertEquals($res31, $obj->toArray());
380
381
        $obj->setShowCheckbox(1);
382
383
        $res32 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 64, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorIndex" => 64, "cropThreshold" => 21, "cursor" => "crosshair", "dashStyle" => "LongDashDotDot", "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "displayNegative" => 1, "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "lineWidth" => 18, "linkedTo" => "914fab47afc86331ec62837807a29419", "marker" => ["marker" => "b272bda9bf0c1cdcba614b5ed99c4d62"], "maxSize" => "b78e1120b12abd7215d67324fe9476ff", "minSize" => "3de5f14eaef5c47fb68166862243861e", "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 92, "pointIntervalUnit" => "year", "pointStart" => 86, "selected" => 1, "shadow" => 0, "showCheckbox" => 1];
384
        $this->assertEquals($res32, $obj->toArray());
385
386
        $obj->setShowInLegend(1);
387
388
        $res33 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 64, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorIndex" => 64, "cropThreshold" => 21, "cursor" => "crosshair", "dashStyle" => "LongDashDotDot", "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "displayNegative" => 1, "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "lineWidth" => 18, "linkedTo" => "914fab47afc86331ec62837807a29419", "marker" => ["marker" => "b272bda9bf0c1cdcba614b5ed99c4d62"], "maxSize" => "b78e1120b12abd7215d67324fe9476ff", "minSize" => "3de5f14eaef5c47fb68166862243861e", "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 92, "pointIntervalUnit" => "year", "pointStart" => 86, "selected" => 1, "shadow" => 0, "showCheckbox" => 1, "showInLegend" => 1];
389
        $this->assertEquals($res33, $obj->toArray());
390
391
        $obj->setSizeBy("width");
392
393
        $res34 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 64, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorIndex" => 64, "cropThreshold" => 21, "cursor" => "crosshair", "dashStyle" => "LongDashDotDot", "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "displayNegative" => 1, "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "lineWidth" => 18, "linkedTo" => "914fab47afc86331ec62837807a29419", "marker" => ["marker" => "b272bda9bf0c1cdcba614b5ed99c4d62"], "maxSize" => "b78e1120b12abd7215d67324fe9476ff", "minSize" => "3de5f14eaef5c47fb68166862243861e", "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 92, "pointIntervalUnit" => "year", "pointStart" => 86, "selected" => 1, "shadow" => 0, "showCheckbox" => 1, "showInLegend" => 1, "sizeBy" => "width"];
394
        $this->assertEquals($res34, $obj->toArray());
395
396
        $obj->setSizeByAbsoluteValue(1);
397
398
        $res35 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 64, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorIndex" => 64, "cropThreshold" => 21, "cursor" => "crosshair", "dashStyle" => "LongDashDotDot", "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "displayNegative" => 1, "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "lineWidth" => 18, "linkedTo" => "914fab47afc86331ec62837807a29419", "marker" => ["marker" => "b272bda9bf0c1cdcba614b5ed99c4d62"], "maxSize" => "b78e1120b12abd7215d67324fe9476ff", "minSize" => "3de5f14eaef5c47fb68166862243861e", "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 92, "pointIntervalUnit" => "year", "pointStart" => 86, "selected" => 1, "shadow" => 0, "showCheckbox" => 1, "showInLegend" => 1, "sizeBy" => "width", "sizeByAbsoluteValue" => 1];
399
        $this->assertEquals($res35, $obj->toArray());
400
401
        $obj->setSkipKeyboardNavigation(1);
402
403
        $res36 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 64, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorIndex" => 64, "cropThreshold" => 21, "cursor" => "crosshair", "dashStyle" => "LongDashDotDot", "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "displayNegative" => 1, "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "lineWidth" => 18, "linkedTo" => "914fab47afc86331ec62837807a29419", "marker" => ["marker" => "b272bda9bf0c1cdcba614b5ed99c4d62"], "maxSize" => "b78e1120b12abd7215d67324fe9476ff", "minSize" => "3de5f14eaef5c47fb68166862243861e", "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 92, "pointIntervalUnit" => "year", "pointStart" => 86, "selected" => 1, "shadow" => 0, "showCheckbox" => 1, "showInLegend" => 1, "sizeBy" => "width", "sizeByAbsoluteValue" => 1, "skipKeyboardNavigation" => 1];
404
        $this->assertEquals($res36, $obj->toArray());
405
406
        $obj->setSoftThreshold(1);
407
408
        $res37 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 64, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorIndex" => 64, "cropThreshold" => 21, "cursor" => "crosshair", "dashStyle" => "LongDashDotDot", "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "displayNegative" => 1, "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "lineWidth" => 18, "linkedTo" => "914fab47afc86331ec62837807a29419", "marker" => ["marker" => "b272bda9bf0c1cdcba614b5ed99c4d62"], "maxSize" => "b78e1120b12abd7215d67324fe9476ff", "minSize" => "3de5f14eaef5c47fb68166862243861e", "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 92, "pointIntervalUnit" => "year", "pointStart" => 86, "selected" => 1, "shadow" => 0, "showCheckbox" => 1, "showInLegend" => 1, "sizeBy" => "width", "sizeByAbsoluteValue" => 1, "skipKeyboardNavigation" => 1, "softThreshold" => 1];
409
        $this->assertEquals($res37, $obj->toArray());
410
411
        $obj->setStates(new \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Bubble\HighchartsStates());
412
413
        $res38 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 64, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorIndex" => 64, "cropThreshold" => 21, "cursor" => "crosshair", "dashStyle" => "LongDashDotDot", "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "displayNegative" => 1, "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "lineWidth" => 18, "linkedTo" => "914fab47afc86331ec62837807a29419", "marker" => ["marker" => "b272bda9bf0c1cdcba614b5ed99c4d62"], "maxSize" => "b78e1120b12abd7215d67324fe9476ff", "minSize" => "3de5f14eaef5c47fb68166862243861e", "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 92, "pointIntervalUnit" => "year", "pointStart" => 86, "selected" => 1, "shadow" => 0, "showCheckbox" => 1, "showInLegend" => 1, "sizeBy" => "width", "sizeByAbsoluteValue" => 1, "skipKeyboardNavigation" => 1, "softThreshold" => 1, "states" => []];
414
        $this->assertEquals($res38, $obj->toArray());
415
416
        $obj->setStickyTracking(0);
417
418
        $res39 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 64, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorIndex" => 64, "cropThreshold" => 21, "cursor" => "crosshair", "dashStyle" => "LongDashDotDot", "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "displayNegative" => 1, "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "lineWidth" => 18, "linkedTo" => "914fab47afc86331ec62837807a29419", "marker" => ["marker" => "b272bda9bf0c1cdcba614b5ed99c4d62"], "maxSize" => "b78e1120b12abd7215d67324fe9476ff", "minSize" => "3de5f14eaef5c47fb68166862243861e", "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 92, "pointIntervalUnit" => "year", "pointStart" => 86, "selected" => 1, "shadow" => 0, "showCheckbox" => 1, "showInLegend" => 1, "sizeBy" => "width", "sizeByAbsoluteValue" => 1, "skipKeyboardNavigation" => 1, "softThreshold" => 1, "states" => [], "stickyTracking" => 0];
419
        $this->assertEquals($res39, $obj->toArray());
420
421
        $obj->setThreshold(21);
422
423
        $res40 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 64, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorIndex" => 64, "cropThreshold" => 21, "cursor" => "crosshair", "dashStyle" => "LongDashDotDot", "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "displayNegative" => 1, "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "lineWidth" => 18, "linkedTo" => "914fab47afc86331ec62837807a29419", "marker" => ["marker" => "b272bda9bf0c1cdcba614b5ed99c4d62"], "maxSize" => "b78e1120b12abd7215d67324fe9476ff", "minSize" => "3de5f14eaef5c47fb68166862243861e", "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 92, "pointIntervalUnit" => "year", "pointStart" => 86, "selected" => 1, "shadow" => 0, "showCheckbox" => 1, "showInLegend" => 1, "sizeBy" => "width", "sizeByAbsoluteValue" => 1, "skipKeyboardNavigation" => 1, "softThreshold" => 1, "states" => [], "stickyTracking" => 0, "threshold" => 21];
424
        $this->assertEquals($res40, $obj->toArray());
425
426
        $obj->setTooltip(["tooltip" => "ddbfc1b6aa0ad4d79c5dac7aa3b44888"]);
427
428
        $res41 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 64, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorIndex" => 64, "cropThreshold" => 21, "cursor" => "crosshair", "dashStyle" => "LongDashDotDot", "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "displayNegative" => 1, "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "lineWidth" => 18, "linkedTo" => "914fab47afc86331ec62837807a29419", "marker" => ["marker" => "b272bda9bf0c1cdcba614b5ed99c4d62"], "maxSize" => "b78e1120b12abd7215d67324fe9476ff", "minSize" => "3de5f14eaef5c47fb68166862243861e", "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 92, "pointIntervalUnit" => "year", "pointStart" => 86, "selected" => 1, "shadow" => 0, "showCheckbox" => 1, "showInLegend" => 1, "sizeBy" => "width", "sizeByAbsoluteValue" => 1, "skipKeyboardNavigation" => 1, "softThreshold" => 1, "states" => [], "stickyTracking" => 0, "threshold" => 21, "tooltip" => ["tooltip" => "ddbfc1b6aa0ad4d79c5dac7aa3b44888"]];
429
        $this->assertEquals($res41, $obj->toArray());
430
431
        $obj->setVisible(1);
432
433
        $res42 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 64, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorIndex" => 64, "cropThreshold" => 21, "cursor" => "crosshair", "dashStyle" => "LongDashDotDot", "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "displayNegative" => 1, "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "lineWidth" => 18, "linkedTo" => "914fab47afc86331ec62837807a29419", "marker" => ["marker" => "b272bda9bf0c1cdcba614b5ed99c4d62"], "maxSize" => "b78e1120b12abd7215d67324fe9476ff", "minSize" => "3de5f14eaef5c47fb68166862243861e", "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 92, "pointIntervalUnit" => "year", "pointStart" => 86, "selected" => 1, "shadow" => 0, "showCheckbox" => 1, "showInLegend" => 1, "sizeBy" => "width", "sizeByAbsoluteValue" => 1, "skipKeyboardNavigation" => 1, "softThreshold" => 1, "states" => [], "stickyTracking" => 0, "threshold" => 21, "tooltip" => ["tooltip" => "ddbfc1b6aa0ad4d79c5dac7aa3b44888"], "visible" => 1];
434
        $this->assertEquals($res42, $obj->toArray());
435
436
        $obj->setZMax(81);
437
438
        $res43 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 64, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorIndex" => 64, "cropThreshold" => 21, "cursor" => "crosshair", "dashStyle" => "LongDashDotDot", "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "displayNegative" => 1, "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "lineWidth" => 18, "linkedTo" => "914fab47afc86331ec62837807a29419", "marker" => ["marker" => "b272bda9bf0c1cdcba614b5ed99c4d62"], "maxSize" => "b78e1120b12abd7215d67324fe9476ff", "minSize" => "3de5f14eaef5c47fb68166862243861e", "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 92, "pointIntervalUnit" => "year", "pointStart" => 86, "selected" => 1, "shadow" => 0, "showCheckbox" => 1, "showInLegend" => 1, "sizeBy" => "width", "sizeByAbsoluteValue" => 1, "skipKeyboardNavigation" => 1, "softThreshold" => 1, "states" => [], "stickyTracking" => 0, "threshold" => 21, "tooltip" => ["tooltip" => "ddbfc1b6aa0ad4d79c5dac7aa3b44888"], "visible" => 1, "zMax" => 81];
439
        $this->assertEquals($res43, $obj->toArray());
440
441
        $obj->setZMin(90);
442
443
        $res44 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 64, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorIndex" => 64, "cropThreshold" => 21, "cursor" => "crosshair", "dashStyle" => "LongDashDotDot", "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "displayNegative" => 1, "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "lineWidth" => 18, "linkedTo" => "914fab47afc86331ec62837807a29419", "marker" => ["marker" => "b272bda9bf0c1cdcba614b5ed99c4d62"], "maxSize" => "b78e1120b12abd7215d67324fe9476ff", "minSize" => "3de5f14eaef5c47fb68166862243861e", "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 92, "pointIntervalUnit" => "year", "pointStart" => 86, "selected" => 1, "shadow" => 0, "showCheckbox" => 1, "showInLegend" => 1, "sizeBy" => "width", "sizeByAbsoluteValue" => 1, "skipKeyboardNavigation" => 1, "softThreshold" => 1, "states" => [], "stickyTracking" => 0, "threshold" => 21, "tooltip" => ["tooltip" => "ddbfc1b6aa0ad4d79c5dac7aa3b44888"], "visible" => 1, "zMax" => 81, "zMin" => 90];
444
        $this->assertEquals($res44, $obj->toArray());
445
446
        $obj->setZThreshold(38);
447
448
        $res45 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 64, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorIndex" => 64, "cropThreshold" => 21, "cursor" => "crosshair", "dashStyle" => "LongDashDotDot", "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "displayNegative" => 1, "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "lineWidth" => 18, "linkedTo" => "914fab47afc86331ec62837807a29419", "marker" => ["marker" => "b272bda9bf0c1cdcba614b5ed99c4d62"], "maxSize" => "b78e1120b12abd7215d67324fe9476ff", "minSize" => "3de5f14eaef5c47fb68166862243861e", "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 92, "pointIntervalUnit" => "year", "pointStart" => 86, "selected" => 1, "shadow" => 0, "showCheckbox" => 1, "showInLegend" => 1, "sizeBy" => "width", "sizeByAbsoluteValue" => 1, "skipKeyboardNavigation" => 1, "softThreshold" => 1, "states" => [], "stickyTracking" => 0, "threshold" => 21, "tooltip" => ["tooltip" => "ddbfc1b6aa0ad4d79c5dac7aa3b44888"], "visible" => 1, "zMax" => 81, "zMin" => 90, "zThreshold" => 38];
449
        $this->assertEquals($res45, $obj->toArray());
450
451
        $obj->setZoneAxis("88421adabea658556aa3ab6c6181afad");
452
453
        $res46 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 64, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorIndex" => 64, "cropThreshold" => 21, "cursor" => "crosshair", "dashStyle" => "LongDashDotDot", "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "displayNegative" => 1, "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "lineWidth" => 18, "linkedTo" => "914fab47afc86331ec62837807a29419", "marker" => ["marker" => "b272bda9bf0c1cdcba614b5ed99c4d62"], "maxSize" => "b78e1120b12abd7215d67324fe9476ff", "minSize" => "3de5f14eaef5c47fb68166862243861e", "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 92, "pointIntervalUnit" => "year", "pointStart" => 86, "selected" => 1, "shadow" => 0, "showCheckbox" => 1, "showInLegend" => 1, "sizeBy" => "width", "sizeByAbsoluteValue" => 1, "skipKeyboardNavigation" => 1, "softThreshold" => 1, "states" => [], "stickyTracking" => 0, "threshold" => 21, "tooltip" => ["tooltip" => "ddbfc1b6aa0ad4d79c5dac7aa3b44888"], "visible" => 1, "zMax" => 81, "zMin" => 90, "zThreshold" => 38, "zoneAxis" => "88421adabea658556aa3ab6c6181afad"];
454
        $this->assertEquals($res46, $obj->toArray());
455
456
        $obj->setZones(["zones" => "26f94136f5db8afd4e9df1e512f7fdc5"]);
457
458
        $res47 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 64, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorIndex" => 64, "cropThreshold" => 21, "cursor" => "crosshair", "dashStyle" => "LongDashDotDot", "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "displayNegative" => 1, "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "lineWidth" => 18, "linkedTo" => "914fab47afc86331ec62837807a29419", "marker" => ["marker" => "b272bda9bf0c1cdcba614b5ed99c4d62"], "maxSize" => "b78e1120b12abd7215d67324fe9476ff", "minSize" => "3de5f14eaef5c47fb68166862243861e", "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 92, "pointIntervalUnit" => "year", "pointStart" => 86, "selected" => 1, "shadow" => 0, "showCheckbox" => 1, "showInLegend" => 1, "sizeBy" => "width", "sizeByAbsoluteValue" => 1, "skipKeyboardNavigation" => 1, "softThreshold" => 1, "states" => [], "stickyTracking" => 0, "threshold" => 21, "tooltip" => ["tooltip" => "ddbfc1b6aa0ad4d79c5dac7aa3b44888"], "visible" => 1, "zMax" => 81, "zMin" => 90, "zThreshold" => 38, "zoneAxis" => "88421adabea658556aa3ab6c6181afad", "zones" => ["zones" => "26f94136f5db8afd4e9df1e512f7fdc5"]];
459
        $this->assertEquals($res47, $obj->toArray());
460
    }
461
462
}
463