| 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\PlotOptions\HighchartsTreemap(true); |
||
| 239 | |||
| 240 | $obj->setAllowDrillToNode("true"); |
||
| 241 | |||
| 242 | $res1 = ["allowDrillToNode" => "true"]; |
||
| 243 | $this->assertEquals($res1, $obj->toArray()); |
||
| 244 | |||
| 245 | $obj->setAllowPointSelect(0); |
||
| 246 | |||
| 247 | $res2 = ["allowDrillToNode" => "true", "allowPointSelect" => 0]; |
||
| 248 | $this->assertEquals($res2, $obj->toArray()); |
||
| 249 | |||
| 250 | $obj->setAlternateStartingDirection(1); |
||
| 251 | |||
| 252 | $res3 = ["allowDrillToNode" => "true", "allowPointSelect" => 0, "alternateStartingDirection" => 1]; |
||
| 253 | $this->assertEquals($res3, $obj->toArray()); |
||
| 254 | |||
| 255 | $obj->setAnimation(1); |
||
| 256 | |||
| 257 | $res4 = ["allowDrillToNode" => "true", "allowPointSelect" => 0, "alternateStartingDirection" => 1, "animation" => 1]; |
||
| 258 | $this->assertEquals($res4, $obj->toArray()); |
||
| 259 | |||
| 260 | $obj->setAnimationLimit(75); |
||
| 261 | |||
| 262 | $res5 = ["allowDrillToNode" => "true", "allowPointSelect" => 0, "alternateStartingDirection" => 1, "animation" => 1, "animationLimit" => 75]; |
||
| 263 | $this->assertEquals($res5, $obj->toArray()); |
||
| 264 | |||
| 265 | $obj->setBorderColor("97da935a74593c55d78be9d1295aa994"); |
||
| 266 | |||
| 267 | $res6 = ["allowDrillToNode" => "true", "allowPointSelect" => 0, "alternateStartingDirection" => 1, "animation" => 1, "animationLimit" => 75, "borderColor" => "97da935a74593c55d78be9d1295aa994"]; |
||
| 268 | $this->assertEquals($res6, $obj->toArray()); |
||
| 269 | |||
| 270 | $obj->setBorderWidth(81); |
||
| 271 | |||
| 272 | $res7 = ["allowDrillToNode" => "true", "allowPointSelect" => 0, "alternateStartingDirection" => 1, "animation" => 1, "animationLimit" => 75, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 81]; |
||
| 273 | $this->assertEquals($res7, $obj->toArray()); |
||
| 274 | |||
| 275 | $obj->setClassName("6f66e878c62db60568a3487869695820"); |
||
| 276 | |||
| 277 | $res8 = ["allowDrillToNode" => "true", "allowPointSelect" => 0, "alternateStartingDirection" => 1, "animation" => 1, "animationLimit" => 75, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 81, "className" => "6f66e878c62db60568a3487869695820"]; |
||
| 278 | $this->assertEquals($res8, $obj->toArray()); |
||
| 279 | |||
| 280 | $obj->setColor("70dda5dfb8053dc6d1c492574bce9bfd"); |
||
| 281 | |||
| 282 | $res9 = ["allowDrillToNode" => "true", "allowPointSelect" => 0, "alternateStartingDirection" => 1, "animation" => 1, "animationLimit" => 75, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 81, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd"]; |
||
| 283 | $this->assertEquals($res9, $obj->toArray()); |
||
| 284 | |||
| 285 | $obj->setColorByPoint(0); |
||
| 286 | |||
| 287 | $res10 = ["allowDrillToNode" => "true", "allowPointSelect" => 0, "alternateStartingDirection" => 1, "animation" => 1, "animationLimit" => 75, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 81, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 0]; |
||
| 288 | $this->assertEquals($res10, $obj->toArray()); |
||
| 289 | |||
| 290 | $obj->setColorIndex(66); |
||
| 291 | |||
| 292 | $res11 = ["allowDrillToNode" => "true", "allowPointSelect" => 0, "alternateStartingDirection" => 1, "animation" => 1, "animationLimit" => 75, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 81, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 0, "colorIndex" => 66]; |
||
| 293 | $this->assertEquals($res11, $obj->toArray()); |
||
| 294 | |||
| 295 | $obj->setColors(["colors" => "62848e3ce5804aa985513a7922ff87b2"]); |
||
| 296 | |||
| 297 | $res12 = ["allowDrillToNode" => "true", "allowPointSelect" => 0, "alternateStartingDirection" => 1, "animation" => 1, "animationLimit" => 75, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 81, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 0, "colorIndex" => 66, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"]]; |
||
| 298 | $this->assertEquals($res12, $obj->toArray()); |
||
| 299 | |||
| 300 | $obj->setCrisp(0); |
||
| 301 | |||
| 302 | $res13 = ["allowDrillToNode" => "true", "allowPointSelect" => 0, "alternateStartingDirection" => 1, "animation" => 1, "animationLimit" => 75, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 81, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 0, "colorIndex" => 66, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0]; |
||
| 303 | $this->assertEquals($res13, $obj->toArray()); |
||
| 304 | |||
| 305 | $obj->setCropThreshold(44); |
||
| 306 | |||
| 307 | $res14 = ["allowDrillToNode" => "true", "allowPointSelect" => 0, "alternateStartingDirection" => 1, "animation" => 1, "animationLimit" => 75, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 81, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 0, "colorIndex" => 66, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cropThreshold" => 44]; |
||
| 308 | $this->assertEquals($res14, $obj->toArray()); |
||
| 309 | |||
| 310 | $obj->setCursor("crosshair"); |
||
| 311 | |||
| 312 | $res15 = ["allowDrillToNode" => "true", "allowPointSelect" => 0, "alternateStartingDirection" => 1, "animation" => 1, "animationLimit" => 75, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 81, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 0, "colorIndex" => 66, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cropThreshold" => 44, "cursor" => "crosshair"]; |
||
| 313 | $this->assertEquals($res15, $obj->toArray()); |
||
| 314 | |||
| 315 | $obj->setDataLabels(new \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Treemap\HighchartsDataLabels()); |
||
| 316 | |||
| 317 | $res16 = ["allowDrillToNode" => "true", "allowPointSelect" => 0, "alternateStartingDirection" => 1, "animation" => 1, "animationLimit" => 75, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 81, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 0, "colorIndex" => 66, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cropThreshold" => 44, "cursor" => "crosshair", "dataLabels" => []]; |
||
| 318 | $this->assertEquals($res16, $obj->toArray()); |
||
| 319 | |||
| 320 | $obj->setDescription("67daf92c833c41c95db874e18fcb2786"); |
||
| 321 | |||
| 322 | $res17 = ["allowDrillToNode" => "true", "allowPointSelect" => 0, "alternateStartingDirection" => 1, "animation" => 1, "animationLimit" => 75, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 81, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 0, "colorIndex" => 66, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cropThreshold" => 44, "cursor" => "crosshair", "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786"]; |
||
| 323 | $this->assertEquals($res17, $obj->toArray()); |
||
| 324 | |||
| 325 | $obj->setEnableMouseTracking(1); |
||
| 326 | |||
| 327 | $res18 = ["allowDrillToNode" => "true", "allowPointSelect" => 0, "alternateStartingDirection" => 1, "animation" => 1, "animationLimit" => 75, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 81, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 0, "colorIndex" => 66, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cropThreshold" => 44, "cursor" => "crosshair", "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 1]; |
||
| 328 | $this->assertEquals($res18, $obj->toArray()); |
||
| 329 | |||
| 330 | $obj->setEvents(new \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Treemap\HighchartsEvents()); |
||
| 331 | |||
| 332 | $res19 = ["allowDrillToNode" => "true", "allowPointSelect" => 0, "alternateStartingDirection" => 1, "animation" => 1, "animationLimit" => 75, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 81, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 0, "colorIndex" => 66, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cropThreshold" => 44, "cursor" => "crosshair", "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 1, "events" => []]; |
||
| 333 | $this->assertEquals($res19, $obj->toArray()); |
||
| 334 | |||
| 335 | $obj->setExposeElementToA11y(0); |
||
| 336 | |||
| 337 | $res20 = ["allowDrillToNode" => "true", "allowPointSelect" => 0, "alternateStartingDirection" => 1, "animation" => 1, "animationLimit" => 75, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 81, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 0, "colorIndex" => 66, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cropThreshold" => 44, "cursor" => "crosshair", "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 0]; |
||
| 338 | $this->assertEquals($res20, $obj->toArray()); |
||
| 339 | |||
| 340 | $obj->setFindNearestPointBy("xy"); |
||
| 341 | |||
| 342 | $res21 = ["allowDrillToNode" => "true", "allowPointSelect" => 0, "alternateStartingDirection" => 1, "animation" => 1, "animationLimit" => 75, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 81, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 0, "colorIndex" => 66, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cropThreshold" => 44, "cursor" => "crosshair", "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy"]; |
||
| 343 | $this->assertEquals($res21, $obj->toArray()); |
||
| 344 | |||
| 345 | $obj->setGetExtremesFromAll(1); |
||
| 346 | |||
| 347 | $res22 = ["allowDrillToNode" => "true", "allowPointSelect" => 0, "alternateStartingDirection" => 1, "animation" => 1, "animationLimit" => 75, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 81, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 0, "colorIndex" => 66, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cropThreshold" => 44, "cursor" => "crosshair", "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1]; |
||
| 348 | $this->assertEquals($res22, $obj->toArray()); |
||
| 349 | |||
| 350 | $obj->setIgnoreHiddenPoint(0); |
||
| 351 | |||
| 352 | $res23 = ["allowDrillToNode" => "true", "allowPointSelect" => 0, "alternateStartingDirection" => 1, "animation" => 1, "animationLimit" => 75, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 81, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 0, "colorIndex" => 66, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cropThreshold" => 44, "cursor" => "crosshair", "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "ignoreHiddenPoint" => 0]; |
||
| 353 | $this->assertEquals($res23, $obj->toArray()); |
||
| 354 | |||
| 355 | $obj->setInteractByLeaf(true); |
||
| 356 | |||
| 357 | $res24 = ["allowDrillToNode" => "true", "allowPointSelect" => 0, "alternateStartingDirection" => 1, "animation" => 1, "animationLimit" => 75, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 81, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 0, "colorIndex" => 66, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cropThreshold" => 44, "cursor" => "crosshair", "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "ignoreHiddenPoint" => 0, "interactByLeaf" => true]; |
||
| 358 | $this->assertEquals($res24, $obj->toArray()); |
||
| 359 | |||
| 360 | $obj->setKeys(["keys" => "14f802e1fba977727845e8872c1743a7"]); |
||
| 361 | |||
| 362 | $res25 = ["allowDrillToNode" => "true", "allowPointSelect" => 0, "alternateStartingDirection" => 1, "animation" => 1, "animationLimit" => 75, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 81, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 0, "colorIndex" => 66, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cropThreshold" => 44, "cursor" => "crosshair", "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "ignoreHiddenPoint" => 0, "interactByLeaf" => true, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"]]; |
||
| 363 | $this->assertEquals($res25, $obj->toArray()); |
||
| 364 | |||
| 365 | $obj->setLayoutAlgorithm("strip"); |
||
| 366 | |||
| 367 | $res26 = ["allowDrillToNode" => "true", "allowPointSelect" => 0, "alternateStartingDirection" => 1, "animation" => 1, "animationLimit" => 75, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 81, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 0, "colorIndex" => 66, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cropThreshold" => 44, "cursor" => "crosshair", "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "ignoreHiddenPoint" => 0, "interactByLeaf" => true, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "layoutAlgorithm" => "strip"]; |
||
| 368 | $this->assertEquals($res26, $obj->toArray()); |
||
| 369 | |||
| 370 | $obj->setLayoutStartingDirection("horizontal"); |
||
| 371 | |||
| 372 | $res27 = ["allowDrillToNode" => "true", "allowPointSelect" => 0, "alternateStartingDirection" => 1, "animation" => 1, "animationLimit" => 75, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 81, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 0, "colorIndex" => 66, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cropThreshold" => 44, "cursor" => "crosshair", "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "ignoreHiddenPoint" => 0, "interactByLeaf" => true, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "layoutAlgorithm" => "strip", "layoutStartingDirection" => "horizontal"]; |
||
| 373 | $this->assertEquals($res27, $obj->toArray()); |
||
| 374 | |||
| 375 | $obj->setLevelIsConstant("false"); |
||
| 376 | |||
| 377 | $res28 = ["allowDrillToNode" => "true", "allowPointSelect" => 0, "alternateStartingDirection" => 1, "animation" => 1, "animationLimit" => 75, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 81, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 0, "colorIndex" => 66, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cropThreshold" => 44, "cursor" => "crosshair", "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "ignoreHiddenPoint" => 0, "interactByLeaf" => true, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "layoutAlgorithm" => "strip", "layoutStartingDirection" => "horizontal", "levelIsConstant" => "false"]; |
||
| 378 | $this->assertEquals($res28, $obj->toArray()); |
||
| 379 | |||
| 380 | $obj->setLevels(["levels" => "836eb5e382b5d9f430df48883fca918e"]); |
||
| 381 | |||
| 382 | $res29 = ["allowDrillToNode" => "true", "allowPointSelect" => 0, "alternateStartingDirection" => 1, "animation" => 1, "animationLimit" => 75, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 81, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 0, "colorIndex" => 66, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cropThreshold" => 44, "cursor" => "crosshair", "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "ignoreHiddenPoint" => 0, "interactByLeaf" => true, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "layoutAlgorithm" => "strip", "layoutStartingDirection" => "horizontal", "levelIsConstant" => "false", "levels" => ["levels" => "836eb5e382b5d9f430df48883fca918e"]]; |
||
| 383 | $this->assertEquals($res29, $obj->toArray()); |
||
| 384 | |||
| 385 | $obj->setLinkedTo("914fab47afc86331ec62837807a29419"); |
||
| 386 | |||
| 387 | $res30 = ["allowDrillToNode" => "true", "allowPointSelect" => 0, "alternateStartingDirection" => 1, "animation" => 1, "animationLimit" => 75, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 81, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 0, "colorIndex" => 66, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cropThreshold" => 44, "cursor" => "crosshair", "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "ignoreHiddenPoint" => 0, "interactByLeaf" => true, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "layoutAlgorithm" => "strip", "layoutStartingDirection" => "horizontal", "levelIsConstant" => "false", "levels" => ["levels" => "836eb5e382b5d9f430df48883fca918e"], "linkedTo" => "914fab47afc86331ec62837807a29419"]; |
||
| 388 | $this->assertEquals($res30, $obj->toArray()); |
||
| 389 | |||
| 390 | $obj->setMaxPointWidth(96); |
||
| 391 | |||
| 392 | $res31 = ["allowDrillToNode" => "true", "allowPointSelect" => 0, "alternateStartingDirection" => 1, "animation" => 1, "animationLimit" => 75, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 81, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 0, "colorIndex" => 66, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cropThreshold" => 44, "cursor" => "crosshair", "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "ignoreHiddenPoint" => 0, "interactByLeaf" => true, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "layoutAlgorithm" => "strip", "layoutStartingDirection" => "horizontal", "levelIsConstant" => "false", "levels" => ["levels" => "836eb5e382b5d9f430df48883fca918e"], "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 96]; |
||
| 393 | $this->assertEquals($res31, $obj->toArray()); |
||
| 394 | |||
| 395 | $obj->setOpacity(65); |
||
| 396 | |||
| 397 | $res32 = ["allowDrillToNode" => "true", "allowPointSelect" => 0, "alternateStartingDirection" => 1, "animation" => 1, "animationLimit" => 75, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 81, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 0, "colorIndex" => 66, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cropThreshold" => 44, "cursor" => "crosshair", "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "ignoreHiddenPoint" => 0, "interactByLeaf" => true, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "layoutAlgorithm" => "strip", "layoutStartingDirection" => "horizontal", "levelIsConstant" => "false", "levels" => ["levels" => "836eb5e382b5d9f430df48883fca918e"], "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 96, "opacity" => 65]; |
||
| 398 | $this->assertEquals($res32, $obj->toArray()); |
||
| 399 | |||
| 400 | $obj->setPoint(new \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Treemap\HighchartsPoint()); |
||
| 401 | |||
| 402 | $res33 = ["allowDrillToNode" => "true", "allowPointSelect" => 0, "alternateStartingDirection" => 1, "animation" => 1, "animationLimit" => 75, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 81, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 0, "colorIndex" => 66, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cropThreshold" => 44, "cursor" => "crosshair", "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "ignoreHiddenPoint" => 0, "interactByLeaf" => true, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "layoutAlgorithm" => "strip", "layoutStartingDirection" => "horizontal", "levelIsConstant" => "false", "levels" => ["levels" => "836eb5e382b5d9f430df48883fca918e"], "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 96, "opacity" => 65, "point" => []]; |
||
| 403 | $this->assertEquals($res33, $obj->toArray()); |
||
| 404 | |||
| 405 | $obj->setPointDescriptionFormatter("b5fd0c15b3ca81f726e2c7b93907ba36"); |
||
| 406 | |||
| 407 | $res34 = ["allowDrillToNode" => "true", "allowPointSelect" => 0, "alternateStartingDirection" => 1, "animation" => 1, "animationLimit" => 75, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 81, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 0, "colorIndex" => 66, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cropThreshold" => 44, "cursor" => "crosshair", "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "ignoreHiddenPoint" => 0, "interactByLeaf" => true, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "layoutAlgorithm" => "strip", "layoutStartingDirection" => "horizontal", "levelIsConstant" => "false", "levels" => ["levels" => "836eb5e382b5d9f430df48883fca918e"], "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 96, "opacity" => 65, "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36"]; |
||
| 408 | $this->assertEquals($res34, $obj->toArray()); |
||
| 409 | |||
| 410 | $obj->setSelected(0); |
||
| 411 | |||
| 412 | $res35 = ["allowDrillToNode" => "true", "allowPointSelect" => 0, "alternateStartingDirection" => 1, "animation" => 1, "animationLimit" => 75, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 81, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 0, "colorIndex" => 66, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cropThreshold" => 44, "cursor" => "crosshair", "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "ignoreHiddenPoint" => 0, "interactByLeaf" => true, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "layoutAlgorithm" => "strip", "layoutStartingDirection" => "horizontal", "levelIsConstant" => "false", "levels" => ["levels" => "836eb5e382b5d9f430df48883fca918e"], "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 96, "opacity" => 65, "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "selected" => 0]; |
||
| 413 | $this->assertEquals($res35, $obj->toArray()); |
||
| 414 | |||
| 415 | $obj->setShadow(0); |
||
| 416 | |||
| 417 | $res36 = ["allowDrillToNode" => "true", "allowPointSelect" => 0, "alternateStartingDirection" => 1, "animation" => 1, "animationLimit" => 75, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 81, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 0, "colorIndex" => 66, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cropThreshold" => 44, "cursor" => "crosshair", "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "ignoreHiddenPoint" => 0, "interactByLeaf" => true, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "layoutAlgorithm" => "strip", "layoutStartingDirection" => "horizontal", "levelIsConstant" => "false", "levels" => ["levels" => "836eb5e382b5d9f430df48883fca918e"], "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 96, "opacity" => 65, "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "selected" => 0, "shadow" => 0]; |
||
| 418 | $this->assertEquals($res36, $obj->toArray()); |
||
| 419 | |||
| 420 | $obj->setShowCheckbox(1); |
||
| 421 | |||
| 422 | $res37 = ["allowDrillToNode" => "true", "allowPointSelect" => 0, "alternateStartingDirection" => 1, "animation" => 1, "animationLimit" => 75, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 81, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 0, "colorIndex" => 66, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cropThreshold" => 44, "cursor" => "crosshair", "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "ignoreHiddenPoint" => 0, "interactByLeaf" => true, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "layoutAlgorithm" => "strip", "layoutStartingDirection" => "horizontal", "levelIsConstant" => "false", "levels" => ["levels" => "836eb5e382b5d9f430df48883fca918e"], "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 96, "opacity" => 65, "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "selected" => 0, "shadow" => 0, "showCheckbox" => 1]; |
||
| 423 | $this->assertEquals($res37, $obj->toArray()); |
||
| 424 | |||
| 425 | $obj->setShowInLegend(0); |
||
| 426 | |||
| 427 | $res38 = ["allowDrillToNode" => "true", "allowPointSelect" => 0, "alternateStartingDirection" => 1, "animation" => 1, "animationLimit" => 75, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 81, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 0, "colorIndex" => 66, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cropThreshold" => 44, "cursor" => "crosshair", "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "ignoreHiddenPoint" => 0, "interactByLeaf" => true, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "layoutAlgorithm" => "strip", "layoutStartingDirection" => "horizontal", "levelIsConstant" => "false", "levels" => ["levels" => "836eb5e382b5d9f430df48883fca918e"], "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 96, "opacity" => 65, "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "selected" => 0, "shadow" => 0, "showCheckbox" => 1, "showInLegend" => 0]; |
||
| 428 | $this->assertEquals($res38, $obj->toArray()); |
||
| 429 | |||
| 430 | $obj->setSkipKeyboardNavigation(0); |
||
| 431 | |||
| 432 | $res39 = ["allowDrillToNode" => "true", "allowPointSelect" => 0, "alternateStartingDirection" => 1, "animation" => 1, "animationLimit" => 75, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 81, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 0, "colorIndex" => 66, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cropThreshold" => 44, "cursor" => "crosshair", "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "ignoreHiddenPoint" => 0, "interactByLeaf" => true, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "layoutAlgorithm" => "strip", "layoutStartingDirection" => "horizontal", "levelIsConstant" => "false", "levels" => ["levels" => "836eb5e382b5d9f430df48883fca918e"], "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 96, "opacity" => 65, "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "selected" => 0, "shadow" => 0, "showCheckbox" => 1, "showInLegend" => 0, "skipKeyboardNavigation" => 0]; |
||
| 433 | $this->assertEquals($res39, $obj->toArray()); |
||
| 434 | |||
| 435 | $obj->setSortIndex(86); |
||
| 436 | |||
| 437 | $res40 = ["allowDrillToNode" => "true", "allowPointSelect" => 0, "alternateStartingDirection" => 1, "animation" => 1, "animationLimit" => 75, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 81, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 0, "colorIndex" => 66, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cropThreshold" => 44, "cursor" => "crosshair", "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "ignoreHiddenPoint" => 0, "interactByLeaf" => true, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "layoutAlgorithm" => "strip", "layoutStartingDirection" => "horizontal", "levelIsConstant" => "false", "levels" => ["levels" => "836eb5e382b5d9f430df48883fca918e"], "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 96, "opacity" => 65, "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "selected" => 0, "shadow" => 0, "showCheckbox" => 1, "showInLegend" => 0, "skipKeyboardNavigation" => 0, "sortIndex" => 86]; |
||
| 438 | $this->assertEquals($res40, $obj->toArray()); |
||
| 439 | |||
| 440 | $obj->setStates(new \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Treemap\HighchartsStates()); |
||
| 441 | |||
| 442 | $res41 = ["allowDrillToNode" => "true", "allowPointSelect" => 0, "alternateStartingDirection" => 1, "animation" => 1, "animationLimit" => 75, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 81, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 0, "colorIndex" => 66, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cropThreshold" => 44, "cursor" => "crosshair", "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "ignoreHiddenPoint" => 0, "interactByLeaf" => true, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "layoutAlgorithm" => "strip", "layoutStartingDirection" => "horizontal", "levelIsConstant" => "false", "levels" => ["levels" => "836eb5e382b5d9f430df48883fca918e"], "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 96, "opacity" => 65, "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "selected" => 0, "shadow" => 0, "showCheckbox" => 1, "showInLegend" => 0, "skipKeyboardNavigation" => 0, "sortIndex" => 86, "states" => []]; |
||
| 443 | $this->assertEquals($res41, $obj->toArray()); |
||
| 444 | |||
| 445 | $obj->setStickyTracking(1); |
||
| 446 | |||
| 447 | $res42 = ["allowDrillToNode" => "true", "allowPointSelect" => 0, "alternateStartingDirection" => 1, "animation" => 1, "animationLimit" => 75, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 81, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 0, "colorIndex" => 66, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cropThreshold" => 44, "cursor" => "crosshair", "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "ignoreHiddenPoint" => 0, "interactByLeaf" => true, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "layoutAlgorithm" => "strip", "layoutStartingDirection" => "horizontal", "levelIsConstant" => "false", "levels" => ["levels" => "836eb5e382b5d9f430df48883fca918e"], "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 96, "opacity" => 65, "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "selected" => 0, "shadow" => 0, "showCheckbox" => 1, "showInLegend" => 0, "skipKeyboardNavigation" => 0, "sortIndex" => 86, "states" => [], "stickyTracking" => 1]; |
||
| 448 | $this->assertEquals($res42, $obj->toArray()); |
||
| 449 | |||
| 450 | $obj->setTooltip(new \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Treemap\HighchartsTooltip()); |
||
| 451 | |||
| 452 | $res43 = ["allowDrillToNode" => "true", "allowPointSelect" => 0, "alternateStartingDirection" => 1, "animation" => 1, "animationLimit" => 75, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 81, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 0, "colorIndex" => 66, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cropThreshold" => 44, "cursor" => "crosshair", "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "ignoreHiddenPoint" => 0, "interactByLeaf" => true, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "layoutAlgorithm" => "strip", "layoutStartingDirection" => "horizontal", "levelIsConstant" => "false", "levels" => ["levels" => "836eb5e382b5d9f430df48883fca918e"], "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 96, "opacity" => 65, "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "selected" => 0, "shadow" => 0, "showCheckbox" => 1, "showInLegend" => 0, "skipKeyboardNavigation" => 0, "sortIndex" => 86, "states" => [], "stickyTracking" => 1, "tooltip" => []]; |
||
| 453 | $this->assertEquals($res43, $obj->toArray()); |
||
| 454 | |||
| 455 | $obj->setTurboThreshold(44); |
||
| 456 | |||
| 457 | $res44 = ["allowDrillToNode" => "true", "allowPointSelect" => 0, "alternateStartingDirection" => 1, "animation" => 1, "animationLimit" => 75, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 81, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 0, "colorIndex" => 66, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cropThreshold" => 44, "cursor" => "crosshair", "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "ignoreHiddenPoint" => 0, "interactByLeaf" => true, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "layoutAlgorithm" => "strip", "layoutStartingDirection" => "horizontal", "levelIsConstant" => "false", "levels" => ["levels" => "836eb5e382b5d9f430df48883fca918e"], "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 96, "opacity" => 65, "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "selected" => 0, "shadow" => 0, "showCheckbox" => 1, "showInLegend" => 0, "skipKeyboardNavigation" => 0, "sortIndex" => 86, "states" => [], "stickyTracking" => 1, "tooltip" => [], "turboThreshold" => 44]; |
||
| 458 | $this->assertEquals($res44, $obj->toArray()); |
||
| 459 | |||
| 460 | $obj->setVisible(1); |
||
| 461 | |||
| 462 | $res45 = ["allowDrillToNode" => "true", "allowPointSelect" => 0, "alternateStartingDirection" => 1, "animation" => 1, "animationLimit" => 75, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 81, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 0, "colorIndex" => 66, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cropThreshold" => 44, "cursor" => "crosshair", "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "ignoreHiddenPoint" => 0, "interactByLeaf" => true, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "layoutAlgorithm" => "strip", "layoutStartingDirection" => "horizontal", "levelIsConstant" => "false", "levels" => ["levels" => "836eb5e382b5d9f430df48883fca918e"], "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 96, "opacity" => 65, "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "selected" => 0, "shadow" => 0, "showCheckbox" => 1, "showInLegend" => 0, "skipKeyboardNavigation" => 0, "sortIndex" => 86, "states" => [], "stickyTracking" => 1, "tooltip" => [], "turboThreshold" => 44, "visible" => 1]; |
||
| 463 | $this->assertEquals($res45, $obj->toArray()); |
||
| 464 | |||
| 465 | $obj->setZoneAxis("88421adabea658556aa3ab6c6181afad"); |
||
| 466 | |||
| 467 | $res46 = ["allowDrillToNode" => "true", "allowPointSelect" => 0, "alternateStartingDirection" => 1, "animation" => 1, "animationLimit" => 75, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 81, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 0, "colorIndex" => 66, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cropThreshold" => 44, "cursor" => "crosshair", "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "ignoreHiddenPoint" => 0, "interactByLeaf" => true, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "layoutAlgorithm" => "strip", "layoutStartingDirection" => "horizontal", "levelIsConstant" => "false", "levels" => ["levels" => "836eb5e382b5d9f430df48883fca918e"], "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 96, "opacity" => 65, "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "selected" => 0, "shadow" => 0, "showCheckbox" => 1, "showInLegend" => 0, "skipKeyboardNavigation" => 0, "sortIndex" => 86, "states" => [], "stickyTracking" => 1, "tooltip" => [], "turboThreshold" => 44, "visible" => 1, "zoneAxis" => "88421adabea658556aa3ab6c6181afad"]; |
||
| 468 | $this->assertEquals($res46, $obj->toArray()); |
||
| 469 | |||
| 470 | $obj->setZones(["zones" => "26f94136f5db8afd4e9df1e512f7fdc5"]); |
||
| 471 | |||
| 472 | $res47 = ["allowDrillToNode" => "true", "allowPointSelect" => 0, "alternateStartingDirection" => 1, "animation" => 1, "animationLimit" => 75, "borderColor" => "97da935a74593c55d78be9d1295aa994", "borderWidth" => 81, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 0, "colorIndex" => 66, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cropThreshold" => 44, "cursor" => "crosshair", "dataLabels" => [], "description" => "67daf92c833c41c95db874e18fcb2786", "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 0, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "ignoreHiddenPoint" => 0, "interactByLeaf" => true, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "layoutAlgorithm" => "strip", "layoutStartingDirection" => "horizontal", "levelIsConstant" => "false", "levels" => ["levels" => "836eb5e382b5d9f430df48883fca918e"], "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 96, "opacity" => 65, "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "selected" => 0, "shadow" => 0, "showCheckbox" => 1, "showInLegend" => 0, "skipKeyboardNavigation" => 0, "sortIndex" => 86, "states" => [], "stickyTracking" => 1, "tooltip" => [], "turboThreshold" => 44, "visible" => 1, "zoneAxis" => "88421adabea658556aa3ab6c6181afad", "zones" => ["zones" => "26f94136f5db8afd4e9df1e512f7fdc5"]]; |
||
| 473 | $this->assertEquals($res47, $obj->toArray()); |
||
| 474 | } |
||
| 477 |