| Conditions | 1 |
| Paths | 1 |
| Total Lines | 243 |
| Code Lines | 145 |
| 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 |
||
| 210 | public function testToArray() { |
||
| 211 | |||
| 212 | $obj = new \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsErrorbar(true); |
||
| 213 | |||
| 214 | $obj->setAllowPointSelect(0); |
||
| 215 | |||
| 216 | $res1 = ["allowPointSelect" => 0]; |
||
| 217 | $this->assertEquals($res1, $obj->toArray()); |
||
| 218 | |||
| 219 | $obj->setAnimationLimit(29); |
||
| 220 | |||
| 221 | $res2 = ["allowPointSelect" => 0, "animationLimit" => 29]; |
||
| 222 | $this->assertEquals($res2, $obj->toArray()); |
||
| 223 | |||
| 224 | $obj->setClassName("6f66e878c62db60568a3487869695820"); |
||
| 225 | |||
| 226 | $res3 = ["allowPointSelect" => 0, "animationLimit" => 29, "className" => "6f66e878c62db60568a3487869695820"]; |
||
| 227 | $this->assertEquals($res3, $obj->toArray()); |
||
| 228 | |||
| 229 | $obj->setColor("70dda5dfb8053dc6d1c492574bce9bfd"); |
||
| 230 | |||
| 231 | $res4 = ["allowPointSelect" => 0, "animationLimit" => 29, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd"]; |
||
| 232 | $this->assertEquals($res4, $obj->toArray()); |
||
| 233 | |||
| 234 | $obj->setColorByPoint(1); |
||
| 235 | |||
| 236 | $res5 = ["allowPointSelect" => 0, "animationLimit" => 29, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1]; |
||
| 237 | $this->assertEquals($res5, $obj->toArray()); |
||
| 238 | |||
| 239 | $obj->setColorIndex(0); |
||
| 240 | |||
| 241 | $res6 = ["allowPointSelect" => 0, "animationLimit" => 29, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 0]; |
||
| 242 | $this->assertEquals($res6, $obj->toArray()); |
||
| 243 | |||
| 244 | $obj->setColors(["colors" => "62848e3ce5804aa985513a7922ff87b2"]); |
||
| 245 | |||
| 246 | $res7 = ["allowPointSelect" => 0, "animationLimit" => 29, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 0, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"]]; |
||
| 247 | $this->assertEquals($res7, $obj->toArray()); |
||
| 248 | |||
| 249 | $obj->setCrisp(0); |
||
| 250 | |||
| 251 | $res8 = ["allowPointSelect" => 0, "animationLimit" => 29, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 0, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0]; |
||
| 252 | $this->assertEquals($res8, $obj->toArray()); |
||
| 253 | |||
| 254 | $obj->setCursor("crosshair"); |
||
| 255 | |||
| 256 | $res9 = ["allowPointSelect" => 0, "animationLimit" => 29, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 0, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cursor" => "crosshair"]; |
||
| 257 | $this->assertEquals($res9, $obj->toArray()); |
||
| 258 | |||
| 259 | $obj->setDepth(42); |
||
| 260 | |||
| 261 | $res10 = ["allowPointSelect" => 0, "animationLimit" => 29, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 0, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cursor" => "crosshair", "depth" => 42]; |
||
| 262 | $this->assertEquals($res10, $obj->toArray()); |
||
| 263 | |||
| 264 | $obj->setDescription("67daf92c833c41c95db874e18fcb2786"); |
||
| 265 | |||
| 266 | $res11 = ["allowPointSelect" => 0, "animationLimit" => 29, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 0, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cursor" => "crosshair", "depth" => 42, "description" => "67daf92c833c41c95db874e18fcb2786"]; |
||
| 267 | $this->assertEquals($res11, $obj->toArray()); |
||
| 268 | |||
| 269 | $obj->setEdgeColor("acbab0d2e7e54e5a7a32fc80409601fc"); |
||
| 270 | |||
| 271 | $res12 = ["allowPointSelect" => 0, "animationLimit" => 29, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 0, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cursor" => "crosshair", "depth" => 42, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc"]; |
||
| 272 | $this->assertEquals($res12, $obj->toArray()); |
||
| 273 | |||
| 274 | $obj->setEdgeWidth(73); |
||
| 275 | |||
| 276 | $res13 = ["allowPointSelect" => 0, "animationLimit" => 29, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 0, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cursor" => "crosshair", "depth" => 42, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 73]; |
||
| 277 | $this->assertEquals($res13, $obj->toArray()); |
||
| 278 | |||
| 279 | $obj->setEnableMouseTracking(1); |
||
| 280 | |||
| 281 | $res14 = ["allowPointSelect" => 0, "animationLimit" => 29, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 0, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cursor" => "crosshair", "depth" => 42, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 73, "enableMouseTracking" => 1]; |
||
| 282 | $this->assertEquals($res14, $obj->toArray()); |
||
| 283 | |||
| 284 | $obj->setEvents(new \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Errorbar\HighchartsEvents()); |
||
| 285 | |||
| 286 | $res15 = ["allowPointSelect" => 0, "animationLimit" => 29, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 0, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cursor" => "crosshair", "depth" => 42, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 73, "enableMouseTracking" => 1, "events" => []]; |
||
| 287 | $this->assertEquals($res15, $obj->toArray()); |
||
| 288 | |||
| 289 | $obj->setExposeElementToA11y(1); |
||
| 290 | |||
| 291 | $res16 = ["allowPointSelect" => 0, "animationLimit" => 29, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 0, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cursor" => "crosshair", "depth" => 42, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 73, "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 1]; |
||
| 292 | $this->assertEquals($res16, $obj->toArray()); |
||
| 293 | |||
| 294 | $obj->setFindNearestPointBy("xy"); |
||
| 295 | |||
| 296 | $res17 = ["allowPointSelect" => 0, "animationLimit" => 29, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 0, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cursor" => "crosshair", "depth" => 42, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 73, "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 1, "findNearestPointBy" => "xy"]; |
||
| 297 | $this->assertEquals($res17, $obj->toArray()); |
||
| 298 | |||
| 299 | $obj->setGetExtremesFromAll(1); |
||
| 300 | |||
| 301 | $res18 = ["allowPointSelect" => 0, "animationLimit" => 29, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 0, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cursor" => "crosshair", "depth" => 42, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 73, "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 1, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1]; |
||
| 302 | $this->assertEquals($res18, $obj->toArray()); |
||
| 303 | |||
| 304 | $obj->setGroupZPadding(93); |
||
| 305 | |||
| 306 | $res19 = ["allowPointSelect" => 0, "animationLimit" => 29, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 0, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cursor" => "crosshair", "depth" => 42, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 73, "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 1, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "groupZPadding" => 93]; |
||
| 307 | $this->assertEquals($res19, $obj->toArray()); |
||
| 308 | |||
| 309 | $obj->setKeys(["keys" => "14f802e1fba977727845e8872c1743a7"]); |
||
| 310 | |||
| 311 | $res20 = ["allowPointSelect" => 0, "animationLimit" => 29, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 0, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cursor" => "crosshair", "depth" => 42, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 73, "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 1, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "groupZPadding" => 93, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"]]; |
||
| 312 | $this->assertEquals($res20, $obj->toArray()); |
||
| 313 | |||
| 314 | $obj->setLineWidth(75); |
||
| 315 | |||
| 316 | $res21 = ["allowPointSelect" => 0, "animationLimit" => 29, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 0, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cursor" => "crosshair", "depth" => 42, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 73, "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 1, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "groupZPadding" => 93, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "lineWidth" => 75]; |
||
| 317 | $this->assertEquals($res21, $obj->toArray()); |
||
| 318 | |||
| 319 | $obj->setLinkedTo("914fab47afc86331ec62837807a29419"); |
||
| 320 | |||
| 321 | $res22 = ["allowPointSelect" => 0, "animationLimit" => 29, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 0, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cursor" => "crosshair", "depth" => 42, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 73, "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 1, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "groupZPadding" => 93, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "lineWidth" => 75, "linkedTo" => "914fab47afc86331ec62837807a29419"]; |
||
| 322 | $this->assertEquals($res22, $obj->toArray()); |
||
| 323 | |||
| 324 | $obj->setMaxPointWidth(17); |
||
| 325 | |||
| 326 | $res23 = ["allowPointSelect" => 0, "animationLimit" => 29, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 0, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cursor" => "crosshair", "depth" => 42, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 73, "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 1, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "groupZPadding" => 93, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "lineWidth" => 75, "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 17]; |
||
| 327 | $this->assertEquals($res23, $obj->toArray()); |
||
| 328 | |||
| 329 | $obj->setNegativeColor("52fe4d3a854b01e25193b4f35fc2040e"); |
||
| 330 | |||
| 331 | $res24 = ["allowPointSelect" => 0, "animationLimit" => 29, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 0, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cursor" => "crosshair", "depth" => 42, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 73, "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 1, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "groupZPadding" => 93, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "lineWidth" => 75, "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 17, "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e"]; |
||
| 332 | $this->assertEquals($res24, $obj->toArray()); |
||
| 333 | |||
| 334 | $obj->setPoint(new \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Errorbar\HighchartsPoint()); |
||
| 335 | |||
| 336 | $res25 = ["allowPointSelect" => 0, "animationLimit" => 29, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 0, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cursor" => "crosshair", "depth" => 42, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 73, "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 1, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "groupZPadding" => 93, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "lineWidth" => 75, "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 17, "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "point" => []]; |
||
| 337 | $this->assertEquals($res25, $obj->toArray()); |
||
| 338 | |||
| 339 | $obj->setPointDescriptionFormatter("b5fd0c15b3ca81f726e2c7b93907ba36"); |
||
| 340 | |||
| 341 | $res26 = ["allowPointSelect" => 0, "animationLimit" => 29, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 0, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cursor" => "crosshair", "depth" => 42, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 73, "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 1, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "groupZPadding" => 93, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "lineWidth" => 75, "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 17, "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36"]; |
||
| 342 | $this->assertEquals($res26, $obj->toArray()); |
||
| 343 | |||
| 344 | $obj->setPointInterval(96); |
||
| 345 | |||
| 346 | $res27 = ["allowPointSelect" => 0, "animationLimit" => 29, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 0, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cursor" => "crosshair", "depth" => 42, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 73, "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 1, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "groupZPadding" => 93, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "lineWidth" => 75, "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 17, "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 96]; |
||
| 347 | $this->assertEquals($res27, $obj->toArray()); |
||
| 348 | |||
| 349 | $obj->setPointIntervalUnit("year"); |
||
| 350 | |||
| 351 | $res28 = ["allowPointSelect" => 0, "animationLimit" => 29, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 0, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cursor" => "crosshair", "depth" => 42, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 73, "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 1, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "groupZPadding" => 93, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "lineWidth" => 75, "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 17, "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 96, "pointIntervalUnit" => "year"]; |
||
| 352 | $this->assertEquals($res28, $obj->toArray()); |
||
| 353 | |||
| 354 | $obj->setPointPadding(6); |
||
| 355 | |||
| 356 | $res29 = ["allowPointSelect" => 0, "animationLimit" => 29, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 0, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cursor" => "crosshair", "depth" => 42, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 73, "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 1, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "groupZPadding" => 93, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "lineWidth" => 75, "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 17, "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 96, "pointIntervalUnit" => "year", "pointPadding" => 6]; |
||
| 357 | $this->assertEquals($res29, $obj->toArray()); |
||
| 358 | |||
| 359 | $obj->setPointPlacement("between"); |
||
| 360 | |||
| 361 | $res30 = ["allowPointSelect" => 0, "animationLimit" => 29, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 0, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cursor" => "crosshair", "depth" => 42, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 73, "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 1, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "groupZPadding" => 93, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "lineWidth" => 75, "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 17, "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 96, "pointIntervalUnit" => "year", "pointPadding" => 6, "pointPlacement" => "between"]; |
||
| 362 | $this->assertEquals($res30, $obj->toArray()); |
||
| 363 | |||
| 364 | $obj->setPointRange(20); |
||
| 365 | |||
| 366 | $res31 = ["allowPointSelect" => 0, "animationLimit" => 29, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 0, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cursor" => "crosshair", "depth" => 42, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 73, "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 1, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "groupZPadding" => 93, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "lineWidth" => 75, "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 17, "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 96, "pointIntervalUnit" => "year", "pointPadding" => 6, "pointPlacement" => "between", "pointRange" => 20]; |
||
| 367 | $this->assertEquals($res31, $obj->toArray()); |
||
| 368 | |||
| 369 | $obj->setPointStart(40); |
||
| 370 | |||
| 371 | $res32 = ["allowPointSelect" => 0, "animationLimit" => 29, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 0, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cursor" => "crosshair", "depth" => 42, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 73, "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 1, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "groupZPadding" => 93, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "lineWidth" => 75, "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 17, "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 96, "pointIntervalUnit" => "year", "pointPadding" => 6, "pointPlacement" => "between", "pointRange" => 20, "pointStart" => 40]; |
||
| 372 | $this->assertEquals($res32, $obj->toArray()); |
||
| 373 | |||
| 374 | $obj->setPointWidth(35); |
||
| 375 | |||
| 376 | $res33 = ["allowPointSelect" => 0, "animationLimit" => 29, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 0, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cursor" => "crosshair", "depth" => 42, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 73, "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 1, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "groupZPadding" => 93, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "lineWidth" => 75, "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 17, "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 96, "pointIntervalUnit" => "year", "pointPadding" => 6, "pointPlacement" => "between", "pointRange" => 20, "pointStart" => 40, "pointWidth" => 35]; |
||
| 377 | $this->assertEquals($res33, $obj->toArray()); |
||
| 378 | |||
| 379 | $obj->setSelected(1); |
||
| 380 | |||
| 381 | $res34 = ["allowPointSelect" => 0, "animationLimit" => 29, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 0, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cursor" => "crosshair", "depth" => 42, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 73, "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 1, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "groupZPadding" => 93, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "lineWidth" => 75, "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 17, "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 96, "pointIntervalUnit" => "year", "pointPadding" => 6, "pointPlacement" => "between", "pointRange" => 20, "pointStart" => 40, "pointWidth" => 35, "selected" => 1]; |
||
| 382 | $this->assertEquals($res34, $obj->toArray()); |
||
| 383 | |||
| 384 | $obj->setSkipKeyboardNavigation(1); |
||
| 385 | |||
| 386 | $res35 = ["allowPointSelect" => 0, "animationLimit" => 29, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 0, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cursor" => "crosshair", "depth" => 42, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 73, "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 1, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "groupZPadding" => 93, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "lineWidth" => 75, "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 17, "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 96, "pointIntervalUnit" => "year", "pointPadding" => 6, "pointPlacement" => "between", "pointRange" => 20, "pointStart" => 40, "pointWidth" => 35, "selected" => 1, "skipKeyboardNavigation" => 1]; |
||
| 387 | $this->assertEquals($res35, $obj->toArray()); |
||
| 388 | |||
| 389 | $obj->setStates(new \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Errorbar\HighchartsStates()); |
||
| 390 | |||
| 391 | $res36 = ["allowPointSelect" => 0, "animationLimit" => 29, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 0, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cursor" => "crosshair", "depth" => 42, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 73, "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 1, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "groupZPadding" => 93, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "lineWidth" => 75, "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 17, "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 96, "pointIntervalUnit" => "year", "pointPadding" => 6, "pointPlacement" => "between", "pointRange" => 20, "pointStart" => 40, "pointWidth" => 35, "selected" => 1, "skipKeyboardNavigation" => 1, "states" => []]; |
||
| 392 | $this->assertEquals($res36, $obj->toArray()); |
||
| 393 | |||
| 394 | $obj->setStemColor("98696f23b6ed2a881042dfa365a28d23"); |
||
| 395 | |||
| 396 | $res37 = ["allowPointSelect" => 0, "animationLimit" => 29, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 0, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cursor" => "crosshair", "depth" => 42, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 73, "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 1, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "groupZPadding" => 93, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "lineWidth" => 75, "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 17, "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 96, "pointIntervalUnit" => "year", "pointPadding" => 6, "pointPlacement" => "between", "pointRange" => 20, "pointStart" => 40, "pointWidth" => 35, "selected" => 1, "skipKeyboardNavigation" => 1, "states" => [], "stemColor" => "98696f23b6ed2a881042dfa365a28d23"]; |
||
| 397 | $this->assertEquals($res37, $obj->toArray()); |
||
| 398 | |||
| 399 | $obj->setStemDashStyle("LongDashDotDot"); |
||
| 400 | |||
| 401 | $res38 = ["allowPointSelect" => 0, "animationLimit" => 29, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 0, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cursor" => "crosshair", "depth" => 42, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 73, "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 1, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "groupZPadding" => 93, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "lineWidth" => 75, "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 17, "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 96, "pointIntervalUnit" => "year", "pointPadding" => 6, "pointPlacement" => "between", "pointRange" => 20, "pointStart" => 40, "pointWidth" => 35, "selected" => 1, "skipKeyboardNavigation" => 1, "states" => [], "stemColor" => "98696f23b6ed2a881042dfa365a28d23", "stemDashStyle" => "LongDashDotDot"]; |
||
| 402 | $this->assertEquals($res38, $obj->toArray()); |
||
| 403 | |||
| 404 | $obj->setStemWidth(39); |
||
| 405 | |||
| 406 | $res39 = ["allowPointSelect" => 0, "animationLimit" => 29, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 0, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cursor" => "crosshair", "depth" => 42, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 73, "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 1, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "groupZPadding" => 93, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "lineWidth" => 75, "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 17, "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 96, "pointIntervalUnit" => "year", "pointPadding" => 6, "pointPlacement" => "between", "pointRange" => 20, "pointStart" => 40, "pointWidth" => 35, "selected" => 1, "skipKeyboardNavigation" => 1, "states" => [], "stemColor" => "98696f23b6ed2a881042dfa365a28d23", "stemDashStyle" => "LongDashDotDot", "stemWidth" => 39]; |
||
| 407 | $this->assertEquals($res39, $obj->toArray()); |
||
| 408 | |||
| 409 | $obj->setStickyTracking(1); |
||
| 410 | |||
| 411 | $res40 = ["allowPointSelect" => 0, "animationLimit" => 29, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 0, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cursor" => "crosshair", "depth" => 42, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 73, "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 1, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "groupZPadding" => 93, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "lineWidth" => 75, "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 17, "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 96, "pointIntervalUnit" => "year", "pointPadding" => 6, "pointPlacement" => "between", "pointRange" => 20, "pointStart" => 40, "pointWidth" => 35, "selected" => 1, "skipKeyboardNavigation" => 1, "states" => [], "stemColor" => "98696f23b6ed2a881042dfa365a28d23", "stemDashStyle" => "LongDashDotDot", "stemWidth" => 39, "stickyTracking" => 1]; |
||
| 412 | $this->assertEquals($res40, $obj->toArray()); |
||
| 413 | |||
| 414 | $obj->setTooltip(["tooltip" => "ddbfc1b6aa0ad4d79c5dac7aa3b44888"]); |
||
| 415 | |||
| 416 | $res41 = ["allowPointSelect" => 0, "animationLimit" => 29, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 0, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cursor" => "crosshair", "depth" => 42, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 73, "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 1, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "groupZPadding" => 93, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "lineWidth" => 75, "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 17, "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 96, "pointIntervalUnit" => "year", "pointPadding" => 6, "pointPlacement" => "between", "pointRange" => 20, "pointStart" => 40, "pointWidth" => 35, "selected" => 1, "skipKeyboardNavigation" => 1, "states" => [], "stemColor" => "98696f23b6ed2a881042dfa365a28d23", "stemDashStyle" => "LongDashDotDot", "stemWidth" => 39, "stickyTracking" => 1, "tooltip" => ["tooltip" => "ddbfc1b6aa0ad4d79c5dac7aa3b44888"]]; |
||
| 417 | $this->assertEquals($res41, $obj->toArray()); |
||
| 418 | |||
| 419 | $obj->setTurboThreshold(92); |
||
| 420 | |||
| 421 | $res42 = ["allowPointSelect" => 0, "animationLimit" => 29, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 0, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cursor" => "crosshair", "depth" => 42, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 73, "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 1, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "groupZPadding" => 93, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "lineWidth" => 75, "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 17, "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 96, "pointIntervalUnit" => "year", "pointPadding" => 6, "pointPlacement" => "between", "pointRange" => 20, "pointStart" => 40, "pointWidth" => 35, "selected" => 1, "skipKeyboardNavigation" => 1, "states" => [], "stemColor" => "98696f23b6ed2a881042dfa365a28d23", "stemDashStyle" => "LongDashDotDot", "stemWidth" => 39, "stickyTracking" => 1, "tooltip" => ["tooltip" => "ddbfc1b6aa0ad4d79c5dac7aa3b44888"], "turboThreshold" => 92]; |
||
| 422 | $this->assertEquals($res42, $obj->toArray()); |
||
| 423 | |||
| 424 | $obj->setVisible(0); |
||
| 425 | |||
| 426 | $res43 = ["allowPointSelect" => 0, "animationLimit" => 29, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 0, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cursor" => "crosshair", "depth" => 42, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 73, "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 1, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "groupZPadding" => 93, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "lineWidth" => 75, "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 17, "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 96, "pointIntervalUnit" => "year", "pointPadding" => 6, "pointPlacement" => "between", "pointRange" => 20, "pointStart" => 40, "pointWidth" => 35, "selected" => 1, "skipKeyboardNavigation" => 1, "states" => [], "stemColor" => "98696f23b6ed2a881042dfa365a28d23", "stemDashStyle" => "LongDashDotDot", "stemWidth" => 39, "stickyTracking" => 1, "tooltip" => ["tooltip" => "ddbfc1b6aa0ad4d79c5dac7aa3b44888"], "turboThreshold" => 92, "visible" => 0]; |
||
| 427 | $this->assertEquals($res43, $obj->toArray()); |
||
| 428 | |||
| 429 | $obj->setWhiskerColor("3176f361ab524a038497eb1a6c93df38"); |
||
| 430 | |||
| 431 | $res44 = ["allowPointSelect" => 0, "animationLimit" => 29, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 0, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cursor" => "crosshair", "depth" => 42, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 73, "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 1, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "groupZPadding" => 93, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "lineWidth" => 75, "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 17, "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 96, "pointIntervalUnit" => "year", "pointPadding" => 6, "pointPlacement" => "between", "pointRange" => 20, "pointStart" => 40, "pointWidth" => 35, "selected" => 1, "skipKeyboardNavigation" => 1, "states" => [], "stemColor" => "98696f23b6ed2a881042dfa365a28d23", "stemDashStyle" => "LongDashDotDot", "stemWidth" => 39, "stickyTracking" => 1, "tooltip" => ["tooltip" => "ddbfc1b6aa0ad4d79c5dac7aa3b44888"], "turboThreshold" => 92, "visible" => 0, "whiskerColor" => "3176f361ab524a038497eb1a6c93df38"]; |
||
| 432 | $this->assertEquals($res44, $obj->toArray()); |
||
| 433 | |||
| 434 | $obj->setWhiskerLength(74); |
||
| 435 | |||
| 436 | $res45 = ["allowPointSelect" => 0, "animationLimit" => 29, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 0, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cursor" => "crosshair", "depth" => 42, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 73, "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 1, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "groupZPadding" => 93, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "lineWidth" => 75, "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 17, "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 96, "pointIntervalUnit" => "year", "pointPadding" => 6, "pointPlacement" => "between", "pointRange" => 20, "pointStart" => 40, "pointWidth" => 35, "selected" => 1, "skipKeyboardNavigation" => 1, "states" => [], "stemColor" => "98696f23b6ed2a881042dfa365a28d23", "stemDashStyle" => "LongDashDotDot", "stemWidth" => 39, "stickyTracking" => 1, "tooltip" => ["tooltip" => "ddbfc1b6aa0ad4d79c5dac7aa3b44888"], "turboThreshold" => 92, "visible" => 0, "whiskerColor" => "3176f361ab524a038497eb1a6c93df38", "whiskerLength" => 74]; |
||
| 437 | $this->assertEquals($res45, $obj->toArray()); |
||
| 438 | |||
| 439 | $obj->setWhiskerWidth(8); |
||
| 440 | |||
| 441 | $res46 = ["allowPointSelect" => 0, "animationLimit" => 29, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 0, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cursor" => "crosshair", "depth" => 42, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 73, "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 1, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "groupZPadding" => 93, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "lineWidth" => 75, "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 17, "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 96, "pointIntervalUnit" => "year", "pointPadding" => 6, "pointPlacement" => "between", "pointRange" => 20, "pointStart" => 40, "pointWidth" => 35, "selected" => 1, "skipKeyboardNavigation" => 1, "states" => [], "stemColor" => "98696f23b6ed2a881042dfa365a28d23", "stemDashStyle" => "LongDashDotDot", "stemWidth" => 39, "stickyTracking" => 1, "tooltip" => ["tooltip" => "ddbfc1b6aa0ad4d79c5dac7aa3b44888"], "turboThreshold" => 92, "visible" => 0, "whiskerColor" => "3176f361ab524a038497eb1a6c93df38", "whiskerLength" => 74, "whiskerWidth" => 8]; |
||
| 442 | $this->assertEquals($res46, $obj->toArray()); |
||
| 443 | |||
| 444 | $obj->setZoneAxis("88421adabea658556aa3ab6c6181afad"); |
||
| 445 | |||
| 446 | $res47 = ["allowPointSelect" => 0, "animationLimit" => 29, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 0, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cursor" => "crosshair", "depth" => 42, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 73, "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 1, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "groupZPadding" => 93, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "lineWidth" => 75, "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 17, "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 96, "pointIntervalUnit" => "year", "pointPadding" => 6, "pointPlacement" => "between", "pointRange" => 20, "pointStart" => 40, "pointWidth" => 35, "selected" => 1, "skipKeyboardNavigation" => 1, "states" => [], "stemColor" => "98696f23b6ed2a881042dfa365a28d23", "stemDashStyle" => "LongDashDotDot", "stemWidth" => 39, "stickyTracking" => 1, "tooltip" => ["tooltip" => "ddbfc1b6aa0ad4d79c5dac7aa3b44888"], "turboThreshold" => 92, "visible" => 0, "whiskerColor" => "3176f361ab524a038497eb1a6c93df38", "whiskerLength" => 74, "whiskerWidth" => 8, "zoneAxis" => "88421adabea658556aa3ab6c6181afad"]; |
||
| 447 | $this->assertEquals($res47, $obj->toArray()); |
||
| 448 | |||
| 449 | $obj->setZones(["zones" => "26f94136f5db8afd4e9df1e512f7fdc5"]); |
||
| 450 | |||
| 451 | $res48 = ["allowPointSelect" => 0, "animationLimit" => 29, "className" => "6f66e878c62db60568a3487869695820", "color" => "70dda5dfb8053dc6d1c492574bce9bfd", "colorByPoint" => 1, "colorIndex" => 0, "colors" => ["colors" => "62848e3ce5804aa985513a7922ff87b2"], "crisp" => 0, "cursor" => "crosshair", "depth" => 42, "description" => "67daf92c833c41c95db874e18fcb2786", "edgeColor" => "acbab0d2e7e54e5a7a32fc80409601fc", "edgeWidth" => 73, "enableMouseTracking" => 1, "events" => [], "exposeElementToA11y" => 1, "findNearestPointBy" => "xy", "getExtremesFromAll" => 1, "groupZPadding" => 93, "keys" => ["keys" => "14f802e1fba977727845e8872c1743a7"], "lineWidth" => 75, "linkedTo" => "914fab47afc86331ec62837807a29419", "maxPointWidth" => 17, "negativeColor" => "52fe4d3a854b01e25193b4f35fc2040e", "point" => [], "pointDescriptionFormatter" => "b5fd0c15b3ca81f726e2c7b93907ba36", "pointInterval" => 96, "pointIntervalUnit" => "year", "pointPadding" => 6, "pointPlacement" => "between", "pointRange" => 20, "pointStart" => 40, "pointWidth" => 35, "selected" => 1, "skipKeyboardNavigation" => 1, "states" => [], "stemColor" => "98696f23b6ed2a881042dfa365a28d23", "stemDashStyle" => "LongDashDotDot", "stemWidth" => 39, "stickyTracking" => 1, "tooltip" => ["tooltip" => "ddbfc1b6aa0ad4d79c5dac7aa3b44888"], "turboThreshold" => 92, "visible" => 0, "whiskerColor" => "3176f361ab524a038497eb1a6c93df38", "whiskerLength" => 74, "whiskerWidth" => 8, "zoneAxis" => "88421adabea658556aa3ab6c6181afad", "zones" => ["zones" => "26f94136f5db8afd4e9df1e512f7fdc5"]]; |
||
| 452 | $this->assertEquals($res48, $obj->toArray()); |
||
| 453 | } |
||
| 456 |