Conditions | 1 |
Paths | 1 |
Total Lines | 303 |
Code Lines | 181 |
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 |
||
262 | public function testToArray() { |
||
263 | |||
264 | $obj = new \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsAreaspline(true); |
||
265 | |||
266 | $obj->setAllowPointSelect(0); |
||
267 | |||
268 | $res1 = ["allowPointSelect" => 0]; |
||
269 | $this->assertEquals($res1, $obj->toArray()); |
||
270 | |||
271 | $obj->setAnimation(0); |
||
272 | |||
273 | $res2 = ["allowPointSelect" => 0, "animation" => 0]; |
||
274 | $this->assertEquals($res2, $obj->toArray()); |
||
275 | |||
276 | $obj->setAnimationLimit(43); |
||
277 | |||
278 | $res3 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 43]; |
||
279 | $this->assertEquals($res3, $obj->toArray()); |
||
280 | |||
281 | $obj->setClassName("6f66e878c62db60568a3487869695820"); |
||
282 | |||
283 | $res4 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 43, "className" => "6f66e878c62db60568a3487869695820"]; |
||
284 | $this->assertEquals($res4, $obj->toArray()); |
||
285 | |||
286 | $obj->setColor("70dda5dfb8053dc6d1c492574bce9bfd"); |
||
287 | |||
288 | $res5 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 43, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd"]; |
||
289 | $this->assertEquals($res5, $obj->toArray()); |
||
290 | |||
291 | $obj->setColorIndex(56); |
||
292 | |||
293 | $res6 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 43, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorIndex" => 56]; |
||
294 | $this->assertEquals($res6, $obj->toArray()); |
||
295 | |||
296 | $obj->setConnectEnds(1); |
||
297 | |||
298 | $res7 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 43, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorIndex" => 56, "connectEnds" => 1]; |
||
299 | $this->assertEquals($res7, $obj->toArray()); |
||
300 | |||
301 | $obj->setConnectNulls(0); |
||
302 | |||
303 | $res8 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 43, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorIndex" => 56, "connectEnds" => 1, "connectNulls" => 0]; |
||
304 | $this->assertEquals($res8, $obj->toArray()); |
||
305 | |||
306 | $obj->setCropThreshold(37); |
||
307 | |||
308 | $res9 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 43, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorIndex" => 56, "connectEnds" => 1, "connectNulls" => 0, "cropThreshold" => 37]; |
||
309 | $this->assertEquals($res9, $obj->toArray()); |
||
310 | |||
311 | $obj->setCursor("crosshair"); |
||
312 | |||
313 | $res10 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 43, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorIndex" => 56, "connectEnds" => 1, "connectNulls" => 0, "cropThreshold" => 37, "cursor" => "crosshair"]; |
||
314 | $this->assertEquals($res10, $obj->toArray()); |
||
315 | |||
316 | $obj->setDashStyle("LongDashDotDot"); |
||
317 | |||
318 | $res11 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 43, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorIndex" => 56, "connectEnds" => 1, "connectNulls" => 0, "cropThreshold" => 37, "cursor" => "crosshair", "dashStyle" => "LongDashDotDot"]; |
||
319 | $this->assertEquals($res11, $obj->toArray()); |
||
320 | |||
321 | $obj->setData(["data" => "8d777f385d3dfec8815d20f7496026dc"]); |
||
322 | |||
323 | $res12 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 43, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorIndex" => 56, "connectEnds" => 1, "connectNulls" => 0, "cropThreshold" => 37, "cursor" => "crosshair", "dashStyle" => "LongDashDotDot", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"]]; |
||
324 | $this->assertEquals($res12, $obj->toArray()); |
||
325 | |||
326 | $obj->setDataLabels(new \WBW\Bundle\HighchartsBundle\API\Chart\Series\Areaspline\HighchartsDataLabels()); |
||
327 | |||
328 | $res13 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 43, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorIndex" => 56, "connectEnds" => 1, "connectNulls" => 0, "cropThreshold" => 37, "cursor" => "crosshair", "dashStyle" => "LongDashDotDot", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => []]; |
||
329 | $this->assertEquals($res13, $obj->toArray()); |
||
330 | |||
331 | $obj->setDescription("67daf92c833c41c95db874e18fcb2786"); |
||
332 | |||
333 | $res14 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 43, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorIndex" => 56, "connectEnds" => 1, "connectNulls" => 0, "cropThreshold" => 37, "cursor" => "crosshair", "dashStyle" => "LongDashDotDot", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786"]; |
||
334 | $this->assertEquals($res14, $obj->toArray()); |
||
335 | |||
336 | $obj->setEnableMouseTracking(0); |
||
337 | |||
338 | $res15 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 43, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorIndex" => 56, "connectEnds" => 1, "connectNulls" => 0, "cropThreshold" => 37, "cursor" => "crosshair", "dashStyle" => "LongDashDotDot", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 0]; |
||
339 | $this->assertEquals($res15, $obj->toArray()); |
||
340 | |||
341 | $obj->setEvents(new \WBW\Bundle\HighchartsBundle\API\Chart\Series\Areaspline\HighchartsEvents()); |
||
342 | |||
343 | $res16 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 43, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorIndex" => 56, "connectEnds" => 1, "connectNulls" => 0, "cropThreshold" => 37, "cursor" => "crosshair", "dashStyle" => "LongDashDotDot", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 0, "events" => []]; |
||
344 | $this->assertEquals($res16, $obj->toArray()); |
||
345 | |||
346 | $obj->setExposeElementToA11y(1); |
||
347 | |||
348 | $res17 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 43, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorIndex" => 56, "connectEnds" => 1, "connectNulls" => 0, "cropThreshold" => 37, "cursor" => "crosshair", "dashStyle" => "LongDashDotDot", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 1]; |
||
349 | $this->assertEquals($res17, $obj->toArray()); |
||
350 | |||
351 | $obj->setFillColor("1fde055d3ff900e04ca08bc82066d7fd"); |
||
352 | |||
353 | $res18 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 43, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorIndex" => 56, "connectEnds" => 1, "connectNulls" => 0, "cropThreshold" => 37, "cursor" => "crosshair", "dashStyle" => "LongDashDotDot", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 1, "fillColor" => "1fde055d3ff900e04ca08bc82066d7fd"]; |
||
354 | $this->assertEquals($res18, $obj->toArray()); |
||
355 | |||
356 | $obj->setFillOpacity(96); |
||
357 | |||
358 | $res19 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 43, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorIndex" => 56, "connectEnds" => 1, "connectNulls" => 0, "cropThreshold" => 37, "cursor" => "crosshair", "dashStyle" => "LongDashDotDot", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 1, "fillColor" => "1fde055d3ff900e04ca08bc82066d7fd", "fillOpacity" => 96]; |
||
359 | $this->assertEquals($res19, $obj->toArray()); |
||
360 | |||
361 | $obj->setFindNearestPointBy("xy"); |
||
362 | |||
363 | $res20 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 43, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorIndex" => 56, "connectEnds" => 1, "connectNulls" => 0, "cropThreshold" => 37, "cursor" => "crosshair", "dashStyle" => "LongDashDotDot", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 1, "fillColor" => "1fde055d3ff900e04ca08bc82066d7fd", "fillOpacity" => 96, "findNearestPointBy" => "xy"]; |
||
364 | $this->assertEquals($res20, $obj->toArray()); |
||
365 | |||
366 | $obj->setGetExtremesFromAll(0); |
||
367 | |||
368 | $res21 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 43, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorIndex" => 56, "connectEnds" => 1, "connectNulls" => 0, "cropThreshold" => 37, "cursor" => "crosshair", "dashStyle" => "LongDashDotDot", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 1, "fillColor" => "1fde055d3ff900e04ca08bc82066d7fd", "fillOpacity" => 96, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0]; |
||
369 | $this->assertEquals($res21, $obj->toArray()); |
||
370 | |||
371 | $obj->setId("b80bb7740288fda1f201890375a60c8f"); |
||
372 | |||
373 | $res22 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 43, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorIndex" => 56, "connectEnds" => 1, "connectNulls" => 0, "cropThreshold" => 37, "cursor" => "crosshair", "dashStyle" => "LongDashDotDot", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 1, "fillColor" => "1fde055d3ff900e04ca08bc82066d7fd", "fillOpacity" => 96, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "id" => "b80bb7740288fda1f201890375a60c8f"]; |
||
374 | $this->assertEquals($res22, $obj->toArray()); |
||
375 | |||
376 | $obj->setIndex(74); |
||
377 | |||
378 | $res23 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 43, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorIndex" => 56, "connectEnds" => 1, "connectNulls" => 0, "cropThreshold" => 37, "cursor" => "crosshair", "dashStyle" => "LongDashDotDot", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 1, "fillColor" => "1fde055d3ff900e04ca08bc82066d7fd", "fillOpacity" => 96, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 74]; |
||
379 | $this->assertEquals($res23, $obj->toArray()); |
||
380 | |||
381 | $obj->setKeys(["keys" => "14f802e1fba977727845e8872c1743a7"]); |
||
382 | |||
383 | $res24 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 43, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorIndex" => 56, "connectEnds" => 1, "connectNulls" => 0, "cropThreshold" => 37, "cursor" => "crosshair", "dashStyle" => "LongDashDotDot", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 1, "fillColor" => "1fde055d3ff900e04ca08bc82066d7fd", "fillOpacity" => 96, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 74, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"]]; |
||
384 | $this->assertEquals($res24, $obj->toArray()); |
||
385 | |||
386 | $obj->setLegendIndex(25); |
||
387 | |||
388 | $res25 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 43, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorIndex" => 56, "connectEnds" => 1, "connectNulls" => 0, "cropThreshold" => 37, "cursor" => "crosshair", "dashStyle" => "LongDashDotDot", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 1, "fillColor" => "1fde055d3ff900e04ca08bc82066d7fd", "fillOpacity" => 96, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 74, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "legendIndex" => 25]; |
||
389 | $this->assertEquals($res25, $obj->toArray()); |
||
390 | |||
391 | $obj->setLineColor("c2580eebfdbdb9fc629f50cc147c3f63"); |
||
392 | |||
393 | $res26 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 43, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorIndex" => 56, "connectEnds" => 1, "connectNulls" => 0, "cropThreshold" => 37, "cursor" => "crosshair", "dashStyle" => "LongDashDotDot", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 1, "fillColor" => "1fde055d3ff900e04ca08bc82066d7fd", "fillOpacity" => 96, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 74, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "legendIndex" => 25, "lineColor" => "c2580eebfdbdb9fc629f50cc147c3f63"]; |
||
394 | $this->assertEquals($res26, $obj->toArray()); |
||
395 | |||
396 | $obj->setLineWidth(25); |
||
397 | |||
398 | $res27 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 43, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorIndex" => 56, "connectEnds" => 1, "connectNulls" => 0, "cropThreshold" => 37, "cursor" => "crosshair", "dashStyle" => "LongDashDotDot", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 1, "fillColor" => "1fde055d3ff900e04ca08bc82066d7fd", "fillOpacity" => 96, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 74, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "legendIndex" => 25, "lineColor" => "c2580eebfdbdb9fc629f50cc147c3f63", "lineWidth" => 25]; |
||
399 | $this->assertEquals($res27, $obj->toArray()); |
||
400 | |||
401 | $obj->setLinecap("square"); |
||
402 | |||
403 | $res28 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 43, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorIndex" => 56, "connectEnds" => 1, "connectNulls" => 0, "cropThreshold" => 37, "cursor" => "crosshair", "dashStyle" => "LongDashDotDot", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 1, "fillColor" => "1fde055d3ff900e04ca08bc82066d7fd", "fillOpacity" => 96, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 74, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "legendIndex" => 25, "lineColor" => "c2580eebfdbdb9fc629f50cc147c3f63", "lineWidth" => 25, "linecap" => "square"]; |
||
404 | $this->assertEquals($res28, $obj->toArray()); |
||
405 | |||
406 | $obj->setLinkedTo("914fab47afc86331ec62837807a29419"); |
||
407 | |||
408 | $res29 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 43, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorIndex" => 56, "connectEnds" => 1, "connectNulls" => 0, "cropThreshold" => 37, "cursor" => "crosshair", "dashStyle" => "LongDashDotDot", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 1, "fillColor" => "1fde055d3ff900e04ca08bc82066d7fd", "fillOpacity" => 96, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 74, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "legendIndex" => 25, "lineColor" => "c2580eebfdbdb9fc629f50cc147c3f63", "lineWidth" => 25, "linecap" => "square", "linkedTo" => "914fab47afc86331ec62837807a29419"]; |
||
409 | $this->assertEquals($res29, $obj->toArray()); |
||
410 | |||
411 | $obj->setMarker(new \WBW\Bundle\HighchartsBundle\API\Chart\Series\Areaspline\HighchartsMarker()); |
||
412 | |||
413 | $res30 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 43, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorIndex" => 56, "connectEnds" => 1, "connectNulls" => 0, "cropThreshold" => 37, "cursor" => "crosshair", "dashStyle" => "LongDashDotDot", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 1, "fillColor" => "1fde055d3ff900e04ca08bc82066d7fd", "fillOpacity" => 96, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 74, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "legendIndex" => 25, "lineColor" => "c2580eebfdbdb9fc629f50cc147c3f63", "lineWidth" => 25, "linecap" => "square", "linkedTo" => "914fab47afc86331ec62837807a29419", "marker" => []]; |
||
414 | $this->assertEquals($res30, $obj->toArray()); |
||
415 | |||
416 | $obj->setName("b068931cc450442b63f5b3d276ea4297"); |
||
417 | |||
418 | $res31 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 43, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorIndex" => 56, "connectEnds" => 1, "connectNulls" => 0, "cropThreshold" => 37, "cursor" => "crosshair", "dashStyle" => "LongDashDotDot", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 1, "fillColor" => "1fde055d3ff900e04ca08bc82066d7fd", "fillOpacity" => 96, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 74, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "legendIndex" => 25, "lineColor" => "c2580eebfdbdb9fc629f50cc147c3f63", "lineWidth" => 25, "linecap" => "square", "linkedTo" => "914fab47afc86331ec62837807a29419", "marker" => [], "name" => "b068931cc450442b63f5b3d276ea4297"]; |
||
419 | $this->assertEquals($res31, $obj->toArray()); |
||
420 | |||
421 | $obj->setNegativeColor("52fe4d3a854b01e25193b4f35fc2040e"); |
||
422 | |||
423 | $res32 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 43, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorIndex" => 56, "connectEnds" => 1, "connectNulls" => 0, "cropThreshold" => 37, "cursor" => "crosshair", "dashStyle" => "LongDashDotDot", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 1, "fillColor" => "1fde055d3ff900e04ca08bc82066d7fd", "fillOpacity" => 96, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 74, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "legendIndex" => 25, "lineColor" => "c2580eebfdbdb9fc629f50cc147c3f63", "lineWidth" => 25, "linecap" => "square", "linkedTo" => "914fab47afc86331ec62837807a29419", "marker" => [], "name" => "b068931cc450442b63f5b3d276ea4297", "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e"]; |
||
424 | $this->assertEquals($res32, $obj->toArray()); |
||
425 | |||
426 | $obj->setNegativeFillColor("a966442d64e00bf8663e7c5d9708074a"); |
||
427 | |||
428 | $res33 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 43, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorIndex" => 56, "connectEnds" => 1, "connectNulls" => 0, "cropThreshold" => 37, "cursor" => "crosshair", "dashStyle" => "LongDashDotDot", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 1, "fillColor" => "1fde055d3ff900e04ca08bc82066d7fd", "fillOpacity" => 96, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 74, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "legendIndex" => 25, "lineColor" => "c2580eebfdbdb9fc629f50cc147c3f63", "lineWidth" => 25, "linecap" => "square", "linkedTo" => "914fab47afc86331ec62837807a29419", "marker" => [], "name" => "b068931cc450442b63f5b3d276ea4297", "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "negativeFillColor" => "a966442d64e00bf8663e7c5d9708074a"]; |
||
429 | $this->assertEquals($res33, $obj->toArray()); |
||
430 | |||
431 | $obj->setPoint(new \WBW\Bundle\HighchartsBundle\API\Chart\Series\Areaspline\HighchartsPoint()); |
||
432 | |||
433 | $res34 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 43, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorIndex" => 56, "connectEnds" => 1, "connectNulls" => 0, "cropThreshold" => 37, "cursor" => "crosshair", "dashStyle" => "LongDashDotDot", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 1, "fillColor" => "1fde055d3ff900e04ca08bc82066d7fd", "fillOpacity" => 96, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 74, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "legendIndex" => 25, "lineColor" => "c2580eebfdbdb9fc629f50cc147c3f63", "lineWidth" => 25, "linecap" => "square", "linkedTo" => "914fab47afc86331ec62837807a29419", "marker" => [], "name" => "b068931cc450442b63f5b3d276ea4297", "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "negativeFillColor" => "a966442d64e00bf8663e7c5d9708074a", "point" => []]; |
||
434 | $this->assertEquals($res34, $obj->toArray()); |
||
435 | |||
436 | $obj->setPointDescriptionFormatter("b5fd0c15b3ca81f726e2c7b93907ba36"); |
||
437 | |||
438 | $res35 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 43, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorIndex" => 56, "connectEnds" => 1, "connectNulls" => 0, "cropThreshold" => 37, "cursor" => "crosshair", "dashStyle" => "LongDashDotDot", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 1, "fillColor" => "1fde055d3ff900e04ca08bc82066d7fd", "fillOpacity" => 96, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 74, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "legendIndex" => 25, "lineColor" => "c2580eebfdbdb9fc629f50cc147c3f63", "lineWidth" => 25, "linecap" => "square", "linkedTo" => "914fab47afc86331ec62837807a29419", "marker" => [], "name" => "b068931cc450442b63f5b3d276ea4297", "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "negativeFillColor" => "a966442d64e00bf8663e7c5d9708074a", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36"]; |
||
439 | $this->assertEquals($res35, $obj->toArray()); |
||
440 | |||
441 | $obj->setPointInterval(62); |
||
442 | |||
443 | $res36 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 43, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorIndex" => 56, "connectEnds" => 1, "connectNulls" => 0, "cropThreshold" => 37, "cursor" => "crosshair", "dashStyle" => "LongDashDotDot", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 1, "fillColor" => "1fde055d3ff900e04ca08bc82066d7fd", "fillOpacity" => 96, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 74, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "legendIndex" => 25, "lineColor" => "c2580eebfdbdb9fc629f50cc147c3f63", "lineWidth" => 25, "linecap" => "square", "linkedTo" => "914fab47afc86331ec62837807a29419", "marker" => [], "name" => "b068931cc450442b63f5b3d276ea4297", "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "negativeFillColor" => "a966442d64e00bf8663e7c5d9708074a", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 62]; |
||
444 | $this->assertEquals($res36, $obj->toArray()); |
||
445 | |||
446 | $obj->setPointIntervalUnit("year"); |
||
447 | |||
448 | $res37 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 43, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorIndex" => 56, "connectEnds" => 1, "connectNulls" => 0, "cropThreshold" => 37, "cursor" => "crosshair", "dashStyle" => "LongDashDotDot", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 1, "fillColor" => "1fde055d3ff900e04ca08bc82066d7fd", "fillOpacity" => 96, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 74, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "legendIndex" => 25, "lineColor" => "c2580eebfdbdb9fc629f50cc147c3f63", "lineWidth" => 25, "linecap" => "square", "linkedTo" => "914fab47afc86331ec62837807a29419", "marker" => [], "name" => "b068931cc450442b63f5b3d276ea4297", "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "negativeFillColor" => "a966442d64e00bf8663e7c5d9708074a", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 62, "pointIntervalUnit" => "year"]; |
||
449 | $this->assertEquals($res37, $obj->toArray()); |
||
450 | |||
451 | $obj->setPointPlacement("between"); |
||
452 | |||
453 | $res38 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 43, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorIndex" => 56, "connectEnds" => 1, "connectNulls" => 0, "cropThreshold" => 37, "cursor" => "crosshair", "dashStyle" => "LongDashDotDot", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 1, "fillColor" => "1fde055d3ff900e04ca08bc82066d7fd", "fillOpacity" => 96, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 74, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "legendIndex" => 25, "lineColor" => "c2580eebfdbdb9fc629f50cc147c3f63", "lineWidth" => 25, "linecap" => "square", "linkedTo" => "914fab47afc86331ec62837807a29419", "marker" => [], "name" => "b068931cc450442b63f5b3d276ea4297", "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "negativeFillColor" => "a966442d64e00bf8663e7c5d9708074a", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 62, "pointIntervalUnit" => "year", "pointPlacement" => "between"]; |
||
454 | $this->assertEquals($res38, $obj->toArray()); |
||
455 | |||
456 | $obj->setPointStart(72); |
||
457 | |||
458 | $res39 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 43, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorIndex" => 56, "connectEnds" => 1, "connectNulls" => 0, "cropThreshold" => 37, "cursor" => "crosshair", "dashStyle" => "LongDashDotDot", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 1, "fillColor" => "1fde055d3ff900e04ca08bc82066d7fd", "fillOpacity" => 96, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 74, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "legendIndex" => 25, "lineColor" => "c2580eebfdbdb9fc629f50cc147c3f63", "lineWidth" => 25, "linecap" => "square", "linkedTo" => "914fab47afc86331ec62837807a29419", "marker" => [], "name" => "b068931cc450442b63f5b3d276ea4297", "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "negativeFillColor" => "a966442d64e00bf8663e7c5d9708074a", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 62, "pointIntervalUnit" => "year", "pointPlacement" => "between", "pointStart" => 72]; |
||
459 | $this->assertEquals($res39, $obj->toArray()); |
||
460 | |||
461 | $obj->setSelected(0); |
||
462 | |||
463 | $res40 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 43, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorIndex" => 56, "connectEnds" => 1, "connectNulls" => 0, "cropThreshold" => 37, "cursor" => "crosshair", "dashStyle" => "LongDashDotDot", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 1, "fillColor" => "1fde055d3ff900e04ca08bc82066d7fd", "fillOpacity" => 96, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 74, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "legendIndex" => 25, "lineColor" => "c2580eebfdbdb9fc629f50cc147c3f63", "lineWidth" => 25, "linecap" => "square", "linkedTo" => "914fab47afc86331ec62837807a29419", "marker" => [], "name" => "b068931cc450442b63f5b3d276ea4297", "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "negativeFillColor" => "a966442d64e00bf8663e7c5d9708074a", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 62, "pointIntervalUnit" => "year", "pointPlacement" => "between", "pointStart" => 72, "selected" => 0]; |
||
464 | $this->assertEquals($res40, $obj->toArray()); |
||
465 | |||
466 | $obj->setShadow(1); |
||
467 | |||
468 | $res41 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 43, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorIndex" => 56, "connectEnds" => 1, "connectNulls" => 0, "cropThreshold" => 37, "cursor" => "crosshair", "dashStyle" => "LongDashDotDot", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 1, "fillColor" => "1fde055d3ff900e04ca08bc82066d7fd", "fillOpacity" => 96, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 74, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "legendIndex" => 25, "lineColor" => "c2580eebfdbdb9fc629f50cc147c3f63", "lineWidth" => 25, "linecap" => "square", "linkedTo" => "914fab47afc86331ec62837807a29419", "marker" => [], "name" => "b068931cc450442b63f5b3d276ea4297", "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "negativeFillColor" => "a966442d64e00bf8663e7c5d9708074a", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 62, "pointIntervalUnit" => "year", "pointPlacement" => "between", "pointStart" => 72, "selected" => 0, "shadow" => 1]; |
||
469 | $this->assertEquals($res41, $obj->toArray()); |
||
470 | |||
471 | $obj->setShowCheckbox(0); |
||
472 | |||
473 | $res42 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 43, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorIndex" => 56, "connectEnds" => 1, "connectNulls" => 0, "cropThreshold" => 37, "cursor" => "crosshair", "dashStyle" => "LongDashDotDot", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 1, "fillColor" => "1fde055d3ff900e04ca08bc82066d7fd", "fillOpacity" => 96, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 74, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "legendIndex" => 25, "lineColor" => "c2580eebfdbdb9fc629f50cc147c3f63", "lineWidth" => 25, "linecap" => "square", "linkedTo" => "914fab47afc86331ec62837807a29419", "marker" => [], "name" => "b068931cc450442b63f5b3d276ea4297", "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "negativeFillColor" => "a966442d64e00bf8663e7c5d9708074a", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 62, "pointIntervalUnit" => "year", "pointPlacement" => "between", "pointStart" => 72, "selected" => 0, "shadow" => 1, "showCheckbox" => 0]; |
||
474 | $this->assertEquals($res42, $obj->toArray()); |
||
475 | |||
476 | $obj->setShowInLegend(0); |
||
477 | |||
478 | $res43 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 43, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorIndex" => 56, "connectEnds" => 1, "connectNulls" => 0, "cropThreshold" => 37, "cursor" => "crosshair", "dashStyle" => "LongDashDotDot", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 1, "fillColor" => "1fde055d3ff900e04ca08bc82066d7fd", "fillOpacity" => 96, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 74, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "legendIndex" => 25, "lineColor" => "c2580eebfdbdb9fc629f50cc147c3f63", "lineWidth" => 25, "linecap" => "square", "linkedTo" => "914fab47afc86331ec62837807a29419", "marker" => [], "name" => "b068931cc450442b63f5b3d276ea4297", "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "negativeFillColor" => "a966442d64e00bf8663e7c5d9708074a", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 62, "pointIntervalUnit" => "year", "pointPlacement" => "between", "pointStart" => 72, "selected" => 0, "shadow" => 1, "showCheckbox" => 0, "showInLegend" => 0]; |
||
479 | $this->assertEquals($res43, $obj->toArray()); |
||
480 | |||
481 | $obj->setSkipKeyboardNavigation(1); |
||
482 | |||
483 | $res44 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 43, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorIndex" => 56, "connectEnds" => 1, "connectNulls" => 0, "cropThreshold" => 37, "cursor" => "crosshair", "dashStyle" => "LongDashDotDot", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 1, "fillColor" => "1fde055d3ff900e04ca08bc82066d7fd", "fillOpacity" => 96, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 74, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "legendIndex" => 25, "lineColor" => "c2580eebfdbdb9fc629f50cc147c3f63", "lineWidth" => 25, "linecap" => "square", "linkedTo" => "914fab47afc86331ec62837807a29419", "marker" => [], "name" => "b068931cc450442b63f5b3d276ea4297", "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "negativeFillColor" => "a966442d64e00bf8663e7c5d9708074a", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 62, "pointIntervalUnit" => "year", "pointPlacement" => "between", "pointStart" => 72, "selected" => 0, "shadow" => 1, "showCheckbox" => 0, "showInLegend" => 0, "skipKeyboardNavigation" => 1]; |
||
484 | $this->assertEquals($res44, $obj->toArray()); |
||
485 | |||
486 | $obj->setSoftThreshold(0); |
||
487 | |||
488 | $res45 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 43, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorIndex" => 56, "connectEnds" => 1, "connectNulls" => 0, "cropThreshold" => 37, "cursor" => "crosshair", "dashStyle" => "LongDashDotDot", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 1, "fillColor" => "1fde055d3ff900e04ca08bc82066d7fd", "fillOpacity" => 96, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 74, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "legendIndex" => 25, "lineColor" => "c2580eebfdbdb9fc629f50cc147c3f63", "lineWidth" => 25, "linecap" => "square", "linkedTo" => "914fab47afc86331ec62837807a29419", "marker" => [], "name" => "b068931cc450442b63f5b3d276ea4297", "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "negativeFillColor" => "a966442d64e00bf8663e7c5d9708074a", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 62, "pointIntervalUnit" => "year", "pointPlacement" => "between", "pointStart" => 72, "selected" => 0, "shadow" => 1, "showCheckbox" => 0, "showInLegend" => 0, "skipKeyboardNavigation" => 1, "softThreshold" => 0]; |
||
489 | $this->assertEquals($res45, $obj->toArray()); |
||
490 | |||
491 | $obj->setStack("fac2a47adace059aff113283a03f6760"); |
||
492 | |||
493 | $res46 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 43, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorIndex" => 56, "connectEnds" => 1, "connectNulls" => 0, "cropThreshold" => 37, "cursor" => "crosshair", "dashStyle" => "LongDashDotDot", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 1, "fillColor" => "1fde055d3ff900e04ca08bc82066d7fd", "fillOpacity" => 96, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 74, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "legendIndex" => 25, "lineColor" => "c2580eebfdbdb9fc629f50cc147c3f63", "lineWidth" => 25, "linecap" => "square", "linkedTo" => "914fab47afc86331ec62837807a29419", "marker" => [], "name" => "b068931cc450442b63f5b3d276ea4297", "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "negativeFillColor" => "a966442d64e00bf8663e7c5d9708074a", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 62, "pointIntervalUnit" => "year", "pointPlacement" => "between", "pointStart" => 72, "selected" => 0, "shadow" => 1, "showCheckbox" => 0, "showInLegend" => 0, "skipKeyboardNavigation" => 1, "softThreshold" => 0, "stack" => "fac2a47adace059aff113283a03f6760"]; |
||
494 | $this->assertEquals($res46, $obj->toArray()); |
||
495 | |||
496 | $obj->setStacking("percent"); |
||
497 | |||
498 | $res47 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 43, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorIndex" => 56, "connectEnds" => 1, "connectNulls" => 0, "cropThreshold" => 37, "cursor" => "crosshair", "dashStyle" => "LongDashDotDot", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 1, "fillColor" => "1fde055d3ff900e04ca08bc82066d7fd", "fillOpacity" => 96, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 74, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "legendIndex" => 25, "lineColor" => "c2580eebfdbdb9fc629f50cc147c3f63", "lineWidth" => 25, "linecap" => "square", "linkedTo" => "914fab47afc86331ec62837807a29419", "marker" => [], "name" => "b068931cc450442b63f5b3d276ea4297", "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "negativeFillColor" => "a966442d64e00bf8663e7c5d9708074a", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 62, "pointIntervalUnit" => "year", "pointPlacement" => "between", "pointStart" => 72, "selected" => 0, "shadow" => 1, "showCheckbox" => 0, "showInLegend" => 0, "skipKeyboardNavigation" => 1, "softThreshold" => 0, "stack" => "fac2a47adace059aff113283a03f6760", "stacking" => "percent"]; |
||
499 | $this->assertEquals($res47, $obj->toArray()); |
||
500 | |||
501 | $obj->setStates(new \WBW\Bundle\HighchartsBundle\API\Chart\Series\Areaspline\HighchartsStates()); |
||
502 | |||
503 | $res48 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 43, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorIndex" => 56, "connectEnds" => 1, "connectNulls" => 0, "cropThreshold" => 37, "cursor" => "crosshair", "dashStyle" => "LongDashDotDot", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 1, "fillColor" => "1fde055d3ff900e04ca08bc82066d7fd", "fillOpacity" => 96, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 74, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "legendIndex" => 25, "lineColor" => "c2580eebfdbdb9fc629f50cc147c3f63", "lineWidth" => 25, "linecap" => "square", "linkedTo" => "914fab47afc86331ec62837807a29419", "marker" => [], "name" => "b068931cc450442b63f5b3d276ea4297", "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "negativeFillColor" => "a966442d64e00bf8663e7c5d9708074a", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 62, "pointIntervalUnit" => "year", "pointPlacement" => "between", "pointStart" => 72, "selected" => 0, "shadow" => 1, "showCheckbox" => 0, "showInLegend" => 0, "skipKeyboardNavigation" => 1, "softThreshold" => 0, "stack" => "fac2a47adace059aff113283a03f6760", "stacking" => "percent", "states" => []]; |
||
504 | $this->assertEquals($res48, $obj->toArray()); |
||
505 | |||
506 | $obj->setStickyTracking(0); |
||
507 | |||
508 | $res49 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 43, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorIndex" => 56, "connectEnds" => 1, "connectNulls" => 0, "cropThreshold" => 37, "cursor" => "crosshair", "dashStyle" => "LongDashDotDot", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 1, "fillColor" => "1fde055d3ff900e04ca08bc82066d7fd", "fillOpacity" => 96, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 74, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "legendIndex" => 25, "lineColor" => "c2580eebfdbdb9fc629f50cc147c3f63", "lineWidth" => 25, "linecap" => "square", "linkedTo" => "914fab47afc86331ec62837807a29419", "marker" => [], "name" => "b068931cc450442b63f5b3d276ea4297", "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "negativeFillColor" => "a966442d64e00bf8663e7c5d9708074a", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 62, "pointIntervalUnit" => "year", "pointPlacement" => "between", "pointStart" => 72, "selected" => 0, "shadow" => 1, "showCheckbox" => 0, "showInLegend" => 0, "skipKeyboardNavigation" => 1, "softThreshold" => 0, "stack" => "fac2a47adace059aff113283a03f6760", "stacking" => "percent", "states" => [], "stickyTracking" => 0]; |
||
509 | $this->assertEquals($res49, $obj->toArray()); |
||
510 | |||
511 | $obj->setThreshold(20); |
||
512 | |||
513 | $res50 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 43, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorIndex" => 56, "connectEnds" => 1, "connectNulls" => 0, "cropThreshold" => 37, "cursor" => "crosshair", "dashStyle" => "LongDashDotDot", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 1, "fillColor" => "1fde055d3ff900e04ca08bc82066d7fd", "fillOpacity" => 96, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 74, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "legendIndex" => 25, "lineColor" => "c2580eebfdbdb9fc629f50cc147c3f63", "lineWidth" => 25, "linecap" => "square", "linkedTo" => "914fab47afc86331ec62837807a29419", "marker" => [], "name" => "b068931cc450442b63f5b3d276ea4297", "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "negativeFillColor" => "a966442d64e00bf8663e7c5d9708074a", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 62, "pointIntervalUnit" => "year", "pointPlacement" => "between", "pointStart" => 72, "selected" => 0, "shadow" => 1, "showCheckbox" => 0, "showInLegend" => 0, "skipKeyboardNavigation" => 1, "softThreshold" => 0, "stack" => "fac2a47adace059aff113283a03f6760", "stacking" => "percent", "states" => [], "stickyTracking" => 0, "threshold" => 20]; |
||
514 | $this->assertEquals($res50, $obj->toArray()); |
||
515 | |||
516 | $obj->setTooltip(["tooltip" => "ddbfc1b6aa0ad4d79c5dac7aa3b44888"]); |
||
517 | |||
518 | $res51 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 43, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorIndex" => 56, "connectEnds" => 1, "connectNulls" => 0, "cropThreshold" => 37, "cursor" => "crosshair", "dashStyle" => "LongDashDotDot", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 1, "fillColor" => "1fde055d3ff900e04ca08bc82066d7fd", "fillOpacity" => 96, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 74, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "legendIndex" => 25, "lineColor" => "c2580eebfdbdb9fc629f50cc147c3f63", "lineWidth" => 25, "linecap" => "square", "linkedTo" => "914fab47afc86331ec62837807a29419", "marker" => [], "name" => "b068931cc450442b63f5b3d276ea4297", "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "negativeFillColor" => "a966442d64e00bf8663e7c5d9708074a", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 62, "pointIntervalUnit" => "year", "pointPlacement" => "between", "pointStart" => 72, "selected" => 0, "shadow" => 1, "showCheckbox" => 0, "showInLegend" => 0, "skipKeyboardNavigation" => 1, "softThreshold" => 0, "stack" => "fac2a47adace059aff113283a03f6760", "stacking" => "percent", "states" => [], "stickyTracking" => 0, "threshold" => 20, "tooltip" => ["tooltip" => "ddbfc1b6aa0ad4d79c5dac7aa3b44888"]]; |
||
519 | $this->assertEquals($res51, $obj->toArray()); |
||
520 | |||
521 | $obj->setTrackByArea(0); |
||
522 | |||
523 | $res52 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 43, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorIndex" => 56, "connectEnds" => 1, "connectNulls" => 0, "cropThreshold" => 37, "cursor" => "crosshair", "dashStyle" => "LongDashDotDot", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 1, "fillColor" => "1fde055d3ff900e04ca08bc82066d7fd", "fillOpacity" => 96, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 74, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "legendIndex" => 25, "lineColor" => "c2580eebfdbdb9fc629f50cc147c3f63", "lineWidth" => 25, "linecap" => "square", "linkedTo" => "914fab47afc86331ec62837807a29419", "marker" => [], "name" => "b068931cc450442b63f5b3d276ea4297", "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "negativeFillColor" => "a966442d64e00bf8663e7c5d9708074a", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 62, "pointIntervalUnit" => "year", "pointPlacement" => "between", "pointStart" => 72, "selected" => 0, "shadow" => 1, "showCheckbox" => 0, "showInLegend" => 0, "skipKeyboardNavigation" => 1, "softThreshold" => 0, "stack" => "fac2a47adace059aff113283a03f6760", "stacking" => "percent", "states" => [], "stickyTracking" => 0, "threshold" => 20, "tooltip" => ["tooltip" => "ddbfc1b6aa0ad4d79c5dac7aa3b44888"], "trackByArea" => 0]; |
||
524 | $this->assertEquals($res52, $obj->toArray()); |
||
525 | |||
526 | $obj->setTurboThreshold(44); |
||
527 | |||
528 | $res53 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 43, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorIndex" => 56, "connectEnds" => 1, "connectNulls" => 0, "cropThreshold" => 37, "cursor" => "crosshair", "dashStyle" => "LongDashDotDot", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 1, "fillColor" => "1fde055d3ff900e04ca08bc82066d7fd", "fillOpacity" => 96, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 74, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "legendIndex" => 25, "lineColor" => "c2580eebfdbdb9fc629f50cc147c3f63", "lineWidth" => 25, "linecap" => "square", "linkedTo" => "914fab47afc86331ec62837807a29419", "marker" => [], "name" => "b068931cc450442b63f5b3d276ea4297", "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "negativeFillColor" => "a966442d64e00bf8663e7c5d9708074a", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 62, "pointIntervalUnit" => "year", "pointPlacement" => "between", "pointStart" => 72, "selected" => 0, "shadow" => 1, "showCheckbox" => 0, "showInLegend" => 0, "skipKeyboardNavigation" => 1, "softThreshold" => 0, "stack" => "fac2a47adace059aff113283a03f6760", "stacking" => "percent", "states" => [], "stickyTracking" => 0, "threshold" => 20, "tooltip" => ["tooltip" => "ddbfc1b6aa0ad4d79c5dac7aa3b44888"], "trackByArea" => 0, "turboThreshold" => 44]; |
||
529 | $this->assertEquals($res53, $obj->toArray()); |
||
530 | |||
531 | $obj->setType("waterfall"); |
||
532 | |||
533 | $res54 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 43, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorIndex" => 56, "connectEnds" => 1, "connectNulls" => 0, "cropThreshold" => 37, "cursor" => "crosshair", "dashStyle" => "LongDashDotDot", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 1, "fillColor" => "1fde055d3ff900e04ca08bc82066d7fd", "fillOpacity" => 96, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 74, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "legendIndex" => 25, "lineColor" => "c2580eebfdbdb9fc629f50cc147c3f63", "lineWidth" => 25, "linecap" => "square", "linkedTo" => "914fab47afc86331ec62837807a29419", "marker" => [], "name" => "b068931cc450442b63f5b3d276ea4297", "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "negativeFillColor" => "a966442d64e00bf8663e7c5d9708074a", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 62, "pointIntervalUnit" => "year", "pointPlacement" => "between", "pointStart" => 72, "selected" => 0, "shadow" => 1, "showCheckbox" => 0, "showInLegend" => 0, "skipKeyboardNavigation" => 1, "softThreshold" => 0, "stack" => "fac2a47adace059aff113283a03f6760", "stacking" => "percent", "states" => [], "stickyTracking" => 0, "threshold" => 20, "tooltip" => ["tooltip" => "ddbfc1b6aa0ad4d79c5dac7aa3b44888"], "trackByArea" => 0, "turboThreshold" => 44, "type" => "waterfall"]; |
||
534 | $this->assertEquals($res54, $obj->toArray()); |
||
535 | |||
536 | $obj->setVisible(0); |
||
537 | |||
538 | $res55 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 43, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorIndex" => 56, "connectEnds" => 1, "connectNulls" => 0, "cropThreshold" => 37, "cursor" => "crosshair", "dashStyle" => "LongDashDotDot", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 1, "fillColor" => "1fde055d3ff900e04ca08bc82066d7fd", "fillOpacity" => 96, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 74, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "legendIndex" => 25, "lineColor" => "c2580eebfdbdb9fc629f50cc147c3f63", "lineWidth" => 25, "linecap" => "square", "linkedTo" => "914fab47afc86331ec62837807a29419", "marker" => [], "name" => "b068931cc450442b63f5b3d276ea4297", "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "negativeFillColor" => "a966442d64e00bf8663e7c5d9708074a", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 62, "pointIntervalUnit" => "year", "pointPlacement" => "between", "pointStart" => 72, "selected" => 0, "shadow" => 1, "showCheckbox" => 0, "showInLegend" => 0, "skipKeyboardNavigation" => 1, "softThreshold" => 0, "stack" => "fac2a47adace059aff113283a03f6760", "stacking" => "percent", "states" => [], "stickyTracking" => 0, "threshold" => 20, "tooltip" => ["tooltip" => "ddbfc1b6aa0ad4d79c5dac7aa3b44888"], "trackByArea" => 0, "turboThreshold" => 44, "type" => "waterfall", "visible" => 0]; |
||
539 | $this->assertEquals($res55, $obj->toArray()); |
||
540 | |||
541 | $obj->setXAxis(34); |
||
542 | |||
543 | $res56 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 43, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorIndex" => 56, "connectEnds" => 1, "connectNulls" => 0, "cropThreshold" => 37, "cursor" => "crosshair", "dashStyle" => "LongDashDotDot", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 1, "fillColor" => "1fde055d3ff900e04ca08bc82066d7fd", "fillOpacity" => 96, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 74, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "legendIndex" => 25, "lineColor" => "c2580eebfdbdb9fc629f50cc147c3f63", "lineWidth" => 25, "linecap" => "square", "linkedTo" => "914fab47afc86331ec62837807a29419", "marker" => [], "name" => "b068931cc450442b63f5b3d276ea4297", "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "negativeFillColor" => "a966442d64e00bf8663e7c5d9708074a", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 62, "pointIntervalUnit" => "year", "pointPlacement" => "between", "pointStart" => 72, "selected" => 0, "shadow" => 1, "showCheckbox" => 0, "showInLegend" => 0, "skipKeyboardNavigation" => 1, "softThreshold" => 0, "stack" => "fac2a47adace059aff113283a03f6760", "stacking" => "percent", "states" => [], "stickyTracking" => 0, "threshold" => 20, "tooltip" => ["tooltip" => "ddbfc1b6aa0ad4d79c5dac7aa3b44888"], "trackByArea" => 0, "turboThreshold" => 44, "type" => "waterfall", "visible" => 0, "xAxis" => 34]; |
||
544 | $this->assertEquals($res56, $obj->toArray()); |
||
545 | |||
546 | $obj->setYAxis(21); |
||
547 | |||
548 | $res57 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 43, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorIndex" => 56, "connectEnds" => 1, "connectNulls" => 0, "cropThreshold" => 37, "cursor" => "crosshair", "dashStyle" => "LongDashDotDot", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 1, "fillColor" => "1fde055d3ff900e04ca08bc82066d7fd", "fillOpacity" => 96, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 74, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "legendIndex" => 25, "lineColor" => "c2580eebfdbdb9fc629f50cc147c3f63", "lineWidth" => 25, "linecap" => "square", "linkedTo" => "914fab47afc86331ec62837807a29419", "marker" => [], "name" => "b068931cc450442b63f5b3d276ea4297", "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "negativeFillColor" => "a966442d64e00bf8663e7c5d9708074a", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 62, "pointIntervalUnit" => "year", "pointPlacement" => "between", "pointStart" => 72, "selected" => 0, "shadow" => 1, "showCheckbox" => 0, "showInLegend" => 0, "skipKeyboardNavigation" => 1, "softThreshold" => 0, "stack" => "fac2a47adace059aff113283a03f6760", "stacking" => "percent", "states" => [], "stickyTracking" => 0, "threshold" => 20, "tooltip" => ["tooltip" => "ddbfc1b6aa0ad4d79c5dac7aa3b44888"], "trackByArea" => 0, "turboThreshold" => 44, "type" => "waterfall", "visible" => 0, "xAxis" => 34, "yAxis" => 21]; |
||
549 | $this->assertEquals($res57, $obj->toArray()); |
||
550 | |||
551 | $obj->setZIndex(98); |
||
552 | |||
553 | $res58 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 43, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorIndex" => 56, "connectEnds" => 1, "connectNulls" => 0, "cropThreshold" => 37, "cursor" => "crosshair", "dashStyle" => "LongDashDotDot", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 1, "fillColor" => "1fde055d3ff900e04ca08bc82066d7fd", "fillOpacity" => 96, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 74, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "legendIndex" => 25, "lineColor" => "c2580eebfdbdb9fc629f50cc147c3f63", "lineWidth" => 25, "linecap" => "square", "linkedTo" => "914fab47afc86331ec62837807a29419", "marker" => [], "name" => "b068931cc450442b63f5b3d276ea4297", "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "negativeFillColor" => "a966442d64e00bf8663e7c5d9708074a", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 62, "pointIntervalUnit" => "year", "pointPlacement" => "between", "pointStart" => 72, "selected" => 0, "shadow" => 1, "showCheckbox" => 0, "showInLegend" => 0, "skipKeyboardNavigation" => 1, "softThreshold" => 0, "stack" => "fac2a47adace059aff113283a03f6760", "stacking" => "percent", "states" => [], "stickyTracking" => 0, "threshold" => 20, "tooltip" => ["tooltip" => "ddbfc1b6aa0ad4d79c5dac7aa3b44888"], "trackByArea" => 0, "turboThreshold" => 44, "type" => "waterfall", "visible" => 0, "xAxis" => 34, "yAxis" => 21, "zIndex" => 98]; |
||
554 | $this->assertEquals($res58, $obj->toArray()); |
||
555 | |||
556 | $obj->setZoneAxis("88421adabea658556aa3ab6c6181afad"); |
||
557 | |||
558 | $res59 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 43, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorIndex" => 56, "connectEnds" => 1, "connectNulls" => 0, "cropThreshold" => 37, "cursor" => "crosshair", "dashStyle" => "LongDashDotDot", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 1, "fillColor" => "1fde055d3ff900e04ca08bc82066d7fd", "fillOpacity" => 96, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 74, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "legendIndex" => 25, "lineColor" => "c2580eebfdbdb9fc629f50cc147c3f63", "lineWidth" => 25, "linecap" => "square", "linkedTo" => "914fab47afc86331ec62837807a29419", "marker" => [], "name" => "b068931cc450442b63f5b3d276ea4297", "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "negativeFillColor" => "a966442d64e00bf8663e7c5d9708074a", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 62, "pointIntervalUnit" => "year", "pointPlacement" => "between", "pointStart" => 72, "selected" => 0, "shadow" => 1, "showCheckbox" => 0, "showInLegend" => 0, "skipKeyboardNavigation" => 1, "softThreshold" => 0, "stack" => "fac2a47adace059aff113283a03f6760", "stacking" => "percent", "states" => [], "stickyTracking" => 0, "threshold" => 20, "tooltip" => ["tooltip" => "ddbfc1b6aa0ad4d79c5dac7aa3b44888"], "trackByArea" => 0, "turboThreshold" => 44, "type" => "waterfall", "visible" => 0, "xAxis" => 34, "yAxis" => 21, "zIndex" => 98, "zoneAxis" => "88421adabea658556aa3ab6c6181afad"]; |
||
559 | $this->assertEquals($res59, $obj->toArray()); |
||
560 | |||
561 | $obj->setZones(["zones" => "26f94136f5db8afd4e9df1e512f7fdc5"]); |
||
562 | |||
563 | $res60 = ["allowPointSelect" => 0, "animation" => 0, "animationLimit" => 43, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorIndex" => 56, "connectEnds" => 1, "connectNulls" => 0, "cropThreshold" => 37, "cursor" => "crosshair", "dashStyle" => "LongDashDotDot", "data" => ["data" => "8d777f385d3dfec8815d20f7496026dc"], "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 0, "events" => [], "exposeElementToA11y" => 1, "fillColor" => "1fde055d3ff900e04ca08bc82066d7fd", "fillOpacity" => 96, "findNearestPointBy" => "xy", "getExtremesFromAll" => 0, "id" => "b80bb7740288fda1f201890375a60c8f", "index" => 74, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "legendIndex" => 25, "lineColor" => "c2580eebfdbdb9fc629f50cc147c3f63", "lineWidth" => 25, "linecap" => "square", "linkedTo" => "914fab47afc86331ec62837807a29419", "marker" => [], "name" => "b068931cc450442b63f5b3d276ea4297", "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "negativeFillColor" => "a966442d64e00bf8663e7c5d9708074a", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 62, "pointIntervalUnit" => "year", "pointPlacement" => "between", "pointStart" => 72, "selected" => 0, "shadow" => 1, "showCheckbox" => 0, "showInLegend" => 0, "skipKeyboardNavigation" => 1, "softThreshold" => 0, "stack" => "fac2a47adace059aff113283a03f6760", "stacking" => "percent", "states" => [], "stickyTracking" => 0, "threshold" => 20, "tooltip" => ["tooltip" => "ddbfc1b6aa0ad4d79c5dac7aa3b44888"], "trackByArea" => 0, "turboThreshold" => 44, "type" => "waterfall", "visible" => 0, "xAxis" => 34, "yAxis" => 21, "zIndex" => 98, "zoneAxis" => "88421adabea658556aa3ab6c6181afad", "zones" => ["zones" => "26f94136f5db8afd4e9df1e512f7fdc5"]]; |
||
564 | $this->assertEquals($res60, $obj->toArray()); |
||
565 | } |
||
568 |