Complex classes like HighchartsPyramid often do a lot of different things. To break such a class down, we need to identify a cohesive component within that class. A common approach to find such a component is to look for fields/methods that share the same prefixes, or suffixes. You can also have a look at the cohesion graph to spot any un-connected, or weakly-connected components.
Once you have determined the fields that belong together, you can apply the Extract Class refactoring. If the component makes sense as a sub-class, Extract Subclass is also a candidate, and is often faster.
While breaking up the class, it is a good idea to analyze how other classes use HighchartsPyramid, and based on these observations, apply Extract Interface, too.
| 1 | <?php |
||
| 25 | final class HighchartsPyramid 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 limit. |
||
| 37 | * |
||
| 38 | * @var integer |
||
| 39 | */ |
||
| 40 | private $animationLimit; |
||
| 41 | |||
| 42 | /** |
||
| 43 | * Border color. |
||
| 44 | * |
||
| 45 | * @var string |
||
| 46 | */ |
||
| 47 | private $borderColor = "#ffffff"; |
||
| 48 | |||
| 49 | /** |
||
| 50 | * Border width. |
||
| 51 | * |
||
| 52 | * @var integer |
||
| 53 | */ |
||
| 54 | private $borderWidth = 1; |
||
| 55 | |||
| 56 | /** |
||
| 57 | * Center. |
||
| 58 | * |
||
| 59 | * @var array |
||
| 60 | * @since 3.0 |
||
| 61 | */ |
||
| 62 | private $center = ["50%", "50%"]; |
||
| 63 | |||
| 64 | /** |
||
| 65 | * Class name. |
||
| 66 | * |
||
| 67 | * @var string |
||
| 68 | * @since 5.0.0 |
||
| 69 | */ |
||
| 70 | private $className; |
||
| 71 | |||
| 72 | /** |
||
| 73 | * Color index. |
||
| 74 | * |
||
| 75 | * @var integer |
||
| 76 | * @since 5.0.0 |
||
| 77 | */ |
||
| 78 | private $colorIndex; |
||
| 79 | |||
| 80 | /** |
||
| 81 | * Colors. |
||
| 82 | * |
||
| 83 | * @var array |
||
| 84 | * @since 3.0 |
||
| 85 | */ |
||
| 86 | private $colors; |
||
| 87 | |||
| 88 | /** |
||
| 89 | * Cursor. |
||
| 90 | * |
||
| 91 | * @var string |
||
| 92 | */ |
||
| 93 | private $cursor; |
||
| 94 | |||
| 95 | /** |
||
| 96 | * Data labels. |
||
| 97 | * |
||
| 98 | * @var \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Pyramid\HighchartsDataLabels |
||
| 99 | */ |
||
| 100 | private $dataLabels; |
||
| 101 | |||
| 102 | /** |
||
| 103 | * Depth. |
||
| 104 | * |
||
| 105 | * @var integer |
||
| 106 | * @since 4.0 |
||
| 107 | */ |
||
| 108 | private $depth = 0; |
||
| 109 | |||
| 110 | /** |
||
| 111 | * Description. |
||
| 112 | * |
||
| 113 | * @var string |
||
| 114 | * @since 5.0.0 |
||
| 115 | */ |
||
| 116 | private $description; |
||
| 117 | |||
| 118 | /** |
||
| 119 | * Enable mouse tracking. |
||
| 120 | * |
||
| 121 | * @var boolean |
||
| 122 | */ |
||
| 123 | private $enableMouseTracking = true; |
||
| 124 | |||
| 125 | /** |
||
| 126 | * Events. |
||
| 127 | * |
||
| 128 | * @var \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Pyramid\HighchartsEvents |
||
| 129 | */ |
||
| 130 | private $events; |
||
| 131 | |||
| 132 | /** |
||
| 133 | * Expose element to a11y. |
||
| 134 | * |
||
| 135 | * @var boolean |
||
| 136 | * @since 5.0.12 |
||
| 137 | */ |
||
| 138 | private $exposeElementToA11y; |
||
| 139 | |||
| 140 | /** |
||
| 141 | * Find nearest point by. |
||
| 142 | * |
||
| 143 | * @var string |
||
| 144 | * @since 5.0.10 |
||
| 145 | */ |
||
| 146 | private $findNearestPointBy; |
||
| 147 | |||
| 148 | /** |
||
| 149 | * Get extremes from all. |
||
| 150 | * |
||
| 151 | * @var boolean |
||
| 152 | * @since 4.1.6 |
||
| 153 | */ |
||
| 154 | private $getExtremesFromAll = false; |
||
| 155 | |||
| 156 | /** |
||
| 157 | * Height. |
||
| 158 | * |
||
| 159 | * @var integer|string |
||
| 160 | * @since 3.0 |
||
| 161 | */ |
||
| 162 | private $height; |
||
| 163 | |||
| 164 | /** |
||
| 165 | * Keys. |
||
| 166 | * |
||
| 167 | * @var array |
||
| 168 | * @since 4.1.6 |
||
| 169 | */ |
||
| 170 | private $keys; |
||
| 171 | |||
| 172 | /** |
||
| 173 | * Linked to. |
||
| 174 | * |
||
| 175 | * @var string |
||
| 176 | * @since 3.0 |
||
| 177 | */ |
||
| 178 | private $linkedTo; |
||
| 179 | |||
| 180 | /** |
||
| 181 | * Min size. |
||
| 182 | * |
||
| 183 | * @var integer |
||
| 184 | * @since 3.0 |
||
| 185 | */ |
||
| 186 | private $minSize = 80; |
||
| 187 | |||
| 188 | /** |
||
| 189 | * Point. |
||
| 190 | * |
||
| 191 | * @var \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Pyramid\HighchartsPoint |
||
| 192 | */ |
||
| 193 | private $point; |
||
| 194 | |||
| 195 | /** |
||
| 196 | * Point description formatter. |
||
| 197 | * |
||
| 198 | * @var string |
||
| 199 | * @since 5.0.12 |
||
| 200 | */ |
||
| 201 | private $pointDescriptionFormatter; |
||
| 202 | |||
| 203 | /** |
||
| 204 | * Reversed. |
||
| 205 | * |
||
| 206 | * @var boolean |
||
| 207 | * @since 3.0.10 |
||
| 208 | */ |
||
| 209 | private $reversed = true; |
||
| 210 | |||
| 211 | /** |
||
| 212 | * Selected. |
||
| 213 | * |
||
| 214 | * @var boolean |
||
| 215 | * @since 1.2.0 |
||
| 216 | */ |
||
| 217 | private $selected = false; |
||
| 218 | |||
| 219 | /** |
||
| 220 | * Shadow. |
||
| 221 | * |
||
| 222 | * @var boolean|array |
||
| 223 | */ |
||
| 224 | private $shadow = false; |
||
| 225 | |||
| 226 | /** |
||
| 227 | * Show in legend. |
||
| 228 | * |
||
| 229 | * @var boolean |
||
| 230 | */ |
||
| 231 | private $showInLegend = false; |
||
| 232 | |||
| 233 | /** |
||
| 234 | * Skip keyboard navigation. |
||
| 235 | * |
||
| 236 | * @var boolean |
||
| 237 | * @since 5.0.12 |
||
| 238 | */ |
||
| 239 | private $skipKeyboardNavigation; |
||
| 240 | |||
| 241 | /** |
||
| 242 | * Sliced offset. |
||
| 243 | * |
||
| 244 | * @var integer |
||
| 245 | */ |
||
| 246 | private $slicedOffset = 10; |
||
| 247 | |||
| 248 | /** |
||
| 249 | * States. |
||
| 250 | * |
||
| 251 | * @var \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Pyramid\HighchartsStates |
||
| 252 | */ |
||
| 253 | private $states; |
||
| 254 | |||
| 255 | /** |
||
| 256 | * Sticky tracking. |
||
| 257 | * |
||
| 258 | * @var boolean |
||
| 259 | */ |
||
| 260 | private $stickyTracking = false; |
||
| 261 | |||
| 262 | /** |
||
| 263 | * Tooltip. |
||
| 264 | * |
||
| 265 | * @var array |
||
| 266 | * @since 2.3 |
||
| 267 | */ |
||
| 268 | private $tooltip; |
||
| 269 | |||
| 270 | /** |
||
| 271 | * Visible. |
||
| 272 | * |
||
| 273 | * @var boolean |
||
| 274 | */ |
||
| 275 | private $visible = true; |
||
| 276 | |||
| 277 | /** |
||
| 278 | * Width. |
||
| 279 | * |
||
| 280 | * @var integer|string |
||
| 281 | * @since 3.0 |
||
| 282 | */ |
||
| 283 | private $width = "90%"; |
||
| 284 | |||
| 285 | /** |
||
| 286 | * Zone axis. |
||
| 287 | * |
||
| 288 | * @var string |
||
| 289 | * @since 4.1.0 |
||
| 290 | */ |
||
| 291 | private $zoneAxis = "y"; |
||
| 292 | |||
| 293 | /** |
||
| 294 | * Zones. |
||
| 295 | * |
||
| 296 | * @var array |
||
| 297 | * @since 4.1.0 |
||
| 298 | */ |
||
| 299 | private $zones; |
||
| 300 | |||
| 301 | /** |
||
| 302 | * Constructor. |
||
| 303 | * |
||
| 304 | * @param boolean $ignoreDefaultValues Ignore the default values. |
||
| 305 | */ |
||
| 306 | public function __construct($ignoreDefaultValues = true) { |
||
| 311 | |||
| 312 | /** |
||
| 313 | * Clear. |
||
| 314 | * |
||
| 315 | * @return void |
||
| 316 | */ |
||
| 317 | public function clear() { |
||
| 435 | |||
| 436 | /** |
||
| 437 | * Get the allow point select. |
||
| 438 | * |
||
| 439 | * @return boolean Returns the allow point select. |
||
| 440 | */ |
||
| 441 | public function getAllowPointSelect() { |
||
| 444 | |||
| 445 | /** |
||
| 446 | * Get the animation limit. |
||
| 447 | * |
||
| 448 | * @return integer Returns the animation limit. |
||
| 449 | */ |
||
| 450 | public function getAnimationLimit() { |
||
| 453 | |||
| 454 | /** |
||
| 455 | * Get the border color. |
||
| 456 | * |
||
| 457 | * @return string Returns the border color. |
||
| 458 | */ |
||
| 459 | public function getBorderColor() { |
||
| 462 | |||
| 463 | /** |
||
| 464 | * Get the border width. |
||
| 465 | * |
||
| 466 | * @return integer Returns the border width. |
||
| 467 | */ |
||
| 468 | public function getBorderWidth() { |
||
| 471 | |||
| 472 | /** |
||
| 473 | * Get the center. |
||
| 474 | * |
||
| 475 | * @return array Returns the center. |
||
| 476 | */ |
||
| 477 | public function getCenter() { |
||
| 480 | |||
| 481 | /** |
||
| 482 | * Get the class name. |
||
| 483 | * |
||
| 484 | * @return string Returns the class name. |
||
| 485 | */ |
||
| 486 | public function getClassName() { |
||
| 489 | |||
| 490 | /** |
||
| 491 | * Get the color index. |
||
| 492 | * |
||
| 493 | * @return integer Returns the color index. |
||
| 494 | */ |
||
| 495 | public function getColorIndex() { |
||
| 498 | |||
| 499 | /** |
||
| 500 | * Get the colors. |
||
| 501 | * |
||
| 502 | * @return array Returns the colors. |
||
| 503 | */ |
||
| 504 | public function getColors() { |
||
| 507 | |||
| 508 | /** |
||
| 509 | * Get the cursor. |
||
| 510 | * |
||
| 511 | * @return string Returns the cursor. |
||
| 512 | */ |
||
| 513 | public function getCursor() { |
||
| 516 | |||
| 517 | /** |
||
| 518 | * Get the data labels. |
||
| 519 | * |
||
| 520 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Pyramid\HighchartsDataLabels Returns the data labels. |
||
| 521 | */ |
||
| 522 | public function getDataLabels() { |
||
| 525 | |||
| 526 | /** |
||
| 527 | * Get the depth. |
||
| 528 | * |
||
| 529 | * @return integer Returns the depth. |
||
| 530 | */ |
||
| 531 | public function getDepth() { |
||
| 534 | |||
| 535 | /** |
||
| 536 | * Get the description. |
||
| 537 | * |
||
| 538 | * @return string Returns the description. |
||
| 539 | */ |
||
| 540 | public function getDescription() { |
||
| 543 | |||
| 544 | /** |
||
| 545 | * Get the enable mouse tracking. |
||
| 546 | * |
||
| 547 | * @return boolean Returns the enable mouse tracking. |
||
| 548 | */ |
||
| 549 | public function getEnableMouseTracking() { |
||
| 552 | |||
| 553 | /** |
||
| 554 | * Get the events. |
||
| 555 | * |
||
| 556 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Pyramid\HighchartsEvents Returns the events. |
||
| 557 | */ |
||
| 558 | public function getEvents() { |
||
| 561 | |||
| 562 | /** |
||
| 563 | * Get the expose element to a11y. |
||
| 564 | * |
||
| 565 | * @return boolean Returns the expose element to a11y. |
||
| 566 | */ |
||
| 567 | public function getExposeElementToA11y() { |
||
| 570 | |||
| 571 | /** |
||
| 572 | * Get the find nearest point by. |
||
| 573 | * |
||
| 574 | * @return string Returns the find nearest point by. |
||
| 575 | */ |
||
| 576 | public function getFindNearestPointBy() { |
||
| 579 | |||
| 580 | /** |
||
| 581 | * Get the get extremes from all. |
||
| 582 | * |
||
| 583 | * @return boolean Returns the get extremes from all. |
||
| 584 | */ |
||
| 585 | public function getGetExtremesFromAll() { |
||
| 588 | |||
| 589 | /** |
||
| 590 | * Get the height. |
||
| 591 | * |
||
| 592 | * @return integer|string Returns the height. |
||
| 593 | */ |
||
| 594 | public function getHeight() { |
||
| 597 | |||
| 598 | /** |
||
| 599 | * Get the keys. |
||
| 600 | * |
||
| 601 | * @return array Returns the keys. |
||
| 602 | */ |
||
| 603 | public function getKeys() { |
||
| 606 | |||
| 607 | /** |
||
| 608 | * Get the linked to. |
||
| 609 | * |
||
| 610 | * @return string Returns the linked to. |
||
| 611 | */ |
||
| 612 | public function getLinkedTo() { |
||
| 615 | |||
| 616 | /** |
||
| 617 | * Get the min size. |
||
| 618 | * |
||
| 619 | * @return integer Returns the min size. |
||
| 620 | */ |
||
| 621 | public function getMinSize() { |
||
| 624 | |||
| 625 | /** |
||
| 626 | * Get the point. |
||
| 627 | * |
||
| 628 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Pyramid\HighchartsPoint Returns the point. |
||
| 629 | */ |
||
| 630 | public function getPoint() { |
||
| 633 | |||
| 634 | /** |
||
| 635 | * Get the point description formatter. |
||
| 636 | * |
||
| 637 | * @return string Returns the point description formatter. |
||
| 638 | */ |
||
| 639 | public function getPointDescriptionFormatter() { |
||
| 642 | |||
| 643 | /** |
||
| 644 | * Get the reversed. |
||
| 645 | * |
||
| 646 | * @return boolean Returns the reversed. |
||
| 647 | */ |
||
| 648 | public function getReversed() { |
||
| 651 | |||
| 652 | /** |
||
| 653 | * Get the selected. |
||
| 654 | * |
||
| 655 | * @return boolean Returns the selected. |
||
| 656 | */ |
||
| 657 | public function getSelected() { |
||
| 660 | |||
| 661 | /** |
||
| 662 | * Get the shadow. |
||
| 663 | * |
||
| 664 | * @return boolean|array Returns the shadow. |
||
| 665 | */ |
||
| 666 | public function getShadow() { |
||
| 669 | |||
| 670 | /** |
||
| 671 | * Get the show in legend. |
||
| 672 | * |
||
| 673 | * @return boolean Returns the show in legend. |
||
| 674 | */ |
||
| 675 | public function getShowInLegend() { |
||
| 678 | |||
| 679 | /** |
||
| 680 | * Get the skip keyboard navigation. |
||
| 681 | * |
||
| 682 | * @return boolean Returns the skip keyboard navigation. |
||
| 683 | */ |
||
| 684 | public function getSkipKeyboardNavigation() { |
||
| 687 | |||
| 688 | /** |
||
| 689 | * Get the sliced offset. |
||
| 690 | * |
||
| 691 | * @return integer Returns the sliced offset. |
||
| 692 | */ |
||
| 693 | public function getSlicedOffset() { |
||
| 696 | |||
| 697 | /** |
||
| 698 | * Get the states. |
||
| 699 | * |
||
| 700 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Pyramid\HighchartsStates Returns the states. |
||
| 701 | */ |
||
| 702 | public function getStates() { |
||
| 705 | |||
| 706 | /** |
||
| 707 | * Get the sticky tracking. |
||
| 708 | * |
||
| 709 | * @return boolean Returns the sticky tracking. |
||
| 710 | */ |
||
| 711 | public function getStickyTracking() { |
||
| 714 | |||
| 715 | /** |
||
| 716 | * Get the tooltip. |
||
| 717 | * |
||
| 718 | * @return array Returns the tooltip. |
||
| 719 | */ |
||
| 720 | public function getTooltip() { |
||
| 723 | |||
| 724 | /** |
||
| 725 | * Get the visible. |
||
| 726 | * |
||
| 727 | * @return boolean Returns the visible. |
||
| 728 | */ |
||
| 729 | public function getVisible() { |
||
| 732 | |||
| 733 | /** |
||
| 734 | * Get the width. |
||
| 735 | * |
||
| 736 | * @return integer|string Returns the width. |
||
| 737 | */ |
||
| 738 | public function getWidth() { |
||
| 741 | |||
| 742 | /** |
||
| 743 | * Get the zone axis. |
||
| 744 | * |
||
| 745 | * @return string Returns the zone axis. |
||
| 746 | */ |
||
| 747 | public function getZoneAxis() { |
||
| 750 | |||
| 751 | /** |
||
| 752 | * Get the zones. |
||
| 753 | * |
||
| 754 | * @return array Returns the zones. |
||
| 755 | */ |
||
| 756 | public function getZones() { |
||
| 759 | |||
| 760 | /** |
||
| 761 | * Serialize this instance. |
||
| 762 | * |
||
| 763 | * @return array Returns an array representing this instance. |
||
| 764 | */ |
||
| 765 | public function jsonSerialize() { |
||
| 768 | |||
| 769 | /** |
||
| 770 | * Create a new data labels. |
||
| 771 | * |
||
| 772 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Pyramid\HighchartsDataLabels Returns the data labels. |
||
| 773 | */ |
||
| 774 | public function newDataLabels() { |
||
| 778 | |||
| 779 | /** |
||
| 780 | * Create a new events. |
||
| 781 | * |
||
| 782 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Pyramid\HighchartsEvents Returns the events. |
||
| 783 | */ |
||
| 784 | public function newEvents() { |
||
| 788 | |||
| 789 | /** |
||
| 790 | * Create a new point. |
||
| 791 | * |
||
| 792 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Pyramid\HighchartsPoint Returns the point. |
||
| 793 | */ |
||
| 794 | public function newPoint() { |
||
| 798 | |||
| 799 | /** |
||
| 800 | * Create a new states. |
||
| 801 | * |
||
| 802 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Pyramid\HighchartsStates Returns the states. |
||
| 803 | */ |
||
| 804 | public function newStates() { |
||
| 808 | |||
| 809 | /** |
||
| 810 | * Set the allow point select. |
||
| 811 | * |
||
| 812 | * @param boolean $allowPointSelect The allow point select. |
||
| 813 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsPyramid Returns the highcharts pyramid. |
||
| 814 | */ |
||
| 815 | public function setAllowPointSelect($allowPointSelect) { |
||
| 819 | |||
| 820 | /** |
||
| 821 | * Set the animation limit. |
||
| 822 | * |
||
| 823 | * @param integer $animationLimit The animation limit. |
||
| 824 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsPyramid Returns the highcharts pyramid. |
||
| 825 | */ |
||
| 826 | public function setAnimationLimit($animationLimit) { |
||
| 830 | |||
| 831 | /** |
||
| 832 | * Set the border color. |
||
| 833 | * |
||
| 834 | * @param string $borderColor The border color. |
||
| 835 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsPyramid Returns the highcharts pyramid. |
||
| 836 | */ |
||
| 837 | public function setBorderColor($borderColor) { |
||
| 841 | |||
| 842 | /** |
||
| 843 | * Set the border width. |
||
| 844 | * |
||
| 845 | * @param integer $borderWidth The border width. |
||
| 846 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsPyramid Returns the highcharts pyramid. |
||
| 847 | */ |
||
| 848 | public function setBorderWidth($borderWidth) { |
||
| 852 | |||
| 853 | /** |
||
| 854 | * Set the center. |
||
| 855 | * |
||
| 856 | * @param array $center The center. |
||
| 857 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsPyramid Returns the highcharts pyramid. |
||
| 858 | */ |
||
| 859 | public function setCenter(array $center = null) { |
||
| 863 | |||
| 864 | /** |
||
| 865 | * Set the class name. |
||
| 866 | * |
||
| 867 | * @param string $className The class name. |
||
| 868 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsPyramid Returns the highcharts pyramid. |
||
| 869 | */ |
||
| 870 | public function setClassName($className) { |
||
| 874 | |||
| 875 | /** |
||
| 876 | * Set the color index. |
||
| 877 | * |
||
| 878 | * @param integer $colorIndex The color index. |
||
| 879 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsPyramid Returns the highcharts pyramid. |
||
| 880 | */ |
||
| 881 | public function setColorIndex($colorIndex) { |
||
| 885 | |||
| 886 | /** |
||
| 887 | * Set the colors. |
||
| 888 | * |
||
| 889 | * @param array $colors The colors. |
||
| 890 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsPyramid Returns the highcharts pyramid. |
||
| 891 | */ |
||
| 892 | public function setColors(array $colors = null) { |
||
| 896 | |||
| 897 | /** |
||
| 898 | * Set the cursor. |
||
| 899 | * |
||
| 900 | * @param string $cursor The cursor. |
||
| 901 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsPyramid Returns the highcharts pyramid. |
||
| 902 | */ |
||
| 903 | public function setCursor($cursor) { |
||
| 916 | |||
| 917 | /** |
||
| 918 | * Set the data labels. |
||
| 919 | * |
||
| 920 | * @param \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Pyramid\HighchartsDataLabels $dataLabels The data labels. |
||
| 921 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsPyramid Returns the highcharts pyramid. |
||
| 922 | */ |
||
| 923 | public function setDataLabels(\WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Pyramid\HighchartsDataLabels $dataLabels = null) { |
||
| 927 | |||
| 928 | /** |
||
| 929 | * Set the depth. |
||
| 930 | * |
||
| 931 | * @param integer $depth The depth. |
||
| 932 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsPyramid Returns the highcharts pyramid. |
||
| 933 | */ |
||
| 934 | public function setDepth($depth) { |
||
| 938 | |||
| 939 | /** |
||
| 940 | * Set the description. |
||
| 941 | * |
||
| 942 | * @param string $description The description. |
||
| 943 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsPyramid Returns the highcharts pyramid. |
||
| 944 | */ |
||
| 945 | public function setDescription($description) { |
||
| 949 | |||
| 950 | /** |
||
| 951 | * Set the enable mouse tracking. |
||
| 952 | * |
||
| 953 | * @param boolean $enableMouseTracking The enable mouse tracking. |
||
| 954 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsPyramid Returns the highcharts pyramid. |
||
| 955 | */ |
||
| 956 | public function setEnableMouseTracking($enableMouseTracking) { |
||
| 960 | |||
| 961 | /** |
||
| 962 | * Set the events. |
||
| 963 | * |
||
| 964 | * @param \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Pyramid\HighchartsEvents $events The events. |
||
| 965 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsPyramid Returns the highcharts pyramid. |
||
| 966 | */ |
||
| 967 | public function setEvents(\WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Pyramid\HighchartsEvents $events = null) { |
||
| 971 | |||
| 972 | /** |
||
| 973 | * Set the expose element to a11y. |
||
| 974 | * |
||
| 975 | * @param boolean $exposeElementToA11y The expose element to a11y. |
||
| 976 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsPyramid Returns the highcharts pyramid. |
||
| 977 | */ |
||
| 978 | public function setExposeElementToA11y($exposeElementToA11y) { |
||
| 982 | |||
| 983 | /** |
||
| 984 | * Set the find nearest point by. |
||
| 985 | * |
||
| 986 | * @param string $findNearestPointBy The find nearest point by. |
||
| 987 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsPyramid Returns the highcharts pyramid. |
||
| 988 | */ |
||
| 989 | public function setFindNearestPointBy($findNearestPointBy) { |
||
| 998 | |||
| 999 | /** |
||
| 1000 | * Set the get extremes from all. |
||
| 1001 | * |
||
| 1002 | * @param boolean $getExtremesFromAll The get extremes from all. |
||
| 1003 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsPyramid Returns the highcharts pyramid. |
||
| 1004 | */ |
||
| 1005 | public function setGetExtremesFromAll($getExtremesFromAll) { |
||
| 1009 | |||
| 1010 | /** |
||
| 1011 | * Set the height. |
||
| 1012 | * |
||
| 1013 | * @param integer|string $height The height. |
||
| 1014 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsPyramid Returns the highcharts pyramid. |
||
| 1015 | */ |
||
| 1016 | public function setHeight($height) { |
||
| 1020 | |||
| 1021 | /** |
||
| 1022 | * Set the keys. |
||
| 1023 | * |
||
| 1024 | * @param array $keys The keys. |
||
| 1025 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsPyramid Returns the highcharts pyramid. |
||
| 1026 | */ |
||
| 1027 | public function setKeys(array $keys = null) { |
||
| 1031 | |||
| 1032 | /** |
||
| 1033 | * Set the linked to. |
||
| 1034 | * |
||
| 1035 | * @param string $linkedTo The linked to. |
||
| 1036 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsPyramid Returns the highcharts pyramid. |
||
| 1037 | */ |
||
| 1038 | public function setLinkedTo($linkedTo) { |
||
| 1042 | |||
| 1043 | /** |
||
| 1044 | * Set the min size. |
||
| 1045 | * |
||
| 1046 | * @param integer $minSize The min size. |
||
| 1047 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsPyramid Returns the highcharts pyramid. |
||
| 1048 | */ |
||
| 1049 | public function setMinSize($minSize) { |
||
| 1053 | |||
| 1054 | /** |
||
| 1055 | * Set the point. |
||
| 1056 | * |
||
| 1057 | * @param \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Pyramid\HighchartsPoint $point The point. |
||
| 1058 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsPyramid Returns the highcharts pyramid. |
||
| 1059 | */ |
||
| 1060 | public function setPoint(\WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Pyramid\HighchartsPoint $point = null) { |
||
| 1064 | |||
| 1065 | /** |
||
| 1066 | * Set the point description formatter. |
||
| 1067 | * |
||
| 1068 | * @param string $pointDescriptionFormatter The point description formatter. |
||
| 1069 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsPyramid Returns the highcharts pyramid. |
||
| 1070 | */ |
||
| 1071 | public function setPointDescriptionFormatter($pointDescriptionFormatter) { |
||
| 1075 | |||
| 1076 | /** |
||
| 1077 | * Set the reversed. |
||
| 1078 | * |
||
| 1079 | * @param boolean $reversed The reversed. |
||
| 1080 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsPyramid Returns the highcharts pyramid. |
||
| 1081 | */ |
||
| 1082 | public function setReversed($reversed) { |
||
| 1086 | |||
| 1087 | /** |
||
| 1088 | * Set the selected. |
||
| 1089 | * |
||
| 1090 | * @param boolean $selected The selected. |
||
| 1091 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsPyramid Returns the highcharts pyramid. |
||
| 1092 | */ |
||
| 1093 | public function setSelected($selected) { |
||
| 1097 | |||
| 1098 | /** |
||
| 1099 | * Set the shadow. |
||
| 1100 | * |
||
| 1101 | * @param boolean|array $shadow The shadow. |
||
| 1102 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsPyramid Returns the highcharts pyramid. |
||
| 1103 | */ |
||
| 1104 | public function setShadow($shadow) { |
||
| 1108 | |||
| 1109 | /** |
||
| 1110 | * Set the show in legend. |
||
| 1111 | * |
||
| 1112 | * @param boolean $showInLegend The show in legend. |
||
| 1113 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsPyramid Returns the highcharts pyramid. |
||
| 1114 | */ |
||
| 1115 | public function setShowInLegend($showInLegend) { |
||
| 1119 | |||
| 1120 | /** |
||
| 1121 | * Set the skip keyboard navigation. |
||
| 1122 | * |
||
| 1123 | * @param boolean $skipKeyboardNavigation The skip keyboard navigation. |
||
| 1124 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsPyramid Returns the highcharts pyramid. |
||
| 1125 | */ |
||
| 1126 | public function setSkipKeyboardNavigation($skipKeyboardNavigation) { |
||
| 1130 | |||
| 1131 | /** |
||
| 1132 | * Set the sliced offset. |
||
| 1133 | * |
||
| 1134 | * @param integer $slicedOffset The sliced offset. |
||
| 1135 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsPyramid Returns the highcharts pyramid. |
||
| 1136 | */ |
||
| 1137 | public function setSlicedOffset($slicedOffset) { |
||
| 1141 | |||
| 1142 | /** |
||
| 1143 | * Set the states. |
||
| 1144 | * |
||
| 1145 | * @param \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Pyramid\HighchartsStates $states The states. |
||
| 1146 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsPyramid Returns the highcharts pyramid. |
||
| 1147 | */ |
||
| 1148 | public function setStates(\WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Pyramid\HighchartsStates $states = null) { |
||
| 1152 | |||
| 1153 | /** |
||
| 1154 | * Set the sticky tracking. |
||
| 1155 | * |
||
| 1156 | * @param boolean $stickyTracking The sticky tracking. |
||
| 1157 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsPyramid Returns the highcharts pyramid. |
||
| 1158 | */ |
||
| 1159 | public function setStickyTracking($stickyTracking) { |
||
| 1163 | |||
| 1164 | /** |
||
| 1165 | * Set the tooltip. |
||
| 1166 | * |
||
| 1167 | * @param array $tooltip The tooltip. |
||
| 1168 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsPyramid Returns the highcharts pyramid. |
||
| 1169 | */ |
||
| 1170 | public function setTooltip(array $tooltip = null) { |
||
| 1174 | |||
| 1175 | /** |
||
| 1176 | * Set the visible. |
||
| 1177 | * |
||
| 1178 | * @param boolean $visible The visible. |
||
| 1179 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsPyramid Returns the highcharts pyramid. |
||
| 1180 | */ |
||
| 1181 | public function setVisible($visible) { |
||
| 1185 | |||
| 1186 | /** |
||
| 1187 | * Set the width. |
||
| 1188 | * |
||
| 1189 | * @param integer|string $width The width. |
||
| 1190 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsPyramid Returns the highcharts pyramid. |
||
| 1191 | */ |
||
| 1192 | public function setWidth($width) { |
||
| 1196 | |||
| 1197 | /** |
||
| 1198 | * Set the zone axis. |
||
| 1199 | * |
||
| 1200 | * @param string $zoneAxis The zone axis. |
||
| 1201 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsPyramid Returns the highcharts pyramid. |
||
| 1202 | */ |
||
| 1203 | public function setZoneAxis($zoneAxis) { |
||
| 1207 | |||
| 1208 | /** |
||
| 1209 | * Set the zones. |
||
| 1210 | * |
||
| 1211 | * @param array $zones The zones. |
||
| 1212 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsPyramid Returns the highcharts pyramid. |
||
| 1213 | */ |
||
| 1214 | public function setZones(array $zones = null) { |
||
| 1218 | |||
| 1219 | /** |
||
| 1220 | * Convert into an array representing this instance. |
||
| 1221 | * |
||
| 1222 | * @return array Returns an array representing this instance. |
||
| 1223 | */ |
||
| 1224 | public function toArray() { |
||
| 1348 | |||
| 1349 | } |
||
| 1350 |
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..