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

HighchartsErrorbarTest::testToArray()   B

Complexity

Conditions 1
Paths 1

Size

Total Lines 243
Code Lines 145

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 145
nc 1
nop 0
dl 0
loc 243
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 errorbar 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 HighchartsErrorbarTest 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\HighchartsErrorbar(true);
33
34
        $this->assertEquals(null, $obj1->getAllowPointSelect());
35
        $this->assertEquals(null, $obj1->getAnimationLimit());
36
        $this->assertEquals(null, $obj1->getClassName());
37
        $this->assertEquals(null, $obj1->getColor());
38
        $this->assertEquals(null, $obj1->getColorByPoint());
39
        $this->assertEquals(null, $obj1->getColorIndex());
40
        $this->assertEquals(null, $obj1->getColors());
41
        $this->assertEquals(null, $obj1->getCrisp());
42
        $this->assertEquals(null, $obj1->getCursor());
43
        $this->assertEquals(null, $obj1->getDepth());
44
        $this->assertEquals(null, $obj1->getDescription());
45
        $this->assertEquals(null, $obj1->getEdgeColor());
46
        $this->assertEquals(null, $obj1->getEdgeWidth());
47
        $this->assertEquals(null, $obj1->getEnableMouseTracking());
48
        $this->assertEquals(null, $obj1->getEvents());
49
        $this->assertEquals(null, $obj1->getExposeElementToA11y());
50
        $this->assertEquals(null, $obj1->getFindNearestPointBy());
51
        $this->assertEquals(null, $obj1->getGetExtremesFromAll());
52
        $this->assertEquals(null, $obj1->getGroupZPadding());
53
        $this->assertEquals(null, $obj1->getKeys());
54
        $this->assertEquals(null, $obj1->getLineWidth());
55
        $this->assertEquals(null, $obj1->getLinkedTo());
56
        $this->assertEquals(null, $obj1->getMaxPointWidth());
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->getPointPadding());
63
        $this->assertEquals(null, $obj1->getPointPlacement());
64
        $this->assertEquals(null, $obj1->getPointRange());
65
        $this->assertEquals(null, $obj1->getPointStart());
66
        $this->assertEquals(null, $obj1->getPointWidth());
67
        $this->assertEquals(null, $obj1->getSelected());
68
        $this->assertEquals(null, $obj1->getSkipKeyboardNavigation());
69
        $this->assertEquals(null, $obj1->getStates());
70
        $this->assertEquals(null, $obj1->getStemColor());
71
        $this->assertEquals(null, $obj1->getStemDashStyle());
72
        $this->assertEquals(null, $obj1->getStemWidth());
73
        $this->assertEquals(null, $obj1->getStickyTracking());
74
        $this->assertEquals(null, $obj1->getTooltip());
75
        $this->assertEquals(null, $obj1->getTurboThreshold());
76
        $this->assertEquals(null, $obj1->getVisible());
77
        $this->assertEquals(null, $obj1->getWhiskerColor());
78
        $this->assertEquals(null, $obj1->getWhiskerLength());
79
        $this->assertEquals(null, $obj1->getWhiskerWidth());
80
        $this->assertEquals(null, $obj1->getZoneAxis());
81
        $this->assertEquals(null, $obj1->getZones());
82
83
        $obj0 = new \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsErrorbar(false);
84
85
        $this->assertEquals(false, $obj0->getAllowPointSelect());
86
        $this->assertEquals(null, $obj0->getAnimationLimit());
87
        $this->assertEquals(null, $obj0->getClassName());
88
        $this->assertEquals("#000000", $obj0->getColor());
89
        $this->assertEquals(false, $obj0->getColorByPoint());
90
        $this->assertEquals(null, $obj0->getColorIndex());
91
        $this->assertEquals(null, $obj0->getColors());
92
        $this->assertEquals(true, $obj0->getCrisp());
93
        $this->assertEquals(null, $obj0->getCursor());
94
        $this->assertEquals(25, $obj0->getDepth());
95
        $this->assertEquals(null, $obj0->getDescription());
96
        $this->assertEquals(null, $obj0->getEdgeColor());
97
        $this->assertEquals(1, $obj0->getEdgeWidth());
