Conditions | 1 |
Paths | 1 |
Total Lines | 238 |
Code Lines | 142 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
Small methods make your code easier to understand, in particular if combined with a good name. Besides, if your method is small, finding a good name is usually much easier.
For example, if you find yourself adding comments to a method's body, this is usually a good sign to extract the commented part to a new method, and use the comment as a starting point when coming up with a good name for this new method.
Commonly applied refactorings include:
If many parameters/temporary variables are present:
1 | <?php |
||
236 | public function testToArray() { |
||
237 | |||
238 | $obj = new \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsPolygon(true); |
||
239 | |||
240 | $obj->setAllowPointSelect(0); |
||
241 | |||
242 | $res1 = ["allowPointSelect" => 0]; |
||
243 | $this->assertEquals($res1, $obj->toArray()); |
||
244 | |||
245 | $obj->setAnimation(0); |
||
246 | |||
247 | $res2 = ["allowPointSelect" => 0, "animation" => 0]; |
||
248 | $this->assertEquals($res2, $obj->toArray()); |
||
249 | |||
250 | $obj->setAnimationLimit(29); |
||
251 | |||
252 | $res3 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 29]; |
||
253 | $this->assertEquals($res3, $obj->toArray()); |
||
254 | |||
255 | $obj->setClassName("6f66e878c62db60568a3487869695820"); |
||
256 | |||
257 | $res4 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 29, "className" => "6f66e878c62db60568a3487869695820"]; |
||
258 | $this->assertEquals($res4, $obj->toArray()); |
||
259 | |||
260 | $obj->setColor("70dda5dfb8053dc6d1c492574bce9bfd"); |
||
261 | |||
262 | $res5 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 29, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd"]; |
||
263 | $this->assertEquals($res5, $obj->toArray()); |
||
264 | |||
265 | $obj->setColorIndex(69); |
||
266 | |||
267 | $res6 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 29, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorIndex" => 69]; |
||
268 | $this->assertEquals($res6, $obj->toArray()); |
||
269 | |||
270 | $obj->setCropThreshold(8); |
||
271 | |||
272 | $res7 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 29, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorIndex" => 69, "cropThreshold" => 8]; |
||
273 | $this->assertEquals($res7, $obj->toArray()); |
||
274 | |||
275 | $obj->setCursor("crosshair"); |
||
276 | |||
277 | $res8 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 29, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorIndex" => 69, "cropThreshold" => 8, "cursor" => "crosshair"]; |
||
278 | $this->assertEquals($res8, $obj->toArray()); |
||
279 | |||
280 | $obj->setDashStyle("LongDashDotDot"); |
||
281 | |||
282 | $res9 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 29, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorIndex" => 69, "cropThreshold" => 8, "cursor" => "crosshair", "dashStyle" => "LongDashDotDot"]; |
||
283 | $this->assertEquals($res9, $obj->toArray()); |
||
284 | |||
285 | $obj->setData(["data" => "8d777f385d3dfec8815d20f7496026dc"]); |
||
286 | |||
287 | $res10 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 29, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorIndex" => 69, "cropThreshold" => 8, "cursor" => "crosshair", "dashStyle" => "LongDashDotDot", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"]]; |
||
288 | $this->assertEquals($res10, $obj->toArray()); |
||
289 | |||
290 | $obj->setDataLabels(new \WBW\Bundle\HighchartsBundle\API\Chart\Series\Polygon\HighchartsDataLabels()); |
||
291 | |||
292 | $res11 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 29, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorIndex" => 69, "cropThreshold" => 8, "cursor" => "crosshair", "dashStyle" => "LongDashDotDot", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => []]; |
||
293 | $this->assertEquals($res11, $obj->toArray()); |
||
294 | |||
295 | $obj->setDescription("67daf92c833c41c95db874e18fcb2786"); |
||
296 | |||
297 | $res12 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 29, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorIndex" => 69, "cropThreshold" => 8, "cursor" => "crosshair", "dashStyle" => "LongDashDotDot", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786"]; |
||
298 | $this->assertEquals($res12, $obj->toArray()); |
||
299 | |||
300 | $obj->setEnableMouseTracking(0); |
||
301 | |||
302 | $res13 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 29, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorIndex" => 69, "cropThreshold" => 8, "cursor" => "crosshair", "dashStyle" => "LongDashDotDot", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 0]; |
||
303 | $this->assertEquals($res13, $obj->toArray()); |
||
304 | |||
305 | $obj->setEvents(new \WBW\Bundle\HighchartsBundle\API\Chart\Series\Polygon\HighchartsEvents()); |
||
306 | |||
307 | $res14 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 29, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorIndex" => 69, "cropThreshold" => 8, "cursor" => "crosshair", "dashStyle" => "LongDashDotDot", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 0, "events" => []]; |
||
308 | $this->assertEquals($res14, $obj->toArray()); |
||
309 | |||
310 | $obj->setExposeElementToA11y(0); |
||
311 | |||
312 | $res15 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 29, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorIndex" => 69, "cropThreshold" => 8, "cursor" => "crosshair", "dashStyle" => "LongDashDotDot", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 0]; |
||
313 | $this->assertEquals($res15, $obj->toArray()); |
||
314 | |||
315 | $obj->setFindNearestPointBy("xy"); |
||
316 | |||
317 | $res16 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 29, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorIndex" => 69, "cropThreshold" => 8, "cursor" => "crosshair", "dashStyle" => "LongDashDotDot", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy"]; |
||
318 | $this->assertEquals($res16, $obj->toArray()); |
||
319 | |||
320 | $obj->setGetExtremesFromAll(0); |
||
321 | |||
322 | $res17 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 29, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorIndex" => 69, "cropThreshold" => 8, "cursor" => "crosshair", "dashStyle" => "LongDashDotDot", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0]; |
||
323 | $this->assertEquals($res17, $obj->toArray()); |
||
324 | |||
325 | $obj->setId("b80bb7740288fda1f201890375a60c8f"); |
||
326 | |||
327 | $res18 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 29, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorIndex" => 69, "cropThreshold" => 8, "cursor" => "crosshair", "dashStyle" => "LongDashDotDot", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "id" => "b80bb7740288fda1f201890375a60c8f"]; |
||
328 | $this->assertEquals($res18, $obj->toArray()); |
||
329 | |||
330 | $obj->setIndex(66); |
||
331 | |||
332 | $res19 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 29, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorIndex" => 69, "cropThreshold" => 8, "cursor" => "crosshair", "dashStyle" => "LongDashDotDot", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 66]; |
||
333 | $this->assertEquals($res19, $obj->toArray()); |
||
334 | |||
335 | $obj->setKeys(["keys" => "14f802e1fba977727845e8872c1743a7"]); |
||
336 | |||
337 | $res20 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 29, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorIndex" => 69, "cropThreshold" => 8, "cursor" => "crosshair", "dashStyle" => "LongDashDotDot", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 66, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"]]; |
||
338 | $this->assertEquals($res20, $obj->toArray()); |
||
339 | |||
340 | $obj->setLegendIndex(92); |
||
341 | |||
342 | $res21 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 29, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorIndex" => 69, "cropThreshold" => 8, "cursor" => "crosshair", "dashStyle" => "LongDashDotDot", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 66, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "legendIndex" => 92]; |
||
343 | $this->assertEquals($res21, $obj->toArray()); |
||
344 | |||
345 | $obj->setLineWidth(35); |
||
346 | |||
347 | $res22 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 29, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorIndex" => 69, "cropThreshold" => 8, "cursor" => "crosshair", "dashStyle" => "LongDashDotDot", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 66, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "legendIndex" => 92, "lineWidth" => 35]; |
||
348 | $this->assertEquals($res22, $obj->toArray()); |
||
349 | |||
350 | $obj->setLinkedTo("914fab47afc86331ec62837807a29419"); |
||
351 | |||
352 | $res23 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 29, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorIndex" => 69, "cropThreshold" => 8, "cursor" => "crosshair", "dashStyle" => "LongDashDotDot", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 66, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "legendIndex" => 92, "lineWidth" => 35, "linkedTo" => "914fab47afc86331ec62837807a29419"]; |
||
353 | $this->assertEquals($res23, $obj->toArray()); |
||
354 | |||
355 | $obj->setMarker(new \WBW\Bundle\HighchartsBundle\API\Chart\Series\Polygon\HighchartsMarker()); |
||
356 | |||
357 | $res24 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 29, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorIndex" => 69, "cropThreshold" => 8, "cursor" => "crosshair", "dashStyle" => "LongDashDotDot", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 66, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "legendIndex" => 92, "lineWidth" => 35, "linkedTo" => "914fab47afc86331ec62837807a29419", "marker" => []]; |
||
358 | $this->assertEquals($res24, $obj->toArray()); |
||
359 | |||
360 | $obj->setName("b068931cc450442b63f5b3d276ea4297"); |
||
361 | |||
362 | $res25 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 29, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorIndex" => 69, "cropThreshold" => 8, "cursor" => "crosshair", "dashStyle" => "LongDashDotDot", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 66, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "legendIndex" => 92, "lineWidth" => 35, "linkedTo" => "914fab47afc86331ec62837807a29419", "marker" => [], "name" => "b068931cc450442b63f5b3d276ea4297"]; |
||
363 | $this->assertEquals($res25, $obj->toArray()); |
||
364 | |||
365 | $obj->setNegativeColor("52fe4d3a854b01e25193b4f35fc2040e"); |
||
366 | |||
367 | $res26 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 29, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorIndex" => 69, "cropThreshold" => 8, "cursor" => "crosshair", "dashStyle" => "LongDashDotDot", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 66, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "legendIndex" => 92, "lineWidth" => 35, "linkedTo" => "914fab47afc86331ec62837807a29419", "marker" => [], "name" => "b068931cc450442b63f5b3d276ea4297", "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e"]; |
||
368 | $this->assertEquals($res26, $obj->toArray()); |
||
369 | |||
370 | $obj->setPoint(new \WBW\Bundle\HighchartsBundle\API\Chart\Series\Polygon\HighchartsPoint()); |
||
371 | |||
372 | $res27 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 29, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorIndex" => 69, "cropThreshold" => 8, "cursor" => "crosshair", "dashStyle" => "LongDashDotDot", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 66, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "legendIndex" => 92, "lineWidth" => 35, "linkedTo" => "914fab47afc86331ec62837807a29419", "marker" => [], "name" => "b068931cc450442b63f5b3d276ea4297", "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "point" => []]; |
||
373 | $this->assertEquals($res27, $obj->toArray()); |
||
374 | |||
375 | $obj->setPointDescriptionFormatter("b5fd0c15b3ca81f726e2c7b93907ba36"); |
||
376 | |||
377 | $res28 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 29, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorIndex" => 69, "cropThreshold" => 8, "cursor" => "crosshair", "dashStyle" => "LongDashDotDot", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 66, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "legendIndex" => 92, "lineWidth" => 35, "linkedTo" => "914fab47afc86331ec62837807a29419", "marker" => [], "name" => "b068931cc450442b63f5b3d276ea4297", "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36"]; |
||
378 | $this->assertEquals($res28, $obj->toArray()); |
||
379 | |||
380 | $obj->setPointInterval(44); |
||
381 | |||
382 | $res29 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 29, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorIndex" => 69, "cropThreshold" => 8, "cursor" => "crosshair", "dashStyle" => "LongDashDotDot", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 66, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "legendIndex" => 92, "lineWidth" => 35, "linkedTo" => "914fab47afc86331ec62837807a29419", "marker" => [], "name" => "b068931cc450442b63f5b3d276ea4297", "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 44]; |
||
383 | $this->assertEquals($res29, $obj->toArray()); |
||
384 | |||
385 | $obj->setPointIntervalUnit("year"); |
||
386 | |||
387 | $res30 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 29, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorIndex" => 69, "cropThreshold" => 8, "cursor" => "crosshair", "dashStyle" => "LongDashDotDot", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 66, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "legendIndex" => 92, "lineWidth" => 35, "linkedTo" => "914fab47afc86331ec62837807a29419", "marker" => [], "name" => "b068931cc450442b63f5b3d276ea4297", "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 44, "pointIntervalUnit" => "year"]; |
||
388 | $this->assertEquals($res30, $obj->toArray()); |
||
389 | |||
390 | $obj->setPointStart(70); |
||
391 | |||
392 | $res31 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 29, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorIndex" => 69, "cropThreshold" => 8, "cursor" => "crosshair", "dashStyle" => "LongDashDotDot", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 66, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "legendIndex" => 92, "lineWidth" => 35, "linkedTo" => "914fab47afc86331ec62837807a29419", "marker" => [], "name" => "b068931cc450442b63f5b3d276ea4297", "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 44, "pointIntervalUnit" => "year", "pointStart" => 70]; |
||
393 | $this->assertEquals($res31, $obj->toArray()); |
||
394 | |||
395 | $obj->setSelected(1); |
||
396 | |||
397 | $res32 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 29, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorIndex" => 69, "cropThreshold" => 8, "cursor" => "crosshair", "dashStyle" => "LongDashDotDot", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 66, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "legendIndex" => 92, "lineWidth" => 35, "linkedTo" => "914fab47afc86331ec62837807a29419", "marker" => [], "name" => "b068931cc450442b63f5b3d276ea4297", "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 44, "pointIntervalUnit" => "year", "pointStart" => 70, "selected" => 1]; |
||
398 | $this->assertEquals($res32, $obj->toArray()); |
||
399 | |||
400 | $obj->setShadow(0); |
||
401 | |||
402 | $res33 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 29, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorIndex" => 69, "cropThreshold" => 8, "cursor" => "crosshair", "dashStyle" => "LongDashDotDot", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 66, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "legendIndex" => 92, "lineWidth" => 35, "linkedTo" => "914fab47afc86331ec62837807a29419", "marker" => [], "name" => "b068931cc450442b63f5b3d276ea4297", "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 44, "pointIntervalUnit" => "year", "pointStart" => 70, "selected" => 1, "shadow" => 0]; |
||
403 | $this->assertEquals($res33, $obj->toArray()); |
||
404 | |||
405 | $obj->setShowCheckbox(1); |
||
406 | |||
407 | $res34 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 29, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorIndex" => 69, "cropThreshold" => 8, "cursor" => "crosshair", "dashStyle" => "LongDashDotDot", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 66, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "legendIndex" => 92, "lineWidth" => 35, "linkedTo" => "914fab47afc86331ec62837807a29419", "marker" => [], "name" => "b068931cc450442b63f5b3d276ea4297", "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 44, "pointIntervalUnit" => "year", "pointStart" => 70, "selected" => 1, "shadow" => 0, "showCheckbox" => 1]; |
||
408 | $this->assertEquals($res34, $obj->toArray()); |
||
409 | |||
410 | $obj->setShowInLegend(1); |
||
411 | |||
412 | $res35 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 29, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorIndex" => 69, "cropThreshold" => 8, "cursor" => "crosshair", "dashStyle" => "LongDashDotDot", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 66, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "legendIndex" => 92, "lineWidth" => 35, "linkedTo" => "914fab47afc86331ec62837807a29419", "marker" => [], "name" => "b068931cc450442b63f5b3d276ea4297", "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 44, "pointIntervalUnit" => "year", "pointStart" => 70, "selected" => 1, "shadow" => 0, "showCheckbox" => 1, "showInLegend" => 1]; |
||
413 | $this->assertEquals($res35, $obj->toArray()); |
||
414 | |||
415 | $obj->setSkipKeyboardNavigation(0); |
||
416 | |||
417 | $res36 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 29, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorIndex" => 69, "cropThreshold" => 8, "cursor" => "crosshair", "dashStyle" => "LongDashDotDot", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 66, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "legendIndex" => 92, "lineWidth" => 35, "linkedTo" => "914fab47afc86331ec62837807a29419", "marker" => [], "name" => "b068931cc450442b63f5b3d276ea4297", "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 44, "pointIntervalUnit" => "year", "pointStart" => 70, "selected" => 1, "shadow" => 0, "showCheckbox" => 1, "showInLegend" => 1, "skipKeyboardNavigation" => 0]; |
||
418 | $this->assertEquals($res36, $obj->toArray()); |
||
419 | |||
420 | $obj->setStates(new \WBW\Bundle\HighchartsBundle\API\Chart\Series\Polygon\HighchartsStates()); |
||
421 | |||
422 | $res37 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 29, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorIndex" => 69, "cropThreshold" => 8, "cursor" => "crosshair", "dashStyle" => "LongDashDotDot", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 66, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "legendIndex" => 92, "lineWidth" => 35, "linkedTo" => "914fab47afc86331ec62837807a29419", "marker" => [], "name" => "b068931cc450442b63f5b3d276ea4297", "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 44, "pointIntervalUnit" => "year", "pointStart" => 70, "selected" => 1, "shadow" => 0, "showCheckbox" => 1, "showInLegend" => 1, "skipKeyboardNavigation" => 0, "states" => []]; |
||
423 | $this->assertEquals($res37, $obj->toArray()); |
||
424 | |||
425 | $obj->setStickyTracking(0); |
||
426 | |||
427 | $res38 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 29, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorIndex" => 69, "cropThreshold" => 8, "cursor" => "crosshair", "dashStyle" => "LongDashDotDot", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 66, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "legendIndex" => 92, "lineWidth" => 35, "linkedTo" => "914fab47afc86331ec62837807a29419", "marker" => [], "name" => "b068931cc450442b63f5b3d276ea4297", "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 44, "pointIntervalUnit" => "year", "pointStart" => 70, "selected" => 1, "shadow" => 0, "showCheckbox" => 1, "showInLegend" => 1, "skipKeyboardNavigation" => 0, "states" => [], "stickyTracking" => 0]; |
||
428 | $this->assertEquals($res38, $obj->toArray()); |
||
429 | |||
430 | $obj->setTooltip(["tooltip" => "ddbfc1b6aa0ad4d79c5dac7aa3b44888"]); |
||
431 | |||
432 | $res39 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 29, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorIndex" => 69, "cropThreshold" => 8, "cursor" => "crosshair", "dashStyle" => "LongDashDotDot", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 66, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "legendIndex" => 92, "lineWidth" => 35, "linkedTo" => "914fab47afc86331ec62837807a29419", "marker" => [], "name" => "b068931cc450442b63f5b3d276ea4297", "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 44, "pointIntervalUnit" => "year", "pointStart" => 70, "selected" => 1, "shadow" => 0, "showCheckbox" => 1, "showInLegend" => 1, "skipKeyboardNavigation" => 0, "states" => [], "stickyTracking" => 0, "tooltip" => ["tooltip" => "ddbfc1b6aa0ad4d79c5dac7aa3b44888"]]; |
||
433 | $this->assertEquals($res39, $obj->toArray()); |
||
434 | |||
435 | $obj->setTurboThreshold(16); |
||
436 | |||
437 | $res40 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 29, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorIndex" => 69, "cropThreshold" => 8, "cursor" => "crosshair", "dashStyle" => "LongDashDotDot", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 66, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "legendIndex" => 92, "lineWidth" => 35, "linkedTo" => "914fab47afc86331ec62837807a29419", "marker" => [], "name" => "b068931cc450442b63f5b3d276ea4297", "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 44, "pointIntervalUnit" => "year", "pointStart" => 70, "selected" => 1, "shadow" => 0, "showCheckbox" => 1, "showInLegend" => 1, "skipKeyboardNavigation" => 0, "states" => [], "stickyTracking" => 0, "tooltip" => ["tooltip" => "ddbfc1b6aa0ad4d79c5dac7aa3b44888"], "turboThreshold" => 16]; |
||
438 | $this->assertEquals($res40, $obj->toArray()); |
||
439 | |||
440 | $obj->setType("waterfall"); |
||
441 | |||
442 | $res41 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 29, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorIndex" => 69, "cropThreshold" => 8, "cursor" => "crosshair", "dashStyle" => "LongDashDotDot", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 66, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "legendIndex" => 92, "lineWidth" => 35, "linkedTo" => "914fab47afc86331ec62837807a29419", "marker" => [], "name" => "b068931cc450442b63f5b3d276ea4297", "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 44, "pointIntervalUnit" => "year", "pointStart" => 70, "selected" => 1, "shadow" => 0, "showCheckbox" => 1, "showInLegend" => 1, "skipKeyboardNavigation" => 0, "states" => [], "stickyTracking" => 0, "tooltip" => ["tooltip" => "ddbfc1b6aa0ad4d79c5dac7aa3b44888"], "turboThreshold" => 16, "type" => "waterfall"]; |
||
443 | $this->assertEquals($res41, $obj->toArray()); |
||
444 | |||
445 | $obj->setVisible(0); |
||
446 | |||
447 | $res42 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 29, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorIndex" => 69, "cropThreshold" => 8, "cursor" => "crosshair", "dashStyle" => "LongDashDotDot", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 66, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "legendIndex" => 92, "lineWidth" => 35, "linkedTo" => "914fab47afc86331ec62837807a29419", "marker" => [], "name" => "b068931cc450442b63f5b3d276ea4297", "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 44, "pointIntervalUnit" => "year", "pointStart" => 70, "selected" => 1, "shadow" => 0, "showCheckbox" => 1, "showInLegend" => 1, "skipKeyboardNavigation" => 0, "states" => [], "stickyTracking" => 0, "tooltip" => ["tooltip" => "ddbfc1b6aa0ad4d79c5dac7aa3b44888"], "turboThreshold" => 16, "type" => "waterfall", "visible" => 0]; |
||
448 | $this->assertEquals($res42, $obj->toArray()); |
||
449 | |||
450 | $obj->setXAxis(20); |
||
451 | |||
452 | $res43 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 29, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorIndex" => 69, "cropThreshold" => 8, "cursor" => "crosshair", "dashStyle" => "LongDashDotDot", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 66, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "legendIndex" => 92, "lineWidth" => 35, "linkedTo" => "914fab47afc86331ec62837807a29419", "marker" => [], "name" => "b068931cc450442b63f5b3d276ea4297", "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 44, "pointIntervalUnit" => "year", "pointStart" => 70, "selected" => 1, "shadow" => 0, "showCheckbox" => 1, "showInLegend" => 1, "skipKeyboardNavigation" => 0, "states" => [], "stickyTracking" => 0, "tooltip" => ["tooltip" => "ddbfc1b6aa0ad4d79c5dac7aa3b44888"], "turboThreshold" => 16, "type" => "waterfall", "visible" => 0, "xAxis" => 20]; |
||
453 | $this->assertEquals($res43, $obj->toArray()); |
||
454 | |||
455 | $obj->setYAxis(66); |
||
456 | |||
457 | $res44 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 29, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorIndex" => 69, "cropThreshold" => 8, "cursor" => "crosshair", "dashStyle" => "LongDashDotDot", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 66, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "legendIndex" => 92, "lineWidth" => 35, "linkedTo" => "914fab47afc86331ec62837807a29419", "marker" => [], "name" => "b068931cc450442b63f5b3d276ea4297", "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 44, "pointIntervalUnit" => "year", "pointStart" => 70, "selected" => 1, "shadow" => 0, "showCheckbox" => 1, "showInLegend" => 1, "skipKeyboardNavigation" => 0, "states" => [], "stickyTracking" => 0, "tooltip" => ["tooltip" => "ddbfc1b6aa0ad4d79c5dac7aa3b44888"], "turboThreshold" => 16, "type" => "waterfall", "visible" => 0, "xAxis" => 20, "yAxis" => 66]; |
||
458 | $this->assertEquals($res44, $obj->toArray()); |
||
459 | |||
460 | $obj->setZIndex(17); |
||
461 | |||
462 | $res45 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 29, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorIndex" => 69, "cropThreshold" => 8, "cursor" => "crosshair", "dashStyle" => "LongDashDotDot", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 66, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "legendIndex" => 92, "lineWidth" => 35, "linkedTo" => "914fab47afc86331ec62837807a29419", "marker" => [], "name" => "b068931cc450442b63f5b3d276ea4297", "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 44, "pointIntervalUnit" => "year", "pointStart" => 70, "selected" => 1, "shadow" => 0, "showCheckbox" => 1, "showInLegend" => 1, "skipKeyboardNavigation" => 0, "states" => [], "stickyTracking" => 0, "tooltip" => ["tooltip" => "ddbfc1b6aa0ad4d79c5dac7aa3b44888"], "turboThreshold" => 16, "type" => "waterfall", "visible" => 0, "xAxis" => 20, "yAxis" => 66, "zIndex" => 17]; |
||
463 | $this->assertEquals($res45, $obj->toArray()); |
||
464 | |||
465 | $obj->setZoneAxis("88421adabea658556aa3ab6c6181afad"); |
||
466 | |||
467 | $res46 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 29, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorIndex" => 69, "cropThreshold" => 8, "cursor" => "crosshair", "dashStyle" => "LongDashDotDot", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 66, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "legendIndex" => 92, "lineWidth" => 35, "linkedTo" => "914fab47afc86331ec62837807a29419", "marker" => [], "name" => "b068931cc450442b63f5b3d276ea4297", "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 44, "pointIntervalUnit" => "year", "pointStart" => 70, "selected" => 1, "shadow" => 0, "showCheckbox" => 1, "showInLegend" => 1, "skipKeyboardNavigation" => 0, "states" => [], "stickyTracking" => 0, "tooltip" => ["tooltip" => "ddbfc1b6aa0ad4d79c5dac7aa3b44888"], "turboThreshold" => 16, "type" => "waterfall", "visible" => 0, "xAxis" => 20, "yAxis" => 66, "zIndex" => 17, "zoneAxis" => "88421adabea658556aa3ab6c6181afad"]; |
||
468 | $this->assertEquals($res46, $obj->toArray()); |
||
469 | |||
470 | $obj->setZones(["zones" => "26f94136f5db8afd4e9df1e512f7fdc5"]); |
||
471 | |||
472 | $res47 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 29, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorIndex" => 69, "cropThreshold" => 8, "cursor" => "crosshair", "dashStyle" => "LongDashDotDot", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 66, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "legendIndex" => 92, "lineWidth" => 35, "linkedTo" => "914fab47afc86331ec62837807a29419", "marker" => [], "name" => "b068931cc450442b63f5b3d276ea4297", "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 44, "pointIntervalUnit" => "year", "pointStart" => 70, "selected" => 1, "shadow" => 0, "showCheckbox" => 1, "showInLegend" => 1, "skipKeyboardNavigation" => 0, "states" => [], "stickyTracking" => 0, "tooltip" => ["tooltip" => "ddbfc1b6aa0ad4d79c5dac7aa3b44888"], "turboThreshold" => 16, "type" => "waterfall", "visible" => 0, "xAxis" => 20, "yAxis" => 66, "zIndex" => 17, "zoneAxis" => "88421adabea658556aa3ab6c6181afad", "zones" => ["zones" => "26f94136f5db8afd4e9df1e512f7fdc5"]]; |
||
473 | $this->assertEquals($res47, $obj->toArray()); |
||
474 | } |
||
477 |