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\PlotOptions; |
||
| 13 | |||
| 14 | use JsonSerializable; |
||
| 15 | use WBW\Library\Core\Utility\Argument\ArrayUtility; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * Highcharts areaspline. |
||
| 19 | * |
||
| 20 | * @author webeweb <https://github.com/webeweb/> |
||
| 21 | * @package WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions |
||
| 22 | * @version 5.0.14 |
||
| 23 | * @final |
||
| 24 | */ |
||
| 25 | final class HighchartsAreaspline 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 | * Class name. |
||
| 51 | * |
||
| 52 | * @var string |
||
| 53 | * @since 5.0.0 |
||
| 54 | */ |
||
| 55 | private $className; |
||
| 56 | |||
| 57 | /** |
||
| 58 | * Color. |
||
| 59 | * |
||
| 60 | * @var string |
||
| 61 | */ |
||
| 62 | private $color; |
||
| 63 | |||
| 64 | /** |
||
| 65 | * Color index. |
||
| 66 | * |
||
| 67 | * @var integer |
||
| 68 | * @since 5.0.0 |
||
| 69 | */ |
||
| 70 | private $colorIndex; |
||
| 71 | |||
| 72 | /** |
||
| 73 | * Connect ends. |
||
| 74 | * |
||
| 75 | * @var boolean |
||
| 76 | * @since 2.3.0 |
||
| 77 | */ |
||
| 78 | private $connectEnds = true; |
||
| 79 | |||
| 80 | /** |
||
| 81 | * Connect nulls. |
||
| 82 | * |
||
| 83 | * @var boolean |
||
| 84 | */ |
||
| 85 | private $connectNulls = false; |
||
| 86 | |||
| 87 | /** |
||
| 88 | * Crop threshold. |
||
| 89 | * |
||
| 90 | * @var integer |
||
| 91 | * @since 2.2 |
||
| 92 | */ |
||
| 93 | private $cropThreshold = 300; |
||
| 94 | |||
| 95 | /** |
||
| 96 | * Cursor. |
||
| 97 | * |
||
| 98 | * @var string |
||
| 99 | */ |
||
| 100 | private $cursor; |
||
| 101 | |||
| 102 | /** |
||
| 103 | * Dash style. |
||
| 104 | * |
||
| 105 | * @var string |
||
| 106 | * @since 2.1 |
||
| 107 | */ |
||
| 108 | private $dashStyle = "Solid"; |
||
| 109 | |||
| 110 | /** |
||
| 111 | * Data labels. |
||
| 112 | * |
||
| 113 | * @var \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Areaspline\HighchartsDataLabels |
||
| 114 | */ |
||
| 115 | private $dataLabels; |
||
| 116 | |||
| 117 | /** |
||
| 118 | * Description. |
||
| 119 | * |
||
| 120 | * @var string |
||
| 121 | * @since 5.0.0 |
||
| 122 | */ |
||
| 123 | private $description; |
||
| 124 | |||
| 125 | /** |
||
| 126 | * Enable mouse tracking. |
||
| 127 | * |
||
| 128 | * @var boolean |
||
| 129 | */ |
||
| 130 | private $enableMouseTracking = true; |
||
| 131 | |||
| 132 | /** |
||
| 133 | * Events. |
||
| 134 | * |
||
| 135 | * @var \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Areaspline\HighchartsEvents |
||
| 136 | */ |
||
| 137 | private $events; |
||
| 138 | |||
| 139 | /** |
||
| 140 | * Expose element to a11y. |
||
| 141 | * |
||
| 142 | * @var boolean |
||
| 143 | * @since 5.0.12 |
||
| 144 | */ |
||
| 145 | private $exposeElementToA11y; |
||
| 146 | |||
| 147 | /** |
||
| 148 | * Fill color. |
||
| 149 | * |
||
| 150 | * @var string |
||
| 151 | */ |
||
| 152 | private $fillColor; |
||
| 153 | |||
| 154 | /** |
||
| 155 | * Fill opacity. |
||
| 156 | * |
||
| 157 | * @var integer |
||
| 158 | */ |
||
| 159 | private $fillOpacity = 0.75; |
||
| 160 | |||
| 161 | /** |
||
| 162 | * Find nearest point by. |
||
| 163 | * |
||
| 164 | * @var string |
||
| 165 | * @since 5.0.10 |
||
| 166 | */ |
||
| 167 | private $findNearestPointBy; |
||
| 168 | |||
| 169 | /** |
||
| 170 | * Get extremes from all. |
||
| 171 | * |
||
| 172 | * @var boolean |
||
| 173 | * @since 4.1.6 |
||
| 174 | */ |
||
| 175 | private $getExtremesFromAll = false; |
||
| 176 | |||
| 177 | /** |
||
| 178 | * Keys. |
||
| 179 | * |
||
| 180 | * @var array |
||
| 181 | * @since 4.1.6 |
||
| 182 | */ |
||
| 183 | private $keys; |
||
| 184 | |||
| 185 | /** |
||
| 186 | * Line color. |
||
| 187 | * |
||
| 188 | * @var string |
||
| 189 | */ |
||
| 190 | private $lineColor; |
||
| 191 | |||
| 192 | /** |
||
| 193 | * Line width. |
||
| 194 | * |
||
| 195 | * @var integer |
||
| 196 | */ |
||
| 197 | private $lineWidth = 2; |
||
| 198 | |||
| 199 | /** |
||
| 200 | * Linecap. |
||
| 201 | * |
||
| 202 | * @var string |
||
| 203 | */ |
||
| 204 | private $linecap = "round"; |
||
| 205 | |||
| 206 | /** |
||
| 207 | * Linked to. |
||
| 208 | * |
||
| 209 | * @var string |
||
| 210 | * @since 3.0 |
||
| 211 | */ |
||
| 212 | private $linkedTo; |
||
| 213 | |||
| 214 | /** |
||
| 215 | * Marker. |
||
| 216 | * |
||
| 217 | * @var \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Areaspline\HighchartsMarker |
||
| 218 | */ |
||
| 219 | private $marker; |
||
| 220 | |||
| 221 | /** |
||
| 222 | * Negative color. |
||
| 223 | * |
||
| 224 | * @var string |
||
| 225 | * @since 3.0 |
||
| 226 | */ |
||
| 227 | private $negativeColor; |
||
| 228 | |||
| 229 | /** |
||
| 230 | * Negative fill color. |
||
| 231 | * |
||
| 232 | * @var string |
||
| 233 | * @since 3.0 |
||
| 234 | */ |
||
| 235 | private $negativeFillColor; |
||
| 236 | |||
| 237 | /** |
||
| 238 | * Point. |
||
| 239 | * |
||
| 240 | * @var \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Areaspline\HighchartsPoint |
||
| 241 | */ |
||
| 242 | private $point; |
||
| 243 | |||
| 244 | /** |
||
| 245 | * Point description formatter. |
||
| 246 | * |
||
| 247 | * @var string |
||
| 248 | * @since 5.0.12 |
||
| 249 | */ |
||
| 250 | private $pointDescriptionFormatter; |
||
| 251 | |||
| 252 | /** |
||
| 253 | * Point interval. |
||
| 254 | * |
||
| 255 | * @var integer |
||
| 256 | */ |
||
| 257 | private $pointInterval = 1; |
||
| 258 | |||
| 259 | /** |
||
| 260 | * Point interval unit. |
||
| 261 | * |
||
| 262 | * @var string |
||
| 263 | * @since 4.1.0 |
||
| 264 | */ |
||
| 265 | private $pointIntervalUnit; |
||
| 266 | |||
| 267 | /** |
||
| 268 | * Point placement. |
||
| 269 | * |
||
| 270 | * @var string|integer |
||
| 271 | * @since 2.3.0 |
||
| 272 | */ |
||
| 273 | private $pointPlacement; |
||
| 274 | |||
| 275 | /** |
||
| 276 | * Point start. |
||
| 277 | * |
||
| 278 | * @var integer |
||
| 279 | */ |
||
| 280 | private $pointStart = 0; |
||
| 281 | |||
| 282 | /** |
||
| 283 | * Selected. |
||
| 284 | * |
||
| 285 | * @var boolean |
||
| 286 | * @since 1.2.0 |
||
| 287 | */ |
||
| 288 | private $selected = false; |
||
| 289 | |||
| 290 | /** |
||
| 291 | * Shadow. |
||
| 292 | * |
||
| 293 | * @var boolean|array |
||
| 294 | */ |
||
| 295 | private $shadow = false; |
||
| 296 | |||
| 297 | /** |
||
| 298 | * Show checkbox. |
||
| 299 | * |
||
| 300 | * @var boolean |
||
| 301 | * @since 1.2.0 |
||
| 302 | */ |
||
| 303 | private $showCheckbox = false; |
||
| 304 | |||
| 305 | /** |
||
| 306 | * Show in legend. |
||
| 307 | * |
||
| 308 | * @var boolean |
||
| 309 | */ |
||
| 310 | private $showInLegend = true; |
||
| 311 | |||
| 312 | /** |
||
| 313 | * Skip keyboard navigation. |
||
| 314 | * |
||
| 315 | * @var boolean |
||
| 316 | * @since 5.0.12 |
||
| 317 | */ |
||
| 318 | private $skipKeyboardNavigation; |
||
| 319 | |||
| 320 | /** |
||
| 321 | * Soft threshold. |
||
| 322 | * |
||
| 323 | * @var boolean |
||
| 324 | * @since 4.1.9 |
||
| 325 | */ |
||
| 326 | private $softThreshold = false; |
||
| 327 | |||
| 328 | /** |
||
| 329 | * Stacking. |
||
| 330 | * |
||
| 331 | * @var string |
||
| 332 | */ |
||
| 333 | private $stacking; |
||
| 334 | |||
| 335 | /** |
||
| 336 | * States. |
||
| 337 | * |
||
| 338 | * @var \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Areaspline\HighchartsStates |
||
| 339 | */ |
||
| 340 | private $states; |
||
| 341 | |||
| 342 | /** |
||
| 343 | * Sticky tracking. |
||
| 344 | * |
||
| 345 | * @var boolean |
||
| 346 | * @since 2.0 |
||
| 347 | */ |
||
| 348 | private $stickyTracking = true; |
||
| 349 | |||
| 350 | /** |
||
| 351 | * Threshold. |
||
| 352 | * |
||
| 353 | * @var integer |
||
| 354 | * @since 2.0 |
||
| 355 | */ |
||
| 356 | private $threshold = 0; |
||
| 357 | |||
| 358 | /** |
||
| 359 | * Tooltip. |
||
| 360 | * |
||
| 361 | * @var array |
||
| 362 | * @since 2.3 |
||
| 363 | */ |
||
| 364 | private $tooltip; |
||
| 365 | |||
| 366 | /** |
||
| 367 | * Track by area. |
||
| 368 | * |
||
| 369 | * @var boolean |
||
| 370 | * @since 1.1.6 |
||
| 371 | */ |
||
| 372 | private $trackByArea = false; |
||
| 373 | |||
| 374 | /** |
||
| 375 | * Turbo threshold. |
||
| 376 | * |
||
| 377 | * @var integer |
||
| 378 | * @since 2.2 |
||
| 379 | */ |
||
| 380 | private $turboThreshold = 1000; |
||
| 381 | |||
| 382 | /** |
||
| 383 | * Visible. |
||
| 384 | * |
||
| 385 | * @var boolean |
||
| 386 | */ |
||
| 387 | private $visible = true; |
||
| 388 | |||
| 389 | /** |
||
| 390 | * Zone axis. |
||
| 391 | * |
||
| 392 | * @var string |
||
| 393 | * @since 4.1.0 |
||
| 394 | */ |
||
| 395 | private $zoneAxis = "y"; |
||
| 396 | |||
| 397 | /** |
||
| 398 | * Zones. |
||
| 399 | * |
||
| 400 | * @var array |
||
| 401 | * @since 4.1.0 |
||
| 402 | */ |
||
| 403 | private $zones; |
||
| 404 | |||
| 405 | /** |
||
| 406 | * Constructor. |
||
| 407 | * |
||
| 408 | * @param boolean $ignoreDefaultValues Ignore the default values. |
||
| 409 | */ |
||
| 410 | public function __construct($ignoreDefaultValues = true) { |
||
| 411 | if (true === $ignoreDefaultValues) { |
||
| 412 | $this->clear(); |
||
| 413 | } |
||
| 414 | } |
||
| 415 | |||
| 416 | /** |
||
| 417 | * Clear. |
||
| 418 | * |
||
| 419 | * @return void |
||
| 420 | */ |
||
| 421 | public function clear() { |
||
| 422 | |||
| 423 | // Clear the allow point select. |
||
| 424 | $this->allowPointSelect = null; |
||
| 425 | |||
| 426 | // Clear the animation. |
||
| 427 | $this->animation = null; |
||
| 428 | |||
| 429 | // Clear the animation limit. |
||
| 430 | $this->animationLimit = null; |
||
| 431 | |||
| 432 | // Clear the class name. |
||
| 433 | $this->className = null; |
||
| 434 | |||
| 435 | // Clear the color. |
||
| 436 | $this->color = null; |
||
| 437 | |||
| 438 | // Clear the color index. |
||
| 439 | $this->colorIndex = null; |
||
| 440 | |||
| 441 | // Clear the connect ends. |
||
| 442 | $this->connectEnds = null; |
||
| 443 | |||
| 444 | // Clear the connect nulls. |
||
| 445 | $this->connectNulls = null; |
||
| 446 | |||
| 447 | // Clear the crop threshold. |
||
| 448 | $this->cropThreshold = null; |
||
| 449 | |||
| 450 | // Clear the cursor. |
||
| 451 | $this->cursor = null; |
||
| 452 | |||
| 453 | // Clear the dash style. |
||
| 454 | $this->dashStyle = null; |
||
| 455 | |||
| 456 | // Clear the data labels. |
||
| 457 | if (null !== $this->dataLabels) { |
||
| 458 | $this->dataLabels->clear(); |
||
| 459 | } |
||
| 460 | |||
| 461 | // Clear the description. |
||
| 462 | $this->description = null; |
||
| 463 | |||
| 464 | // Clear the enable mouse tracking. |
||
| 465 | $this->enableMouseTracking = null; |
||
| 466 | |||
| 467 | // Clear the events. |
||
| 468 | if (null !== $this->events) { |
||
| 469 | $this->events->clear(); |
||
| 470 | } |
||
| 471 | |||
| 472 | // Clear the expose element to a11y. |
||
| 473 | $this->exposeElementToA11y = null; |
||
| 474 | |||
| 475 | // Clear the fill color. |
||
| 476 | $this->fillColor = null; |
||
| 477 | |||
| 478 | // Clear the fill opacity. |
||
| 479 | $this->fillOpacity = null; |
||
| 480 | |||
| 481 | // Clear the find nearest point by. |
||
| 482 | $this->findNearestPointBy = null; |
||
| 483 | |||
| 484 | // Clear the get extremes from all. |
||
| 485 | $this->getExtremesFromAll = null; |
||
| 486 | |||
| 487 | // Clear the keys. |
||
| 488 | $this->keys = null; |
||
|
0 ignored issues
–
show
|
|||
| 489 | |||
| 490 | // Clear the line color. |
||
| 491 | $this->lineColor = null; |
||
| 492 | |||
| 493 | // Clear the line width. |
||
| 494 | $this->lineWidth = null; |
||
| 495 | |||
| 496 | // Clear the linecap. |
||
| 497 | $this->linecap = null; |
||
| 498 | |||
| 499 | // Clear the linked to. |
||
| 500 | $this->linkedTo = null; |
||
| 501 | |||
| 502 | // Clear the marker. |
||
| 503 | if (null !== $this->marker) { |
||
| 504 | $this->marker->clear(); |
||
| 505 | } |
||
| 506 | |||
| 507 | // Clear the negative color. |
||
| 508 | $this->negativeColor = null; |
||
| 509 | |||
| 510 | // Clear the negative fill color. |
||
| 511 | $this->negativeFillColor = null; |
||
| 512 | |||
| 513 | // Clear the point. |
||
| 514 | if (null !== $this->point) { |
||
| 515 | $this->point->clear(); |
||
| 516 | } |
||
| 517 | |||
| 518 | // Clear the point description formatter. |
||
| 519 | $this->pointDescriptionFormatter = null; |
||
| 520 | |||
| 521 | // Clear the point interval. |
||
| 522 | $this->pointInterval = null; |
||
| 523 | |||
| 524 | // Clear the point interval unit. |
||
| 525 | $this->pointIntervalUnit = null; |
||
| 526 | |||
| 527 | // Clear the point placement. |
||
| 528 | $this->pointPlacement = null; |
||
| 529 | |||
| 530 | // Clear the point start. |
||
| 531 | $this->pointStart = null; |
||
| 532 | |||
| 533 | // Clear the selected. |
||
| 534 | $this->selected = null; |
||
| 535 | |||
| 536 | // Clear the shadow. |
||
| 537 | $this->shadow = null; |
||
| 538 | |||
| 539 | // Clear the show checkbox. |
||
| 540 | $this->showCheckbox = null; |
||
| 541 | |||
| 542 | // Clear the show in legend. |
||
| 543 | $this->showInLegend = null; |
||
| 544 | |||
| 545 | // Clear the skip keyboard navigation. |
||
| 546 | $this->skipKeyboardNavigation = null; |
||
| 547 | |||
| 548 | // Clear the soft threshold. |
||
| 549 | $this->softThreshold = null; |
||
| 550 | |||
| 551 | // Clear the stacking. |
||
| 552 | $this->stacking = null; |
||
| 553 | |||
| 554 | // Clear the states. |
||
| 555 | if (null !== $this->states) { |
||
| 556 | $this->states->clear(); |
||
| 557 | } |
||
| 558 | |||
| 559 | // Clear the sticky tracking. |
||
| 560 | $this->stickyTracking = null; |
||
| 561 | |||
| 562 | // Clear the threshold. |
||
| 563 | $this->threshold = null; |
||
| 564 | |||
| 565 | // Clear the tooltip. |
||
| 566 | $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...
|
|||
| 567 | |||
| 568 | // Clear the track by area. |
||
| 569 | $this->trackByArea = null; |
||
| 570 | |||
| 571 | // Clear the turbo threshold. |
||
| 572 | $this->turboThreshold = null; |
||
| 573 | |||
| 574 | // Clear the visible. |
||
| 575 | $this->visible = null; |
||
| 576 | |||
| 577 | // Clear the zone axis. |
||
| 578 | $this->zoneAxis = null; |
||
| 579 | |||
| 580 | // Clear the zones. |
||
| 581 | $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...
|
|||
| 582 | } |
||
| 583 | |||
| 584 | /** |
||
| 585 | * Get the allow point select. |
||
| 586 | * |
||
| 587 | * @return boolean Returns the allow point select. |
||
| 588 | */ |
||
| 589 | public function getAllowPointSelect() { |
||
| 590 | return $this->allowPointSelect; |
||
| 591 | } |
||
| 592 | |||
| 593 | /** |
||
| 594 | * Get the animation. |
||
| 595 | * |
||
| 596 | * @return boolean Returns the animation. |
||
| 597 | */ |
||
| 598 | public function getAnimation() { |
||
| 599 | return $this->animation; |
||
| 600 | } |
||
| 601 | |||
| 602 | /** |
||
| 603 | * Get the animation limit. |
||
| 604 | * |
||
| 605 | * @return integer Returns the animation limit. |
||
| 606 | */ |
||
| 607 | public function getAnimationLimit() { |
||
| 608 | return $this->animationLimit; |
||
| 609 | } |
||
| 610 | |||
| 611 | /** |
||
| 612 | * Get the class name. |
||
| 613 | * |
||
| 614 | * @return string Returns the class name. |
||
| 615 | */ |
||
| 616 | public function getClassName() { |
||
| 617 | return $this->className; |
||
| 618 | } |
||
| 619 | |||
| 620 | /** |
||
| 621 | * Get the color. |
||
| 622 | * |
||
| 623 | * @return string Returns the color. |
||
| 624 | */ |
||
| 625 | public function getColor() { |
||
| 626 | return $this->color; |
||
| 627 | } |
||
| 628 | |||
| 629 | /** |
||
| 630 | * Get the color index. |
||
| 631 | * |
||
| 632 | * @return integer Returns the color index. |
||
| 633 | */ |
||
| 634 | public function getColorIndex() { |
||
| 635 | return $this->colorIndex; |
||
| 636 | } |
||
| 637 | |||
| 638 | /** |
||
| 639 | * Get the connect ends. |
||
| 640 | * |
||
| 641 | * @return boolean Returns the connect ends. |
||
| 642 | */ |
||
| 643 | public function getConnectEnds() { |
||
| 644 | return $this->connectEnds; |
||
| 645 | } |
||
| 646 | |||
| 647 | /** |
||
| 648 | * Get the connect nulls. |
||
| 649 | * |
||
| 650 | * @return boolean Returns the connect nulls. |
||
| 651 | */ |
||
| 652 | public function getConnectNulls() { |
||
| 653 | return $this->connectNulls; |
||
| 654 | } |
||
| 655 | |||
| 656 | /** |
||
| 657 | * Get the crop threshold. |
||
| 658 | * |
||
| 659 | * @return integer Returns the crop threshold. |
||
| 660 | */ |
||
| 661 | public function getCropThreshold() { |
||
| 662 | return $this->cropThreshold; |
||
| 663 | } |
||
| 664 | |||
| 665 | /** |
||
| 666 | * Get the cursor. |
||
| 667 | * |
||
| 668 | * @return string Returns the cursor. |
||
| 669 | */ |
||
| 670 | public function getCursor() { |
||
| 671 | return $this->cursor; |
||
| 672 | } |
||
| 673 | |||
| 674 | /** |
||
| 675 | * Get the dash style. |
||
| 676 | * |
||
| 677 | * @return string Returns the dash style. |
||
| 678 | */ |
||
| 679 | public function getDashStyle() { |
||
| 680 | return $this->dashStyle; |
||
| 681 | } |
||
| 682 | |||
| 683 | /** |
||
| 684 | * Get the data labels. |
||
| 685 | * |
||
| 686 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Areaspline\HighchartsDataLabels Returns the data labels. |
||
| 687 | */ |
||
| 688 | public function getDataLabels() { |
||
| 689 | return $this->dataLabels; |
||
| 690 | } |
||
| 691 | |||
| 692 | /** |
||
| 693 | * Get the description. |
||
| 694 | * |
||
| 695 | * @return string Returns the description. |
||
| 696 | */ |
||
| 697 | public function getDescription() { |
||
| 698 | return $this->description; |
||
| 699 | } |
||
| 700 | |||
| 701 | /** |
||
| 702 | * Get the enable mouse tracking. |
||
| 703 | * |
||
| 704 | * @return boolean Returns the enable mouse tracking. |
||
| 705 | */ |
||
| 706 | public function getEnableMouseTracking() { |
||
| 707 | return $this->enableMouseTracking; |
||
| 708 | } |
||
| 709 | |||
| 710 | /** |
||
| 711 | * Get the events. |
||
| 712 | * |
||
| 713 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Areaspline\HighchartsEvents Returns the events. |
||
| 714 | */ |
||
| 715 | public function getEvents() { |
||
| 716 | return $this->events; |
||
| 717 | } |
||
| 718 | |||
| 719 | /** |
||
| 720 | * Get the expose element to a11y. |
||
| 721 | * |
||
| 722 | * @return boolean Returns the expose element to a11y. |
||
| 723 | */ |
||
| 724 | public function getExposeElementToA11y() { |
||
| 725 | return $this->exposeElementToA11y; |
||
| 726 | } |
||
| 727 | |||
| 728 | /** |
||
| 729 | * Get the fill color. |
||
| 730 | * |
||
| 731 | * @return string Returns the fill color. |
||
| 732 | */ |
||
| 733 | public function getFillColor() { |
||
| 734 | return $this->fillColor; |
||
| 735 | } |
||
| 736 | |||
| 737 | /** |
||
| 738 | * Get the fill opacity. |
||
| 739 | * |
||
| 740 | * @return integer Returns the fill opacity. |
||
| 741 | */ |
||
| 742 | public function getFillOpacity() { |
||
| 743 | return $this->fillOpacity; |
||
| 744 | } |
||
| 745 | |||
| 746 | /** |
||
| 747 | * Get the find nearest point by. |
||
| 748 | * |
||
| 749 | * @return string Returns the find nearest point by. |
||
| 750 | */ |
||
| 751 | public function getFindNearestPointBy() { |
||
| 752 | return $this->findNearestPointBy; |
||
| 753 | } |
||
| 754 | |||
| 755 | /** |
||
| 756 | * Get the get extremes from all. |
||
| 757 | * |
||
| 758 | * @return boolean Returns the get extremes from all. |
||
| 759 | */ |
||
| 760 | public function getGetExtremesFromAll() { |
||
| 761 | return $this->getExtremesFromAll; |
||
| 762 | } |
||
| 763 | |||
| 764 | /** |
||
| 765 | * Get the keys. |
||
| 766 | * |
||
| 767 | * @return array Returns the keys. |
||
| 768 | */ |
||
| 769 | public function getKeys() { |
||
| 770 | return $this->keys; |
||
| 771 | } |
||
| 772 | |||
| 773 | /** |
||
| 774 | * Get the line color. |
||
| 775 | * |
||
| 776 | * @return string Returns the line color. |
||
| 777 | */ |
||
| 778 | public function getLineColor() { |
||
| 779 | return $this->lineColor; |
||
| 780 | } |
||
| 781 | |||
| 782 | /** |
||
| 783 | * Get the line width. |
||
| 784 | * |
||
| 785 | * @return integer Returns the line width. |
||
| 786 | */ |
||
| 787 | public function getLineWidth() { |
||
| 788 | return $this->lineWidth; |
||
| 789 | } |
||
| 790 | |||
| 791 | /** |
||
| 792 | * Get the linecap. |
||
| 793 | * |
||
| 794 | * @return string Returns the linecap. |
||
| 795 | */ |
||
| 796 | public function getLinecap() { |
||
| 797 | return $this->linecap; |
||
| 798 | } |
||
| 799 | |||
| 800 | /** |
||
| 801 | * Get the linked to. |
||
| 802 | * |
||
| 803 | * @return string Returns the linked to. |
||
| 804 | */ |
||
| 805 | public function getLinkedTo() { |
||
| 806 | return $this->linkedTo; |
||
| 807 | } |
||
| 808 | |||
| 809 | /** |
||
| 810 | * Get the marker. |
||
| 811 | * |
||
| 812 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Areaspline\HighchartsMarker Returns the marker. |
||
| 813 | */ |
||
| 814 | public function getMarker() { |
||
| 815 | return $this->marker; |
||
| 816 | } |
||
| 817 | |||
| 818 | /** |
||
| 819 | * Get the negative color. |
||
| 820 | * |
||
| 821 | * @return string Returns the negative color. |
||
| 822 | */ |
||
| 823 | public function getNegativeColor() { |
||
| 824 | return $this->negativeColor; |
||
| 825 | } |
||
| 826 | |||
| 827 | /** |
||
| 828 | * Get the negative fill color. |
||
| 829 | * |
||
| 830 | * @return string Returns the negative fill color. |
||
| 831 | */ |
||
| 832 | public function getNegativeFillColor() { |
||
| 833 | return $this->negativeFillColor; |
||
| 834 | } |
||
| 835 | |||
| 836 | /** |
||
| 837 | * Get the point. |
||
| 838 | * |
||
| 839 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Areaspline\HighchartsPoint Returns the point. |
||
| 840 | */ |
||
| 841 | public function getPoint() { |
||
| 842 | return $this->point; |
||
| 843 | } |
||
| 844 | |||
| 845 | /** |
||
| 846 | * Get the point description formatter. |
||
| 847 | * |
||
| 848 | * @return string Returns the point description formatter. |
||
| 849 | */ |
||
| 850 | public function getPointDescriptionFormatter() { |
||
| 851 | return $this->pointDescriptionFormatter; |
||
| 852 | } |
||
| 853 | |||
| 854 | /** |
||
| 855 | * Get the point interval. |
||
| 856 | * |
||
| 857 | * @return integer Returns the point interval. |
||
| 858 | */ |
||
| 859 | public function getPointInterval() { |
||
| 860 | return $this->pointInterval; |
||
| 861 | } |
||
| 862 | |||
| 863 | /** |
||
| 864 | * Get the point interval unit. |
||
| 865 | * |
||
| 866 | * @return string Returns the point interval unit. |
||
| 867 | */ |
||
| 868 | public function getPointIntervalUnit() { |
||
| 869 | return $this->pointIntervalUnit; |
||
| 870 | } |
||
| 871 | |||
| 872 | /** |
||
| 873 | * Get the point placement. |
||
| 874 | * |
||
| 875 | * @return string|integer Returns the point placement. |
||
| 876 | */ |
||
| 877 | public function getPointPlacement() { |
||
| 878 | return $this->pointPlacement; |
||
| 879 | } |
||
| 880 | |||
| 881 | /** |
||
| 882 | * Get the point start. |
||
| 883 | * |
||
| 884 | * @return integer Returns the point start. |
||
| 885 | */ |
||
| 886 | public function getPointStart() { |
||
| 887 | return $this->pointStart; |
||
| 888 | } |
||
| 889 | |||
| 890 | /** |
||
| 891 | * Get the selected. |
||
| 892 | * |
||
| 893 | * @return boolean Returns the selected. |
||
| 894 | */ |
||
| 895 | public function getSelected() { |
||
| 896 | return $this->selected; |
||
| 897 | } |
||
| 898 | |||
| 899 | /** |
||
| 900 | * Get the shadow. |
||
| 901 | * |
||
| 902 | * @return boolean|array Returns the shadow. |
||
| 903 | */ |
||
| 904 | public function getShadow() { |
||
| 905 | return $this->shadow; |
||
| 906 | } |
||
| 907 | |||
| 908 | /** |
||
| 909 | * Get the show checkbox. |
||
| 910 | * |
||
| 911 | * @return boolean Returns the show checkbox. |
||
| 912 | */ |
||
| 913 | public function getShowCheckbox() { |
||
| 914 | return $this->showCheckbox; |
||
| 915 | } |
||
| 916 | |||
| 917 | /** |
||
| 918 | * Get the show in legend. |
||
| 919 | * |
||
| 920 | * @return boolean Returns the show in legend. |
||
| 921 | */ |
||
| 922 | public function getShowInLegend() { |
||
| 923 | return $this->showInLegend; |
||
| 924 | } |
||
| 925 | |||
| 926 | /** |
||
| 927 | * Get the skip keyboard navigation. |
||
| 928 | * |
||
| 929 | * @return boolean Returns the skip keyboard navigation. |
||
| 930 | */ |
||
| 931 | public function getSkipKeyboardNavigation() { |
||
| 932 | return $this->skipKeyboardNavigation; |
||
| 933 | } |
||
| 934 | |||
| 935 | /** |
||
| 936 | * Get the soft threshold. |
||
| 937 | * |
||
| 938 | * @return boolean Returns the soft threshold. |
||
| 939 | */ |
||
| 940 | public function getSoftThreshold() { |
||
| 941 | return $this->softThreshold; |
||
| 942 | } |
||
| 943 | |||
| 944 | /** |
||
| 945 | * Get the stacking. |
||
| 946 | * |
||
| 947 | * @return string Returns the stacking. |
||
| 948 | */ |
||
| 949 | public function getStacking() { |
||
| 950 | return $this->stacking; |
||
| 951 | } |
||
| 952 | |||
| 953 | /** |
||
| 954 | * Get the states. |
||
| 955 | * |
||
| 956 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Areaspline\HighchartsStates Returns the states. |
||
| 957 | */ |
||
| 958 | public function getStates() { |
||
| 959 | return $this->states; |
||
| 960 | } |
||
| 961 | |||
| 962 | /** |
||
| 963 | * Get the sticky tracking. |
||
| 964 | * |
||
| 965 | * @return boolean Returns the sticky tracking. |
||
| 966 | */ |
||
| 967 | public function getStickyTracking() { |
||
| 968 | return $this->stickyTracking; |
||
| 969 | } |
||
| 970 | |||
| 971 | /** |
||
| 972 | * Get the threshold. |
||
| 973 | * |
||
| 974 | * @return integer Returns the threshold. |
||
| 975 | */ |
||
| 976 | public function getThreshold() { |
||
| 977 | return $this->threshold; |
||
| 978 | } |
||
| 979 | |||
| 980 | /** |
||
| 981 | * Get the tooltip. |
||
| 982 | * |
||
| 983 | * @return array Returns the tooltip. |
||
| 984 | */ |
||
| 985 | public function getTooltip() { |
||
| 986 | return $this->tooltip; |
||
| 987 | } |
||
| 988 | |||
| 989 | /** |
||
| 990 | * Get the track by area. |
||
| 991 | * |
||
| 992 | * @return boolean Returns the track by area. |
||
| 993 | */ |
||
| 994 | public function getTrackByArea() { |
||
| 995 | return $this->trackByArea; |
||
| 996 | } |
||
| 997 | |||
| 998 | /** |
||
| 999 | * Get the turbo threshold. |
||
| 1000 | * |
||
| 1001 | * @return integer Returns the turbo threshold. |
||
| 1002 | */ |
||
| 1003 | public function getTurboThreshold() { |
||
| 1004 | return $this->turboThreshold; |
||
| 1005 | } |
||
| 1006 | |||
| 1007 | /** |
||
| 1008 | * Get the visible. |
||
| 1009 | * |
||
| 1010 | * @return boolean Returns the visible. |
||
| 1011 | */ |
||
| 1012 | public function getVisible() { |
||
| 1013 | return $this->visible; |
||
| 1014 | } |
||
| 1015 | |||
| 1016 | /** |
||
| 1017 | * Get the zone axis. |
||
| 1018 | * |
||
| 1019 | * @return string Returns the zone axis. |
||
| 1020 | */ |
||
| 1021 | public function getZoneAxis() { |
||
| 1022 | return $this->zoneAxis; |
||
| 1023 | } |
||
| 1024 | |||
| 1025 | /** |
||
| 1026 | * Get the zones. |
||
| 1027 | * |
||
| 1028 | * @return array Returns the zones. |
||
| 1029 | */ |
||
| 1030 | public function getZones() { |
||
| 1031 | return $this->zones; |
||
| 1032 | } |
||
| 1033 | |||
| 1034 | /** |
||
| 1035 | * Serialize this instance. |
||
| 1036 | * |
||
| 1037 | * @return array Returns an array representing this instance. |
||
| 1038 | */ |
||
| 1039 | public function jsonSerialize() { |
||
| 1040 | return $this->toArray(); |
||
| 1041 | } |
||
| 1042 | |||
| 1043 | /** |
||
| 1044 | * Create a new data labels. |
||
| 1045 | * |
||
| 1046 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Areaspline\HighchartsDataLabels Returns the data labels. |
||
| 1047 | */ |
||
| 1048 | public function newDataLabels() { |
||
| 1049 | $this->dataLabels = new \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Areaspline\HighchartsDataLabels(); |
||
| 1050 | return $this->dataLabels; |
||
| 1051 | } |
||
| 1052 | |||
| 1053 | /** |
||
| 1054 | * Create a new events. |
||
| 1055 | * |
||
| 1056 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Areaspline\HighchartsEvents Returns the events. |
||
| 1057 | */ |
||
| 1058 | public function newEvents() { |
||
| 1059 | $this->events = new \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Areaspline\HighchartsEvents(); |
||
| 1060 | return $this->events; |
||
| 1061 | } |
||
| 1062 | |||
| 1063 | /** |
||
| 1064 | * Create a new marker. |
||
| 1065 | * |
||
| 1066 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Areaspline\HighchartsMarker Returns the marker. |
||
| 1067 | */ |
||
| 1068 | public function newMarker() { |
||
| 1069 | $this->marker = new \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Areaspline\HighchartsMarker(); |
||
| 1070 | return $this->marker; |
||
| 1071 | } |
||
| 1072 | |||
| 1073 | /** |
||
| 1074 | * Create a new point. |
||
| 1075 | * |
||
| 1076 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Areaspline\HighchartsPoint Returns the point. |
||
| 1077 | */ |
||
| 1078 | public function newPoint() { |
||
| 1079 | $this->point = new \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Areaspline\HighchartsPoint(); |
||
| 1080 | return $this->point; |
||
| 1081 | } |
||
| 1082 | |||
| 1083 | /** |
||
| 1084 | * Create a new states. |
||
| 1085 | * |
||
| 1086 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Areaspline\HighchartsStates Returns the states. |
||
| 1087 | */ |
||
| 1088 | public function newStates() { |
||
| 1089 | $this->states = new \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Areaspline\HighchartsStates(); |
||
| 1090 | return $this->states; |
||
| 1091 | } |
||
| 1092 | |||
| 1093 | /** |
||
| 1094 | * Set the allow point select. |
||
| 1095 | * |
||
| 1096 | * @param boolean $allowPointSelect The allow point select. |
||
| 1097 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsAreaspline Returns the highcharts areaspline. |
||
| 1098 | */ |
||
| 1099 | public function setAllowPointSelect($allowPointSelect) { |
||
| 1100 | $this->allowPointSelect = $allowPointSelect; |
||
| 1101 | return $this; |
||
| 1102 | } |
||
| 1103 | |||
| 1104 | /** |
||
| 1105 | * Set the animation. |
||
| 1106 | * |
||
| 1107 | * @param boolean $animation The animation. |
||
| 1108 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsAreaspline Returns the highcharts areaspline. |
||
| 1109 | */ |
||
| 1110 | public function setAnimation($animation) { |
||
| 1111 | $this->animation = $animation; |
||
| 1112 | return $this; |
||
| 1113 | } |
||
| 1114 | |||
| 1115 | /** |
||
| 1116 | * Set the animation limit. |
||
| 1117 | * |
||
| 1118 | * @param integer $animationLimit The animation limit. |
||
| 1119 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsAreaspline Returns the highcharts areaspline. |
||
| 1120 | */ |
||
| 1121 | public function setAnimationLimit($animationLimit) { |
||
| 1122 | $this->animationLimit = $animationLimit; |
||
| 1123 | return $this; |
||
| 1124 | } |
||
| 1125 | |||
| 1126 | /** |
||
| 1127 | * Set the class name. |
||
| 1128 | * |
||
| 1129 | * @param string $className The class name. |
||
| 1130 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsAreaspline Returns the highcharts areaspline. |
||
| 1131 | */ |
||
| 1132 | public function setClassName($className) { |
||
| 1133 | $this->className = $className; |
||
| 1134 | return $this; |
||
| 1135 | } |
||
| 1136 | |||
| 1137 | /** |
||
| 1138 | * Set the color. |
||
| 1139 | * |
||
| 1140 | * @param string $color The color. |
||
| 1141 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsAreaspline Returns the highcharts areaspline. |
||
| 1142 | */ |
||
| 1143 | public function setColor($color) { |
||
| 1144 | $this->color = $color; |
||
| 1145 | return $this; |
||
| 1146 | } |
||
| 1147 | |||
| 1148 | /** |
||
| 1149 | * Set the color index. |
||
| 1150 | * |
||
| 1151 | * @param integer $colorIndex The color index. |
||
| 1152 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsAreaspline Returns the highcharts areaspline. |
||
| 1153 | */ |
||
| 1154 | public function setColorIndex($colorIndex) { |
||
| 1155 | $this->colorIndex = $colorIndex; |
||
| 1156 | return $this; |
||
| 1157 | } |
||
| 1158 | |||
| 1159 | /** |
||
| 1160 | * Set the connect ends. |
||
| 1161 | * |
||
| 1162 | * @param boolean $connectEnds The connect ends. |
||
| 1163 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsAreaspline Returns the highcharts areaspline. |
||
| 1164 | */ |
||
| 1165 | public function setConnectEnds($connectEnds) { |
||
| 1166 | $this->connectEnds = $connectEnds; |
||
| 1167 | return $this; |
||
| 1168 | } |
||
| 1169 | |||
| 1170 | /** |
||
| 1171 | * Set the connect nulls. |
||
| 1172 | * |
||
| 1173 | * @param boolean $connectNulls The connect nulls. |
||
| 1174 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsAreaspline Returns the highcharts areaspline. |
||
| 1175 | */ |
||
| 1176 | public function setConnectNulls($connectNulls) { |
||
| 1177 | $this->connectNulls = $connectNulls; |
||
| 1178 | return $this; |
||
| 1179 | } |
||
| 1180 | |||
| 1181 | /** |
||
| 1182 | * Set the crop threshold. |
||
| 1183 | * |
||
| 1184 | * @param integer $cropThreshold The crop threshold. |
||
| 1185 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsAreaspline Returns the highcharts areaspline. |
||
| 1186 | */ |
||
| 1187 | public function setCropThreshold($cropThreshold) { |
||
| 1188 | $this->cropThreshold = $cropThreshold; |
||
| 1189 | return $this; |
||
| 1190 | } |
||
| 1191 | |||
| 1192 | /** |
||
| 1193 | * Set the cursor. |
||
| 1194 | * |
||
| 1195 | * @param string $cursor The cursor. |
||
| 1196 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsAreaspline Returns the highcharts areaspline. |
||
| 1197 | */ |
||
| 1198 | public function setCursor($cursor) { |
||
| 1199 | switch ($cursor) { |
||
| 1200 | case null: |
||
| 1201 | case "crosshair": |
||
| 1202 | case "default": |
||
| 1203 | case "help": |
||
| 1204 | case "none": |
||
| 1205 | case "pointer": |
||
| 1206 | $this->cursor = $cursor; |
||
| 1207 | break; |
||
| 1208 | } |
||
| 1209 | return $this; |
||
| 1210 | } |
||
| 1211 | |||
| 1212 | /** |
||
| 1213 | * Set the dash style. |
||
| 1214 | * |
||
| 1215 | * @param string $dashStyle The dash style. |
||
| 1216 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsAreaspline Returns the highcharts areaspline. |
||
| 1217 | */ |
||
| 1218 | public function setDashStyle($dashStyle) { |
||
| 1219 | switch ($dashStyle) { |
||
| 1220 | case "Dash": |
||
| 1221 | case "DashDot": |
||
| 1222 | case "Dot": |
||
| 1223 | case "LongDash": |
||
| 1224 | case "LongDashDot": |
||
| 1225 | case "LongDashDotDot": |
||
| 1226 | case "ShortDash": |
||
| 1227 | case "ShortDashDot": |
||
| 1228 | case "ShortDashDotDot": |
||
| 1229 | case "ShortDot": |
||
| 1230 | case "Solid": |
||
| 1231 | $this->dashStyle = $dashStyle; |
||
| 1232 | break; |
||
| 1233 | } |
||
| 1234 | return $this; |
||
| 1235 | } |
||
| 1236 | |||
| 1237 | /** |
||
| 1238 | * Set the data labels. |
||
| 1239 | * |
||
| 1240 | * @param \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Areaspline\HighchartsDataLabels $dataLabels The data labels. |
||
| 1241 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsAreaspline Returns the highcharts areaspline. |
||
| 1242 | */ |
||
| 1243 | public function setDataLabels(\WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Areaspline\HighchartsDataLabels $dataLabels = null) { |
||
| 1244 | $this->dataLabels = $dataLabels; |
||
| 1245 | return $this; |
||
| 1246 | } |
||
| 1247 | |||
| 1248 | /** |
||
| 1249 | * Set the description. |
||
| 1250 | * |
||
| 1251 | * @param string $description The description. |
||
| 1252 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsAreaspline Returns the highcharts areaspline. |
||
| 1253 | */ |
||
| 1254 | public function setDescription($description) { |
||
| 1255 | $this->description = $description; |
||
| 1256 | return $this; |
||
| 1257 | } |
||
| 1258 | |||
| 1259 | /** |
||
| 1260 | * Set the enable mouse tracking. |
||
| 1261 | * |
||
| 1262 | * @param boolean $enableMouseTracking The enable mouse tracking. |
||
| 1263 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsAreaspline Returns the highcharts areaspline. |
||
| 1264 | */ |
||
| 1265 | public function setEnableMouseTracking($enableMouseTracking) { |
||
| 1266 | $this->enableMouseTracking = $enableMouseTracking; |
||
| 1267 | return $this; |
||
| 1268 | } |
||
| 1269 | |||
| 1270 | /** |
||
| 1271 | * Set the events. |
||
| 1272 | * |
||
| 1273 | * @param \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Areaspline\HighchartsEvents $events The events. |
||
| 1274 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsAreaspline Returns the highcharts areaspline. |
||
| 1275 | */ |
||
| 1276 | public function setEvents(\WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Areaspline\HighchartsEvents $events = null) { |
||
| 1277 | $this->events = $events; |
||
| 1278 | return $this; |
||
| 1279 | } |
||
| 1280 | |||
| 1281 | /** |
||
| 1282 | * Set the expose element to a11y. |
||
| 1283 | * |
||
| 1284 | * @param boolean $exposeElementToA11y The expose element to a11y. |
||
| 1285 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsAreaspline Returns the highcharts areaspline. |
||
| 1286 | */ |
||
| 1287 | public function setExposeElementToA11y($exposeElementToA11y) { |
||
| 1288 | $this->exposeElementToA11y = $exposeElementToA11y; |
||
| 1289 | return $this; |
||
| 1290 | } |
||
| 1291 | |||
| 1292 | /** |
||
| 1293 | * Set the fill color. |
||
| 1294 | * |
||
| 1295 | * @param string $fillColor The fill color. |
||
| 1296 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsAreaspline Returns the highcharts areaspline. |
||
| 1297 | */ |
||
| 1298 | public function setFillColor($fillColor) { |
||
| 1299 | $this->fillColor = $fillColor; |
||
| 1300 | return $this; |
||
| 1301 | } |
||
| 1302 | |||
| 1303 | /** |
||
| 1304 | * Set the fill opacity. |
||
| 1305 | * |
||
| 1306 | * @param integer $fillOpacity The fill opacity. |
||
| 1307 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsAreaspline Returns the highcharts areaspline. |
||
| 1308 | */ |
||
| 1309 | public function setFillOpacity($fillOpacity) { |
||
| 1310 | $this->fillOpacity = $fillOpacity; |
||
| 1311 | return $this; |
||
| 1312 | } |
||
| 1313 | |||
| 1314 | /** |
||
| 1315 | * Set the find nearest point by. |
||
| 1316 | * |
||
| 1317 | * @param string $findNearestPointBy The find nearest point by. |
||
| 1318 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsAreaspline Returns the highcharts areaspline. |
||
| 1319 | */ |
||
| 1320 | public function setFindNearestPointBy($findNearestPointBy) { |
||
| 1321 | switch ($findNearestPointBy) { |
||
| 1322 | case "x": |
||
| 1323 | case "xy": |
||
| 1324 | $this->findNearestPointBy = $findNearestPointBy; |
||
| 1325 | break; |
||
| 1326 | } |
||
| 1327 | return $this; |
||
| 1328 | } |
||
| 1329 | |||
| 1330 | /** |
||
| 1331 | * Set the get extremes from all. |
||
| 1332 | * |
||
| 1333 | * @param boolean $getExtremesFromAll The get extremes from all. |
||
| 1334 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsAreaspline Returns the highcharts areaspline. |
||
| 1335 | */ |
||
| 1336 | public function setGetExtremesFromAll($getExtremesFromAll) { |
||
| 1337 | $this->getExtremesFromAll = $getExtremesFromAll; |
||
| 1338 | return $this; |
||
| 1339 | } |
||
| 1340 | |||
| 1341 | /** |
||
| 1342 | * Set the keys. |
||
| 1343 | * |
||
| 1344 | * @param array $keys The keys. |
||
| 1345 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsAreaspline Returns the highcharts areaspline. |
||
| 1346 | */ |
||
| 1347 | public function setKeys(array $keys = null) { |
||
| 1348 | $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...
|
|||
| 1349 | return $this; |
||
| 1350 | } |
||
| 1351 | |||
| 1352 | /** |
||
| 1353 | * Set the line color. |
||
| 1354 | * |
||
| 1355 | * @param string $lineColor The line color. |
||
| 1356 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsAreaspline Returns the highcharts areaspline. |
||
| 1357 | */ |
||
| 1358 | public function setLineColor($lineColor) { |
||
| 1359 | $this->lineColor = $lineColor; |
||
| 1360 | return $this; |
||
| 1361 | } |
||
| 1362 | |||
| 1363 | /** |
||
| 1364 | * Set the line width. |
||
| 1365 | * |
||
| 1366 | * @param integer $lineWidth The line width. |
||
| 1367 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsAreaspline Returns the highcharts areaspline. |
||
| 1368 | */ |
||
| 1369 | public function setLineWidth($lineWidth) { |
||
| 1370 | $this->lineWidth = $lineWidth; |
||
| 1371 | return $this; |
||
| 1372 | } |
||
| 1373 | |||
| 1374 | /** |
||
| 1375 | * Set the linecap. |
||
| 1376 | * |
||
| 1377 | * @param string $linecap The linecap. |
||
| 1378 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsAreaspline Returns the highcharts areaspline. |
||
| 1379 | */ |
||
| 1380 | public function setLinecap($linecap) { |
||
| 1381 | switch ($linecap) { |
||
| 1382 | case "round": |
||
| 1383 | case "square": |
||
| 1384 | $this->linecap = $linecap; |
||
| 1385 | break; |
||
| 1386 | } |
||
| 1387 | return $this; |
||
| 1388 | } |
||
| 1389 | |||
| 1390 | /** |
||
| 1391 | * Set the linked to. |
||
| 1392 | * |
||
| 1393 | * @param string $linkedTo The linked to. |
||
| 1394 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsAreaspline Returns the highcharts areaspline. |
||
| 1395 | */ |
||
| 1396 | public function setLinkedTo($linkedTo) { |
||
| 1397 | $this->linkedTo = $linkedTo; |
||
| 1398 | return $this; |
||
| 1399 | } |
||
| 1400 | |||
| 1401 | /** |
||
| 1402 | * Set the marker. |
||
| 1403 | * |
||
| 1404 | * @param \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Areaspline\HighchartsMarker $marker The marker. |
||
| 1405 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsAreaspline Returns the highcharts areaspline. |
||
| 1406 | */ |
||
| 1407 | public function setMarker(\WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Areaspline\HighchartsMarker $marker = null) { |
||
| 1408 | $this->marker = $marker; |
||
| 1409 | return $this; |
||
| 1410 | } |
||
| 1411 | |||
| 1412 | /** |
||
| 1413 | * Set the negative color. |
||
| 1414 | * |
||
| 1415 | * @param string $negativeColor The negative color. |
||
| 1416 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsAreaspline Returns the highcharts areaspline. |
||
| 1417 | */ |
||
| 1418 | public function setNegativeColor($negativeColor) { |
||
| 1419 | $this->negativeColor = $negativeColor; |
||
| 1420 | return $this; |
||
| 1421 | } |
||
| 1422 | |||
| 1423 | /** |
||
| 1424 | * Set the negative fill color. |
||
| 1425 | * |
||
| 1426 | * @param string $negativeFillColor The negative fill color. |
||
| 1427 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsAreaspline Returns the highcharts areaspline. |
||
| 1428 | */ |
||
| 1429 | public function setNegativeFillColor($negativeFillColor) { |
||
| 1430 | $this->negativeFillColor = $negativeFillColor; |
||
| 1431 | return $this; |
||
| 1432 | } |
||
| 1433 | |||
| 1434 | /** |
||
| 1435 | * Set the point. |
||
| 1436 | * |
||
| 1437 | * @param \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Areaspline\HighchartsPoint $point The point. |
||
| 1438 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsAreaspline Returns the highcharts areaspline. |
||
| 1439 | */ |
||
| 1440 | public function setPoint(\WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Areaspline\HighchartsPoint $point = null) { |
||
| 1441 | $this->point = $point; |
||
| 1442 | return $this; |
||
| 1443 | } |
||
| 1444 | |||
| 1445 | /** |
||
| 1446 | * Set the point description formatter. |
||
| 1447 | * |
||
| 1448 | * @param string $pointDescriptionFormatter The point description formatter. |
||
| 1449 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsAreaspline Returns the highcharts areaspline. |
||
| 1450 | */ |
||
| 1451 | public function setPointDescriptionFormatter($pointDescriptionFormatter) { |
||
| 1452 | $this->pointDescriptionFormatter = $pointDescriptionFormatter; |
||
| 1453 | return $this; |
||
| 1454 | } |
||
| 1455 | |||
| 1456 | /** |
||
| 1457 | * Set the point interval. |
||
| 1458 | * |
||
| 1459 | * @param integer $pointInterval The point interval. |
||
| 1460 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsAreaspline Returns the highcharts areaspline. |
||
| 1461 | */ |
||
| 1462 | public function setPointInterval($pointInterval) { |
||
| 1463 | $this->pointInterval = $pointInterval; |
||
| 1464 | return $this; |
||
| 1465 | } |
||
| 1466 | |||
| 1467 | /** |
||
| 1468 | * Set the point interval unit. |
||
| 1469 | * |
||
| 1470 | * @param string $pointIntervalUnit The point interval unit. |
||
| 1471 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsAreaspline Returns the highcharts areaspline. |
||
| 1472 | */ |
||
| 1473 | public function setPointIntervalUnit($pointIntervalUnit) { |
||
| 1474 | switch ($pointIntervalUnit) { |
||
| 1475 | case null: |
||
| 1476 | case "day": |
||
| 1477 | case "month": |
||
| 1478 | case "year": |
||
| 1479 | $this->pointIntervalUnit = $pointIntervalUnit; |
||
| 1480 | break; |
||
| 1481 | } |
||
| 1482 | return $this; |
||
| 1483 | } |
||
| 1484 | |||
| 1485 | /** |
||
| 1486 | * Set the point placement. |
||
| 1487 | * |
||
| 1488 | * @param string|integer $pointPlacement The point placement. |
||
| 1489 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsAreaspline Returns the highcharts areaspline. |
||
| 1490 | */ |
||
| 1491 | public function setPointPlacement($pointPlacement) { |
||
| 1492 | switch ($pointPlacement) { |
||
| 1493 | case null: |
||
| 1494 | case "between": |
||
| 1495 | case "on": |
||
| 1496 | $this->pointPlacement = $pointPlacement; |
||
| 1497 | break; |
||
| 1498 | } |
||
| 1499 | return $this; |
||
| 1500 | } |
||
| 1501 | |||
| 1502 | /** |
||
| 1503 | * Set the point start. |
||
| 1504 | * |
||
| 1505 | * @param integer $pointStart The point start. |
||
| 1506 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsAreaspline Returns the highcharts areaspline. |
||
| 1507 | */ |
||
| 1508 | public function setPointStart($pointStart) { |
||
| 1509 | $this->pointStart = $pointStart; |
||
| 1510 | return $this; |
||
| 1511 | } |
||
| 1512 | |||
| 1513 | /** |
||
| 1514 | * Set the selected. |
||
| 1515 | * |
||
| 1516 | * @param boolean $selected The selected. |
||
| 1517 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsAreaspline Returns the highcharts areaspline. |
||
| 1518 | */ |
||
| 1519 | public function setSelected($selected) { |
||
| 1520 | $this->selected = $selected; |
||
| 1521 | return $this; |
||
| 1522 | } |
||
| 1523 | |||
| 1524 | /** |
||
| 1525 | * Set the shadow. |
||
| 1526 | * |
||
| 1527 | * @param boolean|array $shadow The shadow. |
||
| 1528 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsAreaspline Returns the highcharts areaspline. |
||
| 1529 | */ |
||
| 1530 | public function setShadow($shadow) { |
||
| 1531 | $this->shadow = $shadow; |
||
| 1532 | return $this; |
||
| 1533 | } |
||
| 1534 | |||
| 1535 | /** |
||
| 1536 | * Set the show checkbox. |
||
| 1537 | * |
||
| 1538 | * @param boolean $showCheckbox The show checkbox. |
||
| 1539 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsAreaspline Returns the highcharts areaspline. |
||
| 1540 | */ |
||
| 1541 | public function setShowCheckbox($showCheckbox) { |
||
| 1542 | $this->showCheckbox = $showCheckbox; |
||
| 1543 | return $this; |
||
| 1544 | } |
||
| 1545 | |||
| 1546 | /** |
||
| 1547 | * Set the show in legend. |
||
| 1548 | * |
||
| 1549 | * @param boolean $showInLegend The show in legend. |
||
| 1550 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsAreaspline Returns the highcharts areaspline. |
||
| 1551 | */ |
||
| 1552 | public function setShowInLegend($showInLegend) { |
||
| 1553 | $this->showInLegend = $showInLegend; |
||
| 1554 | return $this; |
||
| 1555 | } |
||
| 1556 | |||
| 1557 | /** |
||
| 1558 | * Set the skip keyboard navigation. |
||
| 1559 | * |
||
| 1560 | * @param boolean $skipKeyboardNavigation The skip keyboard navigation. |
||
| 1561 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsAreaspline Returns the highcharts areaspline. |
||
| 1562 | */ |
||
| 1563 | public function setSkipKeyboardNavigation($skipKeyboardNavigation) { |
||
| 1564 | $this->skipKeyboardNavigation = $skipKeyboardNavigation; |
||
| 1565 | return $this; |
||
| 1566 | } |
||
| 1567 | |||
| 1568 | /** |
||
| 1569 | * Set the soft threshold. |
||
| 1570 | * |
||
| 1571 | * @param boolean $softThreshold The soft threshold. |
||
| 1572 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsAreaspline Returns the highcharts areaspline. |
||
| 1573 | */ |
||
| 1574 | public function setSoftThreshold($softThreshold) { |
||
| 1575 | $this->softThreshold = $softThreshold; |
||
| 1576 | return $this; |
||
| 1577 | } |
||
| 1578 | |||
| 1579 | /** |
||
| 1580 | * Set the stacking. |
||
| 1581 | * |
||
| 1582 | * @param string $stacking The stacking. |
||
| 1583 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsAreaspline Returns the highcharts areaspline. |
||
| 1584 | */ |
||
| 1585 | public function setStacking($stacking) { |
||
| 1586 | switch ($stacking) { |
||
| 1587 | case null: |
||
| 1588 | case "normal": |
||
| 1589 | case "percent": |
||
| 1590 | $this->stacking = $stacking; |
||
| 1591 | break; |
||
| 1592 | } |
||
| 1593 | return $this; |
||
| 1594 | } |
||
| 1595 | |||
| 1596 | /** |
||
| 1597 | * Set the states. |
||
| 1598 | * |
||
| 1599 | * @param \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Areaspline\HighchartsStates $states The states. |
||
| 1600 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsAreaspline Returns the highcharts areaspline. |
||
| 1601 | */ |
||
| 1602 | public function setStates(\WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Areaspline\HighchartsStates $states = null) { |
||
| 1603 | $this->states = $states; |
||
| 1604 | return $this; |
||
| 1605 | } |
||
| 1606 | |||
| 1607 | /** |
||
| 1608 | * Set the sticky tracking. |
||
| 1609 | * |
||
| 1610 | * @param boolean $stickyTracking The sticky tracking. |
||
| 1611 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsAreaspline Returns the highcharts areaspline. |
||
| 1612 | */ |
||
| 1613 | public function setStickyTracking($stickyTracking) { |
||
| 1614 | $this->stickyTracking = $stickyTracking; |
||
| 1615 | return $this; |
||
| 1616 | } |
||
| 1617 | |||
| 1618 | /** |
||
| 1619 | * Set the threshold. |
||
| 1620 | * |
||
| 1621 | * @param integer $threshold The threshold. |
||
| 1622 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsAreaspline Returns the highcharts areaspline. |
||
| 1623 | */ |
||
| 1624 | public function setThreshold($threshold) { |
||
| 1625 | $this->threshold = $threshold; |
||
| 1626 | return $this; |
||
| 1627 | } |
||
| 1628 | |||
| 1629 | /** |
||
| 1630 | * Set the tooltip. |
||
| 1631 | * |
||
| 1632 | * @param array $tooltip The tooltip. |
||
| 1633 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsAreaspline Returns the highcharts areaspline. |
||
| 1634 | */ |
||
| 1635 | public function setTooltip(array $tooltip = null) { |
||
| 1636 | $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...
|
|||
| 1637 | return $this; |
||
| 1638 | } |
||
| 1639 | |||
| 1640 | /** |
||
| 1641 | * Set the track by area. |
||
| 1642 | * |
||
| 1643 | * @param boolean $trackByArea The track by area. |
||
| 1644 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsAreaspline Returns the highcharts areaspline. |
||
| 1645 | */ |
||
| 1646 | public function setTrackByArea($trackByArea) { |
||
| 1647 | $this->trackByArea = $trackByArea; |
||
| 1648 | return $this; |
||
| 1649 | } |
||
| 1650 | |||
| 1651 | /** |
||
| 1652 | * Set the turbo threshold. |
||
| 1653 | * |
||
| 1654 | * @param integer $turboThreshold The turbo threshold. |
||
| 1655 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsAreaspline Returns the highcharts areaspline. |
||
| 1656 | */ |
||
| 1657 | public function setTurboThreshold($turboThreshold) { |
||
| 1658 | $this->turboThreshold = $turboThreshold; |
||
| 1659 | return $this; |
||
| 1660 | } |
||
| 1661 | |||
| 1662 | /** |
||
| 1663 | * Set the visible. |
||
| 1664 | * |
||
| 1665 | * @param boolean $visible The visible. |
||
| 1666 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsAreaspline Returns the highcharts areaspline. |
||
| 1667 | */ |
||
| 1668 | public function setVisible($visible) { |
||
| 1669 | $this->visible = $visible; |
||
| 1670 | return $this; |
||
| 1671 | } |
||
| 1672 | |||
| 1673 | /** |
||
| 1674 | * Set the zone axis. |
||
| 1675 | * |
||
| 1676 | * @param string $zoneAxis The zone axis. |
||
| 1677 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsAreaspline Returns the highcharts areaspline. |
||
| 1678 | */ |
||
| 1679 | public function setZoneAxis($zoneAxis) { |
||
| 1680 | $this->zoneAxis = $zoneAxis; |
||
| 1681 | return $this; |
||
| 1682 | } |
||
| 1683 | |||
| 1684 | /** |
||
| 1685 | * Set the zones. |
||
| 1686 | * |
||
| 1687 | * @param array $zones The zones. |
||
| 1688 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsAreaspline Returns the highcharts areaspline. |
||
| 1689 | */ |
||
| 1690 | public function setZones(array $zones = null) { |
||
| 1691 | $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...
|
|||
| 1692 | return $this; |
||
| 1693 | } |
||
| 1694 | |||
| 1695 | /** |
||
| 1696 | * Convert into an array representing this instance. |
||
| 1697 | * |
||
| 1698 | * @return array Returns an array representing this instance. |
||
| 1699 | */ |
||
| 1700 | public function toArray() { |
||
| 1701 | |||
| 1702 | // Initialize the output. |
||
| 1703 | $output = []; |
||
| 1704 | |||
| 1705 | // Set the allow point select. |
||
| 1706 | ArrayUtility::set($output, "allowPointSelect", $this->allowPointSelect, [null]); |
||
| 1707 | |||
| 1708 | // Set the animation. |
||
| 1709 | ArrayUtility::set($output, "animation", $this->animation, [null]); |
||
| 1710 | |||
| 1711 | // Set the animation limit. |
||
| 1712 | ArrayUtility::set($output, "animationLimit", $this->animationLimit, [null]); |
||
| 1713 | |||
| 1714 | // Set the class name. |
||
| 1715 | ArrayUtility::set($output, "className", $this->className, [null]); |
||
| 1716 | |||
| 1717 | // Set the color. |
||
| 1718 | ArrayUtility::set($output, "color", $this->color, [null]); |
||
| 1719 | |||
| 1720 | // Set the color index. |
||
| 1721 | ArrayUtility::set($output, "colorIndex", $this->colorIndex, [null]); |
||
| 1722 | |||
| 1723 | // Set the connect ends. |
||
| 1724 | ArrayUtility::set($output, "connectEnds", $this->connectEnds, [null]); |
||
| 1725 | |||
| 1726 | // Set the connect nulls. |
||
| 1727 | ArrayUtility::set($output, "connectNulls", $this->connectNulls, [null]); |
||
| 1728 | |||
| 1729 | // Set the crop threshold. |
||
| 1730 | ArrayUtility::set($output, "cropThreshold", $this->cropThreshold, [null]); |
||
| 1731 | |||
| 1732 | // Set the cursor. |
||
| 1733 | ArrayUtility::set($output, "cursor", $this->cursor, [null]); |
||
| 1734 | |||
| 1735 | // Set the dash style. |
||
| 1736 | ArrayUtility::set($output, "dashStyle", $this->dashStyle, [null]); |
||
| 1737 | |||
| 1738 | // Set the data labels. |
||
| 1739 | if (null !== $this->dataLabels) { |
||
| 1740 | ArrayUtility::set($output, "dataLabels", $this->dataLabels->toArray(), []); |
||
| 1741 | } |
||
| 1742 | |||
| 1743 | // Set the description. |
||
| 1744 | ArrayUtility::set($output, "description", $this->description, [null]); |
||
| 1745 | |||
| 1746 | // Set the enable mouse tracking. |
||
| 1747 | ArrayUtility::set($output, "enableMouseTracking", $this->enableMouseTracking, [null]); |
||
| 1748 | |||
| 1749 | // Set the events. |
||
| 1750 | if (null !== $this->events) { |
||
| 1751 | ArrayUtility::set($output, "events", $this->events->toArray(), []); |
||
| 1752 | } |
||
| 1753 | |||
| 1754 | // Set the expose element to a11y. |
||
| 1755 | ArrayUtility::set($output, "exposeElementToA11y", $this->exposeElementToA11y, [null]); |
||
| 1756 | |||
| 1757 | // Set the fill color. |
||
| 1758 | ArrayUtility::set($output, "fillColor", $this->fillColor, [null]); |
||
| 1759 | |||
| 1760 | // Set the fill opacity. |
||
| 1761 | ArrayUtility::set($output, "fillOpacity", $this->fillOpacity, [null]); |
||
| 1762 | |||
| 1763 | // Set the find nearest point by. |
||
| 1764 | ArrayUtility::set($output, "findNearestPointBy", $this->findNearestPointBy, [null]); |
||
| 1765 | |||
| 1766 | // Set the get extremes from all. |
||
| 1767 | ArrayUtility::set($output, "getExtremesFromAll", $this->getExtremesFromAll, [null]); |
||
| 1768 | |||
| 1769 | // Set the keys. |
||
| 1770 | ArrayUtility::set($output, "keys", $this->keys, [null]); |
||
| 1771 | |||
| 1772 | // Set the line color. |
||
| 1773 | ArrayUtility::set($output, "lineColor", $this->lineColor, [null]); |
||
| 1774 | |||
| 1775 | // Set the line width. |
||
| 1776 | ArrayUtility::set($output, "lineWidth", $this->lineWidth, [null]); |
||
| 1777 | |||
| 1778 | // Set the linecap. |
||
| 1779 | ArrayUtility::set($output, "linecap", $this->linecap, [null]); |
||
| 1780 | |||
| 1781 | // Set the linked to. |
||
| 1782 | ArrayUtility::set($output, "linkedTo", $this->linkedTo, [null]); |
||
| 1783 | |||
| 1784 | // Set the marker. |
||
| 1785 | if (null !== $this->marker) { |
||
| 1786 | ArrayUtility::set($output, "marker", $this->marker->toArray(), []); |
||
| 1787 | } |
||
| 1788 | |||
| 1789 | // Set the negative color. |
||
| 1790 | ArrayUtility::set($output, "negativeColor", $this->negativeColor, [null]); |
||
| 1791 | |||
| 1792 | // Set the negative fill color. |
||
| 1793 | ArrayUtility::set($output, "negativeFillColor", $this->negativeFillColor, [null]); |
||
| 1794 | |||
| 1795 | // Set the point. |
||
| 1796 | if (null !== $this->point) { |
||
| 1797 | ArrayUtility::set($output, "point", $this->point->toArray(), []); |
||
| 1798 | } |
||
| 1799 | |||
| 1800 | // Set the point description formatter. |
||
| 1801 | ArrayUtility::set($output, "pointDescriptionFormatter", $this->pointDescriptionFormatter, [null]); |
||
| 1802 | |||
| 1803 | // Set the point interval. |
||
| 1804 | ArrayUtility::set($output, "pointInterval", $this->pointInterval, [null]); |
||
| 1805 | |||
| 1806 | // Set the point interval unit. |
||
| 1807 | ArrayUtility::set($output, "pointIntervalUnit", $this->pointIntervalUnit, [null]); |
||
| 1808 | |||
| 1809 | // Set the point placement. |
||
| 1810 | ArrayUtility::set($output, "pointPlacement", $this->pointPlacement, [null]); |
||
| 1811 | |||
| 1812 | // Set the point start. |
||
| 1813 | ArrayUtility::set($output, "pointStart", $this->pointStart, [null]); |
||
| 1814 | |||
| 1815 | // Set the selected. |
||
| 1816 | ArrayUtility::set($output, "selected", $this->selected, [null]); |
||
| 1817 | |||
| 1818 | // Set the shadow. |
||
| 1819 | ArrayUtility::set($output, "shadow", $this->shadow, [null]); |
||
| 1820 | |||
| 1821 | // Set the show checkbox. |
||
| 1822 | ArrayUtility::set($output, "showCheckbox", $this->showCheckbox, [null]); |
||
| 1823 | |||
| 1824 | // Set the show in legend. |
||
| 1825 | ArrayUtility::set($output, "showInLegend", $this->showInLegend, [null]); |
||
| 1826 | |||
| 1827 | // Set the skip keyboard navigation. |
||
| 1828 | ArrayUtility::set($output, "skipKeyboardNavigation", $this->skipKeyboardNavigation, [null]); |
||
| 1829 | |||
| 1830 | // Set the soft threshold. |
||
| 1831 | ArrayUtility::set($output, "softThreshold", $this->softThreshold, [null]); |
||
| 1832 | |||
| 1833 | // Set the stacking. |
||
| 1834 | ArrayUtility::set($output, "stacking", $this->stacking, [null]); |
||
| 1835 | |||
| 1836 | // Set the states. |
||
| 1837 | if (null !== $this->states) { |
||
| 1838 | ArrayUtility::set($output, "states", $this->states->toArray(), []); |
||
| 1839 | } |
||
| 1840 | |||
| 1841 | // Set the sticky tracking. |
||
| 1842 | ArrayUtility::set($output, "stickyTracking", $this->stickyTracking, [null]); |
||
| 1843 | |||
| 1844 | // Set the threshold. |
||
| 1845 | ArrayUtility::set($output, "threshold", $this->threshold, [null]); |
||
| 1846 | |||
| 1847 | // Set the tooltip. |
||
| 1848 | ArrayUtility::set($output, "tooltip", $this->tooltip, [null]); |
||
| 1849 | |||
| 1850 | // Set the track by area. |
||
| 1851 | ArrayUtility::set($output, "trackByArea", $this->trackByArea, [null]); |
||
| 1852 | |||
| 1853 | // Set the turbo threshold. |
||
| 1854 | ArrayUtility::set($output, "turboThreshold", $this->turboThreshold, [null]); |
||
| 1855 | |||
| 1856 | // Set the visible. |
||
| 1857 | ArrayUtility::set($output, "visible", $this->visible, [null]); |
||
| 1858 | |||
| 1859 | // Set the zone axis. |
||
| 1860 | ArrayUtility::set($output, "zoneAxis", $this->zoneAxis, [null]); |
||
| 1861 | |||
| 1862 | // Set the zones. |
||
| 1863 | ArrayUtility::set($output, "zones", $this->zones, [null]); |
||
| 1864 | |||
| 1865 | // Return the output. |
||
| 1866 | return $output; |
||
| 1867 | } |
||
| 1868 | |||
| 1869 | } |
||
| 1870 |
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..