|
1
|
|
|
<?php |
|
2
|
|
|
|
|
3
|
|
|
/** |
|
4
|
|
|
* This file is part of the highcharts-bundle package. |
|
5
|
|
|
* |
|
6
|
|
|
* (c) 2017 WEBEWEB |
|
7
|
|
|
* |
|
8
|
|
|
* For the full copyright and license information, please view the LICENSE |
|
9
|
|
|
* file that was distributed with this source code. |
|
10
|
|
|
*/ |
|
11
|
|
|
|
|
12
|
|
|
namespace WBW\Bundle\HighchartsBundle\Tests\API\Chart\Series; |
|
13
|
|
|
|
|
14
|
|
|
use PHPUnit_Framework_TestCase; |
|
15
|
|
|
|
|
16
|
|
|
/** |
|
17
|
|
|
* Highcharts column test. |
|
18
|
|
|
* |
|
19
|
|
|
* @author webeweb <https://github.com/webeweb/> |
|
20
|
|
|
* @package WBW\Bundle\HighchartsBundle\Tests\API\Chart\Series |
|
21
|
|
|
* @version 5.0.14 |
|
22
|
|
|
*/ |
|
23
|
|
|
final class HighchartsColumnTest extends PHPUnit_Framework_TestCase { |
|
24
|
|
|
|
|
25
|
|
|
/** |
|
26
|
|
|
* Tests the __construct() method. |
|
27
|
|
|
* |
|
28
|
|
|
* @return void |
|
29
|
|
|
*/ |
|
30
|
|
|
public function testConstructor() { |
|
31
|
|
|
|
|
32
|
|
|
$obj1 = new \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsColumn(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->getBorderColor()); |
|
38
|
|
|
$this->assertEquals(null, $obj1->getBorderRadius()); |
|
39
|
|
|
$this->assertEquals(null, $obj1->getBorderWidth()); |
|
40
|
|
|
$this->assertEquals(null, $obj1->getClassName()); |
|
41
|
|
|
$this->assertEquals(null, $obj1->getColor()); |
|
42
|
|
|
$this->assertEquals(null, $obj1->getColorByPoint()); |
|
43
|
|
|
$this->assertEquals(null, $obj1->getColorIndex()); |
|
44
|
|
|
$this->assertEquals(null, $obj1->getColors()); |
|
45
|
|
|
$this->assertEquals(null, $obj1->getCrisp()); |
|
46
|
|
|
$this->assertEquals(null, $obj1->getCropThreshold()); |
|
47
|
|
|
$this->assertEquals(null, $obj1->getCursor()); |
|
48
|
|
|
$this->assertEquals(null, $obj1->getData()); |
|
49
|
|
|
$this->assertEquals(null, $obj1->getDataLabels()); |
|
50
|
|
|
$this->assertEquals(null, $obj1->getDepth()); |
|
51
|
|
|
$this->assertEquals(null, $obj1->getDescription()); |
|
52
|
|
|
$this->assertEquals(null, $obj1->getEdgeColor()); |
|
53
|
|
|
$this->assertEquals(null, $obj1->getEdgeWidth()); |
|
54
|
|
|
$this->assertEquals(null, $obj1->getEnableMouseTracking()); |
|
55
|
|
|
$this->assertEquals(null, $obj1->getEvents()); |
|
56
|
|
|
$this->assertEquals(null, $obj1->getExposeElementToA11y()); |
|
57
|
|
|
$this->assertEquals(null, $obj1->getFindNearestPointBy()); |
|
58
|
|
|
$this->assertEquals(null, $obj1->getGetExtremesFromAll()); |
|
59
|
|
|
$this->assertEquals(null, $obj1->getGroupPadding()); |
|
60
|
|
|
$this->assertEquals(null, $obj1->getGroupZPadding()); |
|
61
|
|
|
$this->assertEquals(null, $obj1->getGrouping()); |
|
62
|
|
|
$this->assertEquals(null, $obj1->getId()); |
|
63
|
|
|
$this->assertEquals(null, $obj1->getIndex()); |
|
64
|
|
|
$this->assertEquals(null, $obj1->getKeys()); |
|
65
|
|
|
$this->assertEquals(null, $obj1->getLegendIndex()); |
|
66
|
|
|
$this->assertEquals(null, $obj1->getLinkedTo()); |
|
67
|
|
|
$this->assertEquals(null, $obj1->getMaxPointWidth()); |
|
68
|
|
|
$this->assertEquals(null, $obj1->getMinPointLength()); |
|
69
|
|
|
$this->assertEquals(null, $obj1->getName()); |
|
70
|
|
|
$this->assertEquals(null, $obj1->getNegativeColor()); |
|
71
|
|
|
$this->assertEquals(null, $obj1->getPoint()); |
|
72
|
|
|
$this->assertEquals(null, $obj1->getPointDescriptionFormatter()); |
|
73
|
|
|
$this->assertEquals(null, $obj1->getPointInterval()); |
|
74
|
|
|
$this->assertEquals(null, $obj1->getPointIntervalUnit()); |
|
75
|
|
|
$this->assertEquals(null, $obj1->getPointPadding()); |
|
76
|
|
|
$this->assertEquals(null, $obj1->getPointPlacement()); |
|
77
|
|
|
$this->assertEquals(null, $obj1->getPointRange()); |
|
78
|
|
|
$this->assertEquals(null, $obj1->getPointStart()); |
|
79
|
|
|
$this->assertEquals(null, $obj1->getPointWidth()); |
|
80
|
|
|
$this->assertEquals(null, $obj1->getSelected()); |
|
81
|
|
|
$this->assertEquals(null, $obj1->getShadow()); |
|
82
|
|
|
$this->assertEquals(null, $obj1->getShowCheckbox()); |
|
83
|
|
|
$this->assertEquals(null, $obj1->getShowInLegend()); |
|
84
|
|
|
$this->assertEquals(null, $obj1->getSkipKeyboardNavigation()); |
|
85
|
|
|
$this->assertEquals(null, $obj1->getSoftThreshold()); |
|
86
|
|
|
$this->assertEquals(null, $obj1->getStack()); |
|
87
|
|
|
$this->assertEquals(null, $obj1->getStacking()); |
|
88
|
|
|
$this->assertEquals(null, $obj1->getStates()); |
|
89
|
|
|
$this->assertEquals(null, $obj1->getStickyTracking()); |
|
90
|
|
|
$this->assertEquals(null, $obj1->getThreshold()); |
|
91
|
|
|
$this->assertEquals(null, $obj1->getTooltip()); |
|
92
|
|
|
$this->assertEquals(null, $obj1->getTurboThreshold()); |
|
93
|
|
|
$this->assertEquals(null, $obj1->getType()); |
|
94
|
|
|
$this->assertEquals(null, $obj1->getVisible()); |
|
95
|
|
|
$this->assertEquals(null, $obj1->getXAxis()); |
|
96
|
|
|
$this->assertEquals(null, $obj1->getYAxis()); |
|
97
|
|
|
$this->assertEquals(null, $obj1->getZIndex()); |
|
98
|
|
|
$this->assertEquals(null, $obj1->getZoneAxis()); |
|
99
|
|
|
$this->assertEquals(null, $obj1->getZones()); |
|
100
|
|
|
|
|
101
|
|
|
$obj0 = new \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsColumn(false); |
|
102
|
|
|
|
|
103
|
|
|
$this->assertEquals(false, $obj0->getAllowPointSelect()); |
|
104
|
|
|
$this->assertEquals(true, $obj0->getAnimation()); |
|
105
|
|
|
$this->assertEquals(null, $obj0->getAnimationLimit()); |
|
106
|
|
|
$this->assertEquals("#ffffff", $obj0->getBorderColor()); |
|
107
|
|
|
$this->assertEquals(0, $obj0->getBorderRadius()); |
|
108
|
|
|
$this->assertEquals(1, $obj0->getBorderWidth()); |
|
109
|
|
|
$this->assertEquals(null, $obj0->getClassName()); |
|
110
|
|
|
$this->assertEquals(null, $obj0->getColor()); |
|
111
|
|
|
$this->assertEquals(false, $obj0->getColorByPoint()); |
|
112
|
|
|
$this->assertEquals(null, $obj0->getColorIndex()); |
|
113
|
|
|
$this->assertEquals(null, $obj0->getColors()); |
|
114
|
|
|
$this->assertEquals(true, $obj0->getCrisp()); |
|
115
|
|
|
$this->assertEquals(50, $obj0->getCropThreshold()); |
|
116
|
|
|
$this->assertEquals(null, $obj0->getCursor()); |
|
117
|
|
|
$this->assertEquals(null, $obj0->getData()); |
|
118
|
|
|
$this->assertEquals(null, $obj0->getDataLabels()); |
|
119
|
|
|
$this->assertEquals(25, $obj0->getDepth()); |
|
120
|
|
|
$this->assertEquals(null, $obj0->getDescription()); |
|
121
|
|
|
$this->assertEquals(null, $obj0->getEdgeColor()); |
|
122
|
|
|
$this->assertEquals(1, $obj0->getEdgeWidth()); |
|
123
|
|
|
$this->assertEquals(true, $obj0->getEnableMouseTracking()); |
|
124
|
|
|
$this->assertEquals(null, $obj0->getEvents()); |
|
125
|
|
|
$this->assertEquals(null, $obj0->getExposeElementToA11y()); |
|
126
|
|
|
$this->assertEquals(null, $obj0->getFindNearestPointBy()); |
|
127
|
|
|
$this->assertEquals(false, $obj0->getGetExtremesFromAll()); |
|
128
|
|
|
$this->assertEquals(0.2, $obj0->getGroupPadding()); |
|
129
|
|
|
$this->assertEquals(1, $obj0->getGroupZPadding()); |
|
130
|
|
|
$this->assertEquals(true, $obj0->getGrouping()); |
|
131
|
|
|
$this->assertEquals(null, $obj0->getId()); |
|
132
|
|
|
$this->assertEquals(null, $obj0->getIndex()); |
|
133
|
|
|
$this->assertEquals(null, $obj0->getKeys()); |
|
134
|
|
|
$this->assertEquals(null, $obj0->getLegendIndex()); |
|
135
|
|
|
$this->assertEquals(null, $obj0->getLinkedTo()); |
|
136
|
|
|
$this->assertEquals(null, $obj0->getMaxPointWidth()); |
|
137
|
|
|
$this->assertEquals(0, $obj0->getMinPointLength()); |
|
138
|
|
|
$this->assertEquals(null, $obj0->getName()); |
|
139
|
|
|
$this->assertEquals(null, $obj0->getNegativeColor()); |
|
140
|
|
|
$this->assertEquals(null, $obj0->getPoint()); |
|
141
|
|
|
$this->assertEquals(null, $obj0->getPointDescriptionFormatter()); |
|
142
|
|
|
$this->assertEquals(1, $obj0->getPointInterval()); |
|
143
|
|
|
$this->assertEquals(null, $obj0->getPointIntervalUnit()); |
|
144
|
|
|
$this->assertEquals(0.1, $obj0->getPointPadding()); |
|
145
|
|
|
$this->assertEquals(null, $obj0->getPointPlacement()); |
|
146
|
|
|
$this->assertEquals(null, $obj0->getPointRange()); |
|
147
|
|
|
$this->assertEquals(0, $obj0->getPointStart()); |
|
148
|
|
|
$this->assertEquals(null, $obj0->getPointWidth()); |
|
149
|
|
|
$this->assertEquals(false, $obj0->getSelected()); |
|
150
|
|
|
$this->assertEquals(false, $obj0->getShadow()); |
|
151
|
|
|
$this->assertEquals(false, $obj0->getShowCheckbox()); |
|
152
|
|
|
$this->assertEquals(true, $obj0->getShowInLegend()); |
|
153
|
|
|
$this->assertEquals(null, $obj0->getSkipKeyboardNavigation()); |
|
154
|
|
|
$this->assertEquals(true, $obj0->getSoftThreshold()); |
|
155
|
|
|
$this->assertEquals(null, $obj0->getStack()); |
|
156
|
|
|
$this->assertEquals(null, $obj0->getStacking()); |
|
157
|
|
|
$this->assertEquals(null, $obj0->getStates()); |
|
158
|
|
|
$this->assertEquals(true, $obj0->getStickyTracking()); |
|
159
|
|
|
$this->assertEquals(0, $obj0->getThreshold()); |
|
160
|
|
|
$this->assertEquals(null, $obj0->getTooltip()); |
|
161
|
|
|
$this->assertEquals(1000, $obj0->getTurboThreshold()); |
|
162
|
|
|
$this->assertEquals(null, $obj0->getType()); |
|
163
|
|
|
$this->assertEquals(true, $obj0->getVisible()); |
|
164
|
|
|
$this->assertEquals("0", $obj0->getXAxis()); |
|
165
|
|
|
$this->assertEquals("0", $obj0->getYAxis()); |
|
166
|
|
|
$this->assertEquals(null, $obj0->getZIndex()); |
|
167
|
|
|
$this->assertEquals("y", $obj0->getZoneAxis()); |
|
168
|
|
|
$this->assertEquals(null, $obj0->getZones()); |
|
169
|
|
|
} |
|
170
|
|
|
|
|
171
|
|
|
/** |
|
172
|
|
|
* Tests the clear() method. |
|
173
|
|
|
* |
|
174
|
|
|
* @return void |
|
175
|
|
|
*/ |
|
176
|
|
|
public function testClear() { |
|
177
|
|
|
|
|
178
|
|
|
$obj = new \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsColumn(false); |
|
179
|
|
|
|
|
180
|
|
|
$obj->newDataLabels(); |
|
181
|
|
|
$obj->newEvents(); |
|
182
|
|
|
$obj->newPoint(); |
|
183
|
|
|
$obj->newStates(); |
|
184
|
|
|
|
|
185
|
|
|
$obj->clear(); |
|
186
|
|
|
|
|
187
|
|
|
$res = ["dataLabels" => [], "events" => [], "point" => [], "states" => []]; |
|
188
|
|
|
$this->assertEquals($res, $obj->toArray()); |
|
189
|
|
|
} |
|
190
|
|
|
|
|
191
|
|
|
/** |
|
192
|
|
|
* Tests the jsonSerialize() method. |
|
193
|
|
|
* |
|
194
|
|
|
* @return void |
|
195
|
|
|
*/ |
|
196
|
|
|
public function testJsonSerialize() { |
|
197
|
|
|
|
|
198
|
|
|
$obj = new \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsColumn(true); |
|
199
|
|
|
|
|
200
|
|
|
$this->assertEquals([], $obj->jsonSerialize()); |
|
201
|
|
|
} |
|
202
|
|
|
|
|
203
|
|
|
/** |
|
204
|
|
|
* Tests the newDataLabels() method. |
|
205
|
|
|
* |
|
206
|
|
|
* @return void. |
|
207
|
|
|
*/ |
|
208
|
|
|
public function testNewDataLabels() { |
|
209
|
|
|
|
|
210
|
|
|
$obj = new \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsColumn(false); |
|
211
|
|
|
|
|
212
|
|
|
$res = $obj->newDataLabels(); |
|
213
|
|
|
$this->assertInstanceOf(\WBW\Bundle\HighchartsBundle\API\Chart\Series\Column\HighchartsDataLabels::class, $res); |
|
214
|
|
|
} |
|
215
|
|
|
|
|
216
|
|
|
/** |
|
217
|
|
|
* Tests the newEvents() method. |
|
218
|
|
|
* |
|
219
|
|
|
* @return void. |
|
220
|
|
|
*/ |
|
221
|
|
|
public function testNewEvents() { |
|
222
|
|
|
|
|
223
|
|
|
$obj = new \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsColumn(false); |
|
224
|
|
|
|
|
225
|
|
|
$res = $obj->newEvents(); |
|
226
|
|
|
$this->assertInstanceOf(\WBW\Bundle\HighchartsBundle\API\Chart\Series\Column\HighchartsEvents::class, $res); |
|
227
|
|
|
} |
|
228
|
|
|
|
|
229
|
|
|
/** |
|
230
|
|
|
* Tests the newPoint() method. |
|
231
|
|
|
* |
|
232
|
|
|
* @return void. |
|
233
|
|
|
*/ |
|
234
|
|
|
public function testNewPoint() { |
|
235
|
|
|
|
|
236
|
|
|
$obj = new \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsColumn(false); |
|
237
|
|
|
|
|
238
|
|
|
$res = $obj->newPoint(); |
|
239
|
|
|
$this->assertInstanceOf(\WBW\Bundle\HighchartsBundle\API\Chart\Series\Column\HighchartsPoint::class, $res); |
|
240
|
|
|
} |
|
241
|
|
|
|
|
242
|
|
|
/** |
|
243
|
|
|
* Tests the newStates() method. |
|
244
|
|
|
* |
|
245
|
|
|
* @return void. |
|
246
|
|
|
*/ |
|
247
|
|
|
public function testNewStates() { |
|
248
|
|
|
|
|
249
|
|
|
$obj = new \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsColumn(false); |
|
250
|
|
|
|
|
251
|
|
|
$res = $obj->newStates(); |
|
252
|
|
|
$this->assertInstanceOf(\WBW\Bundle\HighchartsBundle\API\Chart\Series\Column\HighchartsStates::class, $res); |
|
253
|
|
|
} |
|
254
|
|
|
|
|
255
|
|
|
/** |
|
256
|
|
|
* Tests the toArray() method. |
|
257
|
|
|
* |
|
258
|
|
|
* @return void |
|
259
|
|
|
*/ |
|
260
|
|
|
public function testToArray() { |
|
261
|
|
|
|
|
262
|
|
|
$obj = new \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsColumn(true); |
|
263
|
|
|
|
|
264
|
|
|
$obj->setAllowPointSelect(0); |
|
265
|
|
|
|
|
266
|
|
|
$res1 = ["allowPointSelect" => 0]; |
|
267
|
|
|
$this->assertEquals($res1, $obj->toArray()); |
|
268
|
|
|
|
|
269
|
|
|
$obj->setAnimation(0); |
|
270
|
|
|
|
|
271
|
|
|
$res2 = ["allowPointSelect" => 0, "animation" => 0]; |
|
272
|
|
|
$this->assertEquals($res2, $obj->toArray()); |
|
273
|
|
|
|
|
274
|
|
|
$obj->setAnimationLimit(80); |
|
275
|
|
|
|
|
276
|
|
|
$res3 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 80]; |
|
277
|
|
|
$this->assertEquals($res3, $obj->toArray()); |
|
278
|
|
|
|
|
279
|
|
|
$obj->setBorderColor("97da935a74593c55d78be9d1295aa994"); |
|
280
|
|
|
|
|
281
|
|
|
$res4 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 80, "borderColor" => "97da935a74593c55d78be9d1295aa994"]; |
|
282
|
|
|
$this->assertEquals($res4, $obj->toArray()); |
|
283
|
|
|
|
|
284
|
|
|
$obj->setBorderRadius(99); |
|
285
|
|
|
|
|
286
|
|
|
$res5 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 80, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderRadius" => 99]; |
|
287
|
|
|
$this->assertEquals($res5, $obj->toArray()); |
|
288
|
|
|
|
|
289
|
|
|
$obj->setBorderWidth(17); |
|
290
|
|
|
|
|
291
|
|
|
$res6 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 80, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderRadius" => 99, "borderWidth" => 17]; |
|
292
|
|
|
$this->assertEquals($res6, $obj->toArray()); |
|
293
|
|
|
|
|
294
|
|
|
$obj->setClassName("6f66e878c62db60568a3487869695820"); |
|
295
|
|
|
|
|
296
|
|
|
$res7 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 80, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderRadius" => 99, "borderWidth" => 17, "className" => "6f66e878c62db60568a3487869695820"]; |
|
297
|
|
|
$this->assertEquals($res7, $obj->toArray()); |
|
298
|
|
|
|
|
299
|
|
|
$obj->setColor("70dda5dfb8053dc6d1c492574bce9bfd"); |
|
300
|
|
|
|
|
301
|
|
|
$res8 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 80, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderRadius" => 99, "borderWidth" => 17, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd"]; |
|
302
|
|
|
$this->assertEquals($res8, $obj->toArray()); |
|
303
|
|
|
|
|
304
|
|
|
$obj->setColorByPoint(1); |
|
305
|
|
|
|
|
306
|
|
|
$res9 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 80, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderRadius" => 99, "borderWidth" => 17, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1]; |
|
307
|
|
|
$this->assertEquals($res9, $obj->toArray()); |
|
308
|
|
|
|
|
309
|
|
|
$obj->setColorIndex(78); |
|
310
|
|
|
|
|
311
|
|
|
$res10 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 80, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderRadius" => 99, "borderWidth" => 17, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 78]; |
|
312
|
|
|
$this->assertEquals($res10, $obj->toArray()); |
|
313
|
|
|
|
|
314
|
|
|
$obj->setColors(["colors" => "62848e3ce5804aa985513a7922ff87b2"]); |
|
315
|
|
|
|
|
316
|
|
|
$res11 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 80, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderRadius" => 99, "borderWidth" => 17, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 78, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"]]; |
|
317
|
|
|
$this->assertEquals($res11, $obj->toArray()); |
|
318
|
|
|
|
|
319
|
|
|
$obj->setCrisp(0); |
|
320
|
|
|
|
|
321
|
|
|
$res12 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 80, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderRadius" => 99, "borderWidth" => 17, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 78, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0]; |
|
322
|
|
|
$this->assertEquals($res12, $obj->toArray()); |
|
323
|
|
|
|
|
324
|
|
|
$obj->setCropThreshold(21); |
|
325
|
|
|
|
|
326
|
|
|
$res13 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 80, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderRadius" => 99, "borderWidth" => 17, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 78, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cropThreshold" => 21]; |
|
327
|
|
|
$this->assertEquals($res13, $obj->toArray()); |
|
328
|
|
|
|
|
329
|
|
|
$obj->setCursor("crosshair"); |
|
330
|
|
|
|
|
331
|
|
|
$res14 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 80, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderRadius" => 99, "borderWidth" => 17, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 78, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cropThreshold" => 21, "cursor" => "crosshair"]; |
|
332
|
|
|
$this->assertEquals($res14, $obj->toArray()); |
|
333
|
|
|
|
|
334
|
|
|
$obj->setData(["data" => "8d777f385d3dfec8815d20f7496026dc"]); |
|
335
|
|
|
|
|
336
|
|
|
$res15 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 80, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderRadius" => 99, "borderWidth" => 17, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 78, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cropThreshold" => 21, "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"]]; |
|
337
|
|
|
$this->assertEquals($res15, $obj->toArray()); |
|
338
|
|
|
|
|
339
|
|
|
$obj->setDataLabels(new \WBW\Bundle\HighchartsBundle\API\Chart\Series\Column\HighchartsDataLabels()); |
|
340
|
|
|
|
|
341
|
|
|
$res16 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 80, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderRadius" => 99, "borderWidth" => 17, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 78, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cropThreshold" => 21, "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => []]; |
|
342
|
|
|
$this->assertEquals($res16, $obj->toArray()); |
|
343
|
|
|
|
|
344
|
|
|
$obj->setDepth(52); |
|
345
|
|
|
|
|
346
|
|
|
$res17 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 80, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderRadius" => 99, "borderWidth" => 17, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 78, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cropThreshold" => 21, "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "depth" => 52]; |
|
347
|
|
|
$this->assertEquals($res17, $obj->toArray()); |
|
348
|
|
|
|
|
349
|
|
|
$obj->setDescription("67daf92c833c41c95db874e18fcb2786"); |
|
350
|
|
|
|
|
351
|
|
|
$res18 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 80, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderRadius" => 99, "borderWidth" => 17, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 78, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cropThreshold" => 21, "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "depth" => 52, "description" => "67daf92c833c41c95db874e18fcb2786"]; |
|
352
|
|
|
$this->assertEquals($res18, $obj->toArray()); |
|
353
|
|
|
|
|
354
|
|
|
$obj->setEdgeColor("acbab0d2e7e54e5a7a32fc80409601fc"); |
|
355
|
|
|
|
|
356
|
|
|
$res19 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 80, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderRadius" => 99, "borderWidth" => 17, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 78, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cropThreshold" => 21, "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "depth" => 52, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc"]; |
|
357
|
|
|
$this->assertEquals($res19, $obj->toArray()); |
|
358
|
|
|
|
|
359
|
|
|
$obj->setEdgeWidth(60); |
|
360
|
|
|
|
|
361
|
|
|
$res20 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 80, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderRadius" => 99, "borderWidth" => 17, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 78, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cropThreshold" => 21, "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "depth" => 52, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 60]; |
|
362
|
|
|
$this->assertEquals($res20, $obj->toArray()); |
|
363
|
|
|
|
|
364
|
|
|
$obj->setEnableMouseTracking(1); |
|
365
|
|
|
|
|
366
|
|
|
$res21 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 80, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderRadius" => 99, "borderWidth" => 17, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 78, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cropThreshold" => 21, "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "depth" => 52, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 60, "enableMouseTracking" => 1]; |
|
367
|
|
|
$this->assertEquals($res21, $obj->toArray()); |
|
368
|
|
|
|
|
369
|
|
|
$obj->setEvents(new \WBW\Bundle\HighchartsBundle\API\Chart\Series\Column\HighchartsEvents()); |
|
370
|
|
|
|
|
371
|
|
|
$res22 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 80, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderRadius" => 99, "borderWidth" => 17, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 78, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cropThreshold" => 21, "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "depth" => 52, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 60, "enableMouseTracking" => 1, "events" => []]; |
|
372
|
|
|
$this->assertEquals($res22, $obj->toArray()); |
|
373
|
|
|
|
|
374
|
|
|
$obj->setExposeElementToA11y(0); |
|
375
|
|
|
|
|
376
|
|
|
$res23 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 80, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderRadius" => 99, "borderWidth" => 17, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 78, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cropThreshold" => 21, "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "depth" => 52, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 60, "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 0]; |
|
377
|
|
|
$this->assertEquals($res23, $obj->toArray()); |
|
378
|
|
|
|
|
379
|
|
|
$obj->setFindNearestPointBy("xy"); |
|
380
|
|
|
|
|
381
|
|
|
$res24 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 80, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderRadius" => 99, "borderWidth" => 17, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 78, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cropThreshold" => 21, "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "depth" => 52, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 60, "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy"]; |
|
382
|
|
|
$this->assertEquals($res24, $obj->toArray()); |
|
383
|
|
|
|
|
384
|
|
|
$obj->setGetExtremesFromAll(0); |
|
385
|
|
|
|
|
386
|
|
|
$res25 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 80, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderRadius" => 99, "borderWidth" => 17, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 78, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cropThreshold" => 21, "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "depth" => 52, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 60, "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0]; |
|
387
|
|
|
$this->assertEquals($res25, $obj->toArray()); |
|
388
|
|
|
|
|
389
|
|
|
$obj->setGroupPadding(40); |
|
390
|
|
|
|
|
391
|
|
|
$res26 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 80, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderRadius" => 99, "borderWidth" => 17, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 78, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cropThreshold" => 21, "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "depth" => 52, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 60, "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "groupPadding" => 40]; |
|
392
|
|
|
$this->assertEquals($res26, $obj->toArray()); |
|
393
|
|
|
|
|
394
|
|
|
$obj->setGroupZPadding(50); |
|
395
|
|
|
|
|
396
|
|
|
$res27 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 80, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderRadius" => 99, "borderWidth" => 17, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 78, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cropThreshold" => 21, "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "depth" => 52, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 60, "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "groupPadding" => 40, "groupZPadding" => 50]; |
|
397
|
|
|
$this->assertEquals($res27, $obj->toArray()); |
|
398
|
|
|
|
|
399
|
|
|
$obj->setGrouping(1); |
|
400
|
|
|
|
|
401
|
|
|
$res28 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 80, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderRadius" => 99, "borderWidth" => 17, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 78, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cropThreshold" => 21, "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "depth" => 52, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 60, "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "groupPadding" => 40, "groupZPadding" => 50, "grouping" => 1]; |
|
402
|
|
|
$this->assertEquals($res28, $obj->toArray()); |
|
403
|
|
|
|
|
404
|
|
|
$obj->setId("b80bb7740288fda1f201890375a60c8f"); |
|
405
|
|
|
|
|
406
|
|
|
$res29 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 80, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderRadius" => 99, "borderWidth" => 17, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 78, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cropThreshold" => 21, "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "depth" => 52, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 60, "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "groupPadding" => 40, "groupZPadding" => 50, "grouping" => 1, "id" => "b80bb7740288fda1f201890375a60c8f"]; |
|
407
|
|
|
$this->assertEquals($res29, $obj->toArray()); |
|
408
|
|
|
|
|
409
|
|
|
$obj->setIndex(20); |
|
410
|
|
|
|
|
411
|
|
|
$res30 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 80, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderRadius" => 99, "borderWidth" => 17, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 78, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cropThreshold" => 21, "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "depth" => 52, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 60, "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "groupPadding" => 40, "groupZPadding" => 50, "grouping" => 1, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 20]; |
|
412
|
|
|
$this->assertEquals($res30, $obj->toArray()); |
|
413
|
|
|
|
|
414
|
|
|
$obj->setKeys(["keys" => "14f802e1fba977727845e8872c1743a7"]); |
|
415
|
|
|
|
|
416
|
|
|
$res31 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 80, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderRadius" => 99, "borderWidth" => 17, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 78, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cropThreshold" => 21, "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "depth" => 52, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 60, "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "groupPadding" => 40, "groupZPadding" => 50, "grouping" => 1, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 20, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"]]; |
|
417
|
|
|
$this->assertEquals($res31, $obj->toArray()); |
|
418
|
|
|
|
|
419
|
|
|
$obj->setLegendIndex(2); |
|
420
|
|
|
|
|
421
|
|
|
$res32 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 80, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderRadius" => 99, "borderWidth" => 17, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 78, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cropThreshold" => 21, "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "depth" => 52, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 60, "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "groupPadding" => 40, "groupZPadding" => 50, "grouping" => 1, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 20, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "legendIndex" => 2]; |
|
422
|
|
|
$this->assertEquals($res32, $obj->toArray()); |
|
423
|
|
|
|
|
424
|
|
|
$obj->setLinkedTo("914fab47afc86331ec62837807a29419"); |
|
425
|
|
|
|
|
426
|
|
|
$res33 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 80, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderRadius" => 99, "borderWidth" => 17, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 78, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cropThreshold" => 21, "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "depth" => 52, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 60, "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "groupPadding" => 40, "groupZPadding" => 50, "grouping" => 1, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 20, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "legendIndex" => 2, "linkedTo" => "914fab47afc86331ec62837807a29419"]; |
|
427
|
|
|
$this->assertEquals($res33, $obj->toArray()); |
|
428
|
|
|
|
|
429
|
|
|
$obj->setMaxPointWidth(74); |
|
430
|
|
|
|
|
431
|
|
|
$res34 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 80, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderRadius" => 99, "borderWidth" => 17, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 78, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cropThreshold" => 21, "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "depth" => 52, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 60, "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "groupPadding" => 40, "groupZPadding" => 50, "grouping" => 1, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 20, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "legendIndex" => 2, "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 74]; |
|
432
|
|
|
$this->assertEquals($res34, $obj->toArray()); |
|
433
|
|
|
|
|
434
|
|
|
$obj->setMinPointLength(93); |
|
435
|
|
|
|
|
436
|
|
|
$res35 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 80, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderRadius" => 99, "borderWidth" => 17, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 78, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cropThreshold" => 21, "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "depth" => 52, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 60, "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "groupPadding" => 40, "groupZPadding" => 50, "grouping" => 1, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 20, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "legendIndex" => 2, "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 74, "minPointLength" => 93]; |
|
437
|
|
|
$this->assertEquals($res35, $obj->toArray()); |
|
438
|
|
|
|
|
439
|
|
|
$obj->setName("b068931cc450442b63f5b3d276ea4297"); |
|
440
|
|
|
|
|
441
|
|
|
$res36 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 80, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderRadius" => 99, "borderWidth" => 17, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 78, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cropThreshold" => 21, "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "depth" => 52, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 60, "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "groupPadding" => 40, "groupZPadding" => 50, "grouping" => 1, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 20, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "legendIndex" => 2, "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 74, "minPointLength" => 93, "name" => "b068931cc450442b63f5b3d276ea4297"]; |
|
442
|
|
|
$this->assertEquals($res36, $obj->toArray()); |
|
443
|
|
|
|
|
444
|
|
|
$obj->setNegativeColor("52fe4d3a854b01e25193b4f35fc2040e"); |
|
445
|
|
|
|
|
446
|
|
|
$res37 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 80, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderRadius" => 99, "borderWidth" => 17, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 78, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cropThreshold" => 21, "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "depth" => 52, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 60, "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "groupPadding" => 40, "groupZPadding" => 50, "grouping" => 1, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 20, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "legendIndex" => 2, "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 74, "minPointLength" => 93, "name" => "b068931cc450442b63f5b3d276ea4297", "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e"]; |
|
447
|
|
|
$this->assertEquals($res37, $obj->toArray()); |
|
448
|
|
|
|
|
449
|
|
|
$obj->setPoint(new \WBW\Bundle\HighchartsBundle\API\Chart\Series\Column\HighchartsPoint()); |
|
450
|
|
|
|
|
451
|
|
|
$res38 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 80, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderRadius" => 99, "borderWidth" => 17, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 78, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cropThreshold" => 21, "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "depth" => 52, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 60, "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "groupPadding" => 40, "groupZPadding" => 50, "grouping" => 1, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 20, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "legendIndex" => 2, "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 74, "minPointLength" => 93, "name" => "b068931cc450442b63f5b3d276ea4297", "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "point" => []]; |
|
452
|
|
|
$this->assertEquals($res38, $obj->toArray()); |
|
453
|
|
|
|
|
454
|
|
|
$obj->setPointDescriptionFormatter("b5fd0c15b3ca81f726e2c7b93907ba36"); |
|
455
|
|
|
|
|
456
|
|
|
$res39 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 80, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderRadius" => 99, "borderWidth" => 17, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 78, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cropThreshold" => 21, "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "depth" => 52, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 60, "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "groupPadding" => 40, "groupZPadding" => 50, "grouping" => 1, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 20, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "legendIndex" => 2, "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 74, "minPointLength" => 93, "name" => "b068931cc450442b63f5b3d276ea4297", "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36"]; |
|
457
|
|
|
$this->assertEquals($res39, $obj->toArray()); |
|
458
|
|
|
|
|
459
|
|
|
$obj->setPointInterval(75); |
|
460
|
|
|
|
|
461
|
|
|
$res40 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 80, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderRadius" => 99, "borderWidth" => 17, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 78, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cropThreshold" => 21, "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "depth" => 52, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 60, "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "groupPadding" => 40, "groupZPadding" => 50, "grouping" => 1, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 20, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "legendIndex" => 2, "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 74, "minPointLength" => 93, "name" => "b068931cc450442b63f5b3d276ea4297", "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 75]; |
|
462
|
|
|
$this->assertEquals($res40, $obj->toArray()); |
|
463
|
|
|
|
|
464
|
|
|
$obj->setPointIntervalUnit("year"); |
|
465
|
|
|
|
|
466
|
|
|
$res41 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 80, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderRadius" => 99, "borderWidth" => 17, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 78, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cropThreshold" => 21, "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "depth" => 52, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 60, "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "groupPadding" => 40, "groupZPadding" => 50, "grouping" => 1, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 20, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "legendIndex" => 2, "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 74, "minPointLength" => 93, "name" => "b068931cc450442b63f5b3d276ea4297", "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 75, "pointIntervalUnit" => "year"]; |
|
467
|
|
|
$this->assertEquals($res41, $obj->toArray()); |
|
468
|
|
|
|
|
469
|
|
|
$obj->setPointPadding(88); |
|
470
|
|
|
|
|
471
|
|
|
$res42 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 80, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderRadius" => 99, "borderWidth" => 17, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 78, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cropThreshold" => 21, "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "depth" => 52, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 60, "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "groupPadding" => 40, "groupZPadding" => 50, "grouping" => 1, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 20, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "legendIndex" => 2, "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 74, "minPointLength" => 93, "name" => "b068931cc450442b63f5b3d276ea4297", "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 75, "pointIntervalUnit" => "year", "pointPadding" => 88]; |
|
472
|
|
|
$this->assertEquals($res42, $obj->toArray()); |
|
473
|
|
|
|
|
474
|
|
|
$obj->setPointPlacement("between"); |
|
475
|
|
|
|
|
476
|
|
|
$res43 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 80, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderRadius" => 99, "borderWidth" => 17, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 78, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cropThreshold" => 21, "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "depth" => 52, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 60, "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "groupPadding" => 40, "groupZPadding" => 50, "grouping" => 1, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 20, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "legendIndex" => 2, "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 74, "minPointLength" => 93, "name" => "b068931cc450442b63f5b3d276ea4297", "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 75, "pointIntervalUnit" => "year", "pointPadding" => 88, "pointPlacement" => "between"]; |
|
477
|
|
|
$this->assertEquals($res43, $obj->toArray()); |
|
478
|
|
|
|
|
479
|
|
|
$obj->setPointRange(80); |
|
480
|
|
|
|
|
481
|
|
|
$res44 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 80, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderRadius" => 99, "borderWidth" => 17, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 78, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cropThreshold" => 21, "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "depth" => 52, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 60, "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "groupPadding" => 40, "groupZPadding" => 50, "grouping" => 1, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 20, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "legendIndex" => 2, "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 74, "minPointLength" => 93, "name" => "b068931cc450442b63f5b3d276ea4297", "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 75, "pointIntervalUnit" => "year", "pointPadding" => 88, "pointPlacement" => "between", "pointRange" => 80]; |
|
482
|
|
|
$this->assertEquals($res44, $obj->toArray()); |
|
483
|
|
|
|
|
484
|
|
|
$obj->setPointStart(71); |
|
485
|
|
|
|
|
486
|
|
|
$res45 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 80, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderRadius" => 99, "borderWidth" => 17, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 78, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cropThreshold" => 21, "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "depth" => 52, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 60, "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "groupPadding" => 40, "groupZPadding" => 50, "grouping" => 1, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 20, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "legendIndex" => 2, "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 74, "minPointLength" => 93, "name" => "b068931cc450442b63f5b3d276ea4297", "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 75, "pointIntervalUnit" => "year", "pointPadding" => 88, "pointPlacement" => "between", "pointRange" => 80, "pointStart" => 71]; |
|
487
|
|
|
$this->assertEquals($res45, $obj->toArray()); |
|
488
|
|
|
|
|
489
|
|
|
$obj->setPointWidth(72); |
|
490
|
|
|
|
|
491
|
|
|
$res46 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 80, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderRadius" => 99, "borderWidth" => 17, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 78, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cropThreshold" => 21, "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "depth" => 52, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 60, "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "groupPadding" => 40, "groupZPadding" => 50, "grouping" => 1, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 20, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "legendIndex" => 2, "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 74, "minPointLength" => 93, "name" => "b068931cc450442b63f5b3d276ea4297", "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 75, "pointIntervalUnit" => "year", "pointPadding" => 88, "pointPlacement" => "between", "pointRange" => 80, "pointStart" => 71, "pointWidth" => 72]; |
|
492
|
|
|
$this->assertEquals($res46, $obj->toArray()); |
|
493
|
|
|
|
|
494
|
|
|
$obj->setSelected(1); |
|
495
|
|
|
|
|
496
|
|
|
$res47 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 80, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderRadius" => 99, "borderWidth" => 17, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 78, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cropThreshold" => 21, "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "depth" => 52, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 60, "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "groupPadding" => 40, "groupZPadding" => 50, "grouping" => 1, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 20, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "legendIndex" => 2, "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 74, "minPointLength" => 93, "name" => "b068931cc450442b63f5b3d276ea4297", "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 75, "pointIntervalUnit" => "year", "pointPadding" => 88, "pointPlacement" => "between", "pointRange" => 80, "pointStart" => 71, "pointWidth" => 72, "selected" => 1]; |
|
497
|
|
|
$this->assertEquals($res47, $obj->toArray()); |
|
498
|
|
|
|
|
499
|
|
|
$obj->setShadow(0); |
|
500
|
|
|
|
|
501
|
|
|
$res48 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 80, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderRadius" => 99, "borderWidth" => 17, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 78, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cropThreshold" => 21, "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "depth" => 52, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 60, "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "groupPadding" => 40, "groupZPadding" => 50, "grouping" => 1, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 20, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "legendIndex" => 2, "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 74, "minPointLength" => 93, "name" => "b068931cc450442b63f5b3d276ea4297", "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 75, "pointIntervalUnit" => "year", "pointPadding" => 88, "pointPlacement" => "between", "pointRange" => 80, "pointStart" => 71, "pointWidth" => 72, "selected" => 1, "shadow" => 0]; |
|
502
|
|
|
$this->assertEquals($res48, $obj->toArray()); |
|
503
|
|
|
|
|
504
|
|
|
$obj->setShowCheckbox(0); |
|
505
|
|
|
|
|
506
|
|
|
$res49 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 80, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderRadius" => 99, "borderWidth" => 17, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 78, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cropThreshold" => 21, "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "depth" => 52, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 60, "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "groupPadding" => 40, "groupZPadding" => 50, "grouping" => 1, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 20, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "legendIndex" => 2, "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 74, "minPointLength" => 93, "name" => "b068931cc450442b63f5b3d276ea4297", "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 75, "pointIntervalUnit" => "year", "pointPadding" => 88, "pointPlacement" => "between", "pointRange" => 80, "pointStart" => 71, "pointWidth" => 72, "selected" => 1, "shadow" => 0, "showCheckbox" => 0]; |
|
507
|
|
|
$this->assertEquals($res49, $obj->toArray()); |
|
508
|
|
|
|
|
509
|
|
|
$obj->setShowInLegend(1); |
|
510
|
|
|
|
|
511
|
|
|
$res50 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 80, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderRadius" => 99, "borderWidth" => 17, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 78, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cropThreshold" => 21, "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "depth" => 52, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 60, "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "groupPadding" => 40, "groupZPadding" => 50, "grouping" => 1, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 20, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "legendIndex" => 2, "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 74, "minPointLength" => 93, "name" => "b068931cc450442b63f5b3d276ea4297", "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 75, "pointIntervalUnit" => "year", "pointPadding" => 88, "pointPlacement" => "between", "pointRange" => 80, "pointStart" => 71, "pointWidth" => 72, "selected" => 1, "shadow" => 0, "showCheckbox" => 0, "showInLegend" => 1]; |
|
512
|
|
|
$this->assertEquals($res50, $obj->toArray()); |
|
513
|
|
|
|
|
514
|
|
|
$obj->setSkipKeyboardNavigation(1); |
|
515
|
|
|
|
|
516
|
|
|
$res51 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 80, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderRadius" => 99, "borderWidth" => 17, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 78, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cropThreshold" => 21, "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "depth" => 52, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 60, "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "groupPadding" => 40, "groupZPadding" => 50, "grouping" => 1, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 20, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "legendIndex" => 2, "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 74, "minPointLength" => 93, "name" => "b068931cc450442b63f5b3d276ea4297", "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 75, "pointIntervalUnit" => "year", "pointPadding" => 88, "pointPlacement" => "between", "pointRange" => 80, "pointStart" => 71, "pointWidth" => 72, "selected" => 1, "shadow" => 0, "showCheckbox" => 0, "showInLegend" => 1, "skipKeyboardNavigation" => 1]; |
|
517
|
|
|
$this->assertEquals($res51, $obj->toArray()); |
|
518
|
|
|
|
|
519
|
|
|
$obj->setSoftThreshold(1); |
|
520
|
|
|
|
|
521
|
|
|
$res52 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 80, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderRadius" => 99, "borderWidth" => 17, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 78, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cropThreshold" => 21, "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "depth" => 52, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 60, "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "groupPadding" => 40, "groupZPadding" => 50, "grouping" => 1, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 20, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "legendIndex" => 2, "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 74, "minPointLength" => 93, "name" => "b068931cc450442b63f5b3d276ea4297", "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 75, "pointIntervalUnit" => "year", "pointPadding" => 88, "pointPlacement" => "between", "pointRange" => 80, "pointStart" => 71, "pointWidth" => 72, "selected" => 1, "shadow" => 0, "showCheckbox" => 0, "showInLegend" => 1, "skipKeyboardNavigation" => 1, "softThreshold" => 1]; |
|
522
|
|
|
$this->assertEquals($res52, $obj->toArray()); |
|
523
|
|
|
|
|
524
|
|
|
$obj->setStack("fac2a47adace059aff113283a03f6760"); |
|
525
|
|
|
|
|
526
|
|
|
$res53 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 80, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderRadius" => 99, "borderWidth" => 17, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 78, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cropThreshold" => 21, "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "depth" => 52, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 60, "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "groupPadding" => 40, "groupZPadding" => 50, "grouping" => 1, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 20, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "legendIndex" => 2, "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 74, "minPointLength" => 93, "name" => "b068931cc450442b63f5b3d276ea4297", "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 75, "pointIntervalUnit" => "year", "pointPadding" => 88, "pointPlacement" => "between", "pointRange" => 80, "pointStart" => 71, "pointWidth" => 72, "selected" => 1, "shadow" => 0, "showCheckbox" => 0, "showInLegend" => 1, "skipKeyboardNavigation" => 1, "softThreshold" => 1, "stack" => "fac2a47adace059aff113283a03f6760"]; |
|
527
|
|
|
$this->assertEquals($res53, $obj->toArray()); |
|
528
|
|
|
|
|
529
|
|
|
$obj->setStacking("percent"); |
|
530
|
|
|
|
|
531
|
|
|
$res54 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 80, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderRadius" => 99, "borderWidth" => 17, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 78, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cropThreshold" => 21, "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "depth" => 52, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 60, "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "groupPadding" => 40, "groupZPadding" => 50, "grouping" => 1, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 20, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "legendIndex" => 2, "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 74, "minPointLength" => 93, "name" => "b068931cc450442b63f5b3d276ea4297", "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 75, "pointIntervalUnit" => "year", "pointPadding" => 88, "pointPlacement" => "between", "pointRange" => 80, "pointStart" => 71, "pointWidth" => 72, "selected" => 1, "shadow" => 0, "showCheckbox" => 0, "showInLegend" => 1, "skipKeyboardNavigation" => 1, "softThreshold" => 1, "stack" => "fac2a47adace059aff113283a03f6760", "stacking" => "percent"]; |
|
532
|
|
|
$this->assertEquals($res54, $obj->toArray()); |
|
533
|
|
|
|
|
534
|
|
|
$obj->setStates(new \WBW\Bundle\HighchartsBundle\API\Chart\Series\Column\HighchartsStates()); |
|
535
|
|
|
|
|
536
|
|
|
$res55 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 80, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderRadius" => 99, "borderWidth" => 17, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 78, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cropThreshold" => 21, "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "depth" => 52, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 60, "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "groupPadding" => 40, "groupZPadding" => 50, "grouping" => 1, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 20, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "legendIndex" => 2, "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 74, "minPointLength" => 93, "name" => "b068931cc450442b63f5b3d276ea4297", "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 75, "pointIntervalUnit" => "year", "pointPadding" => 88, "pointPlacement" => "between", "pointRange" => 80, "pointStart" => 71, "pointWidth" => 72, "selected" => 1, "shadow" => 0, "showCheckbox" => 0, "showInLegend" => 1, "skipKeyboardNavigation" => 1, "softThreshold" => 1, "stack" => "fac2a47adace059aff113283a03f6760", "stacking" => "percent", "states" => []]; |
|
537
|
|
|
$this->assertEquals($res55, $obj->toArray()); |
|
538
|
|
|
|
|
539
|
|
|
$obj->setStickyTracking(0); |
|
540
|
|
|
|
|
541
|
|
|
$res56 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 80, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderRadius" => 99, "borderWidth" => 17, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 78, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cropThreshold" => 21, "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "depth" => 52, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 60, "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "groupPadding" => 40, "groupZPadding" => 50, "grouping" => 1, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 20, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "legendIndex" => 2, "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 74, "minPointLength" => 93, "name" => "b068931cc450442b63f5b3d276ea4297", "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 75, "pointIntervalUnit" => "year", "pointPadding" => 88, "pointPlacement" => "between", "pointRange" => 80, "pointStart" => 71, "pointWidth" => 72, "selected" => 1, "shadow" => 0, "showCheckbox" => 0, "showInLegend" => 1, "skipKeyboardNavigation" => 1, "softThreshold" => 1, "stack" => "fac2a47adace059aff113283a03f6760", "stacking" => "percent", "states" => [], "stickyTracking" => 0]; |
|
542
|
|
|
$this->assertEquals($res56, $obj->toArray()); |
|
543
|
|
|
|
|
544
|
|
|
$obj->setThreshold(37); |
|
545
|
|
|
|
|
546
|
|
|
$res57 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 80, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderRadius" => 99, "borderWidth" => 17, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 78, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cropThreshold" => 21, "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "depth" => 52, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 60, "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "groupPadding" => 40, "groupZPadding" => 50, "grouping" => 1, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 20, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "legendIndex" => 2, "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 74, "minPointLength" => 93, "name" => "b068931cc450442b63f5b3d276ea4297", "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 75, "pointIntervalUnit" => "year", "pointPadding" => 88, "pointPlacement" => "between", "pointRange" => 80, "pointStart" => 71, "pointWidth" => 72, "selected" => 1, "shadow" => 0, "showCheckbox" => 0, "showInLegend" => 1, "skipKeyboardNavigation" => 1, "softThreshold" => 1, "stack" => "fac2a47adace059aff113283a03f6760", "stacking" => "percent", "states" => [], "stickyTracking" => 0, "threshold" => 37]; |
|
547
|
|
|
$this->assertEquals($res57, $obj->toArray()); |
|
548
|
|
|
|
|
549
|
|
|
$obj->setTooltip(["tooltip" => "ddbfc1b6aa0ad4d79c5dac7aa3b44888"]); |
|
550
|
|
|
|
|
551
|
|
|
$res58 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 80, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderRadius" => 99, "borderWidth" => 17, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 78, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cropThreshold" => 21, "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "depth" => 52, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 60, "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "groupPadding" => 40, "groupZPadding" => 50, "grouping" => 1, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 20, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "legendIndex" => 2, "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 74, "minPointLength" => 93, "name" => "b068931cc450442b63f5b3d276ea4297", "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 75, "pointIntervalUnit" => "year", "pointPadding" => 88, "pointPlacement" => "between", "pointRange" => 80, "pointStart" => 71, "pointWidth" => 72, "selected" => 1, "shadow" => 0, "showCheckbox" => 0, "showInLegend" => 1, "skipKeyboardNavigation" => 1, "softThreshold" => 1, "stack" => "fac2a47adace059aff113283a03f6760", "stacking" => "percent", "states" => [], "stickyTracking" => 0, "threshold" => 37, "tooltip" => ["tooltip" => "ddbfc1b6aa0ad4d79c5dac7aa3b44888"]]; |
|
552
|
|
|
$this->assertEquals($res58, $obj->toArray()); |
|
553
|
|
|
|
|
554
|
|
|
$obj->setTurboThreshold(52); |
|
555
|
|
|
|
|
556
|
|
|
$res59 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 80, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderRadius" => 99, "borderWidth" => 17, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 78, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cropThreshold" => 21, "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "depth" => 52, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 60, "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "groupPadding" => 40, "groupZPadding" => 50, "grouping" => 1, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 20, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "legendIndex" => 2, "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 74, "minPointLength" => 93, "name" => "b068931cc450442b63f5b3d276ea4297", "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 75, "pointIntervalUnit" => "year", "pointPadding" => 88, "pointPlacement" => "between", "pointRange" => 80, "pointStart" => 71, "pointWidth" => 72, "selected" => 1, "shadow" => 0, "showCheckbox" => 0, "showInLegend" => 1, "skipKeyboardNavigation" => 1, "softThreshold" => 1, "stack" => "fac2a47adace059aff113283a03f6760", "stacking" => "percent", "states" => [], "stickyTracking" => 0, "threshold" => 37, "tooltip" => ["tooltip" => "ddbfc1b6aa0ad4d79c5dac7aa3b44888"], "turboThreshold" => 52]; |
|
557
|
|
|
$this->assertEquals($res59, $obj->toArray()); |
|
558
|
|
|
|
|
559
|
|
|
$obj->setType("waterfall"); |
|
560
|
|
|
|
|
561
|
|
|
$res60 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 80, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderRadius" => 99, "borderWidth" => 17, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 78, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cropThreshold" => 21, "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "depth" => 52, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 60, "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "groupPadding" => 40, "groupZPadding" => 50, "grouping" => 1, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 20, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "legendIndex" => 2, "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 74, "minPointLength" => 93, "name" => "b068931cc450442b63f5b3d276ea4297", "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 75, "pointIntervalUnit" => "year", "pointPadding" => 88, "pointPlacement" => "between", "pointRange" => 80, "pointStart" => 71, "pointWidth" => 72, "selected" => 1, "shadow" => 0, "showCheckbox" => 0, "showInLegend" => 1, "skipKeyboardNavigation" => 1, "softThreshold" => 1, "stack" => "fac2a47adace059aff113283a03f6760", "stacking" => "percent", "states" => [], "stickyTracking" => 0, "threshold" => 37, "tooltip" => ["tooltip" => "ddbfc1b6aa0ad4d79c5dac7aa3b44888"], "turboThreshold" => 52, "type" => "waterfall"]; |
|
562
|
|
|
$this->assertEquals($res60, $obj->toArray()); |
|
563
|
|
|
|
|
564
|
|
|
$obj->setVisible(0); |
|
565
|
|
|
|
|
566
|
|
|
$res61 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 80, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderRadius" => 99, "borderWidth" => 17, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 78, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cropThreshold" => 21, "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "depth" => 52, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 60, "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "groupPadding" => 40, "groupZPadding" => 50, "grouping" => 1, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 20, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "legendIndex" => 2, "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 74, "minPointLength" => 93, "name" => "b068931cc450442b63f5b3d276ea4297", "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 75, "pointIntervalUnit" => "year", "pointPadding" => 88, "pointPlacement" => "between", "pointRange" => 80, "pointStart" => 71, "pointWidth" => 72, "selected" => 1, "shadow" => 0, "showCheckbox" => 0, "showInLegend" => 1, "skipKeyboardNavigation" => 1, "softThreshold" => 1, "stack" => "fac2a47adace059aff113283a03f6760", "stacking" => "percent", "states" => [], "stickyTracking" => 0, "threshold" => 37, "tooltip" => ["tooltip" => "ddbfc1b6aa0ad4d79c5dac7aa3b44888"], "turboThreshold" => 52, "type" => "waterfall", "visible" => 0]; |
|
567
|
|
|
$this->assertEquals($res61, $obj->toArray()); |
|
568
|
|
|
|
|
569
|
|
|
$obj->setXAxis(97); |
|
570
|
|
|
|
|
571
|
|
|
$res62 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 80, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderRadius" => 99, "borderWidth" => 17, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 78, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cropThreshold" => 21, "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "depth" => 52, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 60, "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "groupPadding" => 40, "groupZPadding" => 50, "grouping" => 1, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 20, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "legendIndex" => 2, "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 74, "minPointLength" => 93, "name" => "b068931cc450442b63f5b3d276ea4297", "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 75, "pointIntervalUnit" => "year", "pointPadding" => 88, "pointPlacement" => "between", "pointRange" => 80, "pointStart" => 71, "pointWidth" => 72, "selected" => 1, "shadow" => 0, "showCheckbox" => 0, "showInLegend" => 1, "skipKeyboardNavigation" => 1, "softThreshold" => 1, "stack" => "fac2a47adace059aff113283a03f6760", "stacking" => "percent", "states" => [], "stickyTracking" => 0, "threshold" => 37, "tooltip" => ["tooltip" => "ddbfc1b6aa0ad4d79c5dac7aa3b44888"], "turboThreshold" => 52, "type" => "waterfall", "visible" => 0, "xAxis" => 97]; |
|
572
|
|
|
$this->assertEquals($res62, $obj->toArray()); |
|
573
|
|
|
|
|
574
|
|
|
$obj->setYAxis(30); |
|
575
|
|
|
|
|
576
|
|
|
$res63 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 80, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderRadius" => 99, "borderWidth" => 17, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 78, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cropThreshold" => 21, "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "depth" => 52, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 60, "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "groupPadding" => 40, "groupZPadding" => 50, "grouping" => 1, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 20, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "legendIndex" => 2, "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 74, "minPointLength" => 93, "name" => "b068931cc450442b63f5b3d276ea4297", "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 75, "pointIntervalUnit" => "year", "pointPadding" => 88, "pointPlacement" => "between", "pointRange" => 80, "pointStart" => 71, "pointWidth" => 72, "selected" => 1, "shadow" => 0, "showCheckbox" => 0, "showInLegend" => 1, "skipKeyboardNavigation" => 1, "softThreshold" => 1, "stack" => "fac2a47adace059aff113283a03f6760", "stacking" => "percent", "states" => [], "stickyTracking" => 0, "threshold" => 37, "tooltip" => ["tooltip" => "ddbfc1b6aa0ad4d79c5dac7aa3b44888"], "turboThreshold" => 52, "type" => "waterfall", "visible" => 0, "xAxis" => 97, "yAxis" => 30]; |
|
577
|
|
|
$this->assertEquals($res63, $obj->toArray()); |
|
578
|
|
|
|
|
579
|
|
|
$obj->setZIndex(33); |
|
580
|
|
|
|
|
581
|
|
|
$res64 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 80, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderRadius" => 99, "borderWidth" => 17, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 78, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cropThreshold" => 21, "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "depth" => 52, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 60, "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "groupPadding" => 40, "groupZPadding" => 50, "grouping" => 1, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 20, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "legendIndex" => 2, "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 74, "minPointLength" => 93, "name" => "b068931cc450442b63f5b3d276ea4297", "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 75, "pointIntervalUnit" => "year", "pointPadding" => 88, "pointPlacement" => "between", "pointRange" => 80, "pointStart" => 71, "pointWidth" => 72, "selected" => 1, "shadow" => 0, "showCheckbox" => 0, "showInLegend" => 1, "skipKeyboardNavigation" => 1, "softThreshold" => 1, "stack" => "fac2a47adace059aff113283a03f6760", "stacking" => "percent", "states" => [], "stickyTracking" => 0, "threshold" => 37, "tooltip" => ["tooltip" => "ddbfc1b6aa0ad4d79c5dac7aa3b44888"], "turboThreshold" => 52, "type" => "waterfall", "visible" => 0, "xAxis" => 97, "yAxis" => 30, "zIndex" => 33]; |
|
582
|
|
|
$this->assertEquals($res64, $obj->toArray()); |
|
583
|
|
|
|
|
584
|
|
|
$obj->setZoneAxis("88421adabea658556aa3ab6c6181afad"); |
|
585
|
|
|
|
|
586
|
|
|
$res65 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 80, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderRadius" => 99, "borderWidth" => 17, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 78, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cropThreshold" => 21, "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "depth" => 52, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 60, "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "groupPadding" => 40, "groupZPadding" => 50, "grouping" => 1, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 20, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "legendIndex" => 2, "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 74, "minPointLength" => 93, "name" => "b068931cc450442b63f5b3d276ea4297", "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 75, "pointIntervalUnit" => "year", "pointPadding" => 88, "pointPlacement" => "between", "pointRange" => 80, "pointStart" => 71, "pointWidth" => 72, "selected" => 1, "shadow" => 0, "showCheckbox" => 0, "showInLegend" => 1, "skipKeyboardNavigation" => 1, "softThreshold" => 1, "stack" => "fac2a47adace059aff113283a03f6760", "stacking" => "percent", "states" => [], "stickyTracking" => 0, "threshold" => 37, "tooltip" => ["tooltip" => "ddbfc1b6aa0ad4d79c5dac7aa3b44888"], "turboThreshold" => 52, "type" => "waterfall", "visible" => 0, "xAxis" => 97, "yAxis" => 30, "zIndex" => 33, "zoneAxis" => "88421adabea658556aa3ab6c6181afad"]; |
|
587
|
|
|
$this->assertEquals($res65, $obj->toArray()); |
|
588
|
|
|
|
|
589
|
|
|
$obj->setZones(["zones" => "26f94136f5db8afd4e9df1e512f7fdc5"]); |
|
590
|
|
|
|
|
591
|
|
|
$res66 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 80, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderRadius" => 99, "borderWidth" => 17, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 78, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cropThreshold" => 21, "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "depth" => 52, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 60, "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "groupPadding" => 40, "groupZPadding" => 50, "grouping" => 1, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 20, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "legendIndex" => 2, "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 74, "minPointLength" => 93, "name" => "b068931cc450442b63f5b3d276ea4297", "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 75, "pointIntervalUnit" => "year", "pointPadding" => 88, "pointPlacement" => "between", "pointRange" => 80, "pointStart" => 71, "pointWidth" => 72, "selected" => 1, "shadow" => 0, "showCheckbox" => 0, "showInLegend" => 1, "skipKeyboardNavigation" => 1, "softThreshold" => 1, "stack" => "fac2a47adace059aff113283a03f6760", "stacking" => "percent", "states" => [], "stickyTracking" => 0, "threshold" => 37, "tooltip" => ["tooltip" => "ddbfc1b6aa0ad4d79c5dac7aa3b44888"], "turboThreshold" => 52, "type" => "waterfall", "visible" => 0, "xAxis" => 97, "yAxis" => 30, "zIndex" => 33, "zoneAxis" => "88421adabea658556aa3ab6c6181afad", "zones" => ["zones" => "26f94136f5db8afd4e9df1e512f7fdc5"]]; |
|
592
|
|
|
$this->assertEquals($res66, $obj->toArray()); |
|
593
|
|
|
} |
|
594
|
|
|
|
|
595
|
|
|
} |
|
596
|
|
|
|