98
        $this->assertEquals(true, $obj0->getEnableMouseTracking());
99
        $this->assertEquals(null, $obj0->getEvents());
100
        $this->assertEquals(null, $obj0->getExposeElementToA11y());
101
        $this->assertEquals(null, $obj0->getFindNearestPointBy());
102
        $this->assertEquals(false, $obj0->getGetExtremesFromAll());
103
        $this->assertEquals(1, $obj0->getGroupZPadding());
104
        $this->assertEquals(null, $obj0->getKeys());
105
        $this->assertEquals(1, $obj0->getLineWidth());
106
        $this->assertEquals(":previous", $obj0->getLinkedTo());
107
        $this->assertEquals(null, $obj0->getMaxPointWidth());
108
        $this->assertEquals(null, $obj0->getNegativeColor());
109
        $this->assertEquals(null, $obj0->getPoint());
110
        $this->assertEquals(null, $obj0->getPointDescriptionFormatter());
111
        $this->assertEquals(1, $obj0->getPointInterval());
112
        $this->assertEquals(null, $obj0->getPointIntervalUnit());
113
        $this->assertEquals(0.1, $obj0->getPointPadding());
114
        $this->assertEquals(null, $obj0->getPointPlacement());
115
        $this->assertEquals(null, $obj0->getPointRange());
116
        $this->assertEquals(0, $obj0->getPointStart());
117
        $this->assertEquals(null, $obj0->getPointWidth());
118
        $this->assertEquals(false, $obj0->getSelected());
119
        $this->assertEquals(null, $obj0->getSkipKeyboardNavigation());
120
        $this->assertEquals(null, $obj0->getStates());
121
        $this->assertEquals(null, $obj0->getStemColor());
122
        $this->assertEquals("Solid", $obj0->getStemDashStyle());
123
        $this->assertEquals(null, $obj0->getStemWidth());
124
        $this->assertEquals(true, $obj0->getStickyTracking());
125
        $this->assertEquals(null, $obj0->getTooltip());
126
        $this->assertEquals(1000, $obj0->getTurboThreshold());
127
        $this->assertEquals(true, $obj0->getVisible());
128
        $this->assertEquals(null, $obj0->getWhiskerColor());
129
        $this->assertEquals("50%", $obj0->getWhiskerLength());
130
        $this->assertEquals(null, $obj0->getWhiskerWidth());
131
        $this->assertEquals("y", $obj0->getZoneAxis());
132
        $this->assertEquals(null, $obj0->getZones());
133
    }
134
135
    /**
136
     * Tests the clear() method.
137
     *
138
     * @return void
139
     */
140
    public function testClear() {
141
142
        $obj = new \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsErrorbar(false);
143
144
        $obj->newEvents();
145
        $obj->newPoint();
146
        $obj->newStates();
147
148
        $obj->clear();
149
150
        $res = ["events" => [], "point" => [], "states" => []];
151
        $this->assertEquals($res, $obj->toArray());
152
    }
153
154
    /**
155
     * Tests the jsonSerialize() method.
156
     *
157
     * @return void
158
     */
159
    public function testJsonSerialize() {
160
161
        $obj = new \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsErrorbar(true);
162
163
        $this->assertEquals([], $obj->jsonSerialize());
164
    }
165
166
    /**
167
     * Tests the newEvents() method.
168
     *
169
     * @return void.
170
     */
171
    public function testNewEvents() {
172
173
        $obj = new \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsErrorbar(false);
174
175
        $res = $obj->newEvents();
176
        $this->assertInstanceOf(\WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Errorbar\HighchartsEvents::class, $res);
177
    }
178
179
    /**
180
     * Tests the newPoint() method.
181
     *
182
     * @return void.
183
     */
184
    public function testNewPoint() {
185
186
        $obj = new \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsErrorbar(false);
187
188
        $res = $obj->newPoint();
189
        $this->assertInstanceOf(\WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Errorbar\HighchartsPoint::class, $res);
190
    }
191
192
    /**
193
     * Tests the newStates() method.
194
     *
195
     * @return void.
196
     */
197
    public function testNewStates() {
198
199
        $obj = new \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsErrorbar(false);
200
201
        $res = $obj->newStates();
202
        $this->assertInstanceOf(\WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Errorbar\HighchartsStates::class, $res);
203
    }
