|
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 heatmap 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 HighchartsHeatmapTest 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\HighchartsHeatmap(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->getColsize()); |
|
46
|
|
|
$this->assertEquals(null, $obj1->getCrisp()); |
|
47
|
|
|
$this->assertEquals(null, $obj1->getCropThreshold()); |
|
48
|
|
|
$this->assertEquals(null, $obj1->getCursor()); |
|
49
|
|
|
$this->assertEquals(null, $obj1->getData()); |
|
50
|
|
|
$this->assertEquals(null, $obj1->getDataLabels()); |
|
51
|
|
|
$this->assertEquals(null, $obj1->getDescription()); |
|
52
|
|
|
$this->assertEquals(null, $obj1->getEnableMouseTracking()); |
|
53
|
|
|
$this->assertEquals(null, $obj1->getEvents()); |
|
54
|
|
|
$this->assertEquals(null, $obj1->getExposeElementToA11y()); |
|
55
|
|
|
$this->assertEquals(null, $obj1->getFindNearestPointBy()); |
|
56
|
|
|
$this->assertEquals(null, $obj1->getGetExtremesFromAll()); |
|
57
|
|
|
$this->assertEquals(null, $obj1->getId()); |
|
58
|
|
|
$this->assertEquals(null, $obj1->getIndex()); |
|
59
|
|
|
$this->assertEquals(null, $obj1->getKeys()); |
|
60
|
|
|
$this->assertEquals(null, $obj1->getLegendIndex()); |
|
61
|
|
|
$this->assertEquals(null, $obj1->getLinkedTo()); |
|
62
|
|
|
$this->assertEquals(null, $obj1->getMaxPointWidth()); |
|
63
|
|
|
$this->assertEquals(null, $obj1->getName()); |
|
64
|
|
|
$this->assertEquals(null, $obj1->getPoint()); |
|
65
|
|
|
$this->assertEquals(null, $obj1->getPointDescriptionFormatter()); |
|
66
|
|
|
$this->assertEquals(null, $obj1->getRowsize()); |
|
67
|
|
|
$this->assertEquals(null, $obj1->getSelected()); |
|
68
|
|
|
$this->assertEquals(null, $obj1->getShadow()); |
|
69
|
|
|
$this->assertEquals(null, $obj1->getShowCheckbox()); |
|
70
|
|
|
$this->assertEquals(null, $obj1->getShowInLegend()); |
|
71
|
|
|
$this->assertEquals(null, $obj1->getSkipKeyboardNavigation()); |
|
72
|
|
|
$this->assertEquals(null, $obj1->getStates()); |
|
73
|
|
|
$this->assertEquals(null, $obj1->getStickyTracking()); |
|
74
|
|
|
$this->assertEquals(null, $obj1->getTooltip()); |
|
75
|
|
|
$this->assertEquals(null, $obj1->getTurboThreshold()); |
|
76
|
|
|
$this->assertEquals(null, $obj1->getType()); |
|
77
|
|
|
$this->assertEquals(null, $obj1->getVisible()); |
|
78
|
|
|
$this->assertEquals(null, $obj1->getXAxis()); |
|
79
|
|
|
$this->assertEquals(null, $obj1->getYAxis()); |
|
80
|
|
|
$this->assertEquals(null, $obj1->getZIndex()); |
|
81
|
|
|
$this->assertEquals(null, $obj1->getZoneAxis()); |
|
82
|
|
|
$this->assertEquals(null, $obj1->getZones()); |
|
83
|
|
|
|
|
84
|
|
|
$obj0 = new \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsHeatmap(false); |
|
85
|
|
|
|
|
86
|
|
|
$this->assertEquals(false, $obj0->getAllowPointSelect()); |
|
87
|
|
|
$this->assertEquals(true, $obj0->getAnimation()); |
|
88
|
|
|
$this->assertEquals(null, $obj0->getAnimationLimit()); |
|
89
|
|
|
$this->assertEquals("#ffffff", $obj0->getBorderColor()); |
|
90
|
|
|
$this->assertEquals(0, $obj0->getBorderRadius()); |
|
91
|
|
|
$this->assertEquals(1, $obj0->getBorderWidth()); |
|
92
|
|
|
$this->assertEquals(null, $obj0->getClassName()); |
|
93
|
|
|
$this->assertEquals(null, $obj0->getColor()); |
|
94
|
|
|
$this->assertEquals(false, $obj0->getColorByPoint()); |
|
95
|
|
|
$this->assertEquals(null, $obj0->getColorIndex()); |
|
96
|
|
|
$this->assertEquals(null, $obj0->getColors()); |
|
97
|
|
|
$this->assertEquals(1, $obj0->getColsize()); |
|
98
|
|
|
$this->assertEquals(true, $obj0->getCrisp()); |
|
99
|
|
|
$this->assertEquals(50, $obj0->getCropThreshold()); |
|
100
|
|
|
$this->assertEquals(null, $obj0->getCursor()); |
|
101
|
|
|
$this->assertEquals(null, $obj0->getData()); |
|
102
|
|
|
$this->assertEquals(null, $obj0->getDataLabels()); |
|
103
|
|
|
$this->assertEquals(null, $obj0->getDescription()); |
|
104
|
|
|
$this->assertEquals(true, $obj0->getEnableMouseTracking()); |
|
105
|
|
|
$this->assertEquals(null, $obj0->getEvents()); |
|
106
|
|
|
$this->assertEquals(null, $obj0->getExposeElementToA11y()); |
|
107
|
|
|
$this->assertEquals(null, $obj0->getFindNearestPointBy()); |
|
108
|
|
|
$this->assertEquals(false, $obj0->getGetExtremesFromAll()); |
|
109
|
|
|
$this->assertEquals(null, $obj0->getId()); |
|
110
|
|
|
$this->assertEquals(null, $obj0->getIndex()); |
|
111
|
|
|
$this->assertEquals(null, $obj0->getKeys()); |
|
112
|
|
|
$this->assertEquals(null, $obj0->getLegendIndex()); |
|
113
|
|
|
$this->assertEquals(null, $obj0->getLinkedTo()); |
|
114
|
|
|
$this->assertEquals(null, $obj0->getMaxPointWidth()); |
|
115
|
|
|
$this->assertEquals(null, $obj0->getName()); |
|
116
|
|
|
$this->assertEquals(null, $obj0->getPoint()); |
|
117
|
|
|
$this->assertEquals(null, $obj0->getPointDescriptionFormatter()); |
|
118
|
|
|
$this->assertEquals(1, $obj0->getRowsize()); |
|
119
|
|
|
$this->assertEquals(false, $obj0->getSelected()); |
|
120
|
|
|
$this->assertEquals(false, $obj0->getShadow()); |
|
121
|
|
|
$this->assertEquals(false, $obj0->getShowCheckbox()); |
|
122
|
|
|
$this->assertEquals(true, $obj0->getShowInLegend()); |
|
123
|
|
|
$this->assertEquals(null, $obj0->getSkipKeyboardNavigation()); |
|
124
|
|
|
$this->assertEquals(null, $obj0->getStates()); |
|
125
|
|
|
$this->assertEquals(true, $obj0->getStickyTracking()); |
|
126
|
|
|
$this->assertEquals(null, $obj0->getTooltip()); |
|
127
|
|
|
$this->assertEquals(1000, $obj0->getTurboThreshold()); |
|
128
|
|
|
$this->assertEquals(null, $obj0->getType()); |
|
129
|
|
|
$this->assertEquals(true, $obj0->getVisible()); |
|
130
|
|
|
$this->assertEquals("0", $obj0->getXAxis()); |
|
131
|
|
|
$this->assertEquals("0", $obj0->getYAxis()); |
|
132
|
|
|
$this->assertEquals(null, $obj0->getZIndex()); |
|
133
|
|
|
$this->assertEquals("y", $obj0->getZoneAxis()); |
|
134
|
|
|
$this->assertEquals(null, $obj0->getZones()); |
|
135
|
|
|
} |
|
136
|
|
|
|
|
137
|
|
|
/** |
|
138
|
|
|
* Tests the clear() method. |
|
139
|
|
|
* |
|
140
|
|
|
* @return void |
|
141
|
|
|
*/ |
|
142
|
|
|
public function testClear() { |
|
143
|
|
|
|
|
144
|
|
|
$obj = new \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsHeatmap(false); |
|
145
|
|
|
|
|
146
|
|
|
$obj->newDataLabels(); |
|
147
|
|
|
$obj->newEvents(); |
|
148
|
|
|
$obj->newPoint(); |
|
149
|
|
|
$obj->newStates(); |
|
150
|
|
|
|
|
151
|
|
|
$obj->clear(); |
|
152
|
|
|
|
|
153
|
|
|
$res = ["dataLabels" => [], "events" => [], "point" => [], "states" => []]; |
|
154
|
|
|
$this->assertEquals($res, $obj->toArray()); |
|
155
|
|
|
} |
|
156
|
|
|
|
|
157
|
|
|
/** |
|
158
|
|
|
* Tests the jsonSerialize() method. |
|
159
|
|
|
* |
|
160
|
|
|
* @return void |
|
161
|
|
|
*/ |
|
162
|
|
|
public function testJsonSerialize() { |
|
163
|
|
|
|
|
164
|
|
|
$obj = new \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsHeatmap(true); |
|
165
|
|
|
|
|
166
|
|
|
$this->assertEquals([], $obj->jsonSerialize()); |
|
167
|
|
|
} |
|
168
|
|
|
|
|
169
|
|
|
/** |
|
170
|
|
|
* Tests the newDataLabels() method. |
|
171
|
|
|
* |
|
172
|
|
|
* @return void. |
|
173
|
|
|
*/ |
|
174
|
|
|
public function testNewDataLabels() { |
|
175
|
|
|
|
|
176
|
|
|
$obj = new \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsHeatmap(false); |
|
177
|
|
|
|
|
178
|
|
|
$res = $obj->newDataLabels(); |
|
179
|
|
|
$this->assertInstanceOf(\WBW\Bundle\HighchartsBundle\API\Chart\Series\Heatmap\HighchartsDataLabels::class, $res); |
|
180
|
|
|
} |
|
181
|
|
|
|
|
182
|
|
|
/** |
|
183
|
|
|
* Tests the newEvents() method. |
|
184
|
|
|
* |
|
185
|
|
|
* @return void. |
|
186
|
|
|
*/ |
|
187
|
|
|
public function testNewEvents() { |
|
188
|
|
|
|
|
189
|
|
|
$obj = new \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsHeatmap(false); |
|
190
|
|
|
|
|
191
|
|
|
$res = $obj->newEvents(); |
|
192
|
|
|
$this->assertInstanceOf(\WBW\Bundle\HighchartsBundle\API\Chart\Series\Heatmap\HighchartsEvents::class, $res); |
|
193
|
|
|
} |
|
194
|
|
|
|
|
195
|
|
|
/** |
|
196
|
|
|
* Tests the newPoint() method. |
|
197
|
|
|
* |
|
198
|
|
|
* @return void. |
|
199
|
|
|
*/ |
|
200
|
|
|
public function testNewPoint() { |
|
201
|
|
|
|
|
202
|
|
|
$obj = new \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsHeatmap(false); |
|
203
|
|
|
|
|
204
|
|
|
$res = $obj->newPoint(); |
|
205
|
|
|
$this->assertInstanceOf(\WBW\Bundle\HighchartsBundle\API\Chart\Series\Heatmap\HighchartsPoint::class, $res); |
|
206
|
|
|
} |
|
207
|
|
|
|
|
208
|
|
|
/** |
|
209
|
|
|
* Tests the newStates() method. |
|
210
|
|
|
* |
|
211
|
|
|
* @return void. |
|
212
|
|
|
*/ |
|
213
|
|
|
public function testNewStates() { |
|
214
|
|
|
|
|
215
|
|
|
$obj = new \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsHeatmap(false); |
|
216
|
|
|
|
|
217
|
|
|
$res = $obj->newStates(); |
|
218
|
|
|
$this->assertInstanceOf(\WBW\Bundle\HighchartsBundle\API\Chart\Series\Heatmap\HighchartsStates::class, $res); |
|
219
|
|
|
} |
|
220
|
|
|
|
|
221
|
|
|
/** |
|
222
|
|
|
* Tests the toArray() method. |
|
223
|
|
|
* |
|
224
|
|
|
* @return void |
|
225
|
|
|
*/ |
|
226
|
|
|
public function testToArray() { |
|
227
|
|
|
|
|
228
|
|
|
$obj = new \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsHeatmap(true); |
|
229
|
|
|
|
|
230
|
|
|
$obj->setAllowPointSelect(0); |
|
231
|
|
|
|
|
232
|
|
|
$res1 = ["allowPointSelect" => 0]; |
|
233
|
|
|
$this->assertEquals($res1, $obj->toArray()); |
|
234
|
|
|
|
|
235
|
|
|
$obj->setAnimation(0); |
|
236
|
|
|
|
|
237
|
|
|
$res2 = ["allowPointSelect" => 0, "animation" => 0]; |
|
238
|
|
|
$this->assertEquals($res2, $obj->toArray()); |
|
239
|
|
|
|
|
240
|
|
|
$obj->setAnimationLimit(100); |
|
241
|
|
|
|
|
242
|
|
|
$res3 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 100]; |
|
243
|
|
|
$this->assertEquals($res3, $obj->toArray()); |
|
244
|
|
|
|
|
245
|
|
|
$obj->setBorderColor("97da935a74593c55d78be9d1295aa994"); |
|
246
|
|
|
|
|
247
|
|
|
$res4 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 100, "borderColor" => "97da935a74593c55d78be9d1295aa994"]; |
|
248
|
|
|
$this->assertEquals($res4, $obj->toArray()); |
|
249
|
|
|
|
|
250
|
|
|
$obj->setBorderRadius(66); |
|
251
|
|
|
|
|
252
|
|
|
$res5 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 100, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderRadius" => 66]; |
|
253
|
|
|
$this->assertEquals($res5, $obj->toArray()); |
|
254
|
|
|
|
|
255
|
|
|
$obj->setBorderWidth(52); |
|
256
|
|
|
|
|
257
|
|
|
$res6 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 100, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderRadius" => 66, "borderWidth" => 52]; |
|
258
|
|
|
$this->assertEquals($res6, $obj->toArray()); |
|
259
|
|
|
|
|
260
|
|
|
$obj->setClassName("6f66e878c62db60568a3487869695820"); |
|
261
|
|
|
|
|
262
|
|
|
$res7 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 100, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderRadius" => 66, "borderWidth" => 52, "className" => "6f66e878c62db60568a3487869695820"]; |
|
263
|
|
|
$this->assertEquals($res7, $obj->toArray()); |
|
264
|
|
|
|
|
265
|
|
|
$obj->setColor("70dda5dfb8053dc6d1c492574bce9bfd"); |
|
266
|
|
|
|
|
267
|
|
|
$res8 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 100, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderRadius" => 66, "borderWidth" => 52, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd"]; |
|
268
|
|
|
$this->assertEquals($res8, $obj->toArray()); |
|
269
|
|
|
|
|
270
|
|
|
$obj->setColorByPoint(0); |
|
271
|
|
|
|
|
272
|
|
|
$res9 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 100, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderRadius" => 66, "borderWidth" => 52, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 0]; |
|
273
|
|
|
$this->assertEquals($res9, $obj->toArray()); |
|
274
|
|
|
|
|
275
|
|
|
$obj->setColorIndex(14); |
|
276
|
|
|
|
|
277
|
|
|
$res10 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 100, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderRadius" => 66, "borderWidth" => 52, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 0, "colorIndex" => 14]; |
|
278
|
|
|
$this->assertEquals($res10, $obj->toArray()); |
|
279
|
|
|
|
|
280
|
|
|
$obj->setColors(["colors" => "62848e3ce5804aa985513a7922ff87b2"]); |
|
281
|
|
|
|
|
282
|
|
|
$res11 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 100, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderRadius" => 66, "borderWidth" => 52, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 0, "colorIndex" => 14, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"]]; |
|
283
|
|
|
$this->assertEquals($res11, $obj->toArray()); |
|
284
|
|
|
|
|
285
|
|
|
$obj->setColsize(27); |
|
286
|
|
|
|
|
287
|
|
|
$res12 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 100, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderRadius" => 66, "borderWidth" => 52, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 0, "colorIndex" => 14, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "colsize" => 27]; |
|
288
|
|
|
$this->assertEquals($res12, $obj->toArray()); |
|
289
|
|
|
|
|
290
|
|
|
$obj->setCrisp(0); |
|
291
|
|
|
|
|
292
|
|
|
$res13 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 100, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderRadius" => 66, "borderWidth" => 52, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 0, "colorIndex" => 14, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "colsize" => 27, "crisp" => 0]; |
|
293
|
|
|
$this->assertEquals($res13, $obj->toArray()); |
|
294
|
|
|
|
|
295
|
|
|
$obj->setCropThreshold(3); |
|
296
|
|
|
|
|
297
|
|
|
$res14 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 100, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderRadius" => 66, "borderWidth" => 52, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 0, "colorIndex" => 14, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "colsize" => 27, "crisp" => 0, "cropThreshold" => 3]; |
|
298
|
|
|
$this->assertEquals($res14, $obj->toArray()); |
|
299
|
|
|
|
|
300
|
|
|
$obj->setCursor("crosshair"); |
|
301
|
|
|
|
|
302
|
|
|
$res15 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 100, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderRadius" => 66, "borderWidth" => 52, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 0, "colorIndex" => 14, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "colsize" => 27, "crisp" => 0, "cropThreshold" => 3, "cursor" => "crosshair"]; |
|
303
|
|
|
$this->assertEquals($res15, $obj->toArray()); |
|
304
|
|
|
|
|
305
|
|
|
$obj->setData(["data" => "8d777f385d3dfec8815d20f7496026dc"]); |
|
306
|
|
|
|
|
307
|
|
|
$res16 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 100, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderRadius" => 66, "borderWidth" => 52, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 0, "colorIndex" => 14, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "colsize" => 27, "crisp" => 0, "cropThreshold" => 3, "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"]]; |
|
308
|
|
|
$this->assertEquals($res16, $obj->toArray()); |
|
309
|
|
|
|
|
310
|
|
|
$obj->setDataLabels(new \WBW\Bundle\HighchartsBundle\API\Chart\Series\Heatmap\HighchartsDataLabels()); |
|
311
|
|
|
|
|
312
|
|
|
$res17 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 100, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderRadius" => 66, "borderWidth" => 52, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 0, "colorIndex" => 14, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "colsize" => 27, "crisp" => 0, "cropThreshold" => 3, "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => []]; |
|
313
|
|
|
$this->assertEquals($res17, $obj->toArray()); |
|
314
|
|
|
|
|
315
|
|
|
$obj->setDescription("67daf92c833c41c95db874e18fcb2786"); |
|
316
|
|
|
|
|
317
|
|
|
$res18 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 100, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderRadius" => 66, "borderWidth" => 52, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 0, "colorIndex" => 14, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "colsize" => 27, "crisp" => 0, "cropThreshold" => 3, "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786"]; |
|
318
|
|
|
$this->assertEquals($res18, $obj->toArray()); |
|
319
|
|
|
|
|
320
|
|
|
$obj->setEnableMouseTracking(0); |
|
321
|
|
|
|
|
322
|
|
|
$res19 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 100, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderRadius" => 66, "borderWidth" => 52, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 0, "colorIndex" => 14, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "colsize" => 27, "crisp" => 0, "cropThreshold" => 3, "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 0]; |
|
323
|
|
|
$this->assertEquals($res19, $obj->toArray()); |
|
324
|
|
|
|
|
325
|
|
|
$obj->setEvents(new \WBW\Bundle\HighchartsBundle\API\Chart\Series\Heatmap\HighchartsEvents()); |
|
326
|
|
|
|
|
327
|
|
|
$res20 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 100, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderRadius" => 66, "borderWidth" => 52, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 0, "colorIndex" => 14, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "colsize" => 27, "crisp" => 0, "cropThreshold" => 3, "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 0, "events" => []]; |
|
328
|
|
|
$this->assertEquals($res20, $obj->toArray()); |
|
329
|
|
|
|
|
330
|
|
|
$obj->setExposeElementToA11y(0); |
|
331
|
|
|
|
|
332
|
|
|
$res21 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 100, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderRadius" => 66, "borderWidth" => 52, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 0, "colorIndex" => 14, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "colsize" => 27, "crisp" => 0, "cropThreshold" => 3, "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 0]; |
|
333
|
|
|
$this->assertEquals($res21, $obj->toArray()); |
|
334
|
|
|
|
|
335
|
|
|
$obj->setFindNearestPointBy("xy"); |
|
336
|
|
|
|
|
337
|
|
|
$res22 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 100, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderRadius" => 66, "borderWidth" => 52, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 0, "colorIndex" => 14, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "colsize" => 27, "crisp" => 0, "cropThreshold" => 3, "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy"]; |
|
338
|
|
|
$this->assertEquals($res22, $obj->toArray()); |
|
339
|
|
|
|
|
340
|
|
|
$obj->setGetExtremesFromAll(1); |
|
341
|
|
|
|
|
342
|
|
|
$res23 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 100, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderRadius" => 66, "borderWidth" => 52, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 0, "colorIndex" => 14, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "colsize" => 27, "crisp" => 0, "cropThreshold" => 3, "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1]; |
|
343
|
|
|
$this->assertEquals($res23, $obj->toArray()); |
|
344
|
|
|
|
|
345
|
|
|
$obj->setId("b80bb7740288fda1f201890375a60c8f"); |
|
346
|
|
|
|
|
347
|
|
|
$res24 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 100, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderRadius" => 66, "borderWidth" => 52, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 0, "colorIndex" => 14, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "colsize" => 27, "crisp" => 0, "cropThreshold" => 3, "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "id" => "b80bb7740288fda1f201890375a60c8f"]; |
|
348
|
|
|
$this->assertEquals($res24, $obj->toArray()); |
|
349
|
|
|
|
|
350
|
|
|
$obj->setIndex(16); |
|
351
|
|
|
|
|
352
|
|
|
$res25 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 100, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderRadius" => 66, "borderWidth" => 52, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 0, "colorIndex" => 14, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "colsize" => 27, "crisp" => 0, "cropThreshold" => 3, "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 16]; |
|
353
|
|
|
$this->assertEquals($res25, $obj->toArray()); |
|
354
|
|
|
|
|
355
|
|
|
$obj->setKeys(["keys" => "14f802e1fba977727845e8872c1743a7"]); |
|
356
|
|
|
|
|
357
|
|
|
$res26 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 100, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderRadius" => 66, "borderWidth" => 52, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 0, "colorIndex" => 14, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "colsize" => 27, "crisp" => 0, "cropThreshold" => 3, "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 16, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"]]; |
|
358
|
|
|
$this->assertEquals($res26, $obj->toArray()); |
|
359
|
|
|
|
|
360
|
|
|
$obj->setLegendIndex(15); |
|
361
|
|
|
|
|
362
|
|
|
$res27 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 100, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderRadius" => 66, "borderWidth" => 52, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 0, "colorIndex" => 14, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "colsize" => 27, "crisp" => 0, "cropThreshold" => 3, "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 16, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "legendIndex" => 15]; |
|
363
|
|
|
$this->assertEquals($res27, $obj->toArray()); |
|
364
|
|
|
|
|
365
|
|
|
$obj->setLinkedTo("914fab47afc86331ec62837807a29419"); |
|
366
|
|
|
|
|
367
|
|
|
$res28 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 100, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderRadius" => 66, "borderWidth" => 52, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 0, "colorIndex" => 14, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "colsize" => 27, "crisp" => 0, "cropThreshold" => 3, "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 16, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "legendIndex" => 15, "linkedTo" => "914fab47afc86331ec62837807a29419"]; |
|
368
|
|
|
$this->assertEquals($res28, $obj->toArray()); |
|
369
|
|
|
|
|
370
|
|
|
$obj->setMaxPointWidth(2); |
|
371
|
|
|
|
|
372
|
|
|
$res29 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 100, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderRadius" => 66, "borderWidth" => 52, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 0, "colorIndex" => 14, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "colsize" => 27, "crisp" => 0, "cropThreshold" => 3, "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 16, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "legendIndex" => 15, "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 2]; |
|
373
|
|
|
$this->assertEquals($res29, $obj->toArray()); |
|
374
|
|
|
|
|
375
|
|
|
$obj->setName("b068931cc450442b63f5b3d276ea4297"); |
|
376
|
|
|
|
|
377
|
|
|
$res30 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 100, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderRadius" => 66, "borderWidth" => 52, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 0, "colorIndex" => 14, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "colsize" => 27, "crisp" => 0, "cropThreshold" => 3, "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 16, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "legendIndex" => 15, "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 2, "name" => "b068931cc450442b63f5b3d276ea4297"]; |
|
378
|
|
|
$this->assertEquals($res30, $obj->toArray()); |
|
379
|
|
|
|
|
380
|
|
|
$obj->setPoint(new \WBW\Bundle\HighchartsBundle\API\Chart\Series\Heatmap\HighchartsPoint()); |
|
381
|
|
|
|
|
382
|
|
|
$res31 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 100, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderRadius" => 66, "borderWidth" => 52, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 0, "colorIndex" => 14, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "colsize" => 27, "crisp" => 0, "cropThreshold" => 3, "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 16, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "legendIndex" => 15, "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 2, "name" => "b068931cc450442b63f5b3d276ea4297", "point" => []]; |
|
383
|
|
|
$this->assertEquals($res31, $obj->toArray()); |
|
384
|
|
|
|
|
385
|
|
|
$obj->setPointDescriptionFormatter("b5fd0c15b3ca81f726e2c7b93907ba36"); |
|
386
|
|
|
|
|
387
|
|
|
$res32 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 100, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderRadius" => 66, "borderWidth" => 52, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 0, "colorIndex" => 14, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "colsize" => 27, "crisp" => 0, "cropThreshold" => 3, "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 16, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "legendIndex" => 15, "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 2, "name" => "b068931cc450442b63f5b3d276ea4297", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36"]; |
|
388
|
|
|
$this->assertEquals($res32, $obj->toArray()); |
|
389
|
|
|
|
|
390
|
|
|
$obj->setRowsize(46); |
|
391
|
|
|
|
|
392
|
|
|
$res33 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 100, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderRadius" => 66, "borderWidth" => 52, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 0, "colorIndex" => 14, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "colsize" => 27, "crisp" => 0, "cropThreshold" => 3, "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 16, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "legendIndex" => 15, "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 2, "name" => "b068931cc450442b63f5b3d276ea4297", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "rowsize" => 46]; |
|
393
|
|
|
$this->assertEquals($res33, $obj->toArray()); |
|
394
|
|
|
|
|
395
|
|
|
$obj->setSelected(1); |
|
396
|
|
|
|
|
397
|
|
|
$res34 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 100, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderRadius" => 66, "borderWidth" => 52, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 0, "colorIndex" => 14, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "colsize" => 27, "crisp" => 0, "cropThreshold" => 3, "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 16, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "legendIndex" => 15, "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 2, "name" => "b068931cc450442b63f5b3d276ea4297", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "rowsize" => 46, "selected" => 1]; |
|
398
|
|
|
$this->assertEquals($res34, $obj->toArray()); |
|
399
|
|
|
|
|
400
|
|
|
$obj->setShadow(0); |
|
401
|
|
|
|
|
402
|
|
|
$res35 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 100, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderRadius" => 66, "borderWidth" => 52, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 0, "colorIndex" => 14, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "colsize" => 27, "crisp" => 0, "cropThreshold" => 3, "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 16, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "legendIndex" => 15, "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 2, "name" => "b068931cc450442b63f5b3d276ea4297", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "rowsize" => 46, "selected" => 1, "shadow" => 0]; |
|
403
|
|
|
$this->assertEquals($res35, $obj->toArray()); |
|
404
|
|
|
|
|
405
|
|
|
$obj->setShowCheckbox(0); |
|
406
|
|
|
|
|
407
|
|
|
$res36 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 100, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderRadius" => 66, "borderWidth" => 52, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 0, "colorIndex" => 14, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "colsize" => 27, "crisp" => 0, "cropThreshold" => 3, "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 16, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "legendIndex" => 15, "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 2, "name" => "b068931cc450442b63f5b3d276ea4297", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "rowsize" => 46, "selected" => 1, "shadow" => 0, "showCheckbox" => 0]; |
|
408
|
|
|
$this->assertEquals($res36, $obj->toArray()); |
|
409
|
|
|
|
|
410
|
|
|
$obj->setShowInLegend(0); |
|
411
|
|
|
|
|
412
|
|
|
$res37 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 100, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderRadius" => 66, "borderWidth" => 52, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 0, "colorIndex" => 14, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "colsize" => 27, "crisp" => 0, "cropThreshold" => 3, "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 16, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "legendIndex" => 15, "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 2, "name" => "b068931cc450442b63f5b3d276ea4297", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "rowsize" => 46, "selected" => 1, "shadow" => 0, "showCheckbox" => 0, "showInLegend" => 0]; |
|
413
|
|
|
$this->assertEquals($res37, $obj->toArray()); |
|
414
|
|
|
|
|
415
|
|
|
$obj->setSkipKeyboardNavigation(1); |
|
416
|
|
|
|
|
417
|
|
|
$res38 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 100, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderRadius" => 66, "borderWidth" => 52, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 0, "colorIndex" => 14, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "colsize" => 27, "crisp" => 0, "cropThreshold" => 3, "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 16, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "legendIndex" => 15, "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 2, "name" => "b068931cc450442b63f5b3d276ea4297", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "rowsize" => 46, "selected" => 1, "shadow" => 0, "showCheckbox" => 0, "showInLegend" => 0, "skipKeyboardNavigation" => 1]; |
|
418
|
|
|
$this->assertEquals($res38, $obj->toArray()); |
|
419
|
|
|
|
|
420
|
|
|
$obj->setStates(new \WBW\Bundle\HighchartsBundle\API\Chart\Series\Heatmap\HighchartsStates()); |
|
421
|
|
|
|
|
422
|
|
|
$res39 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 100, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderRadius" => 66, "borderWidth" => 52, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 0, "colorIndex" => 14, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "colsize" => 27, "crisp" => 0, "cropThreshold" => 3, "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 16, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "legendIndex" => 15, "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 2, "name" => "b068931cc450442b63f5b3d276ea4297", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "rowsize" => 46, "selected" => 1, "shadow" => 0, "showCheckbox" => 0, "showInLegend" => 0, "skipKeyboardNavigation" => 1, "states" => []]; |
|
423
|
|
|
$this->assertEquals($res39, $obj->toArray()); |
|
424
|
|
|
|
|
425
|
|
|
$obj->setStickyTracking(1); |
|
426
|
|
|
|
|
427
|
|
|
$res40 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 100, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderRadius" => 66, "borderWidth" => 52, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 0, "colorIndex" => 14, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "colsize" => 27, "crisp" => 0, "cropThreshold" => 3, "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 16, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "legendIndex" => 15, "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 2, "name" => "b068931cc450442b63f5b3d276ea4297", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "rowsize" => 46, "selected" => 1, "shadow" => 0, "showCheckbox" => 0, "showInLegend" => 0, "skipKeyboardNavigation" => 1, "states" => [], "stickyTracking" => 1]; |
|
428
|
|
|
$this->assertEquals($res40, $obj->toArray()); |
|
429
|
|
|
|
|
430
|
|
|
$obj->setTooltip(["tooltip" => "ddbfc1b6aa0ad4d79c5dac7aa3b44888"]); |
|
431
|
|
|
|
|
432
|
|
|
$res41 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 100, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderRadius" => 66, "borderWidth" => 52, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 0, "colorIndex" => 14, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "colsize" => 27, "crisp" => 0, "cropThreshold" => 3, "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 16, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "legendIndex" => 15, "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 2, "name" => "b068931cc450442b63f5b3d276ea4297", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "rowsize" => 46, "selected" => 1, "shadow" => 0, "showCheckbox" => 0, "showInLegend" => 0, "skipKeyboardNavigation" => 1, "states" => [], "stickyTracking" => 1, "tooltip" => ["tooltip" => "ddbfc1b6aa0ad4d79c5dac7aa3b44888"]]; |
|
433
|
|
|
$this->assertEquals($res41, $obj->toArray()); |
|
434
|
|
|
|
|
435
|
|
|
$obj->setTurboThreshold(95); |
|
436
|
|
|
|
|
437
|
|
|
$res42 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 100, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderRadius" => 66, "borderWidth" => 52, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 0, "colorIndex" => 14, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "colsize" => 27, "crisp" => 0, "cropThreshold" => 3, "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 16, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "legendIndex" => 15, "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 2, "name" => "b068931cc450442b63f5b3d276ea4297", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "rowsize" => 46, "selected" => 1, "shadow" => 0, "showCheckbox" => 0, "showInLegend" => 0, "skipKeyboardNavigation" => 1, "states" => [], "stickyTracking" => 1, "tooltip" => ["tooltip" => "ddbfc1b6aa0ad4d79c5dac7aa3b44888"], "turboThreshold" => 95]; |
|
438
|
|
|
$this->assertEquals($res42, $obj->toArray()); |
|
439
|
|
|
|
|
440
|
|
|
$obj->setType("waterfall"); |
|
441
|
|
|
|
|
442
|
|
|
$res43 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 100, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderRadius" => 66, "borderWidth" => 52, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 0, "colorIndex" => 14, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "colsize" => 27, "crisp" => 0, "cropThreshold" => 3, "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 16, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "legendIndex" => 15, "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 2, "name" => "b068931cc450442b63f5b3d276ea4297", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "rowsize" => 46, "selected" => 1, "shadow" => 0, "showCheckbox" => 0, "showInLegend" => 0, "skipKeyboardNavigation" => 1, "states" => [], "stickyTracking" => 1, "tooltip" => ["tooltip" => "ddbfc1b6aa0ad4d79c5dac7aa3b44888"], "turboThreshold" => 95, "type" => "waterfall"]; |
|
443
|
|
|
$this->assertEquals($res43, $obj->toArray()); |
|
444
|
|
|
|
|
445
|
|
|
$obj->setVisible(1); |
|
446
|
|
|
|
|
447
|
|
|
$res44 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 100, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderRadius" => 66, "borderWidth" => 52, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 0, "colorIndex" => 14, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "colsize" => 27, "crisp" => 0, "cropThreshold" => 3, "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 16, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "legendIndex" => 15, "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 2, "name" => "b068931cc450442b63f5b3d276ea4297", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "rowsize" => 46, "selected" => 1, "shadow" => 0, "showCheckbox" => 0, "showInLegend" => 0, "skipKeyboardNavigation" => 1, "states" => [], "stickyTracking" => 1, "tooltip" => ["tooltip" => "ddbfc1b6aa0ad4d79c5dac7aa3b44888"], "turboThreshold" => 95, "type" => "waterfall", "visible" => 1]; |
|
448
|
|
|
$this->assertEquals($res44, $obj->toArray()); |
|
449
|
|
|
|
|
450
|
|
|
$obj->setXAxis(21); |
|
451
|
|
|
|
|
452
|
|
|
$res45 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 100, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderRadius" => 66, "borderWidth" => 52, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 0, "colorIndex" => 14, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "colsize" => 27, "crisp" => 0, "cropThreshold" => 3, "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 16, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "legendIndex" => 15, "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 2, "name" => "b068931cc450442b63f5b3d276ea4297", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "rowsize" => 46, "selected" => 1, "shadow" => 0, "showCheckbox" => 0, "showInLegend" => 0, "skipKeyboardNavigation" => 1, "states" => [], "stickyTracking" => 1, "tooltip" => ["tooltip" => "ddbfc1b6aa0ad4d79c5dac7aa3b44888"], "turboThreshold" => 95, "type" => "waterfall", "visible" => 1, "xAxis" => 21]; |
|
453
|
|
|
$this->assertEquals($res45, $obj->toArray()); |
|
454
|
|
|
|
|
455
|
|
|
$obj->setYAxis(7); |
|
456
|
|
|
|
|
457
|
|
|
$res46 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 100, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderRadius" => 66, "borderWidth" => 52, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 0, "colorIndex" => 14, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "colsize" => 27, "crisp" => 0, "cropThreshold" => 3, "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 16, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "legendIndex" => 15, "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 2, "name" => "b068931cc450442b63f5b3d276ea4297", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "rowsize" => 46, "selected" => 1, "shadow" => 0, "showCheckbox" => 0, "showInLegend" => 0, "skipKeyboardNavigation" => 1, "states" => [], "stickyTracking" => 1, "tooltip" => ["tooltip" => "ddbfc1b6aa0ad4d79c5dac7aa3b44888"], "turboThreshold" => 95, "type" => "waterfall", "visible" => 1, "xAxis" => 21, "yAxis" => 7]; |
|
458
|
|
|
$this->assertEquals($res46, $obj->toArray()); |
|
459
|
|
|
|
|
460
|
|
|
$obj->setZIndex(58); |
|
461
|
|
|
|
|
462
|
|
|
$res47 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 100, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderRadius" => 66, "borderWidth" => 52, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 0, "colorIndex" => 14, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "colsize" => 27, "crisp" => 0, "cropThreshold" => 3, "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 16, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "legendIndex" => 15, "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 2, "name" => "b068931cc450442b63f5b3d276ea4297", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "rowsize" => 46, "selected" => 1, "shadow" => 0, "showCheckbox" => 0, "showInLegend" => 0, "skipKeyboardNavigation" => 1, "states" => [], "stickyTracking" => 1, "tooltip" => ["tooltip" => "ddbfc1b6aa0ad4d79c5dac7aa3b44888"], "turboThreshold" => 95, "type" => "waterfall", "visible" => 1, "xAxis" => 21, "yAxis" => 7, "zIndex" => 58]; |
|
463
|
|
|
$this->assertEquals($res47, $obj->toArray()); |
|
464
|
|
|
|
|
465
|
|
|
$obj->setZoneAxis("88421adabea658556aa3ab6c6181afad"); |
|
466
|
|
|
|
|
467
|
|
|
$res48 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 100, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderRadius" => 66, "borderWidth" => 52, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 0, "colorIndex" => 14, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "colsize" => 27, "crisp" => 0, "cropThreshold" => 3, "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 16, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "legendIndex" => 15, "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 2, "name" => "b068931cc450442b63f5b3d276ea4297", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "rowsize" => 46, "selected" => 1, "shadow" => 0, "showCheckbox" => 0, "showInLegend" => 0, "skipKeyboardNavigation" => 1, "states" => [], "stickyTracking" => 1, "tooltip" => ["tooltip" => "ddbfc1b6aa0ad4d79c5dac7aa3b44888"], "turboThreshold" => 95, "type" => "waterfall", "visible" => 1, "xAxis" => 21, "yAxis" => 7, "zIndex" => 58, "zoneAxis" => "88421adabea658556aa3ab6c6181afad"]; |
|
468
|
|
|
$this->assertEquals($res48, $obj->toArray()); |
|
469
|
|
|
|
|
470
|
|
|
$obj->setZones(["zones" => "26f94136f5db8afd4e9df1e512f7fdc5"]); |
|
471
|
|
|
|
|
472
|
|
|
$res49 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 100, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderRadius" => 66, "borderWidth" => 52, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 0, "colorIndex" => 14, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "colsize" => 27, "crisp" => 0, "cropThreshold" => 3, "cursor" => "crosshair", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 16, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "legendIndex" => 15, "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 2, "name" => "b068931cc450442b63f5b3d276ea4297", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "rowsize" => 46, "selected" => 1, "shadow" => 0, "showCheckbox" => 0, "showInLegend" => 0, "skipKeyboardNavigation" => 1, "states" => [], "stickyTracking" => 1, "tooltip" => ["tooltip" => "ddbfc1b6aa0ad4d79c5dac7aa3b44888"], "turboThreshold" => 95, "type" => "waterfall", "visible" => 1, "xAxis" => 21, "yAxis" => 7, "zIndex" => 58, "zoneAxis" => "88421adabea658556aa3ab6c6181afad", "zones" => ["zones" => "26f94136f5db8afd4e9df1e512f7fdc5"]]; |
|
473
|
|
|
$this->assertEquals($res49, $obj->toArray()); |
|
474
|
|
|
} |
|
475
|
|
|
|
|
476
|
|
|
} |
|
477
|
|
|
|