webeweb /
highcharts-bundle
This project does not seem to handle request data directly as such no vulnerable execution paths were found.
include, or for example
via PHP's auto-loading mechanism.
These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more
| 1 | <?php |
||
| 2 | |||
| 3 | /** |
||
| 4 | * This file is part of the highcharts-bundle package. |
||
| 5 | * |
||
| 6 | * (c) 2017 WEBEWEB |
||
| 7 | * |
||
| 8 | * For the full copyright and license information, please view the LICENSE |
||
| 9 | * file that was distributed with this source code. |
||
| 10 | */ |
||
| 11 | |||
| 12 | namespace WBW\Bundle\HighchartsBundle\API\Chart\Series; |
||
| 13 | |||
| 14 | use JsonSerializable; |
||
| 15 | use WBW\Library\Core\Utility\Argument\ArrayUtility; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * Highcharts columnrange. |
||
| 19 | * |
||
| 20 | * @author webeweb <https://github.com/webeweb/> |
||
| 21 | * @package WBW\Bundle\HighchartsBundle\API\Chart\Series |
||
| 22 | * @version 5.0.14 |
||
| 23 | * @final |
||
| 24 | */ |
||
| 25 | final class HighchartsColumnrange implements JsonSerializable { |
||
| 26 | |||
| 27 | /** |
||
| 28 | * Allow point select. |
||
| 29 | * |
||
| 30 | * @var boolean |
||
| 31 | * @since 1.2.0 |
||
| 32 | */ |
||
| 33 | private $allowPointSelect = false; |
||
| 34 | |||
| 35 | /** |
||
| 36 | * Animation. |
||
| 37 | * |
||
| 38 | * @var boolean |
||
| 39 | */ |
||
| 40 | private $animation = true; |
||
| 41 | |||
| 42 | /** |
||
| 43 | * Animation limit. |
||
| 44 | * |
||
| 45 | * @var integer |
||
| 46 | */ |
||
| 47 | private $animationLimit; |
||
| 48 | |||
| 49 | /** |
||
| 50 | * Border color. |
||
| 51 | * |
||
| 52 | * @var string |
||
| 53 | */ |
||
| 54 | private $borderColor = "#ffffff"; |
||
| 55 | |||
| 56 | /** |
||
| 57 | * Border radius. |
||
| 58 | * |
||
| 59 | * @var integer |
||
| 60 | */ |
||
| 61 | private $borderRadius = 0; |
||
| 62 | |||
| 63 | /** |
||
| 64 | * Border width. |
||
| 65 | * |
||
| 66 | * @var integer |
||
| 67 | */ |
||
| 68 | private $borderWidth = 1; |
||
| 69 | |||
| 70 | /** |
||
| 71 | * Class name. |
||
| 72 | * |
||
| 73 | * @var string |
||
| 74 | * @since 5.0.0 |
||
| 75 | */ |
||
| 76 | private $className; |
||
| 77 | |||
| 78 | /** |
||
| 79 | * Color. |
||
| 80 | * |
||
| 81 | * @var string |
||
| 82 | */ |
||
| 83 | private $color; |
||
| 84 | |||
| 85 | /** |
||
| 86 | * Color by point. |
||
| 87 | * |
||
| 88 | * @var boolean |
||
| 89 | * @since 2.0 |
||
| 90 | */ |
||
| 91 | private $colorByPoint = false; |
||
| 92 | |||
| 93 | /** |
||
| 94 | * Color index. |
||
| 95 | * |
||
| 96 | * @var integer |
||
| 97 | * @since 5.0.0 |
||
| 98 | */ |
||
| 99 | private $colorIndex; |
||
| 100 | |||
| 101 | /** |
||
| 102 | * Colors. |
||
| 103 | * |
||
| 104 | * @var array |
||
| 105 | * @since 3.0 |
||
| 106 | */ |
||
| 107 | private $colors; |
||
| 108 | |||
| 109 | /** |
||
| 110 | * Crisp. |
||
| 111 | * |
||
| 112 | * @var boolean |
||
| 113 | * @since 5.0.10 |
||
| 114 | */ |
||
| 115 | private $crisp = true; |
||
| 116 | |||
| 117 | /** |
||
| 118 | * Crop threshold. |
||
| 119 | * |
||
| 120 | * @var integer |
||
| 121 | */ |
||
| 122 | private $cropThreshold = 50; |
||
| 123 | |||
| 124 | /** |
||
| 125 | * Cursor. |
||
| 126 | * |
||
| 127 | * @var string |
||
| 128 | */ |
||
| 129 | private $cursor; |
||
| 130 | |||
| 131 | /** |
||
| 132 | * Data. |
||
| 133 | * |
||
| 134 | * @var array |
||
| 135 | */ |
||
| 136 | private $data; |
||
| 137 | |||
| 138 | /** |
||
| 139 | * Data labels. |
||
| 140 | * |
||
| 141 | * @var array |
||
| 142 | * @since 2.3.0 |
||
| 143 | */ |
||
| 144 | private $dataLabels; |
||
| 145 | |||
| 146 | /** |
||
| 147 | * Depth. |
||
| 148 | * |
||
| 149 | * @var integer |
||
| 150 | * @since 4.0 |
||
| 151 | */ |
||
| 152 | private $depth = 25; |
||
| 153 | |||
| 154 | /** |
||
| 155 | * Description. |
||
| 156 | * |
||
| 157 | * @var string |
||
| 158 | * @since 5.0.0 |
||
| 159 | */ |
||
| 160 | private $description; |
||
| 161 | |||
| 162 | /** |
||
| 163 | * Edge color. |
||
| 164 | * |
||
| 165 | * @var string |
||
| 166 | */ |
||
| 167 | private $edgeColor; |
||
| 168 | |||
| 169 | /** |
||
| 170 | * Edge width. |
||
| 171 | * |
||
| 172 | * @var integer |
||
| 173 | */ |
||
| 174 | private $edgeWidth = 1; |
||
| 175 | |||
| 176 | /** |
||
| 177 | * Enable mouse tracking. |
||
| 178 | * |
||
| 179 | * @var boolean |
||
| 180 | */ |
||
| 181 | private $enableMouseTracking = true; |
||
| 182 | |||
| 183 | /** |
||
| 184 | * Events. |
||
| 185 | * |
||
| 186 | * @var \WBW\Bundle\HighchartsBundle\API\Chart\Series\Columnrange\HighchartsEvents |
||
| 187 | */ |
||
| 188 | private $events; |
||
| 189 | |||
| 190 | /** |
||
| 191 | * Expose element to a11y. |
||
| 192 | * |
||
| 193 | * @var boolean |
||
| 194 | * @since 5.0.12 |
||
| 195 | */ |
||
| 196 | private $exposeElementToA11y; |
||
| 197 | |||
| 198 | /** |
||
| 199 | * Find nearest point by. |
||
| 200 | * |
||
| 201 | * @var string |
||
| 202 | * @since 5.0.10 |
||
| 203 | */ |
||
| 204 | private $findNearestPointBy; |
||
| 205 | |||
| 206 | /** |
||
| 207 | * Get extremes from all. |
||
| 208 | * |
||
| 209 | * @var boolean |
||
| 210 | * @since 4.1.6 |
||
| 211 | */ |
||
| 212 | private $getExtremesFromAll = false; |
||
| 213 | |||
| 214 | /** |
||
| 215 | * Group padding. |
||
| 216 | * |
||
| 217 | * @var integer |
||
| 218 | */ |
||
| 219 | private $groupPadding = 0.2; |
||
| 220 | |||
| 221 | /** |
||
| 222 | * Group z padding. |
||
| 223 | * |
||
| 224 | * @var integer |
||
| 225 | * @since 4.0 |
||
| 226 | */ |
||
| 227 | private $groupZPadding = 1; |
||
| 228 | |||
| 229 | /** |
||
| 230 | * Grouping. |
||
| 231 | * |
||
| 232 | * @var boolean |
||
| 233 | * @since 2.3.0 |
||
| 234 | */ |
||
| 235 | private $grouping = true; |
||
| 236 | |||
| 237 | /** |
||
| 238 | * Id. |
||
| 239 | * |
||
| 240 | * @var string |
||
| 241 | * @since 1.2.0 |
||
| 242 | */ |
||
| 243 | private $id; |
||
| 244 | |||
| 245 | /** |
||
| 246 | * Index. |
||
| 247 | * |
||
| 248 | * @var integer |
||
| 249 | * @since 2.3.0 |
||
| 250 | */ |
||
| 251 | private $index; |
||
| 252 | |||
| 253 | /** |
||
| 254 | * Keys. |
||
| 255 | * |
||
| 256 | * @var array |
||
| 257 | * @since 4.1.6 |
||
| 258 | */ |
||
| 259 | private $keys; |
||
| 260 | |||
| 261 | /** |
||
| 262 | * Legend index. |
||
| 263 | * |
||
| 264 | * @var integer |
||
| 265 | */ |
||
| 266 | private $legendIndex; |
||
| 267 | |||
| 268 | /** |
||
| 269 | * Linked to. |
||
| 270 | * |
||
| 271 | * @var string |
||
| 272 | * @since 3.0 |
||
| 273 | */ |
||
| 274 | private $linkedTo; |
||
| 275 | |||
| 276 | /** |
||
| 277 | * Max point width. |
||
| 278 | * |
||
| 279 | * @var integer |
||
| 280 | * @since 4.1.8 |
||
| 281 | */ |
||
| 282 | private $maxPointWidth; |
||
| 283 | |||
| 284 | /** |
||
| 285 | * Min point length. |
||
| 286 | * |
||
| 287 | * @var integer |
||
| 288 | */ |
||
| 289 | private $minPointLength = 0; |
||
| 290 | |||
| 291 | /** |
||
| 292 | * Name. |
||
| 293 | * |
||
| 294 | * @var string |
||
| 295 | */ |
||
| 296 | private $name; |
||
| 297 | |||
| 298 | /** |
||
| 299 | * Point. |
||
| 300 | * |
||
| 301 | * @var \WBW\Bundle\HighchartsBundle\API\Chart\Series\Columnrange\HighchartsPoint |
||
| 302 | */ |
||
| 303 | private $point; |
||
| 304 | |||
| 305 | /** |
||
| 306 | * Point description formatter. |
||
| 307 | * |
||
| 308 | * @var string |
||
| 309 | * @since 5.0.12 |
||
| 310 | */ |
||
| 311 | private $pointDescriptionFormatter; |
||
| 312 | |||
| 313 | /** |
||
| 314 | * Point interval. |
||
| 315 | * |
||
| 316 | * @var integer |
||
| 317 | */ |
||
| 318 | private $pointInterval = 1; |
||
| 319 | |||
| 320 | /** |
||
| 321 | * Point interval unit. |
||
| 322 | * |
||
| 323 | * @var string |
||
| 324 | * @since 4.1.0 |
||
| 325 | */ |
||
| 326 | private $pointIntervalUnit; |
||
| 327 | |||
| 328 | /** |
||
| 329 | * Point padding. |
||
| 330 | * |
||
| 331 | * @var integer |
||
| 332 | */ |
||
| 333 | private $pointPadding = 0.1; |
||
| 334 | |||
| 335 | /** |
||
| 336 | * Point placement. |
||
| 337 | * |
||
| 338 | * @var string|integer |
||
| 339 | * @since 2.3.0 |
||
| 340 | */ |
||
| 341 | private $pointPlacement; |
||
| 342 | |||
| 343 | /** |
||
| 344 | * Point range. |
||
| 345 | * |
||
| 346 | * @var integer |
||
| 347 | * @since 2.3 |
||
| 348 | */ |
||
| 349 | private $pointRange; |
||
| 350 | |||
| 351 | /** |
||
| 352 | * Point start. |
||
| 353 | * |
||
| 354 | * @var integer |
||
| 355 | */ |
||
| 356 | private $pointStart = 0; |
||
| 357 | |||
| 358 | /** |
||
| 359 | * Point width. |
||
| 360 | * |
||
| 361 | * @var integer |
||
| 362 | * @since 1.2.5 |
||
| 363 | */ |
||
| 364 | private $pointWidth; |
||
| 365 | |||
| 366 | /** |
||
| 367 | * Selected. |
||
| 368 | * |
||
| 369 | * @var boolean |
||
| 370 | * @since 1.2.0 |
||
| 371 | */ |
||
| 372 | private $selected = false; |
||
| 373 | |||
| 374 | /** |
||
| 375 | * Shadow. |
||
| 376 | * |
||
| 377 | * @var boolean|array |
||
| 378 | */ |
||
| 379 | private $shadow = false; |
||
| 380 | |||
| 381 | /** |
||
| 382 | * Show checkbox. |
||
| 383 | * |
||
| 384 | * @var boolean |
||
| 385 | * @since 1.2.0 |
||
| 386 | */ |
||
| 387 | private $showCheckbox = false; |
||
| 388 | |||
| 389 | /** |
||
| 390 | * Show in legend. |
||
| 391 | * |
||
| 392 | * @var boolean |
||
| 393 | */ |
||
| 394 | private $showInLegend = true; |
||
| 395 | |||
| 396 | /** |
||
| 397 | * Skip keyboard navigation. |
||
| 398 | * |
||
| 399 | * @var boolean |
||
| 400 | * @since 5.0.12 |
||
| 401 | */ |
||
| 402 | private $skipKeyboardNavigation; |
||
| 403 | |||
| 404 | /** |
||
| 405 | * States. |
||
| 406 | * |
||
| 407 | * @var \WBW\Bundle\HighchartsBundle\API\Chart\Series\Columnrange\HighchartsStates |
||
| 408 | */ |
||
| 409 | private $states; |
||
| 410 | |||
| 411 | /** |
||
| 412 | * Sticky tracking. |
||
| 413 | * |
||
| 414 | * @var boolean |
||
| 415 | * @since 2.0 |
||
| 416 | */ |
||
| 417 | private $stickyTracking = true; |
||
| 418 | |||
| 419 | /** |
||
| 420 | * Tooltip. |
||
| 421 | * |
||
| 422 | * @var array |
||
| 423 | * @since 2.3 |
||
| 424 | */ |
||
| 425 | private $tooltip; |
||
| 426 | |||
| 427 | /** |
||
| 428 | * Turbo threshold. |
||
| 429 | * |
||
| 430 | * @var integer |
||
| 431 | * @since 2.2 |
||
| 432 | */ |
||
| 433 | private $turboThreshold = 1000; |
||
| 434 | |||
| 435 | /** |
||
| 436 | * Type. |
||
| 437 | * |
||
| 438 | * @var string |
||
| 439 | */ |
||
| 440 | private $type; |
||
| 441 | |||
| 442 | /** |
||
| 443 | * Visible. |
||
| 444 | * |
||
| 445 | * @var boolean |
||
| 446 | */ |
||
| 447 | private $visible = true; |
||
| 448 | |||
| 449 | /** |
||
| 450 | * X axis. |
||
| 451 | * |
||
| 452 | * @var integer|string |
||
| 453 | */ |
||
| 454 | private $xAxis = "0"; |
||
| 455 | |||
| 456 | /** |
||
| 457 | * Y axis. |
||
| 458 | * |
||
| 459 | * @var integer|string |
||
| 460 | */ |
||
| 461 | private $yAxis = "0"; |
||
| 462 | |||
| 463 | /** |
||
| 464 | * Z index. |
||
| 465 | * |
||
| 466 | * @var integer |
||
| 467 | */ |
||
| 468 | private $zIndex; |
||
| 469 | |||
| 470 | /** |
||
| 471 | * Zone axis. |
||
| 472 | * |
||
| 473 | * @var string |
||
| 474 | * @since 4.1.0 |
||
| 475 | */ |
||
| 476 | private $zoneAxis = "y"; |
||
| 477 | |||
| 478 | /** |
||
| 479 | * Zones. |
||
| 480 | * |
||
| 481 | * @var array |
||
| 482 | * @since 4.1.0 |
||
| 483 | */ |
||
| 484 | private $zones; |
||
| 485 | |||
| 486 | /** |
||
| 487 | * Constructor. |
||
| 488 | * |
||
| 489 | * @param boolean $ignoreDefaultValues Ignore the default values. |
||
| 490 | */ |
||
| 491 | public function __construct($ignoreDefaultValues = true) { |
||
| 492 | if (true === $ignoreDefaultValues) { |
||
| 493 | $this->clear(); |
||
| 494 | } |
||
| 495 | } |
||
| 496 | |||
| 497 | /** |
||
| 498 | * Clear. |
||
| 499 | * |
||
| 500 | * @return void |
||
| 501 | */ |
||
| 502 | public function clear() { |
||
| 503 | |||
| 504 | // Clear the allow point select. |
||
| 505 | $this->allowPointSelect = null; |
||
| 506 | |||
| 507 | // Clear the animation. |
||
| 508 | $this->animation = null; |
||
| 509 | |||
| 510 | // Clear the animation limit. |
||
| 511 | $this->animationLimit = null; |
||
| 512 | |||
| 513 | // Clear the border color. |
||
| 514 | $this->borderColor = null; |
||
| 515 | |||
| 516 | // Clear the border radius. |
||
| 517 | $this->borderRadius = null; |
||
| 518 | |||
| 519 | // Clear the border width. |
||
| 520 | $this->borderWidth = null; |
||
| 521 | |||
| 522 | // Clear the class name. |
||
| 523 | $this->className = null; |
||
| 524 | |||
| 525 | // Clear the color. |
||
| 526 | $this->color = null; |
||
| 527 | |||
| 528 | // Clear the color by point. |
||
| 529 | $this->colorByPoint = null; |
||
| 530 | |||
| 531 | // Clear the color index. |
||
| 532 | $this->colorIndex = null; |
||
| 533 | |||
| 534 | // Clear the colors. |
||
| 535 | $this->colors = null; |
||
|
0 ignored issues
–
show
|
|||
| 536 | |||
| 537 | // Clear the crisp. |
||
| 538 | $this->crisp = null; |
||
| 539 | |||
| 540 | // Clear the crop threshold. |
||
| 541 | $this->cropThreshold = null; |
||
| 542 | |||
| 543 | // Clear the cursor. |
||
| 544 | $this->cursor = null; |
||
| 545 | |||
| 546 | // Clear the data. |
||
| 547 | $this->data = null; |
||
|
0 ignored issues
–
show
It seems like
null of type null is incompatible with the declared type array of property $data.
Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property. Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property.. Loading history...
|
|||
| 548 | |||
| 549 | // Clear the data labels. |
||
| 550 | $this->dataLabels = null; |
||
|
0 ignored issues
–
show
It seems like
null of type null is incompatible with the declared type array of property $dataLabels.
Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property. Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property.. Loading history...
|
|||
| 551 | |||
| 552 | // Clear the depth. |
||
| 553 | $this->depth = null; |
||
| 554 | |||
| 555 | // Clear the description. |
||
| 556 | $this->description = null; |
||
| 557 | |||
| 558 | // Clear the edge color. |
||
| 559 | $this->edgeColor = null; |
||
| 560 | |||
| 561 | // Clear the edge width. |
||
| 562 | $this->edgeWidth = null; |
||
| 563 | |||
| 564 | // Clear the enable mouse tracking. |
||
| 565 | $this->enableMouseTracking = null; |
||
| 566 | |||
| 567 | // Clear the events. |
||
| 568 | if (null !== $this->events) { |
||
| 569 | $this->events->clear(); |
||
| 570 | } |
||
| 571 | |||
| 572 | // Clear the expose element to a11y. |
||
| 573 | $this->exposeElementToA11y = null; |
||
| 574 | |||
| 575 | // Clear the find nearest point by. |
||
| 576 | $this->findNearestPointBy = null; |
||
| 577 | |||
| 578 | // Clear the get extremes from all. |
||
| 579 | $this->getExtremesFromAll = null; |
||
| 580 | |||
| 581 | // Clear the group padding. |
||
| 582 | $this->groupPadding = null; |
||
| 583 | |||
| 584 | // Clear the group z padding. |
||
| 585 | $this->groupZPadding = null; |
||
| 586 | |||
| 587 | // Clear the grouping. |
||
| 588 | $this->grouping = null; |
||
| 589 | |||
| 590 | // Clear the id. |
||
| 591 | $this->id = null; |
||
| 592 | |||
| 593 | // Clear the index. |
||
| 594 | $this->index = null; |
||
| 595 | |||
| 596 | // Clear the keys. |
||
| 597 | $this->keys = null; |
||
|
0 ignored issues
–
show
It seems like
null of type null is incompatible with the declared type array of property $keys.
Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property. Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property.. Loading history...
|
|||
| 598 | |||
| 599 | // Clear the legend index. |
||
| 600 | $this->legendIndex = null; |
||
| 601 | |||
| 602 | // Clear the linked to. |
||
| 603 | $this->linkedTo = null; |
||
| 604 | |||
| 605 | // Clear the max point width. |
||
| 606 | $this->maxPointWidth = null; |
||
| 607 | |||
| 608 | // Clear the min point length. |
||
| 609 | $this->minPointLength = null; |
||
| 610 | |||
| 611 | // Clear the name. |
||
| 612 | $this->name = null; |
||
| 613 | |||
| 614 | // Clear the point. |
||
| 615 | if (null !== $this->point) { |
||
| 616 | $this->point->clear(); |
||
| 617 | } |
||
| 618 | |||
| 619 | // Clear the point description formatter. |
||
| 620 | $this->pointDescriptionFormatter = null; |
||
| 621 | |||
| 622 | // Clear the point interval. |
||
| 623 | $this->pointInterval = null; |
||
| 624 | |||
| 625 | // Clear the point interval unit. |
||
| 626 | $this->pointIntervalUnit = null; |
||
| 627 | |||
| 628 | // Clear the point padding. |
||
| 629 | $this->pointPadding = null; |
||
| 630 | |||
| 631 | // Clear the point placement. |
||
| 632 | $this->pointPlacement = null; |
||
| 633 | |||
| 634 | // Clear the point range. |
||
| 635 | $this->pointRange = null; |
||
| 636 | |||
| 637 | // Clear the point start. |
||
| 638 | $this->pointStart = null; |
||
| 639 | |||
| 640 | // Clear the point width. |
||
| 641 | $this->pointWidth = null; |
||
| 642 | |||
| 643 | // Clear the selected. |
||
| 644 | $this->selected = null; |
||
| 645 | |||
| 646 | // Clear the shadow. |
||
| 647 | $this->shadow = null; |
||
| 648 | |||
| 649 | // Clear the show checkbox. |
||
| 650 | $this->showCheckbox = null; |
||
| 651 | |||
| 652 | // Clear the show in legend. |
||
| 653 | $this->showInLegend = null; |
||
| 654 | |||
| 655 | // Clear the skip keyboard navigation. |
||
| 656 | $this->skipKeyboardNavigation = null; |
||
| 657 | |||
| 658 | // Clear the states. |
||
| 659 | if (null !== $this->states) { |
||
| 660 | $this->states->clear(); |
||
| 661 | } |
||
| 662 | |||
| 663 | // Clear the sticky tracking. |
||
| 664 | $this->stickyTracking = null; |
||
| 665 | |||
| 666 | // Clear the tooltip. |
||
| 667 | $this->tooltip = null; |
||
|
0 ignored issues
–
show
It seems like
null of type null is incompatible with the declared type array of property $tooltip.
Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property. Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property.. Loading history...
|
|||
| 668 | |||
| 669 | // Clear the turbo threshold. |
||
| 670 | $this->turboThreshold = null; |
||
| 671 | |||
| 672 | // Clear the type. |
||
| 673 | $this->type = null; |
||
| 674 | |||
| 675 | // Clear the visible. |
||
| 676 | $this->visible = null; |
||
| 677 | |||
| 678 | // Clear the x axis. |
||
| 679 | $this->xAxis = null; |
||
| 680 | |||
| 681 | // Clear the y axis. |
||
| 682 | $this->yAxis = null; |
||
| 683 | |||
| 684 | // Clear the z index. |
||
| 685 | $this->zIndex = null; |
||
| 686 | |||
| 687 | // Clear the zone axis. |
||
| 688 | $this->zoneAxis = null; |
||
| 689 | |||
| 690 | // Clear the zones. |
||
| 691 | $this->zones = null; |
||
|
0 ignored issues
–
show
It seems like
null of type null is incompatible with the declared type array of property $zones.
Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property. Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property.. Loading history...
|
|||
| 692 | } |
||
| 693 | |||
| 694 | /** |
||
| 695 | * Get the allow point select. |
||
| 696 | * |
||
| 697 | * @return boolean Returns the allow point select. |
||
| 698 | */ |
||
| 699 | public function getAllowPointSelect() { |
||
| 700 | return $this->allowPointSelect; |
||
| 701 | } |
||
| 702 | |||
| 703 | /** |
||
| 704 | * Get the animation. |
||
| 705 | * |
||
| 706 | * @return boolean Returns the animation. |
||
| 707 | */ |
||
| 708 | public function getAnimation() { |
||
| 709 | return $this->animation; |
||
| 710 | } |
||
| 711 | |||
| 712 | /** |
||
| 713 | * Get the animation limit. |
||
| 714 | * |
||
| 715 | * @return integer Returns the animation limit. |
||
| 716 | */ |
||
| 717 | public function getAnimationLimit() { |
||
| 718 | return $this->animationLimit; |
||
| 719 | } |
||
| 720 | |||
| 721 | /** |
||
| 722 | * Get the border color. |
||
| 723 | * |
||
| 724 | * @return string Returns the border color. |
||
| 725 | */ |
||
| 726 | public function getBorderColor() { |
||
| 727 | return $this->borderColor; |
||
| 728 | } |
||
| 729 | |||
| 730 | /** |
||
| 731 | * Get the border radius. |
||
| 732 | * |
||
| 733 | * @return integer Returns the border radius. |
||
| 734 | */ |
||
| 735 | public function getBorderRadius() { |
||
| 736 | return $this->borderRadius; |
||
| 737 | } |
||
| 738 | |||
| 739 | /** |
||
| 740 | * Get the border width. |
||
| 741 | * |
||
| 742 | * @return integer Returns the border width. |
||
| 743 | */ |
||
| 744 | public function getBorderWidth() { |
||
| 745 | return $this->borderWidth; |
||
| 746 | } |
||
| 747 | |||
| 748 | /** |
||
| 749 | * Get the class name. |
||
| 750 | * |
||
| 751 | * @return string Returns the class name. |
||
| 752 | */ |
||
| 753 | public function getClassName() { |
||
| 754 | return $this->className; |
||
| 755 | } |
||
| 756 | |||
| 757 | /** |
||
| 758 | * Get the color. |
||
| 759 | * |
||
| 760 | * @return string Returns the color. |
||
| 761 | */ |
||
| 762 | public function getColor() { |
||
| 763 | return $this->color; |
||
| 764 | } |
||
| 765 | |||
| 766 | /** |
||
| 767 | * Get the color by point. |
||
| 768 | * |
||
| 769 | * @return boolean Returns the color by point. |
||
| 770 | */ |
||
| 771 | public function getColorByPoint() { |
||
| 772 | return $this->colorByPoint; |
||
| 773 | } |
||
| 774 | |||
| 775 | /** |
||
| 776 | * Get the color index. |
||
| 777 | * |
||
| 778 | * @return integer Returns the color index. |
||
| 779 | */ |
||
| 780 | public function getColorIndex() { |
||
| 781 | return $this->colorIndex; |
||
| 782 | } |
||
| 783 | |||
| 784 | /** |
||
| 785 | * Get the colors. |
||
| 786 | * |
||
| 787 | * @return array Returns the colors. |
||
| 788 | */ |
||
| 789 | public function getColors() { |
||
| 790 | return $this->colors; |
||
| 791 | } |
||
| 792 | |||
| 793 | /** |
||
| 794 | * Get the crisp. |
||
| 795 | * |
||
| 796 | * @return boolean Returns the crisp. |
||
| 797 | */ |
||
| 798 | public function getCrisp() { |
||
| 799 | return $this->crisp; |
||
| 800 | } |
||
| 801 | |||
| 802 | /** |
||
| 803 | * Get the crop threshold. |
||
| 804 | * |
||
| 805 | * @return integer Returns the crop threshold. |
||
| 806 | */ |
||
| 807 | public function getCropThreshold() { |
||
| 808 | return $this->cropThreshold; |
||
| 809 | } |
||
| 810 | |||
| 811 | /** |
||
| 812 | * Get the cursor. |
||
| 813 | * |
||
| 814 | * @return string Returns the cursor. |
||
| 815 | */ |
||
| 816 | public function getCursor() { |
||
| 817 | return $this->cursor; |
||
| 818 | } |
||
| 819 | |||
| 820 | /** |
||
| 821 | * Get the data. |
||
| 822 | * |
||
| 823 | * @return array Returns the data. |
||
| 824 | */ |
||
| 825 | public function getData() { |
||
| 826 | return $this->data; |
||
| 827 | } |
||
| 828 | |||
| 829 | /** |
||
| 830 | * Get the data labels. |
||
| 831 | * |
||
| 832 | * @return array Returns the data labels. |
||
| 833 | */ |
||
| 834 | public function getDataLabels() { |
||
| 835 | return $this->dataLabels; |
||
| 836 | } |
||
| 837 | |||
| 838 | /** |
||
| 839 | * Get the depth. |
||
| 840 | * |
||
| 841 | * @return integer Returns the depth. |
||
| 842 | */ |
||
| 843 | public function getDepth() { |
||
| 844 | return $this->depth; |
||
| 845 | } |
||
| 846 | |||
| 847 | /** |
||
| 848 | * Get the description. |
||
| 849 | * |
||
| 850 | * @return string Returns the description. |
||
| 851 | */ |
||
| 852 | public function getDescription() { |
||
| 853 | return $this->description; |
||
| 854 | } |
||
| 855 | |||
| 856 | /** |
||
| 857 | * Get the edge color. |
||
| 858 | * |
||
| 859 | * @return string Returns the edge color. |
||
| 860 | */ |
||
| 861 | public function getEdgeColor() { |
||
| 862 | return $this->edgeColor; |
||
| 863 | } |
||
| 864 | |||
| 865 | /** |
||
| 866 | * Get the edge width. |
||
| 867 | * |
||
| 868 | * @return integer Returns the edge width. |
||
| 869 | */ |
||
| 870 | public function getEdgeWidth() { |
||
| 871 | return $this->edgeWidth; |
||
| 872 | } |
||
| 873 | |||
| 874 | /** |
||
| 875 | * Get the enable mouse tracking. |
||
| 876 | * |
||
| 877 | * @return boolean Returns the enable mouse tracking. |
||
| 878 | */ |
||
| 879 | public function getEnableMouseTracking() { |
||
| 880 | return $this->enableMouseTracking; |
||
| 881 | } |
||
| 882 | |||
| 883 | /** |
||
| 884 | * Get the events. |
||
| 885 | * |
||
| 886 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\Columnrange\HighchartsEvents Returns the events. |
||
| 887 | */ |
||
| 888 | public function getEvents() { |
||
| 889 | return $this->events; |
||
| 890 | } |
||
| 891 | |||
| 892 | /** |
||
| 893 | * Get the expose element to a11y. |
||
| 894 | * |
||
| 895 | * @return boolean Returns the expose element to a11y. |
||
| 896 | */ |
||
| 897 | public function getExposeElementToA11y() { |
||
| 898 | return $this->exposeElementToA11y; |
||
| 899 | } |
||
| 900 | |||
| 901 | /** |
||
| 902 | * Get the find nearest point by. |
||
| 903 | * |
||
| 904 | * @return string Returns the find nearest point by. |
||
| 905 | */ |
||
| 906 | public function getFindNearestPointBy() { |
||
| 907 | return $this->findNearestPointBy; |
||
| 908 | } |
||
| 909 | |||
| 910 | /** |
||
| 911 | * Get the get extremes from all. |
||
| 912 | * |
||
| 913 | * @return boolean Returns the get extremes from all. |
||
| 914 | */ |
||
| 915 | public function getGetExtremesFromAll() { |
||
| 916 | return $this->getExtremesFromAll; |
||
| 917 | } |
||
| 918 | |||
| 919 | /** |
||
| 920 | * Get the group padding. |
||
| 921 | * |
||
| 922 | * @return integer Returns the group padding. |
||
| 923 | */ |
||
| 924 | public function getGroupPadding() { |
||
| 925 | return $this->groupPadding; |
||
| 926 | } |
||
| 927 | |||
| 928 | /** |
||
| 929 | * Get the group z padding. |
||
| 930 | * |
||
| 931 | * @return integer Returns the group z padding. |
||
| 932 | */ |
||
| 933 | public function getGroupZPadding() { |
||
| 934 | return $this->groupZPadding; |
||
| 935 | } |
||
| 936 | |||
| 937 | /** |
||
| 938 | * Get the grouping. |
||
| 939 | * |
||
| 940 | * @return boolean Returns the grouping. |
||
| 941 | */ |
||
| 942 | public function getGrouping() { |
||
| 943 | return $this->grouping; |
||
| 944 | } |
||
| 945 | |||
| 946 | /** |
||
| 947 | * Get the id. |
||
| 948 | * |
||
| 949 | * @return string Returns the id. |
||
| 950 | */ |
||
| 951 | public function getId() { |
||
| 952 | return $this->id; |
||
| 953 | } |
||
| 954 | |||
| 955 | /** |
||
| 956 | * Get the index. |
||
| 957 | * |
||
| 958 | * @return integer Returns the index. |
||
| 959 | */ |
||
| 960 | public function getIndex() { |
||
| 961 | return $this->index; |
||
| 962 | } |
||
| 963 | |||
| 964 | /** |
||
| 965 | * Get the keys. |
||
| 966 | * |
||
| 967 | * @return array Returns the keys. |
||
| 968 | */ |
||
| 969 | public function getKeys() { |
||
| 970 | return $this->keys; |
||
| 971 | } |
||
| 972 | |||
| 973 | /** |
||
| 974 | * Get the legend index. |
||
| 975 | * |
||
| 976 | * @return integer Returns the legend index. |
||
| 977 | */ |
||
| 978 | public function getLegendIndex() { |
||
| 979 | return $this->legendIndex; |
||
| 980 | } |
||
| 981 | |||
| 982 | /** |
||
| 983 | * Get the linked to. |
||
| 984 | * |
||
| 985 | * @return string Returns the linked to. |
||
| 986 | */ |
||
| 987 | public function getLinkedTo() { |
||
| 988 | return $this->linkedTo; |
||
| 989 | } |
||
| 990 | |||
| 991 | /** |
||
| 992 | * Get the max point width. |
||
| 993 | * |
||
| 994 | * @return integer Returns the max point width. |
||
| 995 | */ |
||
| 996 | public function getMaxPointWidth() { |
||
| 997 | return $this->maxPointWidth; |
||
| 998 | } |
||
| 999 | |||
| 1000 | /** |
||
| 1001 | * Get the min point length. |
||
| 1002 | * |
||
| 1003 | * @return integer Returns the min point length. |
||
| 1004 | */ |
||
| 1005 | public function getMinPointLength() { |
||
| 1006 | return $this->minPointLength; |
||
| 1007 | } |
||
| 1008 | |||
| 1009 | /** |
||
| 1010 | * Get the name. |
||
| 1011 | * |
||
| 1012 | * @return string Returns the name. |
||
| 1013 | */ |
||
| 1014 | public function getName() { |
||
| 1015 | return $this->name; |
||
| 1016 | } |
||
| 1017 | |||
| 1018 | /** |
||
| 1019 | * Get the point. |
||
| 1020 | * |
||
| 1021 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\Columnrange\HighchartsPoint Returns the point. |
||
| 1022 | */ |
||
| 1023 | public function getPoint() { |
||
| 1024 | return $this->point; |
||
| 1025 | } |
||
| 1026 | |||
| 1027 | /** |
||
| 1028 | * Get the point description formatter. |
||
| 1029 | * |
||
| 1030 | * @return string Returns the point description formatter. |
||
| 1031 | */ |
||
| 1032 | public function getPointDescriptionFormatter() { |
||
| 1033 | return $this->pointDescriptionFormatter; |
||
| 1034 | } |
||
| 1035 | |||
| 1036 | /** |
||
| 1037 | * Get the point interval. |
||
| 1038 | * |
||
| 1039 | * @return integer Returns the point interval. |
||
| 1040 | */ |
||
| 1041 | public function getPointInterval() { |
||
| 1042 | return $this->pointInterval; |
||
| 1043 | } |
||
| 1044 | |||
| 1045 | /** |
||
| 1046 | * Get the point interval unit. |
||
| 1047 | * |
||
| 1048 | * @return string Returns the point interval unit. |
||
| 1049 | */ |
||
| 1050 | public function getPointIntervalUnit() { |
||
| 1051 | return $this->pointIntervalUnit; |
||
| 1052 | } |
||
| 1053 | |||
| 1054 | /** |
||
| 1055 | * Get the point padding. |
||
| 1056 | * |
||
| 1057 | * @return integer Returns the point padding. |
||
| 1058 | */ |
||
| 1059 | public function getPointPadding() { |
||
| 1060 | return $this->pointPadding; |
||
| 1061 | } |
||
| 1062 | |||
| 1063 | /** |
||
| 1064 | * Get the point placement. |
||
| 1065 | * |
||
| 1066 | * @return string|integer Returns the point placement. |
||
| 1067 | */ |
||
| 1068 | public function getPointPlacement() { |
||
| 1069 | return $this->pointPlacement; |
||
| 1070 | } |
||
| 1071 | |||
| 1072 | /** |
||
| 1073 | * Get the point range. |
||
| 1074 | * |
||
| 1075 | * @return integer Returns the point range. |
||
| 1076 | */ |
||
| 1077 | public function getPointRange() { |
||
| 1078 | return $this->pointRange; |
||
| 1079 | } |
||
| 1080 | |||
| 1081 | /** |
||
| 1082 | * Get the point start. |
||
| 1083 | * |
||
| 1084 | * @return integer Returns the point start. |
||
| 1085 | */ |
||
| 1086 | public function getPointStart() { |
||
| 1087 | return $this->pointStart; |
||
| 1088 | } |
||
| 1089 | |||
| 1090 | /** |
||
| 1091 | * Get the point width. |
||
| 1092 | * |
||
| 1093 | * @return integer Returns the point width. |
||
| 1094 | */ |
||
| 1095 | public function getPointWidth() { |
||
| 1096 | return $this->pointWidth; |
||
| 1097 | } |
||
| 1098 | |||
| 1099 | /** |
||
| 1100 | * Get the selected. |
||
| 1101 | * |
||
| 1102 | * @return boolean Returns the selected. |
||
| 1103 | */ |
||
| 1104 | public function getSelected() { |
||
| 1105 | return $this->selected; |
||
| 1106 | } |
||
| 1107 | |||
| 1108 | /** |
||
| 1109 | * Get the shadow. |
||
| 1110 | * |
||
| 1111 | * @return boolean|array Returns the shadow. |
||
| 1112 | */ |
||
| 1113 | public function getShadow() { |
||
| 1114 | return $this->shadow; |
||
| 1115 | } |
||
| 1116 | |||
| 1117 | /** |
||
| 1118 | * Get the show checkbox. |
||
| 1119 | * |
||
| 1120 | * @return boolean Returns the show checkbox. |
||
| 1121 | */ |
||
| 1122 | public function getShowCheckbox() { |
||
| 1123 | return $this->showCheckbox; |
||
| 1124 | } |
||
| 1125 | |||
| 1126 | /** |
||
| 1127 | * Get the show in legend. |
||
| 1128 | * |
||
| 1129 | * @return boolean Returns the show in legend. |
||
| 1130 | */ |
||
| 1131 | public function getShowInLegend() { |
||
| 1132 | return $this->showInLegend; |
||
| 1133 | } |
||
| 1134 | |||
| 1135 | /** |
||
| 1136 | * Get the skip keyboard navigation. |
||
| 1137 | * |
||
| 1138 | * @return boolean Returns the skip keyboard navigation. |
||
| 1139 | */ |
||
| 1140 | public function getSkipKeyboardNavigation() { |
||
| 1141 | return $this->skipKeyboardNavigation; |
||
| 1142 | } |
||
| 1143 | |||
| 1144 | /** |
||
| 1145 | * Get the states. |
||
| 1146 | * |
||
| 1147 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\Columnrange\HighchartsStates Returns the states. |
||
| 1148 | */ |
||
| 1149 | public function getStates() { |
||
| 1150 | return $this->states; |
||
| 1151 | } |
||
| 1152 | |||
| 1153 | /** |
||
| 1154 | * Get the sticky tracking. |
||
| 1155 | * |
||
| 1156 | * @return boolean Returns the sticky tracking. |
||
| 1157 | */ |
||
| 1158 | public function getStickyTracking() { |
||
| 1159 | return $this->stickyTracking; |
||
| 1160 | } |
||
| 1161 | |||
| 1162 | /** |
||
| 1163 | * Get the tooltip. |
||
| 1164 | * |
||
| 1165 | * @return array Returns the tooltip. |
||
| 1166 | */ |
||
| 1167 | public function getTooltip() { |
||
| 1168 | return $this->tooltip; |
||
| 1169 | } |
||
| 1170 | |||
| 1171 | /** |
||
| 1172 | * Get the turbo threshold. |
||
| 1173 | * |
||
| 1174 | * @return integer Returns the turbo threshold. |
||
| 1175 | */ |
||
| 1176 | public function getTurboThreshold() { |
||
| 1177 | return $this->turboThreshold; |
||
| 1178 | } |
||
| 1179 | |||
| 1180 | /** |
||
| 1181 | * Get the type. |
||
| 1182 | * |
||
| 1183 | * @return string Returns the type. |
||
| 1184 | */ |
||
| 1185 | public function getType() { |
||
| 1186 | return $this->type; |
||
| 1187 | } |
||
| 1188 | |||
| 1189 | /** |
||
| 1190 | * Get the visible. |
||
| 1191 | * |
||
| 1192 | * @return boolean Returns the visible. |
||
| 1193 | */ |
||
| 1194 | public function getVisible() { |
||
| 1195 | return $this->visible; |
||
| 1196 | } |
||
| 1197 | |||
| 1198 | /** |
||
| 1199 | * Get the x axis. |
||
| 1200 | * |
||
| 1201 | * @return integer|string Returns the x axis. |
||
| 1202 | */ |
||
| 1203 | public function getXAxis() { |
||
| 1204 | return $this->xAxis; |
||
| 1205 | } |
||
| 1206 | |||
| 1207 | /** |
||
| 1208 | * Get the y axis. |
||
| 1209 | * |
||
| 1210 | * @return integer|string Returns the y axis. |
||
| 1211 | */ |
||
| 1212 | public function getYAxis() { |
||
| 1213 | return $this->yAxis; |
||
| 1214 | } |
||
| 1215 | |||
| 1216 | /** |
||
| 1217 | * Get the z index. |
||
| 1218 | * |
||
| 1219 | * @return integer Returns the z index. |
||
| 1220 | */ |
||
| 1221 | public function getZIndex() { |
||
| 1222 | return $this->zIndex; |
||
| 1223 | } |
||
| 1224 | |||
| 1225 | /** |
||
| 1226 | * Get the zone axis. |
||
| 1227 | * |
||
| 1228 | * @return string Returns the zone axis. |
||
| 1229 | */ |
||
| 1230 | public function getZoneAxis() { |
||
| 1231 | return $this->zoneAxis; |
||
| 1232 | } |
||
| 1233 | |||
| 1234 | /** |
||
| 1235 | * Get the zones. |
||
| 1236 | * |
||
| 1237 | * @return array Returns the zones. |
||
| 1238 | */ |
||
| 1239 | public function getZones() { |
||
| 1240 | return $this->zones; |
||
| 1241 | } |
||
| 1242 | |||
| 1243 | /** |
||
| 1244 | * Serialize this instance. |
||
| 1245 | * |
||
| 1246 | * @return array Returns an array representing this instance. |
||
| 1247 | */ |
||
| 1248 | public function jsonSerialize() { |
||
| 1249 | return $this->toArray(); |
||
| 1250 | } |
||
| 1251 | |||
| 1252 | /** |
||
| 1253 | * Create a new events. |
||
| 1254 | * |
||
| 1255 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\Columnrange\HighchartsEvents Returns the events. |
||
| 1256 | */ |
||
| 1257 | public function newEvents() { |
||
| 1258 | $this->events = new \WBW\Bundle\HighchartsBundle\API\Chart\Series\Columnrange\HighchartsEvents(); |
||
| 1259 | return $this->events; |
||
| 1260 | } |
||
| 1261 | |||
| 1262 | /** |
||
| 1263 | * Create a new point. |
||
| 1264 | * |
||
| 1265 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\Columnrange\HighchartsPoint Returns the point. |
||
| 1266 | */ |
||
| 1267 | public function newPoint() { |
||
| 1268 | $this->point = new \WBW\Bundle\HighchartsBundle\API\Chart\Series\Columnrange\HighchartsPoint(); |
||
| 1269 | return $this->point; |
||
| 1270 | } |
||
| 1271 | |||
| 1272 | /** |
||
| 1273 | * Create a new states. |
||
| 1274 | * |
||
| 1275 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\Columnrange\HighchartsStates Returns the states. |
||
| 1276 | */ |
||
| 1277 | public function newStates() { |
||
| 1278 | $this->states = new \WBW\Bundle\HighchartsBundle\API\Chart\Series\Columnrange\HighchartsStates(); |
||
| 1279 | return $this->states; |
||
| 1280 | } |
||
| 1281 | |||
| 1282 | /** |
||
| 1283 | * Set the allow point select. |
||
| 1284 | * |
||
| 1285 | * @param boolean $allowPointSelect The allow point select. |
||
| 1286 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsColumnrange Returns the highcharts columnrange. |
||
| 1287 | */ |
||
| 1288 | public function setAllowPointSelect($allowPointSelect) { |
||
| 1289 | $this->allowPointSelect = $allowPointSelect; |
||
| 1290 | return $this; |
||
| 1291 | } |
||
| 1292 | |||
| 1293 | /** |
||
| 1294 | * Set the animation. |
||
| 1295 | * |
||
| 1296 | * @param boolean $animation The animation. |
||
| 1297 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsColumnrange Returns the highcharts columnrange. |
||
| 1298 | */ |
||
| 1299 | public function setAnimation($animation) { |
||
| 1300 | $this->animation = $animation; |
||
| 1301 | return $this; |
||
| 1302 | } |
||
| 1303 | |||
| 1304 | /** |
||
| 1305 | * Set the animation limit. |
||
| 1306 | * |
||
| 1307 | * @param integer $animationLimit The animation limit. |
||
| 1308 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsColumnrange Returns the highcharts columnrange. |
||
| 1309 | */ |
||
| 1310 | public function setAnimationLimit($animationLimit) { |
||
| 1311 | $this->animationLimit = $animationLimit; |
||
| 1312 | return $this; |
||
| 1313 | } |
||
| 1314 | |||
| 1315 | /** |
||
| 1316 | * Set the border color. |
||
| 1317 | * |
||
| 1318 | * @param string $borderColor The border color. |
||
| 1319 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsColumnrange Returns the highcharts columnrange. |
||
| 1320 | */ |
||
| 1321 | public function setBorderColor($borderColor) { |
||
| 1322 | $this->borderColor = $borderColor; |
||
| 1323 | return $this; |
||
| 1324 | } |
||
| 1325 | |||
| 1326 | /** |
||
| 1327 | * Set the border radius. |
||
| 1328 | * |
||
| 1329 | * @param integer $borderRadius The border radius. |
||
| 1330 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsColumnrange Returns the highcharts columnrange. |
||
| 1331 | */ |
||
| 1332 | public function setBorderRadius($borderRadius) { |
||
| 1333 | $this->borderRadius = $borderRadius; |
||
| 1334 | return $this; |
||
| 1335 | } |
||
| 1336 | |||
| 1337 | /** |
||
| 1338 | * Set the border width. |
||
| 1339 | * |
||
| 1340 | * @param integer $borderWidth The border width. |
||
| 1341 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsColumnrange Returns the highcharts columnrange. |
||
| 1342 | */ |
||
| 1343 | public function setBorderWidth($borderWidth) { |
||
| 1344 | $this->borderWidth = $borderWidth; |
||
| 1345 | return $this; |
||
| 1346 | } |
||
| 1347 | |||
| 1348 | /** |
||
| 1349 | * Set the class name. |
||
| 1350 | * |
||
| 1351 | * @param string $className The class name. |
||
| 1352 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsColumnrange Returns the highcharts columnrange. |
||
| 1353 | */ |
||
| 1354 | public function setClassName($className) { |
||
| 1355 | $this->className = $className; |
||
| 1356 | return $this; |
||
| 1357 | } |
||
| 1358 | |||
| 1359 | /** |
||
| 1360 | * Set the color. |
||
| 1361 | * |
||
| 1362 | * @param string $color The color. |
||
| 1363 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsColumnrange Returns the highcharts columnrange. |
||
| 1364 | */ |
||
| 1365 | public function setColor($color) { |
||
| 1366 | $this->color = $color; |
||
| 1367 | return $this; |
||
| 1368 | } |
||
| 1369 | |||
| 1370 | /** |
||
| 1371 | * Set the color by point. |
||
| 1372 | * |
||
| 1373 | * @param boolean $colorByPoint The color by point. |
||
| 1374 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsColumnrange Returns the highcharts columnrange. |
||
| 1375 | */ |
||
| 1376 | public function setColorByPoint($colorByPoint) { |
||
| 1377 | $this->colorByPoint = $colorByPoint; |
||
| 1378 | return $this; |
||
| 1379 | } |
||
| 1380 | |||
| 1381 | /** |
||
| 1382 | * Set the color index. |
||
| 1383 | * |
||
| 1384 | * @param integer $colorIndex The color index. |
||
| 1385 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsColumnrange Returns the highcharts columnrange. |
||
| 1386 | */ |
||
| 1387 | public function setColorIndex($colorIndex) { |
||
| 1388 | $this->colorIndex = $colorIndex; |
||
| 1389 | return $this; |
||
| 1390 | } |
||
| 1391 | |||
| 1392 | /** |
||
| 1393 | * Set the colors. |
||
| 1394 | * |
||
| 1395 | * @param array $colors The colors. |
||
| 1396 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsColumnrange Returns the highcharts columnrange. |
||
| 1397 | */ |
||
| 1398 | public function setColors(array $colors = null) { |
||
| 1399 | $this->colors = $colors; |
||
|
0 ignored issues
–
show
It seems like
$colors can be null. However, the property $colors is declared as array. Maybe change the type of the property to array|null or add a type check?
Our type inference engine has found an assignment of a scalar value (like a string, an integer or null) to a property which is an array. Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property. To type hint that a parameter can be either an array or null, you can set a type hint of array and a default value of null. The PHP interpreter will then accept both an array or null for that parameter. function aContainsB(array $needle = null, array $haystack) {
if (!$needle) {
return false;
}
return array_intersect($haystack, $needle) == $haystack;
}
The function can be called with either null or an array for the parameter Loading history...
|
|||
| 1400 | return $this; |
||
| 1401 | } |
||
| 1402 | |||
| 1403 | /** |
||
| 1404 | * Set the crisp. |
||
| 1405 | * |
||
| 1406 | * @param boolean $crisp The crisp. |
||
| 1407 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsColumnrange Returns the highcharts columnrange. |
||
| 1408 | */ |
||
| 1409 | public function setCrisp($crisp) { |
||
| 1410 | $this->crisp = $crisp; |
||
| 1411 | return $this; |
||
| 1412 | } |
||
| 1413 | |||
| 1414 | /** |
||
| 1415 | * Set the crop threshold. |
||
| 1416 | * |
||
| 1417 | * @param integer $cropThreshold The crop threshold. |
||
| 1418 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsColumnrange Returns the highcharts columnrange. |
||
| 1419 | */ |
||
| 1420 | public function setCropThreshold($cropThreshold) { |
||
| 1421 | $this->cropThreshold = $cropThreshold; |
||
| 1422 | return $this; |
||
| 1423 | } |
||
| 1424 | |||
| 1425 | /** |
||
| 1426 | * Set the cursor. |
||
| 1427 | * |
||
| 1428 | * @param string $cursor The cursor. |
||
| 1429 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsColumnrange Returns the highcharts columnrange. |
||
| 1430 | */ |
||
| 1431 | public function setCursor($cursor) { |
||
| 1432 | switch ($cursor) { |
||
| 1433 | case null: |
||
| 1434 | case "crosshair": |
||
| 1435 | case "default": |
||
| 1436 | case "help": |
||
| 1437 | case "none": |
||
| 1438 | case "pointer": |
||
| 1439 | $this->cursor = $cursor; |
||
| 1440 | break; |
||
| 1441 | } |
||
| 1442 | return $this; |
||
| 1443 | } |
||
| 1444 | |||
| 1445 | /** |
||
| 1446 | * Set the data. |
||
| 1447 | * |
||
| 1448 | * @param array $data The data. |
||
| 1449 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsColumnrange Returns the highcharts columnrange. |
||
| 1450 | */ |
||
| 1451 | public function setData(array $data = null) { |
||
| 1452 | $this->data = $data; |
||
|
0 ignored issues
–
show
It seems like
$data can be null. However, the property $data is declared as array. Maybe change the type of the property to array|null or add a type check?
Our type inference engine has found an assignment of a scalar value (like a string, an integer or null) to a property which is an array. Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property. To type hint that a parameter can be either an array or null, you can set a type hint of array and a default value of null. The PHP interpreter will then accept both an array or null for that parameter. function aContainsB(array $needle = null, array $haystack) {
if (!$needle) {
return false;
}
return array_intersect($haystack, $needle) == $haystack;
}
The function can be called with either null or an array for the parameter Loading history...
|
|||
| 1453 | return $this; |
||
| 1454 | } |
||
| 1455 | |||
| 1456 | /** |
||
| 1457 | * Set the data labels. |
||
| 1458 | * |
||
| 1459 | * @param array $dataLabels The data labels. |
||
| 1460 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsColumnrange Returns the highcharts columnrange. |
||
| 1461 | */ |
||
| 1462 | public function setDataLabels(array $dataLabels = null) { |
||
| 1463 | $this->dataLabels = $dataLabels; |
||
|
0 ignored issues
–
show
It seems like
$dataLabels can be null. However, the property $dataLabels is declared as array. Maybe change the type of the property to array|null or add a type check?
Our type inference engine has found an assignment of a scalar value (like a string, an integer or null) to a property which is an array. Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property. To type hint that a parameter can be either an array or null, you can set a type hint of array and a default value of null. The PHP interpreter will then accept both an array or null for that parameter. function aContainsB(array $needle = null, array $haystack) {
if (!$needle) {
return false;
}
return array_intersect($haystack, $needle) == $haystack;
}
The function can be called with either null or an array for the parameter Loading history...
|
|||
| 1464 | return $this; |
||
| 1465 | } |
||
| 1466 | |||
| 1467 | /** |
||
| 1468 | * Set the depth. |
||
| 1469 | * |
||
| 1470 | * @param integer $depth The depth. |
||
| 1471 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsColumnrange Returns the highcharts columnrange. |
||
| 1472 | */ |
||
| 1473 | public function setDepth($depth) { |
||
| 1474 | $this->depth = $depth; |
||
| 1475 | return $this; |
||
| 1476 | } |
||
| 1477 | |||
| 1478 | /** |
||
| 1479 | * Set the description. |
||
| 1480 | * |
||
| 1481 | * @param string $description The description. |
||
| 1482 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsColumnrange Returns the highcharts columnrange. |
||
| 1483 | */ |
||
| 1484 | public function setDescription($description) { |
||
| 1485 | $this->description = $description; |
||
| 1486 | return $this; |
||
| 1487 | } |
||
| 1488 | |||
| 1489 | /** |
||
| 1490 | * Set the edge color. |
||
| 1491 | * |
||
| 1492 | * @param string $edgeColor The edge color. |
||
| 1493 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsColumnrange Returns the highcharts columnrange. |
||
| 1494 | */ |
||
| 1495 | public function setEdgeColor($edgeColor) { |
||
| 1496 | $this->edgeColor = $edgeColor; |
||
| 1497 | return $this; |
||
| 1498 | } |
||
| 1499 | |||
| 1500 | /** |
||
| 1501 | * Set the edge width. |
||
| 1502 | * |
||
| 1503 | * @param integer $edgeWidth The edge width. |
||
| 1504 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsColumnrange Returns the highcharts columnrange. |
||
| 1505 | */ |
||
| 1506 | public function setEdgeWidth($edgeWidth) { |
||
| 1507 | $this->edgeWidth = $edgeWidth; |
||
| 1508 | return $this; |
||
| 1509 | } |
||
| 1510 | |||
| 1511 | /** |
||
| 1512 | * Set the enable mouse tracking. |
||
| 1513 | * |
||
| 1514 | * @param boolean $enableMouseTracking The enable mouse tracking. |
||
| 1515 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsColumnrange Returns the highcharts columnrange. |
||
| 1516 | */ |
||
| 1517 | public function setEnableMouseTracking($enableMouseTracking) { |
||
| 1518 | $this->enableMouseTracking = $enableMouseTracking; |
||
| 1519 | return $this; |
||
| 1520 | } |
||
| 1521 | |||
| 1522 | /** |
||
| 1523 | * Set the events. |
||
| 1524 | * |
||
| 1525 | * @param \WBW\Bundle\HighchartsBundle\API\Chart\Series\Columnrange\HighchartsEvents $events The events. |
||
| 1526 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsColumnrange Returns the highcharts columnrange. |
||
| 1527 | */ |
||
| 1528 | public function setEvents(\WBW\Bundle\HighchartsBundle\API\Chart\Series\Columnrange\HighchartsEvents $events = null) { |
||
| 1529 | $this->events = $events; |
||
| 1530 | return $this; |
||
| 1531 | } |
||
| 1532 | |||
| 1533 | /** |
||
| 1534 | * Set the expose element to a11y. |
||
| 1535 | * |
||
| 1536 | * @param boolean $exposeElementToA11y The expose element to a11y. |
||
| 1537 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsColumnrange Returns the highcharts columnrange. |
||
| 1538 | */ |
||
| 1539 | public function setExposeElementToA11y($exposeElementToA11y) { |
||
| 1540 | $this->exposeElementToA11y = $exposeElementToA11y; |
||
| 1541 | return $this; |
||
| 1542 | } |
||
| 1543 | |||
| 1544 | /** |
||
| 1545 | * Set the find nearest point by. |
||
| 1546 | * |
||
| 1547 | * @param string $findNearestPointBy The find nearest point by. |
||
| 1548 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsColumnrange Returns the highcharts columnrange. |
||
| 1549 | */ |
||
| 1550 | public function setFindNearestPointBy($findNearestPointBy) { |
||
| 1551 | switch ($findNearestPointBy) { |
||
| 1552 | case "x": |
||
| 1553 | case "xy": |
||
| 1554 | $this->findNearestPointBy = $findNearestPointBy; |
||
| 1555 | break; |
||
| 1556 | } |
||
| 1557 | return $this; |
||
| 1558 | } |
||
| 1559 | |||
| 1560 | /** |
||
| 1561 | * Set the get extremes from all. |
||
| 1562 | * |
||
| 1563 | * @param boolean $getExtremesFromAll The get extremes from all. |
||
| 1564 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsColumnrange Returns the highcharts columnrange. |
||
| 1565 | */ |
||
| 1566 | public function setGetExtremesFromAll($getExtremesFromAll) { |
||
| 1567 | $this->getExtremesFromAll = $getExtremesFromAll; |
||
| 1568 | return $this; |
||
| 1569 | } |
||
| 1570 | |||
| 1571 | /** |
||
| 1572 | * Set the group padding. |
||
| 1573 | * |
||
| 1574 | * @param integer $groupPadding The group padding. |
||
| 1575 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsColumnrange Returns the highcharts columnrange. |
||
| 1576 | */ |
||
| 1577 | public function setGroupPadding($groupPadding) { |
||
| 1578 | $this->groupPadding = $groupPadding; |
||
| 1579 | return $this; |
||
| 1580 | } |
||
| 1581 | |||
| 1582 | /** |
||
| 1583 | * Set the group z padding. |
||
| 1584 | * |
||
| 1585 | * @param integer $groupZPadding The group z padding. |
||
| 1586 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsColumnrange Returns the highcharts columnrange. |
||
| 1587 | */ |
||
| 1588 | public function setGroupZPadding($groupZPadding) { |
||
| 1589 | $this->groupZPadding = $groupZPadding; |
||
| 1590 | return $this; |
||
| 1591 | } |
||
| 1592 | |||
| 1593 | /** |
||
| 1594 | * Set the grouping. |
||
| 1595 | * |
||
| 1596 | * @param boolean $grouping The grouping. |
||
| 1597 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsColumnrange Returns the highcharts columnrange. |
||
| 1598 | */ |
||
| 1599 | public function setGrouping($grouping) { |
||
| 1600 | $this->grouping = $grouping; |
||
| 1601 | return $this; |
||
| 1602 | } |
||
| 1603 | |||
| 1604 | /** |
||
| 1605 | * Set the id. |
||
| 1606 | * |
||
| 1607 | * @param string $id The id. |
||
| 1608 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsColumnrange Returns the highcharts columnrange. |
||
| 1609 | */ |
||
| 1610 | public function setId($id) { |
||
| 1611 | $this->id = $id; |
||
| 1612 | return $this; |
||
| 1613 | } |
||
| 1614 | |||
| 1615 | /** |
||
| 1616 | * Set the index. |
||
| 1617 | * |
||
| 1618 | * @param integer $index The index. |
||
| 1619 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsColumnrange Returns the highcharts columnrange. |
||
| 1620 | */ |
||
| 1621 | public function setIndex($index) { |
||
| 1622 | $this->index = $index; |
||
| 1623 | return $this; |
||
| 1624 | } |
||
| 1625 | |||
| 1626 | /** |
||
| 1627 | * Set the keys. |
||
| 1628 | * |
||
| 1629 | * @param array $keys The keys. |
||
| 1630 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsColumnrange Returns the highcharts columnrange. |
||
| 1631 | */ |
||
| 1632 | public function setKeys(array $keys = null) { |
||
| 1633 | $this->keys = $keys; |
||
|
0 ignored issues
–
show
It seems like
$keys can be null. However, the property $keys is declared as array. Maybe change the type of the property to array|null or add a type check?
Our type inference engine has found an assignment of a scalar value (like a string, an integer or null) to a property which is an array. Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property. To type hint that a parameter can be either an array or null, you can set a type hint of array and a default value of null. The PHP interpreter will then accept both an array or null for that parameter. function aContainsB(array $needle = null, array $haystack) {
if (!$needle) {
return false;
}
return array_intersect($haystack, $needle) == $haystack;
}
The function can be called with either null or an array for the parameter Loading history...
|
|||
| 1634 | return $this; |
||
| 1635 | } |
||
| 1636 | |||
| 1637 | /** |
||
| 1638 | * Set the legend index. |
||
| 1639 | * |
||
| 1640 | * @param integer $legendIndex The legend index. |
||
| 1641 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsColumnrange Returns the highcharts columnrange. |
||
| 1642 | */ |
||
| 1643 | public function setLegendIndex($legendIndex) { |
||
| 1644 | $this->legendIndex = $legendIndex; |
||
| 1645 | return $this; |
||
| 1646 | } |
||
| 1647 | |||
| 1648 | /** |
||
| 1649 | * Set the linked to. |
||
| 1650 | * |
||
| 1651 | * @param string $linkedTo The linked to. |
||
| 1652 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsColumnrange Returns the highcharts columnrange. |
||
| 1653 | */ |
||
| 1654 | public function setLinkedTo($linkedTo) { |
||
| 1655 | $this->linkedTo = $linkedTo; |
||
| 1656 | return $this; |
||
| 1657 | } |
||
| 1658 | |||
| 1659 | /** |
||
| 1660 | * Set the max point width. |
||
| 1661 | * |
||
| 1662 | * @param integer $maxPointWidth The max point width. |
||
| 1663 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsColumnrange Returns the highcharts columnrange. |
||
| 1664 | */ |
||
| 1665 | public function setMaxPointWidth($maxPointWidth) { |
||
| 1666 | $this->maxPointWidth = $maxPointWidth; |
||
| 1667 | return $this; |
||
| 1668 | } |
||
| 1669 | |||
| 1670 | /** |
||
| 1671 | * Set the min point length. |
||
| 1672 | * |
||
| 1673 | * @param integer $minPointLength The min point length. |
||
| 1674 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsColumnrange Returns the highcharts columnrange. |
||
| 1675 | */ |
||
| 1676 | public function setMinPointLength($minPointLength) { |
||
| 1677 | $this->minPointLength = $minPointLength; |
||
| 1678 | return $this; |
||
| 1679 | } |
||
| 1680 | |||
| 1681 | /** |
||
| 1682 | * Set the name. |
||
| 1683 | * |
||
| 1684 | * @param string $name The name. |
||
| 1685 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsColumnrange Returns the highcharts columnrange. |
||
| 1686 | */ |
||
| 1687 | public function setName($name) { |
||
| 1688 | $this->name = $name; |
||
| 1689 | return $this; |
||
| 1690 | } |
||
| 1691 | |||
| 1692 | /** |
||
| 1693 | * Set the point. |
||
| 1694 | * |
||
| 1695 | * @param \WBW\Bundle\HighchartsBundle\API\Chart\Series\Columnrange\HighchartsPoint $point The point. |
||
| 1696 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsColumnrange Returns the highcharts columnrange. |
||
| 1697 | */ |
||
| 1698 | public function setPoint(\WBW\Bundle\HighchartsBundle\API\Chart\Series\Columnrange\HighchartsPoint $point = null) { |
||
| 1699 | $this->point = $point; |
||
| 1700 | return $this; |
||
| 1701 | } |
||
| 1702 | |||
| 1703 | /** |
||
| 1704 | * Set the point description formatter. |
||
| 1705 | * |
||
| 1706 | * @param string $pointDescriptionFormatter The point description formatter. |
||
| 1707 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsColumnrange Returns the highcharts columnrange. |
||
| 1708 | */ |
||
| 1709 | public function setPointDescriptionFormatter($pointDescriptionFormatter) { |
||
| 1710 | $this->pointDescriptionFormatter = $pointDescriptionFormatter; |
||
| 1711 | return $this; |
||
| 1712 | } |
||
| 1713 | |||
| 1714 | /** |
||
| 1715 | * Set the point interval. |
||
| 1716 | * |
||
| 1717 | * @param integer $pointInterval The point interval. |
||
| 1718 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsColumnrange Returns the highcharts columnrange. |
||
| 1719 | */ |
||
| 1720 | public function setPointInterval($pointInterval) { |
||
| 1721 | $this->pointInterval = $pointInterval; |
||
| 1722 | return $this; |
||
| 1723 | } |
||
| 1724 | |||
| 1725 | /** |
||
| 1726 | * Set the point interval unit. |
||
| 1727 | * |
||
| 1728 | * @param string $pointIntervalUnit The point interval unit. |
||
| 1729 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsColumnrange Returns the highcharts columnrange. |
||
| 1730 | */ |
||
| 1731 | public function setPointIntervalUnit($pointIntervalUnit) { |
||
| 1732 | switch ($pointIntervalUnit) { |
||
| 1733 | case null: |
||
| 1734 | case "day": |
||
| 1735 | case "month": |
||
| 1736 | case "year": |
||
| 1737 | $this->pointIntervalUnit = $pointIntervalUnit; |
||
| 1738 | break; |
||
| 1739 | } |
||
| 1740 | return $this; |
||
| 1741 | } |
||
| 1742 | |||
| 1743 | /** |
||
| 1744 | * Set the point padding. |
||
| 1745 | * |
||
| 1746 | * @param integer $pointPadding The point padding. |
||
| 1747 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsColumnrange Returns the highcharts columnrange. |
||
| 1748 | */ |
||
| 1749 | public function setPointPadding($pointPadding) { |
||
| 1750 | $this->pointPadding = $pointPadding; |
||
| 1751 | return $this; |
||
| 1752 | } |
||
| 1753 | |||
| 1754 | /** |
||
| 1755 | * Set the point placement. |
||
| 1756 | * |
||
| 1757 | * @param string|integer $pointPlacement The point placement. |
||
| 1758 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsColumnrange Returns the highcharts columnrange. |
||
| 1759 | */ |
||
| 1760 | public function setPointPlacement($pointPlacement) { |
||
| 1761 | switch ($pointPlacement) { |
||
| 1762 | case null: |
||
| 1763 | case "between": |
||
| 1764 | case "on": |
||
| 1765 | $this->pointPlacement = $pointPlacement; |
||
| 1766 | break; |
||
| 1767 | } |
||
| 1768 | return $this; |
||
| 1769 | } |
||
| 1770 | |||
| 1771 | /** |
||
| 1772 | * Set the point range. |
||
| 1773 | * |
||
| 1774 | * @param integer $pointRange The point range. |
||
| 1775 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsColumnrange Returns the highcharts columnrange. |
||
| 1776 | */ |
||
| 1777 | public function setPointRange($pointRange) { |
||
| 1778 | $this->pointRange = $pointRange; |
||
| 1779 | return $this; |
||
| 1780 | } |
||
| 1781 | |||
| 1782 | /** |
||
| 1783 | * Set the point start. |
||
| 1784 | * |
||
| 1785 | * @param integer $pointStart The point start. |
||
| 1786 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsColumnrange Returns the highcharts columnrange. |
||
| 1787 | */ |
||
| 1788 | public function setPointStart($pointStart) { |
||
| 1789 | $this->pointStart = $pointStart; |
||
| 1790 | return $this; |
||
| 1791 | } |
||
| 1792 | |||
| 1793 | /** |
||
| 1794 | * Set the point width. |
||
| 1795 | * |
||
| 1796 | * @param integer $pointWidth The point width. |
||
| 1797 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsColumnrange Returns the highcharts columnrange. |
||
| 1798 | */ |
||
| 1799 | public function setPointWidth($pointWidth) { |
||
| 1800 | $this->pointWidth = $pointWidth; |
||
| 1801 | return $this; |
||
| 1802 | } |
||
| 1803 | |||
| 1804 | /** |
||
| 1805 | * Set the selected. |
||
| 1806 | * |
||
| 1807 | * @param boolean $selected The selected. |
||
| 1808 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsColumnrange Returns the highcharts columnrange. |
||
| 1809 | */ |
||
| 1810 | public function setSelected($selected) { |
||
| 1811 | $this->selected = $selected; |
||
| 1812 | return $this; |
||
| 1813 | } |
||
| 1814 | |||
| 1815 | /** |
||
| 1816 | * Set the shadow. |
||
| 1817 | * |
||
| 1818 | * @param boolean|array $shadow The shadow. |
||
| 1819 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsColumnrange Returns the highcharts columnrange. |
||
| 1820 | */ |
||
| 1821 | public function setShadow($shadow) { |
||
| 1822 | $this->shadow = $shadow; |
||
| 1823 | return $this; |
||
| 1824 | } |
||
| 1825 | |||
| 1826 | /** |
||
| 1827 | * Set the show checkbox. |
||
| 1828 | * |
||
| 1829 | * @param boolean $showCheckbox The show checkbox. |
||
| 1830 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsColumnrange Returns the highcharts columnrange. |
||
| 1831 | */ |
||
| 1832 | public function setShowCheckbox($showCheckbox) { |
||
| 1833 | $this->showCheckbox = $showCheckbox; |
||
| 1834 | return $this; |
||
| 1835 | } |
||
| 1836 | |||
| 1837 | /** |
||
| 1838 | * Set the show in legend. |
||
| 1839 | * |
||
| 1840 | * @param boolean $showInLegend The show in legend. |
||
| 1841 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsColumnrange Returns the highcharts columnrange. |
||
| 1842 | */ |
||
| 1843 | public function setShowInLegend($showInLegend) { |
||
| 1844 | $this->showInLegend = $showInLegend; |
||
| 1845 | return $this; |
||
| 1846 | } |
||
| 1847 | |||
| 1848 | /** |
||
| 1849 | * Set the skip keyboard navigation. |
||
| 1850 | * |
||
| 1851 | * @param boolean $skipKeyboardNavigation The skip keyboard navigation. |
||
| 1852 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsColumnrange Returns the highcharts columnrange. |
||
| 1853 | */ |
||
| 1854 | public function setSkipKeyboardNavigation($skipKeyboardNavigation) { |
||
| 1855 | $this->skipKeyboardNavigation = $skipKeyboardNavigation; |
||
| 1856 | return $this; |
||
| 1857 | } |
||
| 1858 | |||
| 1859 | /** |
||
| 1860 | * Set the states. |
||
| 1861 | * |
||
| 1862 | * @param \WBW\Bundle\HighchartsBundle\API\Chart\Series\Columnrange\HighchartsStates $states The states. |
||
| 1863 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsColumnrange Returns the highcharts columnrange. |
||
| 1864 | */ |
||
| 1865 | public function setStates(\WBW\Bundle\HighchartsBundle\API\Chart\Series\Columnrange\HighchartsStates $states = null) { |
||
| 1866 | $this->states = $states; |
||
| 1867 | return $this; |
||
| 1868 | } |
||
| 1869 | |||
| 1870 | /** |
||
| 1871 | * Set the sticky tracking. |
||
| 1872 | * |
||
| 1873 | * @param boolean $stickyTracking The sticky tracking. |
||
| 1874 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsColumnrange Returns the highcharts columnrange. |
||
| 1875 | */ |
||
| 1876 | public function setStickyTracking($stickyTracking) { |
||
| 1877 | $this->stickyTracking = $stickyTracking; |
||
| 1878 | return $this; |
||
| 1879 | } |
||
| 1880 | |||
| 1881 | /** |
||
| 1882 | * Set the tooltip. |
||
| 1883 | * |
||
| 1884 | * @param array $tooltip The tooltip. |
||
| 1885 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsColumnrange Returns the highcharts columnrange. |
||
| 1886 | */ |
||
| 1887 | public function setTooltip(array $tooltip = null) { |
||
| 1888 | $this->tooltip = $tooltip; |
||
|
0 ignored issues
–
show
It seems like
$tooltip can be null. However, the property $tooltip is declared as array. Maybe change the type of the property to array|null or add a type check?
Our type inference engine has found an assignment of a scalar value (like a string, an integer or null) to a property which is an array. Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property. To type hint that a parameter can be either an array or null, you can set a type hint of array and a default value of null. The PHP interpreter will then accept both an array or null for that parameter. function aContainsB(array $needle = null, array $haystack) {
if (!$needle) {
return false;
}
return array_intersect($haystack, $needle) == $haystack;
}
The function can be called with either null or an array for the parameter Loading history...
|
|||
| 1889 | return $this; |
||
| 1890 | } |
||
| 1891 | |||
| 1892 | /** |
||
| 1893 | * Set the turbo threshold. |
||
| 1894 | * |
||
| 1895 | * @param integer $turboThreshold The turbo threshold. |
||
| 1896 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsColumnrange Returns the highcharts columnrange. |
||
| 1897 | */ |
||
| 1898 | public function setTurboThreshold($turboThreshold) { |
||
| 1899 | $this->turboThreshold = $turboThreshold; |
||
| 1900 | return $this; |
||
| 1901 | } |
||
| 1902 | |||
| 1903 | /** |
||
| 1904 | * Set the type. |
||
| 1905 | * |
||
| 1906 | * @param string $type The type. |
||
| 1907 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsColumnrange Returns the highcharts columnrange. |
||
| 1908 | */ |
||
| 1909 | public function setType($type) { |
||
| 1910 | switch ($type) { |
||
| 1911 | case null: |
||
| 1912 | case "area": |
||
| 1913 | case "arearange": |
||
| 1914 | case "areaspline": |
||
| 1915 | case "areasplinerange": |
||
| 1916 | case "boxplot": |
||
| 1917 | case "bubble": |
||
| 1918 | case "column": |
||
| 1919 | case "columnrange": |
||
| 1920 | case "errorbar": |
||
| 1921 | case "funnel": |
||
| 1922 | case "gauge": |
||
| 1923 | case "line": |
||
| 1924 | case "pie": |
||
| 1925 | case "scatter": |
||
| 1926 | case "spline": |
||
| 1927 | case "waterfall": |
||
| 1928 | $this->type = $type; |
||
| 1929 | break; |
||
| 1930 | } |
||
| 1931 | return $this; |
||
| 1932 | } |
||
| 1933 | |||
| 1934 | /** |
||
| 1935 | * Set the visible. |
||
| 1936 | * |
||
| 1937 | * @param boolean $visible The visible. |
||
| 1938 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsColumnrange Returns the highcharts columnrange. |
||
| 1939 | */ |
||
| 1940 | public function setVisible($visible) { |
||
| 1941 | $this->visible = $visible; |
||
| 1942 | return $this; |
||
| 1943 | } |
||
| 1944 | |||
| 1945 | /** |
||
| 1946 | * Set the x axis. |
||
| 1947 | * |
||
| 1948 | * @param integer|string $xAxis The x axis. |
||
| 1949 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsColumnrange Returns the highcharts columnrange. |
||
| 1950 | */ |
||
| 1951 | public function setXAxis($xAxis) { |
||
| 1952 | $this->xAxis = $xAxis; |
||
| 1953 | return $this; |
||
| 1954 | } |
||
| 1955 | |||
| 1956 | /** |
||
| 1957 | * Set the y axis. |
||
| 1958 | * |
||
| 1959 | * @param integer|string $yAxis The y axis. |
||
| 1960 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsColumnrange Returns the highcharts columnrange. |
||
| 1961 | */ |
||
| 1962 | public function setYAxis($yAxis) { |
||
| 1963 | $this->yAxis = $yAxis; |
||
| 1964 | return $this; |
||
| 1965 | } |
||
| 1966 | |||
| 1967 | /** |
||
| 1968 | * Set the z index. |
||
| 1969 | * |
||
| 1970 | * @param integer $zIndex The z index. |
||
| 1971 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsColumnrange Returns the highcharts columnrange. |
||
| 1972 | */ |
||
| 1973 | public function setZIndex($zIndex) { |
||
| 1974 | $this->zIndex = $zIndex; |
||
| 1975 | return $this; |
||
| 1976 | } |
||
| 1977 | |||
| 1978 | /** |
||
| 1979 | * Set the zone axis. |
||
| 1980 | * |
||
| 1981 | * @param string $zoneAxis The zone axis. |
||
| 1982 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsColumnrange Returns the highcharts columnrange. |
||
| 1983 | */ |
||
| 1984 | public function setZoneAxis($zoneAxis) { |
||
| 1985 | $this->zoneAxis = $zoneAxis; |
||
| 1986 | return $this; |
||
| 1987 | } |
||
| 1988 | |||
| 1989 | /** |
||
| 1990 | * Set the zones. |
||
| 1991 | * |
||
| 1992 | * @param array $zones The zones. |
||
| 1993 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsColumnrange Returns the highcharts columnrange. |
||
| 1994 | */ |
||
| 1995 | public function setZones(array $zones = null) { |
||
| 1996 | $this->zones = $zones; |
||
|
0 ignored issues
–
show
It seems like
$zones can be null. However, the property $zones is declared as array. Maybe change the type of the property to array|null or add a type check?
Our type inference engine has found an assignment of a scalar value (like a string, an integer or null) to a property which is an array. Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property. To type hint that a parameter can be either an array or null, you can set a type hint of array and a default value of null. The PHP interpreter will then accept both an array or null for that parameter. function aContainsB(array $needle = null, array $haystack) {
if (!$needle) {
return false;
}
return array_intersect($haystack, $needle) == $haystack;
}
The function can be called with either null or an array for the parameter Loading history...
|
|||
| 1997 | return $this; |
||
| 1998 | } |
||
| 1999 | |||
| 2000 | /** |
||
| 2001 | * Convert into an array representing this instance. |
||
| 2002 | * |
||
| 2003 | * @return array Returns an array representing this instance. |
||
| 2004 | */ |
||
| 2005 | public function toArray() { |
||
| 2006 | |||
| 2007 | // Initialize the output. |
||
| 2008 | $output = []; |
||
| 2009 | |||
| 2010 | // Set the allow point select. |
||
| 2011 | ArrayUtility::set($output, "allowPointSelect", $this->allowPointSelect, [null]); |
||
| 2012 | |||
| 2013 | // Set the animation. |
||
| 2014 | ArrayUtility::set($output, "animation", $this->animation, [null]); |
||
| 2015 | |||
| 2016 | // Set the animation limit. |
||
| 2017 | ArrayUtility::set($output, "animationLimit", $this->animationLimit, [null]); |
||
| 2018 | |||
| 2019 | // Set the border color. |
||
| 2020 | ArrayUtility::set($output, "borderColor", $this->borderColor, [null]); |
||
| 2021 | |||
| 2022 | // Set the border radius. |
||
| 2023 | ArrayUtility::set($output, "borderRadius", $this->borderRadius, [null]); |
||
| 2024 | |||
| 2025 | // Set the border width. |
||
| 2026 | ArrayUtility::set($output, "borderWidth", $this->borderWidth, [null]); |
||
| 2027 | |||
| 2028 | // Set the class name. |
||
| 2029 | ArrayUtility::set($output, "className", $this->className, [null]); |
||
| 2030 | |||
| 2031 | // Set the color. |
||
| 2032 | ArrayUtility::set($output, "color", $this->color, [null]); |
||
| 2033 | |||
| 2034 | // Set the color by point. |
||
| 2035 | ArrayUtility::set($output, "colorByPoint", $this->colorByPoint, [null]); |
||
| 2036 | |||
| 2037 | // Set the color index. |
||
| 2038 | ArrayUtility::set($output, "colorIndex", $this->colorIndex, [null]); |
||
| 2039 | |||
| 2040 | // Set the colors. |
||
| 2041 | ArrayUtility::set($output, "colors", $this->colors, [null]); |
||
| 2042 | |||
| 2043 | // Set the crisp. |
||
| 2044 | ArrayUtility::set($output, "crisp", $this->crisp, [null]); |
||
| 2045 | |||
| 2046 | // Set the crop threshold. |
||
| 2047 | ArrayUtility::set($output, "cropThreshold", $this->cropThreshold, [null]); |
||
| 2048 | |||
| 2049 | // Set the cursor. |
||
| 2050 | ArrayUtility::set($output, "cursor", $this->cursor, [null]); |
||
| 2051 | |||
| 2052 | // Set the data. |
||
| 2053 | ArrayUtility::set($output, "data", $this->data, [null]); |
||
| 2054 | |||
| 2055 | // Set the data labels. |
||
| 2056 | ArrayUtility::set($output, "dataLabels", $this->dataLabels, [null]); |
||
| 2057 | |||
| 2058 | // Set the depth. |
||
| 2059 | ArrayUtility::set($output, "depth", $this->depth, [null]); |
||
| 2060 | |||
| 2061 | // Set the description. |
||
| 2062 | ArrayUtility::set($output, "description", $this->description, [null]); |
||
| 2063 | |||
| 2064 | // Set the edge color. |
||
| 2065 | ArrayUtility::set($output, "edgeColor", $this->edgeColor, [null]); |
||
| 2066 | |||
| 2067 | // Set the edge width. |
||
| 2068 | ArrayUtility::set($output, "edgeWidth", $this->edgeWidth, [null]); |
||
| 2069 | |||
| 2070 | // Set the enable mouse tracking. |
||
| 2071 | ArrayUtility::set($output, "enableMouseTracking", $this->enableMouseTracking, [null]); |
||
| 2072 | |||
| 2073 | // Set the events. |
||
| 2074 | if (null !== $this->events) { |
||
| 2075 | ArrayUtility::set($output, "events", $this->events->toArray(), []); |
||
| 2076 | } |
||
| 2077 | |||
| 2078 | // Set the expose element to a11y. |
||
| 2079 | ArrayUtility::set($output, "exposeElementToA11y", $this->exposeElementToA11y, [null]); |
||
| 2080 | |||
| 2081 | // Set the find nearest point by. |
||
| 2082 | ArrayUtility::set($output, "findNearestPointBy", $this->findNearestPointBy, [null]); |
||
| 2083 | |||
| 2084 | // Set the get extremes from all. |
||
| 2085 | ArrayUtility::set($output, "getExtremesFromAll", $this->getExtremesFromAll, [null]); |
||
| 2086 | |||
| 2087 | // Set the group padding. |
||
| 2088 | ArrayUtility::set($output, "groupPadding", $this->groupPadding, [null]); |
||
| 2089 | |||
| 2090 | // Set the group z padding. |
||
| 2091 | ArrayUtility::set($output, "groupZPadding", $this->groupZPadding, [null]); |
||
| 2092 | |||
| 2093 | // Set the grouping. |
||
| 2094 | ArrayUtility::set($output, "grouping", $this->grouping, [null]); |
||
| 2095 | |||
| 2096 | // Set the id. |
||
| 2097 | ArrayUtility::set($output, "id", $this->id, [null]); |
||
| 2098 | |||
| 2099 | // Set the index. |
||
| 2100 | ArrayUtility::set($output, "index", $this->index, [null]); |
||
| 2101 | |||
| 2102 | // Set the keys. |
||
| 2103 | ArrayUtility::set($output, "keys", $this->keys, [null]); |
||
| 2104 | |||
| 2105 | // Set the legend index. |
||
| 2106 | ArrayUtility::set($output, "legendIndex", $this->legendIndex, [null]); |
||
| 2107 | |||
| 2108 | // Set the linked to. |
||
| 2109 | ArrayUtility::set($output, "linkedTo", $this->linkedTo, [null]); |
||
| 2110 | |||
| 2111 | // Set the max point width. |
||
| 2112 | ArrayUtility::set($output, "maxPointWidth", $this->maxPointWidth, [null]); |
||
| 2113 | |||
| 2114 | // Set the min point length. |
||
| 2115 | ArrayUtility::set($output, "minPointLength", $this->minPointLength, [null]); |
||
| 2116 | |||
| 2117 | // Set the name. |
||
| 2118 | ArrayUtility::set($output, "name", $this->name, [null]); |
||
| 2119 | |||
| 2120 | // Set the point. |
||
| 2121 | if (null !== $this->point) { |
||
| 2122 | ArrayUtility::set($output, "point", $this->point->toArray(), []); |
||
| 2123 | } |
||
| 2124 | |||
| 2125 | // Set the point description formatter. |
||
| 2126 | ArrayUtility::set($output, "pointDescriptionFormatter", $this->pointDescriptionFormatter, [null]); |
||
| 2127 | |||
| 2128 | // Set the point interval. |
||
| 2129 | ArrayUtility::set($output, "pointInterval", $this->pointInterval, [null]); |
||
| 2130 | |||
| 2131 | // Set the point interval unit. |
||
| 2132 | ArrayUtility::set($output, "pointIntervalUnit", $this->pointIntervalUnit, [null]); |
||
| 2133 | |||
| 2134 | // Set the point padding. |
||
| 2135 | ArrayUtility::set($output, "pointPadding", $this->pointPadding, [null]); |
||
| 2136 | |||
| 2137 | // Set the point placement. |
||
| 2138 | ArrayUtility::set($output, "pointPlacement", $this->pointPlacement, [null]); |
||
| 2139 | |||
| 2140 | // Set the point range. |
||
| 2141 | ArrayUtility::set($output, "pointRange", $this->pointRange, [null]); |
||
| 2142 | |||
| 2143 | // Set the point start. |
||
| 2144 | ArrayUtility::set($output, "pointStart", $this->pointStart, [null]); |
||
| 2145 | |||
| 2146 | // Set the point width. |
||
| 2147 | ArrayUtility::set($output, "pointWidth", $this->pointWidth, [null]); |
||
| 2148 | |||
| 2149 | // Set the selected. |
||
| 2150 | ArrayUtility::set($output, "selected", $this->selected, [null]); |
||
| 2151 | |||
| 2152 | // Set the shadow. |
||
| 2153 | ArrayUtility::set($output, "shadow", $this->shadow, [null]); |
||
| 2154 | |||
| 2155 | // Set the show checkbox. |
||
| 2156 | ArrayUtility::set($output, "showCheckbox", $this->showCheckbox, [null]); |
||
| 2157 | |||
| 2158 | // Set the show in legend. |
||
| 2159 | ArrayUtility::set($output, "showInLegend", $this->showInLegend, [null]); |
||
| 2160 | |||
| 2161 | // Set the skip keyboard navigation. |
||
| 2162 | ArrayUtility::set($output, "skipKeyboardNavigation", $this->skipKeyboardNavigation, [null]); |
||
| 2163 | |||
| 2164 | // Set the states. |
||
| 2165 | if (null !== $this->states) { |
||
| 2166 | ArrayUtility::set($output, "states", $this->states->toArray(), []); |
||
| 2167 | } |
||
| 2168 | |||
| 2169 | // Set the sticky tracking. |
||
| 2170 | ArrayUtility::set($output, "stickyTracking", $this->stickyTracking, [null]); |
||
| 2171 | |||
| 2172 | // Set the tooltip. |
||
| 2173 | ArrayUtility::set($output, "tooltip", $this->tooltip, [null]); |
||
| 2174 | |||
| 2175 | // Set the turbo threshold. |
||
| 2176 | ArrayUtility::set($output, "turboThreshold", $this->turboThreshold, [null]); |
||
| 2177 | |||
| 2178 | // Set the type. |
||
| 2179 | ArrayUtility::set($output, "type", $this->type, [null]); |
||
| 2180 | |||
| 2181 | // Set the visible. |
||
| 2182 | ArrayUtility::set($output, "visible", $this->visible, [null]); |
||
| 2183 | |||
| 2184 | // Set the x axis. |
||
| 2185 | ArrayUtility::set($output, "xAxis", $this->xAxis, [null]); |
||
| 2186 | |||
| 2187 | // Set the y axis. |
||
| 2188 | ArrayUtility::set($output, "yAxis", $this->yAxis, [null]); |
||
| 2189 | |||
| 2190 | // Set the z index. |
||
| 2191 | ArrayUtility::set($output, "zIndex", $this->zIndex, [null]); |
||
| 2192 | |||
| 2193 | // Set the zone axis. |
||
| 2194 | ArrayUtility::set($output, "zoneAxis", $this->zoneAxis, [null]); |
||
| 2195 | |||
| 2196 | // Set the zones. |
||
| 2197 | ArrayUtility::set($output, "zones", $this->zones, [null]); |
||
| 2198 | |||
| 2199 | // Return the output. |
||
| 2200 | return $output; |
||
| 2201 | } |
||
| 2202 | |||
| 2203 | } |
||
| 2204 |
Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property.
Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property..