204
205
    /**
206
     * Tests the toArray() method.
207
     *
208
     * @return void
209
     */
210
    public function testToArray() {
211
212
        $obj = new \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsErrorbar(true);
213
214
        $obj->setAllowPointSelect(0);
215
216
        $res1 = ["allowPointSelect" => 0];
217
        $this->assertEquals($res1, $obj->toArray());
218
219
        $obj->setAnimationLimit(29);
220
221
        $res2 = ["allowPointSelect" => 0, "animationLimit" => 29];
222
        $this->assertEquals($res2, $obj->toArray());
223
224
        $obj->setClassName("6f66e878c62db60568a3487869695820");
225
226
        $res3 = ["allowPointSelect" => 0, "animationLimit" => 29, "className" => "6f66e878c62db60568a3487869695820"];
227
        $this->assertEquals($res3, $obj->toArray());
228
229
        $obj->setColor("70dda5dfb8053dc6d1c492574bce9bfd");
230
231
        $res4 = ["allowPointSelect" => 0, "animationLimit" => 29, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd"];
232
        $this->assertEquals($res4, $obj->toArray());
233
234
        $obj->setColorByPoint(1);
235
236
        $res5 = ["allowPointSelect" => 0, "animationLimit" => 29, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1];
237
        $this->assertEquals($res5, $obj->toArray());
238
239
        $obj->setColorIndex(0);
240
241
        $res6 = ["allowPointSelect" => 0, "animationLimit" => 29, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 0];
242
        $this->assertEquals($res6, $obj->toArray());
243
244
        $obj->setColors(["colors" => "62848e3ce5804aa985513a7922ff87b2"]);
245
246
        $res7 = ["allowPointSelect" => 0, "animationLimit" => 29, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 0, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"]];
247
        $this->assertEquals($res7, $obj->toArray());
248
249
        $obj->setCrisp(0);
250
251
        $res8 = ["allowPointSelect" => 0, "animationLimit" => 29, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 0, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0];
252
        $this->assertEquals($res8, $obj->toArray());
253
254
        $obj->setCursor("crosshair");
255
256
        $res9 = ["allowPointSelect" => 0, "animationLimit" => 29, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 0, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cursor" => "crosshair"];
257
        $this->assertEquals($res9, $obj->toArray());
258
259
        $obj->setDepth(42);
260
261
        $res10 = ["allowPointSelect" => 0, "animationLimit" => 29, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 0, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cursor" => "crosshair", "depth" => 42];
262
        $this->assertEquals($res10, $obj->toArray());
263
264
        $obj->setDescription("67daf92c833c41c95db874e18fcb2786");
265
266
        $res11 = ["allowPointSelect" => 0, "animationLimit" => 29, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 0, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cursor" => "crosshair", "depth" => 42, "description" => "67daf92c833c41c95db874e18fcb2786"];
267
        $this->assertEquals($res11, $obj->toArray());
268
269
        $obj->setEdgeColor("acbab0d2e7e54e5a7a32fc80409601fc");
270
271
        $res12 = ["allowPointSelect" => 0, "animationLimit" => 29, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 0, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cursor" => "crosshair", "depth" => 42, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc"];
272
        $this->assertEquals($res12, $obj->toArray());
273
274
        $obj->setEdgeWidth(73);
275
276
        $res13 = ["allowPointSelect" => 0, "animationLimit" => 29, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 0, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cursor" => "crosshair", "depth" => 42, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 73];
277
        $this->assertEquals($res13, $obj->toArray());
278
279
        $obj->setEnableMouseTracking(1);
280
281
        $res14 = ["allowPointSelect" => 0, "animationLimit" => 29, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 0, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cursor" => "crosshair", "depth" => 42, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 73, "enableMouseTracking" => 1];
282
        $this->assertEquals($res14, $obj->toArray());
283
284
        $obj->setEvents(new \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Errorbar\HighchartsEvents());
285
286
        $res15 = ["allowPointSelect" => 0, "animationLimit" => 29, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 0, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cursor" => "crosshair", "depth" => 42, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 73, "enableMouseTracking" => 1, "events" => []];
287
        $this->assertEquals($res15, $obj->toArray());
288
289
        $obj->setExposeElementToA11y(1);
290
291
        $res16 = ["allowPointSelect" => 0, "animationLimit" => 29, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 0, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cursor" => "crosshair", "depth" => 42, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 73, "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 1];
292
        $this->assertEquals($res16, $obj->toArray());
293
294
        $obj->setFindNearestPointBy("xy");
295
296
        $res17 = ["allowPointSelect" => 0, "animationLimit" => 29, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 0, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cursor" => "crosshair", "depth" => 42, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 73, "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 1, "findNearestPointBy" => "xy"];
297
        $this->assertEquals($res17, $obj->toArray());
298
299
        $obj->setGetExtremesFromAll(1);
300
301
        $res18 = ["allowPointSelect" => 0, "animationLimit" => 29, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 0, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cursor" => "crosshair", "depth" => 42, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 73, "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 1, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1];
302
        $this->assertEquals($res18, $obj->toArray());
303
304
        $obj->setGroupZPadding(93);
305
306
        $res19 = ["allowPointSelect" => 0, "animationLimit" => 29, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 0, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cursor" => "crosshair", "depth" => 42, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 73, "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 1, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "groupZPadding" => 93];
307
        $this->assertEquals($res19, $obj->toArray());
308
309
        $obj->setKeys(["keys" => "14f802e1fba977727845e8872c1743a7"]);
310
311
        $res20 = ["allowPointSelect" => 0, "animationLimit" => 29, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 0, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cursor" => "crosshair", "depth" => 42, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 73, "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 1, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "groupZPadding" => 93, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"]];
312
        $this->assertEquals($res20, $obj->toArray());
313
314
        $obj->setLineWidth(75);
315
316
        $res21 = ["allowPointSelect" => 0, "animationLimit" => 29, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 0, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cursor" => "crosshair", "depth" => 42, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 73, "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 1, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "groupZPadding" => 93, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "lineWidth" => 75];
317
        $this->assertEquals($res21, $obj->toArray());
318
319
        $obj->setLinkedTo("914fab47afc86331ec62837807a29419");
320
321
        $res22 = ["allowPointSelect" => 0, "animationLimit" => 29, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 0, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cursor" => "crosshair", "depth" => 42, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 73, "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 1, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "groupZPadding" => 93, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "lineWidth" => 75, "linkedTo" => "914fab47afc86331ec62837807a29419"];
322
        $this->assertEquals($res22, $obj->toArray());
323
324
        $obj->setMaxPointWidth(17);
325
326
        $res23 = ["allowPointSelect" => 0, "animationLimit" => 29, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 0, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cursor" => "crosshair", "depth" => 42, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 73, "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 1, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "groupZPadding" => 93, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "lineWidth" => 75, "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 17];
327
        $this->assertEquals($res23, $obj->toArray());
328
329
        $obj->setNegativeColor("52fe4d3a854b01e25193b4f35fc2040e");
330
331
        $res24 = ["allowPointSelect" => 0, "animationLimit" => 29, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 0, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cursor" => "crosshair", "depth" => 42, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 73, "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 1, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "groupZPadding" => 93, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "lineWidth" => 75, "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 17, "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e"];
332
        $this->assertEquals($res24, $obj->toArray());
333
334
        $obj->setPoint(new \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Errorbar\HighchartsPoint());
335
336
        $res25 = ["allowPointSelect" => 0, "animationLimit" => 29, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 0, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cursor" => "crosshair", "depth" => 42, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 73, "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 1, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "groupZPadding" => 93, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "lineWidth" => 75, "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 17, "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "point" => []];
337
        $this->assertEquals($res25, $obj->toArray());
338
339
        $obj->setPointDescriptionFormatter("b5fd0c15b3ca81f726e2c7b93907ba36");
340
341
        $res26 = ["allowPointSelect" => 0, "animationLimit" => 29, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 0, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cursor" => "crosshair", "depth" => 42, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 73, "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 1, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "groupZPadding" => 93, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "lineWidth" => 75, "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 17, "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36"];
342
        $this->assertEquals($res26, $obj->toArray());
343
344
        $obj->setPointInterval(96);
345
346
        $res27 = ["allowPointSelect" => 0, "animationLimit" => 29, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 0, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cursor" => "crosshair", "depth" => 42, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 73, "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 1, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "groupZPadding" => 93, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "lineWidth" => 75, "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 17, "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 96];
347
        $this->assertEquals($res27, $obj->toArray());
348
349
        $obj->setPointIntervalUnit("year");
350
351
        $res28 = ["allowPointSelect" => 0, "animationLimit" => 29, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 0, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cursor" => "crosshair", "depth" => 42, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 73, "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 1, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "groupZPadding" => 93, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "lineWidth" => 75, "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 17, "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 96, "pointIntervalUnit" => "year"];
352
        $this->assertEquals($res28, $obj->toArray());
353
354
        $obj->setPointPadding(6);
355
356
        $res29 = ["allowPointSelect" => 0, "animationLimit" => 29, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 0, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cursor" => "crosshair", "depth" => 42, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 73, "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 1, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "groupZPadding" => 93, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "lineWidth" => 75, "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 17, "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 96, "pointIntervalUnit" => "year", "pointPadding" => 6];
357
        $this->assertEquals($res29, $obj->toArray());
358
359
        $obj->setPointPlacement("between");
360
361
        $res30 = ["allowPointSelect" => 0, "animationLimit" => 29, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 0, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cursor" => "crosshair", "depth" => 42, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 73, "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 1, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "groupZPadding" => 93, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "lineWidth" => 75, "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 17, "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 96, "pointIntervalUnit" => "year", "pointPadding" => 6, "pointPlacement" => "between"];
362
        $this->assertEquals($res30, $obj->toArray());
363
364
        $obj->setPointRange(20);
365
366
        $res31 = ["allowPointSelect" => 0, "animationLimit" => 29, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 0, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cursor" => "crosshair", "depth" => 42, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 73, "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 1, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "groupZPadding" => 93, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "lineWidth" => 75, "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 17, "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 96, "pointIntervalUnit" => "year", "pointPadding" => 6, "pointPlacement" => "between", "pointRange" => 20];
367
        $this->assertEquals($res31, $obj->toArray());
368
369
        $obj->setPointStart(40);
370
371
        $res32 = ["allowPointSelect" => 0, "animationLimit" => 29, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 0, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cursor" => "crosshair", "depth" => 42, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 73, "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 1, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "groupZPadding" => 93, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "lineWidth" => 75, "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 17, "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 96, "pointIntervalUnit" => "year", "pointPadding" => 6, "pointPlacement" => "between", "pointRange" => 20, "pointStart" => 40];
372
        $this->assertEquals($res32, $obj->toArray());
373
374
        $obj->setPointWidth(35);
375
376
        $res33 = ["allowPointSelect" => 0, "animationLimit" => 29, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 0, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cursor" => "crosshair", "depth" => 42, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 73, "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 1, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "groupZPadding" => 93, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "lineWidth" => 75, "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 17, "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 96, "pointIntervalUnit" => "year", "pointPadding" => 6, "pointPlacement" => "between", "pointRange" => 20, "pointStart" => 40, "pointWidth" => 35];
377
        $this->assertEquals($res33, $obj->toArray());
378
379
        $obj->setSelected(1);
380
381
        $res34 = ["allowPointSelect" => 0, "animationLimit" => 29, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 0, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cursor" => "crosshair", "depth" => 42, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 73, "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 1, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "groupZPadding" => 93, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "lineWidth" => 75, "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 17, "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 96, "pointIntervalUnit" => "year", "pointPadding" => 6, "pointPlacement" => "between", "pointRange" => 20, "pointStart" => 40, "pointWidth" => 35, "selected" => 1];
382
        $this->assertEquals($res34, $obj->toArray());
383
384
        $obj->setSkipKeyboardNavigation(1);
385
386
        $res35 = ["allowPointSelect" => 0, "animationLimit" => 29, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 0, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cursor" => "crosshair", "depth" => 42, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 73, "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 1, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "groupZPadding" => 93, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "lineWidth" => 75, "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 17, "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 96, "pointIntervalUnit" => "year", "pointPadding" => 6, "pointPlacement" => "between", "pointRange" => 20, "pointStart" => 40, "pointWidth" => 35, "selected" => 1, "skipKeyboardNavigation" => 1];
387
        $this->assertEquals($res35, $obj->toArray());
388
389
        $obj->setStates(new \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Errorbar\HighchartsStates());
390
391
        $res36 = ["allowPointSelect" => 0, "animationLimit" => 29, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 0, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cursor" => "crosshair", "depth" => 42, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 73, "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 1, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "groupZPadding" => 93, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "lineWidth" => 75, "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 17, "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 96, "pointIntervalUnit" => "year", "pointPadding" => 6, "pointPlacement" => "between", "pointRange" => 20, "pointStart" => 40, "pointWidth" => 35, "selected" => 1, "skipKeyboardNavigation" => 1, "states" => []];
392
        $this->assertEquals($res36, $obj->toArray());
393
394
        $obj->setStemColor("98696f23b6ed2a881042dfa365a28d23");
395
396
        $res37 = ["allowPointSelect" => 0, "animationLimit" => 29, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 0, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cursor" => "crosshair", "depth" => 42, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 73, "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 1, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "groupZPadding" => 93, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "lineWidth" => 75, "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 17, "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 96, "pointIntervalUnit" => "year", "pointPadding" => 6, "pointPlacement" => "between", "pointRange" => 20, "pointStart" => 40, "pointWidth" => 35, "selected" => 1, "skipKeyboardNavigation" => 1, "states" => [], "stemColor" => "98696f23b6ed2a881042dfa365a28d23"];
397
        $this->assertEquals($res37, $obj->toArray());
398
399
        $obj->setStemDashStyle("LongDashDotDot");
400
401
        $res38 = ["allowPointSelect" => 0, "animationLimit" => 29, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 0, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cursor" => "crosshair", "depth" => 42, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 73, "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 1, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "groupZPadding" => 93, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "lineWidth" => 75, "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 17, "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 96, "pointIntervalUnit" => "year", "pointPadding" => 6, "pointPlacement" => "between", "pointRange" => 20, "pointStart" => 40, "pointWidth" => 35, "selected" => 1, "skipKeyboardNavigation" => 1, "states" => [], "stemColor" => "98696f23b6ed2a881042dfa365a28d23", "stemDashStyle" => "LongDashDotDot"];
402
        $this->assertEquals($res38, $obj->toArray());
403
404
        $obj->setStemWidth(39);
405
406
        $res39 = ["allowPointSelect" => 0, "animationLimit" => 29, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 0, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cursor" => "crosshair", "depth" => 42, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 73, "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 1, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "groupZPadding" => 93, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "lineWidth" => 75, "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 17, "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 96, "pointIntervalUnit" => "year", "pointPadding" => 6, "pointPlacement" => "between", "pointRange" => 20, "pointStart" => 40, "pointWidth" => 35, "selected" => 1, "skipKeyboardNavigation" => 1, "states" => [], "stemColor" => "98696f23b6ed2a881042dfa365a28d23", "stemDashStyle" => "LongDashDotDot", "stemWidth" => 39];
407
        $this->assertEquals($res39, $obj->toArray());
408
409
        $obj->setStickyTracking(1);
410
411
        $res40 = ["allowPointSelect" => 0, "animationLimit" => 29, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 0, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cursor" => "crosshair", "depth" => 42, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 73, "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 1, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "groupZPadding" => 93, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "lineWidth" => 75, "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 17, "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 96, "pointIntervalUnit" => "year", "pointPadding" => 6, "pointPlacement" => "between", "pointRange" => 20, "pointStart" => 40, "pointWidth" => 35, "selected" => 1, "skipKeyboardNavigation" => 1, "states" => [], "stemColor" => "98696f23b6ed2a881042dfa365a28d23", "stemDashStyle" => "LongDashDotDot", "stemWidth" => 39, "stickyTracking" => 1];
412
        $this->assertEquals($res40, $obj->toArray());
413
414
        $obj->setTooltip(["tooltip" => "ddbfc1b6aa0ad4d79c5dac7aa3b44888"]);
415
416
        $res41 = ["allowPointSelect" => 0, "animationLimit" => 29, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 0, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cursor" => "crosshair", "depth" => 42, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 73, "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 1, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "groupZPadding" => 93, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "lineWidth" => 75, "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 17, "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 96, "pointIntervalUnit" => "year", "pointPadding" => 6, "pointPlacement" => "between", "pointRange" => 20, "pointStart" => 40, "pointWidth" => 35, "selected" => 1, "skipKeyboardNavigation" => 1, "states" => [], "stemColor" => "98696f23b6ed2a881042dfa365a28d23", "stemDashStyle" => "LongDashDotDot", "stemWidth" => 39, "stickyTracking" => 1, "tooltip" => ["tooltip" => "ddbfc1b6aa0ad4d79c5dac7aa3b44888"]];
417
        $this->assertEquals($res41, $obj->toArray());
418
419
        $obj->setTurboThreshold(92);
420
421
        $res42 = ["allowPointSelect" => 0, "animationLimit" => 29, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 0, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cursor" => "crosshair", "depth" => 42, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 73, "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 1, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "groupZPadding" => 93, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "lineWidth" => 75, "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 17, "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 96, "pointIntervalUnit" => "year", "pointPadding" => 6, "pointPlacement" => "between", "pointRange" => 20, "pointStart" => 40, "pointWidth" => 35, "selected" => 1, "skipKeyboardNavigation" => 1, "states" => [], "stemColor" => "98696f23b6ed2a881042dfa365a28d23", "stemDashStyle" => "LongDashDotDot", "stemWidth" => 39, "stickyTracking" => 1, "tooltip" => ["tooltip" => "ddbfc1b6aa0ad4d79c5dac7aa3b44888"], "turboThreshold" => 92];
422
        $this->assertEquals($res42, $obj->toArray());
423
424
        $obj->setVisible(0);
425
426
        $res43 = ["allowPointSelect" => 0, "animationLimit" => 29, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 0, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cursor" => "crosshair", "depth" => 42, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 73, "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 1, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "groupZPadding" => 93, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "lineWidth" => 75, "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 17, "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 96, "pointIntervalUnit" => "year", "pointPadding" => 6, "pointPlacement" => "between", "pointRange" => 20, "pointStart" => 40, "pointWidth" => 35, "selected" => 1, "skipKeyboardNavigation" => 1, "states" => [], "stemColor" => "98696f23b6ed2a881042dfa365a28d23", "stemDashStyle" => "LongDashDotDot", "stemWidth" => 39, "stickyTracking" => 1, "tooltip" => ["tooltip" => "ddbfc1b6aa0ad4d79c5dac7aa3b44888"], "turboThreshold" => 92, "visible" => 0];
427
        $this->assertEquals($res43, $obj->toArray());
428
429
        $obj->setWhiskerColor("3176f361ab524a038497eb1a6c93df38");
430
431
        $res44 = ["allowPointSelect" => 0, "animationLimit" => 29, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 0, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cursor" => "crosshair", "depth" => 42, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 73, "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 1, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "groupZPadding" => 93, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "lineWidth" => 75, "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 17, "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 96, "pointIntervalUnit" => "year", "pointPadding" => 6, "pointPlacement" => "between", "pointRange" => 20, "pointStart" => 40, "pointWidth" => 35, "selected" => 1, "skipKeyboardNavigation" => 1, "states" => [], "stemColor" => "98696f23b6ed2a881042dfa365a28d23", "stemDashStyle" => "LongDashDotDot", "stemWidth" => 39, "stickyTracking" => 1, "tooltip" => ["tooltip" => "ddbfc1b6aa0ad4d79c5dac7aa3b44888"], "turboThreshold" => 92, "visible" => 0, "whiskerColor" => "3176f361ab524a038497eb1a6c93df38"];
432
        $this->assertEquals($res44, $obj->toArray());
433
434
        $obj->setWhiskerLength(74);
435
436
        $res45 = ["allowPointSelect" => 0, "animationLimit" => 29, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 0, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cursor" => "crosshair", "depth" => 42, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 73, "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 1, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "groupZPadding" => 93, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "lineWidth" => 75, "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 17, "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 96, "pointIntervalUnit" => "year", "pointPadding" => 6, "pointPlacement" => "between", "pointRange" => 20, "pointStart" => 40, "pointWidth" => 35, "selected" => 1, "skipKeyboardNavigation" => 1, "states" => [], "stemColor" => "98696f23b6ed2a881042dfa365a28d23", "stemDashStyle" => "LongDashDotDot", "stemWidth" => 39, "stickyTracking" => 1, "tooltip" => ["tooltip" => "ddbfc1b6aa0ad4d79c5dac7aa3b44888"], "turboThreshold" => 92, "visible" => 0, "whiskerColor" => "3176f361ab524a038497eb1a6c93df38", "whiskerLength" => 74];
437
        $this->assertEquals($res45, $obj->toArray());
438
439
        $obj->setWhiskerWidth(8);
440
441
        $res46 = ["allowPointSelect" => 0, "animationLimit" => 29, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 0, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cursor" => "crosshair", "depth" => 42, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 73, "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 1, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "groupZPadding" => 93, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "lineWidth" => 75, "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 17, "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 96, "pointIntervalUnit" => "year", "pointPadding" => 6, "pointPlacement" => "between", "pointRange" => 20, "pointStart" => 40, "pointWidth" => 35, "selected" => 1, "skipKeyboardNavigation" => 1, "states" => [], "stemColor" => "98696f23b6ed2a881042dfa365a28d23", "stemDashStyle" => "LongDashDotDot", "stemWidth" => 39, "stickyTracking" => 1, "tooltip" => ["tooltip" => "ddbfc1b6aa0ad4d79c5dac7aa3b44888"], "turboThreshold" => 92, "visible" => 0, "whiskerColor" => "3176f361ab524a038497eb1a6c93df38", "whiskerLength" => 74, "whiskerWidth" => 8];
442
        $this->assertEquals($res46, $obj->toArray());
443
444
        $obj->setZoneAxis("88421adabea658556aa3ab6c6181afad");
445
446
        $res47 = ["allowPointSelect" => 0, "animationLimit" => 29, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 0, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cursor" => "crosshair", "depth" => 42, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 73, "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 1, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "groupZPadding" => 93, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "lineWidth" => 75, "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 17, "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 96, "pointIntervalUnit" => "year", "pointPadding" => 6, "pointPlacement" => "between", "pointRange" => 20, "pointStart" => 40, "pointWidth" => 35, "selected" => 1, "skipKeyboardNavigation" => 1, "states" => [], "stemColor" => "98696f23b6ed2a881042dfa365a28d23", "stemDashStyle" => "LongDashDotDot", "stemWidth" => 39, "stickyTracking" => 1, "tooltip" => ["tooltip" => "ddbfc1b6aa0ad4d79c5dac7aa3b44888"], "turboThreshold" => 92, "visible" => 0, "whiskerColor" => "3176f361ab524a038497eb1a6c93df38", "whiskerLength" => 74, "whiskerWidth" => 8, "zoneAxis" => "88421adabea658556aa3ab6c6181afad"];
447
        $this->assertEquals($res47, $obj->toArray());
448
449
        $obj->setZones(["zones" => "26f94136f5db8afd4e9df1e512f7fdc5"]);
450
451
        $res48 = ["allowPointSelect" => 0, "animationLimit" => 29, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 0, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cursor" => "crosshair", "depth" => 42, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 73, "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 1, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "groupZPadding" => 93, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "lineWidth" => 75, "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 17, "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 96, "pointIntervalUnit" => "year", "pointPadding" => 6, "pointPlacement" => "between", "pointRange" => 20, "pointStart" => 40, "pointWidth" => 35, "selected" => 1, "skipKeyboardNavigation" => 1, "states" => [], "stemColor" => "98696f23b6ed2a881042dfa365a28d23", "stemDashStyle" => "LongDashDotDot", "stemWidth" => 39, "stickyTracking" => 1, "tooltip" => ["tooltip" => "ddbfc1b6aa0ad4d79c5dac7aa3b44888"], "turboThreshold" => 92, "visible" => 0, "whiskerColor" => "3176f361ab524a038497eb1a6c93df38", "whiskerLength" => 74, "whiskerWidth" => 8, "zoneAxis" => "88421adabea658556aa3ab6c6181afad", "zones" => ["zones" => "26f94136f5db8afd4e9df1e512f7fdc5"]];
452
        $this->assertEquals($res48, $obj->toArray());
453
    }
454
455
}
456