Complex classes like HighchartsBubble 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 HighchartsBubble, and based on these observations, apply Extract Interface, too.
| 1 | <?php |
||
| 25 | final class HighchartsBubble 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 | * Crop threshold. |
||
| 74 | * |
||
| 75 | * @var integer |
||
| 76 | * @since 2.2 |
||
| 77 | */ |
||
| 78 | private $cropThreshold = 300; |
||
| 79 | |||
| 80 | /** |
||
| 81 | * Cursor. |
||
| 82 | * |
||
| 83 | * @var string |
||
| 84 | */ |
||
| 85 | private $cursor; |
||
| 86 | |||
| 87 | /** |
||
| 88 | * Dash style. |
||
| 89 | * |
||
| 90 | * @var string |
||
| 91 | * @since 2.1 |
||
| 92 | */ |
||
| 93 | private $dashStyle = "Solid"; |
||
| 94 | |||
| 95 | /** |
||
| 96 | * Data labels. |
||
| 97 | * |
||
| 98 | * @var \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Bubble\HighchartsDataLabels |
||
| 99 | */ |
||
| 100 | private $dataLabels; |
||
| 101 | |||
| 102 | /** |
||
| 103 | * Description. |
||
| 104 | * |
||
| 105 | * @var string |
||
| 106 | * @since 5.0.0 |
||
| 107 | */ |
||
| 108 | private $description; |
||
| 109 | |||
| 110 | /** |
||
| 111 | * Display negative. |
||
| 112 | * |
||
| 113 | * @var boolean |
||
| 114 | * @since 3.0 |
||
| 115 | */ |
||
| 116 | private $displayNegative = true; |
||
| 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\Bubble\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 | * Keys. |
||
| 158 | * |
||
| 159 | * @var array |
||
| 160 | * @since 4.1.6 |
||
| 161 | */ |
||
| 162 | private $keys; |
||
| 163 | |||
| 164 | /** |
||
| 165 | * Line width. |
||
| 166 | * |
||
| 167 | * @var integer |
||
| 168 | */ |
||
| 169 | private $lineWidth = 0; |
||
| 170 | |||
| 171 | /** |
||
| 172 | * Linked to. |
||
| 173 | * |
||
| 174 | * @var string |
||
| 175 | * @since 3.0 |
||
| 176 | */ |
||
| 177 | private $linkedTo; |
||
| 178 | |||
| 179 | /** |
||
| 180 | * Marker. |
||
| 181 | * |
||
| 182 | * @var array |
||
| 183 | */ |
||
| 184 | private $marker; |
||
| 185 | |||
| 186 | /** |
||
| 187 | * Max size. |
||
| 188 | * |
||
| 189 | * @var string |
||
| 190 | * @since 3.0 |
||
| 191 | */ |
||
| 192 | private $maxSize = "20%"; |
||
| 193 | |||
| 194 | /** |
||
| 195 | * Min size. |
||
| 196 | * |
||
| 197 | * @var string |
||
| 198 | * @since 3.0 |
||
| 199 | */ |
||
| 200 | private $minSize = "8"; |
||
| 201 | |||
| 202 | /** |
||
| 203 | * Negative color. |
||
| 204 | * |
||
| 205 | * @var string |
||
| 206 | * @since 3.0 |
||
| 207 | */ |
||
| 208 | private $negativeColor; |
||
| 209 | |||
| 210 | /** |
||
| 211 | * Point. |
||
| 212 | * |
||
| 213 | * @var \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Bubble\HighchartsPoint |
||
| 214 | */ |
||
| 215 | private $point; |
||
| 216 | |||
| 217 | /** |
||
| 218 | * Point description formatter. |
||
| 219 | * |
||
| 220 | * @var string |
||
| 221 | * @since 5.0.12 |
||
| 222 | */ |
||
| 223 | private $pointDescriptionFormatter; |
||
| 224 | |||
| 225 | /** |
||
| 226 | * Point interval. |
||
| 227 | * |
||
| 228 | * @var integer |
||
| 229 | */ |
||
| 230 | private $pointInterval = 1; |
||
| 231 | |||
| 232 | /** |
||
| 233 | * Point interval unit. |
||
| 234 | * |
||
| 235 | * @var string |
||
| 236 | * @since 4.1.0 |
||
| 237 | */ |
||
| 238 | private $pointIntervalUnit; |
||
| 239 | |||
| 240 | /** |
||
| 241 | * Point start. |
||
| 242 | * |
||
| 243 | * @var integer |
||
| 244 | */ |
||
| 245 | private $pointStart = 0; |
||
| 246 | |||
| 247 | /** |
||
| 248 | * Selected. |
||
| 249 | * |
||
| 250 | * @var boolean |
||
| 251 | * @since 1.2.0 |
||
| 252 | */ |
||
| 253 | private $selected = false; |
||
| 254 | |||
| 255 | /** |
||
| 256 | * Shadow. |
||
| 257 | * |
||
| 258 | * @var boolean|array |
||
| 259 | */ |
||
| 260 | private $shadow = false; |
||
| 261 | |||
| 262 | /** |
||
| 263 | * Show checkbox. |
||
| 264 | * |
||
| 265 | * @var boolean |
||
| 266 | * @since 1.2.0 |
||
| 267 | */ |
||
| 268 | private $showCheckbox = false; |
||
| 269 | |||
| 270 | /** |
||
| 271 | * Show in legend. |
||
| 272 | * |
||
| 273 | * @var boolean |
||
| 274 | */ |
||
| 275 | private $showInLegend = true; |
||
| 276 | |||
| 277 | /** |
||
| 278 | * Size by. |
||
| 279 | * |
||
| 280 | * @var string |
||
| 281 | * @since 3.0.7 |
||
| 282 | */ |
||
| 283 | private $sizeBy = "area"; |
||
| 284 | |||
| 285 | /** |
||
| 286 | * Size by absolute value. |
||
| 287 | * |
||
| 288 | * @var boolean |
||
| 289 | * @since 4.1.9 |
||
| 290 | */ |
||
| 291 | private $sizeByAbsoluteValue = false; |
||
| 292 | |||
| 293 | /** |
||
| 294 | * Skip keyboard navigation. |
||
| 295 | * |
||
| 296 | * @var boolean |
||
| 297 | * @since 5.0.12 |
||
| 298 | */ |
||
| 299 | private $skipKeyboardNavigation; |
||
| 300 | |||
| 301 | /** |
||
| 302 | * Soft threshold. |
||
| 303 | * |
||
| 304 | * @var boolean |
||
| 305 | * @since 4.1.9 |
||
| 306 | */ |
||
| 307 | private $softThreshold = false; |
||
| 308 | |||
| 309 | /** |
||
| 310 | * States. |
||
| 311 | * |
||
| 312 | * @var \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Bubble\HighchartsStates |
||
| 313 | */ |
||
| 314 | private $states; |
||
| 315 | |||
| 316 | /** |
||
| 317 | * Sticky tracking. |
||
| 318 | * |
||
| 319 | * @var boolean |
||
| 320 | */ |
||
| 321 | private $stickyTracking = false; |
||
| 322 | |||
| 323 | /** |
||
| 324 | * Threshold. |
||
| 325 | * |
||
| 326 | * @var integer |
||
| 327 | * @since 3.0 |
||
| 328 | */ |
||
| 329 | private $threshold = 0; |
||
| 330 | |||
| 331 | /** |
||
| 332 | * Tooltip. |
||
| 333 | * |
||
| 334 | * @var array |
||
| 335 | * @since 2.3 |
||
| 336 | */ |
||
| 337 | private $tooltip; |
||
| 338 | |||
| 339 | /** |
||
| 340 | * Visible. |
||
| 341 | * |
||
| 342 | * @var boolean |
||
| 343 | */ |
||
| 344 | private $visible = true; |
||
| 345 | |||
| 346 | /** |
||
| 347 | * Z max. |
||
| 348 | * |
||
| 349 | * @var integer |
||
| 350 | * @since 4.0.3 |
||
| 351 | */ |
||
| 352 | private $zMax; |
||
| 353 | |||
| 354 | /** |
||
| 355 | * Z min. |
||
| 356 | * |
||
| 357 | * @var integer |
||
| 358 | * @since 4.0.3 |
||
| 359 | */ |
||
| 360 | private $zMin; |
||
| 361 | |||
| 362 | /** |
||
| 363 | * Z threshold. |
||
| 364 | * |
||
| 365 | * @var integer |
||
| 366 | * @since 3.0 |
||
| 367 | */ |
||
| 368 | private $zThreshold = 0; |
||
| 369 | |||
| 370 | /** |
||
| 371 | * Zone axis. |
||
| 372 | * |
||
| 373 | * @var string |
||
| 374 | * @since 4.1.0 |
||
| 375 | */ |
||
| 376 | private $zoneAxis = "y"; |
||
| 377 | |||
| 378 | /** |
||
| 379 | * Zones. |
||
| 380 | * |
||
| 381 | * @var array |
||
| 382 | * @since 4.1.0 |
||
| 383 | */ |
||
| 384 | private $zones; |
||
| 385 | |||
| 386 | /** |
||
| 387 | * Constructor. |
||
| 388 | * |
||
| 389 | * @param boolean $ignoreDefaultValues Ignore the default values. |
||
| 390 | */ |
||
| 391 | public function __construct($ignoreDefaultValues = true) { |
||
| 396 | |||
| 397 | /** |
||
| 398 | * Clear. |
||
| 399 | * |
||
| 400 | * @return void |
||
| 401 | */ |
||
| 402 | public function clear() { |
||
| 553 | |||
| 554 | /** |
||
| 555 | * Get the allow point select. |
||
| 556 | * |
||
| 557 | * @return boolean Returns the allow point select. |
||
| 558 | */ |
||
| 559 | public function getAllowPointSelect() { |
||
| 562 | |||
| 563 | /** |
||
| 564 | * Get the animation. |
||
| 565 | * |
||
| 566 | * @return boolean Returns the animation. |
||
| 567 | */ |
||
| 568 | public function getAnimation() { |
||
| 571 | |||
| 572 | /** |
||
| 573 | * Get the animation limit. |
||
| 574 | * |
||
| 575 | * @return integer Returns the animation limit. |
||
| 576 | */ |
||
| 577 | public function getAnimationLimit() { |
||
| 580 | |||
| 581 | /** |
||
| 582 | * Get the class name. |
||
| 583 | * |
||
| 584 | * @return string Returns the class name. |
||
| 585 | */ |
||
| 586 | public function getClassName() { |
||
| 589 | |||
| 590 | /** |
||
| 591 | * Get the color. |
||
| 592 | * |
||
| 593 | * @return string Returns the color. |
||
| 594 | */ |
||
| 595 | public function getColor() { |
||
| 598 | |||
| 599 | /** |
||
| 600 | * Get the color index. |
||
| 601 | * |
||
| 602 | * @return integer Returns the color index. |
||
| 603 | */ |
||
| 604 | public function getColorIndex() { |
||
| 607 | |||
| 608 | /** |
||
| 609 | * Get the crop threshold. |
||
| 610 | * |
||
| 611 | * @return integer Returns the crop threshold. |
||
| 612 | */ |
||
| 613 | public function getCropThreshold() { |
||
| 616 | |||
| 617 | /** |
||
| 618 | * Get the cursor. |
||
| 619 | * |
||
| 620 | * @return string Returns the cursor. |
||
| 621 | */ |
||
| 622 | public function getCursor() { |
||
| 625 | |||
| 626 | /** |
||
| 627 | * Get the dash style. |
||
| 628 | * |
||
| 629 | * @return string Returns the dash style. |
||
| 630 | */ |
||
| 631 | public function getDashStyle() { |
||
| 634 | |||
| 635 | /** |
||
| 636 | * Get the data labels. |
||
| 637 | * |
||
| 638 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Bubble\HighchartsDataLabels Returns the data labels. |
||
| 639 | */ |
||
| 640 | public function getDataLabels() { |
||
| 643 | |||
| 644 | /** |
||
| 645 | * Get the description. |
||
| 646 | * |
||
| 647 | * @return string Returns the description. |
||
| 648 | */ |
||
| 649 | public function getDescription() { |
||
| 652 | |||
| 653 | /** |
||
| 654 | * Get the display negative. |
||
| 655 | * |
||
| 656 | * @return boolean Returns the display negative. |
||
| 657 | */ |
||
| 658 | public function getDisplayNegative() { |
||
| 661 | |||
| 662 | /** |
||
| 663 | * Get the enable mouse tracking. |
||
| 664 | * |
||
| 665 | * @return boolean Returns the enable mouse tracking. |
||
| 666 | */ |
||
| 667 | public function getEnableMouseTracking() { |
||
| 670 | |||
| 671 | /** |
||
| 672 | * Get the events. |
||
| 673 | * |
||
| 674 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Bubble\HighchartsEvents Returns the events. |
||
| 675 | */ |
||
| 676 | public function getEvents() { |
||
| 679 | |||
| 680 | /** |
||
| 681 | * Get the expose element to a11y. |
||
| 682 | * |
||
| 683 | * @return boolean Returns the expose element to a11y. |
||
| 684 | */ |
||
| 685 | public function getExposeElementToA11y() { |
||
| 688 | |||
| 689 | /** |
||
| 690 | * Get the find nearest point by. |
||
| 691 | * |
||
| 692 | * @return string Returns the find nearest point by. |
||
| 693 | */ |
||
| 694 | public function getFindNearestPointBy() { |
||
| 697 | |||
| 698 | /** |
||
| 699 | * Get the get extremes from all. |
||
| 700 | * |
||
| 701 | * @return boolean Returns the get extremes from all. |
||
| 702 | */ |
||
| 703 | public function getGetExtremesFromAll() { |
||
| 706 | |||
| 707 | /** |
||
| 708 | * Get the keys. |
||
| 709 | * |
||
| 710 | * @return array Returns the keys. |
||
| 711 | */ |
||
| 712 | public function getKeys() { |
||
| 715 | |||
| 716 | /** |
||
| 717 | * Get the line width. |
||
| 718 | * |
||
| 719 | * @return integer Returns the line width. |
||
| 720 | */ |
||
| 721 | public function getLineWidth() { |
||
| 724 | |||
| 725 | /** |
||
| 726 | * Get the linked to. |
||
| 727 | * |
||
| 728 | * @return string Returns the linked to. |
||
| 729 | */ |
||
| 730 | public function getLinkedTo() { |
||
| 733 | |||
| 734 | /** |
||
| 735 | * Get the marker. |
||
| 736 | * |
||
| 737 | * @return array Returns the marker. |
||
| 738 | */ |
||
| 739 | public function getMarker() { |
||
| 742 | |||
| 743 | /** |
||
| 744 | * Get the max size. |
||
| 745 | * |
||
| 746 | * @return string Returns the max size. |
||
| 747 | */ |
||
| 748 | public function getMaxSize() { |
||
| 751 | |||
| 752 | /** |
||
| 753 | * Get the min size. |
||
| 754 | * |
||
| 755 | * @return string Returns the min size. |
||
| 756 | */ |
||
| 757 | public function getMinSize() { |
||
| 760 | |||
| 761 | /** |
||
| 762 | * Get the negative color. |
||
| 763 | * |
||
| 764 | * @return string Returns the negative color. |
||
| 765 | */ |
||
| 766 | public function getNegativeColor() { |
||
| 769 | |||
| 770 | /** |
||
| 771 | * Get the point. |
||
| 772 | * |
||
| 773 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Bubble\HighchartsPoint Returns the point. |
||
| 774 | */ |
||
| 775 | public function getPoint() { |
||
| 778 | |||
| 779 | /** |
||
| 780 | * Get the point description formatter. |
||
| 781 | * |
||
| 782 | * @return string Returns the point description formatter. |
||
| 783 | */ |
||
| 784 | public function getPointDescriptionFormatter() { |
||
| 787 | |||
| 788 | /** |
||
| 789 | * Get the point interval. |
||
| 790 | * |
||
| 791 | * @return integer Returns the point interval. |
||
| 792 | */ |
||
| 793 | public function getPointInterval() { |
||
| 796 | |||
| 797 | /** |
||
| 798 | * Get the point interval unit. |
||
| 799 | * |
||
| 800 | * @return string Returns the point interval unit. |
||
| 801 | */ |
||
| 802 | public function getPointIntervalUnit() { |
||
| 805 | |||
| 806 | /** |
||
| 807 | * Get the point start. |
||
| 808 | * |
||
| 809 | * @return integer Returns the point start. |
||
| 810 | */ |
||
| 811 | public function getPointStart() { |
||
| 814 | |||
| 815 | /** |
||
| 816 | * Get the selected. |
||
| 817 | * |
||
| 818 | * @return boolean Returns the selected. |
||
| 819 | */ |
||
| 820 | public function getSelected() { |
||
| 823 | |||
| 824 | /** |
||
| 825 | * Get the shadow. |
||
| 826 | * |
||
| 827 | * @return boolean|array Returns the shadow. |
||
| 828 | */ |
||
| 829 | public function getShadow() { |
||
| 832 | |||
| 833 | /** |
||
| 834 | * Get the show checkbox. |
||
| 835 | * |
||
| 836 | * @return boolean Returns the show checkbox. |
||
| 837 | */ |
||
| 838 | public function getShowCheckbox() { |
||
| 841 | |||
| 842 | /** |
||
| 843 | * Get the show in legend. |
||
| 844 | * |
||
| 845 | * @return boolean Returns the show in legend. |
||
| 846 | */ |
||
| 847 | public function getShowInLegend() { |
||
| 850 | |||
| 851 | /** |
||
| 852 | * Get the size by. |
||
| 853 | * |
||
| 854 | * @return string Returns the size by. |
||
| 855 | */ |
||
| 856 | public function getSizeBy() { |
||
| 859 | |||
| 860 | /** |
||
| 861 | * Get the size by absolute value. |
||
| 862 | * |
||
| 863 | * @return boolean Returns the size by absolute value. |
||
| 864 | */ |
||
| 865 | public function getSizeByAbsoluteValue() { |
||
| 868 | |||
| 869 | /** |
||
| 870 | * Get the skip keyboard navigation. |
||
| 871 | * |
||
| 872 | * @return boolean Returns the skip keyboard navigation. |
||
| 873 | */ |
||
| 874 | public function getSkipKeyboardNavigation() { |
||
| 877 | |||
| 878 | /** |
||
| 879 | * Get the soft threshold. |
||
| 880 | * |
||
| 881 | * @return boolean Returns the soft threshold. |
||
| 882 | */ |
||
| 883 | public function getSoftThreshold() { |
||
| 886 | |||
| 887 | /** |
||
| 888 | * Get the states. |
||
| 889 | * |
||
| 890 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Bubble\HighchartsStates Returns the states. |
||
| 891 | */ |
||
| 892 | public function getStates() { |
||
| 895 | |||
| 896 | /** |
||
| 897 | * Get the sticky tracking. |
||
| 898 | * |
||
| 899 | * @return boolean Returns the sticky tracking. |
||
| 900 | */ |
||
| 901 | public function getStickyTracking() { |
||
| 904 | |||
| 905 | /** |
||
| 906 | * Get the threshold. |
||
| 907 | * |
||
| 908 | * @return integer Returns the threshold. |
||
| 909 | */ |
||
| 910 | public function getThreshold() { |
||
| 913 | |||
| 914 | /** |
||
| 915 | * Get the tooltip. |
||
| 916 | * |
||
| 917 | * @return array Returns the tooltip. |
||
| 918 | */ |
||
| 919 | public function getTooltip() { |
||
| 922 | |||
| 923 | /** |
||
| 924 | * Get the visible. |
||
| 925 | * |
||
| 926 | * @return boolean Returns the visible. |
||
| 927 | */ |
||
| 928 | public function getVisible() { |
||
| 931 | |||
| 932 | /** |
||
| 933 | * Get the z max. |
||
| 934 | * |
||
| 935 | * @return integer Returns the z max. |
||
| 936 | */ |
||
| 937 | public function getZMax() { |
||
| 940 | |||
| 941 | /** |
||
| 942 | * Get the z min. |
||
| 943 | * |
||
| 944 | * @return integer Returns the z min. |
||
| 945 | */ |
||
| 946 | public function getZMin() { |
||
| 949 | |||
| 950 | /** |
||
| 951 | * Get the z threshold. |
||
| 952 | * |
||
| 953 | * @return integer Returns the z threshold. |
||
| 954 | */ |
||
| 955 | public function getZThreshold() { |
||
| 958 | |||
| 959 | /** |
||
| 960 | * Get the zone axis. |
||
| 961 | * |
||
| 962 | * @return string Returns the zone axis. |
||
| 963 | */ |
||
| 964 | public function getZoneAxis() { |
||
| 967 | |||
| 968 | /** |
||
| 969 | * Get the zones. |
||
| 970 | * |
||
| 971 | * @return array Returns the zones. |
||
| 972 | */ |
||
| 973 | public function getZones() { |
||
| 976 | |||
| 977 | /** |
||
| 978 | * Serialize this instance. |
||
| 979 | * |
||
| 980 | * @return array Returns an array representing this instance. |
||
| 981 | */ |
||
| 982 | public function jsonSerialize() { |
||
| 985 | |||
| 986 | /** |
||
| 987 | * Create a new data labels. |
||
| 988 | * |
||
| 989 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Bubble\HighchartsDataLabels Returns the data labels. |
||
| 990 | */ |
||
| 991 | public function newDataLabels() { |
||
| 995 | |||
| 996 | /** |
||
| 997 | * Create a new events. |
||
| 998 | * |
||
| 999 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Bubble\HighchartsEvents Returns the events. |
||
| 1000 | */ |
||
| 1001 | public function newEvents() { |
||
| 1005 | |||
| 1006 | /** |
||
| 1007 | * Create a new point. |
||
| 1008 | * |
||
| 1009 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Bubble\HighchartsPoint Returns the point. |
||
| 1010 | */ |
||
| 1011 | public function newPoint() { |
||
| 1015 | |||
| 1016 | /** |
||
| 1017 | * Create a new states. |
||
| 1018 | * |
||
| 1019 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Bubble\HighchartsStates Returns the states. |
||
| 1020 | */ |
||
| 1021 | public function newStates() { |
||
| 1025 | |||
| 1026 | /** |
||
| 1027 | * Set the allow point select. |
||
| 1028 | * |
||
| 1029 | * @param boolean $allowPointSelect The allow point select. |
||
| 1030 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBubble Returns the highcharts bubble. |
||
| 1031 | */ |
||
| 1032 | public function setAllowPointSelect($allowPointSelect) { |
||
| 1036 | |||
| 1037 | /** |
||
| 1038 | * Set the animation. |
||
| 1039 | * |
||
| 1040 | * @param boolean $animation The animation. |
||
| 1041 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBubble Returns the highcharts bubble. |
||
| 1042 | */ |
||
| 1043 | public function setAnimation($animation) { |
||
| 1047 | |||
| 1048 | /** |
||
| 1049 | * Set the animation limit. |
||
| 1050 | * |
||
| 1051 | * @param integer $animationLimit The animation limit. |
||
| 1052 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBubble Returns the highcharts bubble. |
||
| 1053 | */ |
||
| 1054 | public function setAnimationLimit($animationLimit) { |
||
| 1058 | |||
| 1059 | /** |
||
| 1060 | * Set the class name. |
||
| 1061 | * |
||
| 1062 | * @param string $className The class name. |
||
| 1063 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBubble Returns the highcharts bubble. |
||
| 1064 | */ |
||
| 1065 | public function setClassName($className) { |
||
| 1069 | |||
| 1070 | /** |
||
| 1071 | * Set the color. |
||
| 1072 | * |
||
| 1073 | * @param string $color The color. |
||
| 1074 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBubble Returns the highcharts bubble. |
||
| 1075 | */ |
||
| 1076 | public function setColor($color) { |
||
| 1080 | |||
| 1081 | /** |
||
| 1082 | * Set the color index. |
||
| 1083 | * |
||
| 1084 | * @param integer $colorIndex The color index. |
||
| 1085 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBubble Returns the highcharts bubble. |
||
| 1086 | */ |
||
| 1087 | public function setColorIndex($colorIndex) { |
||
| 1091 | |||
| 1092 | /** |
||
| 1093 | * Set the crop threshold. |
||
| 1094 | * |
||
| 1095 | * @param integer $cropThreshold The crop threshold. |
||
| 1096 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBubble Returns the highcharts bubble. |
||
| 1097 | */ |
||
| 1098 | public function setCropThreshold($cropThreshold) { |
||
| 1102 | |||
| 1103 | /** |
||
| 1104 | * Set the cursor. |
||
| 1105 | * |
||
| 1106 | * @param string $cursor The cursor. |
||
| 1107 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBubble Returns the highcharts bubble. |
||
| 1108 | */ |
||
| 1109 | public function setCursor($cursor) { |
||
| 1122 | |||
| 1123 | /** |
||
| 1124 | * Set the dash style. |
||
| 1125 | * |
||
| 1126 | * @param string $dashStyle The dash style. |
||
| 1127 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBubble Returns the highcharts bubble. |
||
| 1128 | */ |
||
| 1129 | public function setDashStyle($dashStyle) { |
||
| 1147 | |||
| 1148 | /** |
||
| 1149 | * Set the data labels. |
||
| 1150 | * |
||
| 1151 | * @param \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Bubble\HighchartsDataLabels $dataLabels The data labels. |
||
| 1152 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBubble Returns the highcharts bubble. |
||
| 1153 | */ |
||
| 1154 | public function setDataLabels(\WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Bubble\HighchartsDataLabels $dataLabels = null) { |
||
| 1158 | |||
| 1159 | /** |
||
| 1160 | * Set the description. |
||
| 1161 | * |
||
| 1162 | * @param string $description The description. |
||
| 1163 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBubble Returns the highcharts bubble. |
||
| 1164 | */ |
||
| 1165 | public function setDescription($description) { |
||
| 1169 | |||
| 1170 | /** |
||
| 1171 | * Set the display negative. |
||
| 1172 | * |
||
| 1173 | * @param boolean $displayNegative The display negative. |
||
| 1174 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBubble Returns the highcharts bubble. |
||
| 1175 | */ |
||
| 1176 | public function setDisplayNegative($displayNegative) { |
||
| 1180 | |||
| 1181 | /** |
||
| 1182 | * Set the enable mouse tracking. |
||
| 1183 | * |
||
| 1184 | * @param boolean $enableMouseTracking The enable mouse tracking. |
||
| 1185 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBubble Returns the highcharts bubble. |
||
| 1186 | */ |
||
| 1187 | public function setEnableMouseTracking($enableMouseTracking) { |
||
| 1191 | |||
| 1192 | /** |
||
| 1193 | * Set the events. |
||
| 1194 | * |
||
| 1195 | * @param \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Bubble\HighchartsEvents $events The events. |
||
| 1196 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBubble Returns the highcharts bubble. |
||
| 1197 | */ |
||
| 1198 | public function setEvents(\WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Bubble\HighchartsEvents $events = null) { |
||
| 1202 | |||
| 1203 | /** |
||
| 1204 | * Set the expose element to a11y. |
||
| 1205 | * |
||
| 1206 | * @param boolean $exposeElementToA11y The expose element to a11y. |
||
| 1207 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBubble Returns the highcharts bubble. |
||
| 1208 | */ |
||
| 1209 | public function setExposeElementToA11y($exposeElementToA11y) { |
||
| 1213 | |||
| 1214 | /** |
||
| 1215 | * Set the find nearest point by. |
||
| 1216 | * |
||
| 1217 | * @param string $findNearestPointBy The find nearest point by. |
||
| 1218 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBubble Returns the highcharts bubble. |
||
| 1219 | */ |
||
| 1220 | public function setFindNearestPointBy($findNearestPointBy) { |
||
| 1229 | |||
| 1230 | /** |
||
| 1231 | * Set the get extremes from all. |
||
| 1232 | * |
||
| 1233 | * @param boolean $getExtremesFromAll The get extremes from all. |
||
| 1234 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBubble Returns the highcharts bubble. |
||
| 1235 | */ |
||
| 1236 | public function setGetExtremesFromAll($getExtremesFromAll) { |
||
| 1240 | |||
| 1241 | /** |
||
| 1242 | * Set the keys. |
||
| 1243 | * |
||
| 1244 | * @param array $keys The keys. |
||
| 1245 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBubble Returns the highcharts bubble. |
||
| 1246 | */ |
||
| 1247 | public function setKeys(array $keys = null) { |
||
| 1251 | |||
| 1252 | /** |
||
| 1253 | * Set the line width. |
||
| 1254 | * |
||
| 1255 | * @param integer $lineWidth The line width. |
||
| 1256 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBubble Returns the highcharts bubble. |
||
| 1257 | */ |
||
| 1258 | public function setLineWidth($lineWidth) { |
||
| 1262 | |||
| 1263 | /** |
||
| 1264 | * Set the linked to. |
||
| 1265 | * |
||
| 1266 | * @param string $linkedTo The linked to. |
||
| 1267 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBubble Returns the highcharts bubble. |
||
| 1268 | */ |
||
| 1269 | public function setLinkedTo($linkedTo) { |
||
| 1273 | |||
| 1274 | /** |
||
| 1275 | * Set the marker. |
||
| 1276 | * |
||
| 1277 | * @param array $marker The marker. |
||
| 1278 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBubble Returns the highcharts bubble. |
||
| 1279 | */ |
||
| 1280 | public function setMarker(array $marker = null) { |
||
| 1284 | |||
| 1285 | /** |
||
| 1286 | * Set the max size. |
||
| 1287 | * |
||
| 1288 | * @param string $maxSize The max size. |
||
| 1289 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBubble Returns the highcharts bubble. |
||
| 1290 | */ |
||
| 1291 | public function setMaxSize($maxSize) { |
||
| 1295 | |||
| 1296 | /** |
||
| 1297 | * Set the min size. |
||
| 1298 | * |
||
| 1299 | * @param string $minSize The min size. |
||
| 1300 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBubble Returns the highcharts bubble. |
||
| 1301 | */ |
||
| 1302 | public function setMinSize($minSize) { |
||
| 1306 | |||
| 1307 | /** |
||
| 1308 | * Set the negative color. |
||
| 1309 | * |
||
| 1310 | * @param string $negativeColor The negative color. |
||
| 1311 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBubble Returns the highcharts bubble. |
||
| 1312 | */ |
||
| 1313 | public function setNegativeColor($negativeColor) { |
||
| 1317 | |||
| 1318 | /** |
||
| 1319 | * Set the point. |
||
| 1320 | * |
||
| 1321 | * @param \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Bubble\HighchartsPoint $point The point. |
||
| 1322 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBubble Returns the highcharts bubble. |
||
| 1323 | */ |
||
| 1324 | public function setPoint(\WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Bubble\HighchartsPoint $point = null) { |
||
| 1328 | |||
| 1329 | /** |
||
| 1330 | * Set the point description formatter. |
||
| 1331 | * |
||
| 1332 | * @param string $pointDescriptionFormatter The point description formatter. |
||
| 1333 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBubble Returns the highcharts bubble. |
||
| 1334 | */ |
||
| 1335 | public function setPointDescriptionFormatter($pointDescriptionFormatter) { |
||
| 1339 | |||
| 1340 | /** |
||
| 1341 | * Set the point interval. |
||
| 1342 | * |
||
| 1343 | * @param integer $pointInterval The point interval. |
||
| 1344 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBubble Returns the highcharts bubble. |
||
| 1345 | */ |
||
| 1346 | public function setPointInterval($pointInterval) { |
||
| 1350 | |||
| 1351 | /** |
||
| 1352 | * Set the point interval unit. |
||
| 1353 | * |
||
| 1354 | * @param string $pointIntervalUnit The point interval unit. |
||
| 1355 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBubble Returns the highcharts bubble. |
||
| 1356 | */ |
||
| 1357 | public function setPointIntervalUnit($pointIntervalUnit) { |
||
| 1368 | |||
| 1369 | /** |
||
| 1370 | * Set the point start. |
||
| 1371 | * |
||
| 1372 | * @param integer $pointStart The point start. |
||
| 1373 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBubble Returns the highcharts bubble. |
||
| 1374 | */ |
||
| 1375 | public function setPointStart($pointStart) { |
||
| 1379 | |||
| 1380 | /** |
||
| 1381 | * Set the selected. |
||
| 1382 | * |
||
| 1383 | * @param boolean $selected The selected. |
||
| 1384 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBubble Returns the highcharts bubble. |
||
| 1385 | */ |
||
| 1386 | public function setSelected($selected) { |
||
| 1390 | |||
| 1391 | /** |
||
| 1392 | * Set the shadow. |
||
| 1393 | * |
||
| 1394 | * @param boolean|array $shadow The shadow. |
||
| 1395 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBubble Returns the highcharts bubble. |
||
| 1396 | */ |
||
| 1397 | public function setShadow($shadow) { |
||
| 1401 | |||
| 1402 | /** |
||
| 1403 | * Set the show checkbox. |
||
| 1404 | * |
||
| 1405 | * @param boolean $showCheckbox The show checkbox. |
||
| 1406 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBubble Returns the highcharts bubble. |
||
| 1407 | */ |
||
| 1408 | public function setShowCheckbox($showCheckbox) { |
||
| 1412 | |||
| 1413 | /** |
||
| 1414 | * Set the show in legend. |
||
| 1415 | * |
||
| 1416 | * @param boolean $showInLegend The show in legend. |
||
| 1417 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBubble Returns the highcharts bubble. |
||
| 1418 | */ |
||
| 1419 | public function setShowInLegend($showInLegend) { |
||
| 1423 | |||
| 1424 | /** |
||
| 1425 | * Set the size by. |
||
| 1426 | * |
||
| 1427 | * @param string $sizeBy The size by. |
||
| 1428 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBubble Returns the highcharts bubble. |
||
| 1429 | */ |
||
| 1430 | public function setSizeBy($sizeBy) { |
||
| 1439 | |||
| 1440 | /** |
||
| 1441 | * Set the size by absolute value. |
||
| 1442 | * |
||
| 1443 | * @param boolean $sizeByAbsoluteValue The size by absolute value. |
||
| 1444 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBubble Returns the highcharts bubble. |
||
| 1445 | */ |
||
| 1446 | public function setSizeByAbsoluteValue($sizeByAbsoluteValue) { |
||
| 1450 | |||
| 1451 | /** |
||
| 1452 | * Set the skip keyboard navigation. |
||
| 1453 | * |
||
| 1454 | * @param boolean $skipKeyboardNavigation The skip keyboard navigation. |
||
| 1455 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBubble Returns the highcharts bubble. |
||
| 1456 | */ |
||
| 1457 | public function setSkipKeyboardNavigation($skipKeyboardNavigation) { |
||
| 1461 | |||
| 1462 | /** |
||
| 1463 | * Set the soft threshold. |
||
| 1464 | * |
||
| 1465 | * @param boolean $softThreshold The soft threshold. |
||
| 1466 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBubble Returns the highcharts bubble. |
||
| 1467 | */ |
||
| 1468 | public function setSoftThreshold($softThreshold) { |
||
| 1472 | |||
| 1473 | /** |
||
| 1474 | * Set the states. |
||
| 1475 | * |
||
| 1476 | * @param \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Bubble\HighchartsStates $states The states. |
||
| 1477 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBubble Returns the highcharts bubble. |
||
| 1478 | */ |
||
| 1479 | public function setStates(\WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Bubble\HighchartsStates $states = null) { |
||
| 1483 | |||
| 1484 | /** |
||
| 1485 | * Set the sticky tracking. |
||
| 1486 | * |
||
| 1487 | * @param boolean $stickyTracking The sticky tracking. |
||
| 1488 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBubble Returns the highcharts bubble. |
||
| 1489 | */ |
||
| 1490 | public function setStickyTracking($stickyTracking) { |
||
| 1494 | |||
| 1495 | /** |
||
| 1496 | * Set the threshold. |
||
| 1497 | * |
||
| 1498 | * @param integer $threshold The threshold. |
||
| 1499 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBubble Returns the highcharts bubble. |
||
| 1500 | */ |
||
| 1501 | public function setThreshold($threshold) { |
||
| 1505 | |||
| 1506 | /** |
||
| 1507 | * Set the tooltip. |
||
| 1508 | * |
||
| 1509 | * @param array $tooltip The tooltip. |
||
| 1510 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBubble Returns the highcharts bubble. |
||
| 1511 | */ |
||
| 1512 | public function setTooltip(array $tooltip = null) { |
||
| 1516 | |||
| 1517 | /** |
||
| 1518 | * Set the visible. |
||
| 1519 | * |
||
| 1520 | * @param boolean $visible The visible. |
||
| 1521 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBubble Returns the highcharts bubble. |
||
| 1522 | */ |
||
| 1523 | public function setVisible($visible) { |
||
| 1527 | |||
| 1528 | /** |
||
| 1529 | * Set the z max. |
||
| 1530 | * |
||
| 1531 | * @param integer $zMax The z max. |
||
| 1532 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBubble Returns the highcharts bubble. |
||
| 1533 | */ |
||
| 1534 | public function setZMax($zMax) { |
||
| 1538 | |||
| 1539 | /** |
||
| 1540 | * Set the z min. |
||
| 1541 | * |
||
| 1542 | * @param integer $zMin The z min. |
||
| 1543 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBubble Returns the highcharts bubble. |
||
| 1544 | */ |
||
| 1545 | public function setZMin($zMin) { |
||
| 1549 | |||
| 1550 | /** |
||
| 1551 | * Set the z threshold. |
||
| 1552 | * |
||
| 1553 | * @param integer $zThreshold The z threshold. |
||
| 1554 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBubble Returns the highcharts bubble. |
||
| 1555 | */ |
||
| 1556 | public function setZThreshold($zThreshold) { |
||
| 1560 | |||
| 1561 | /** |
||
| 1562 | * Set the zone axis. |
||
| 1563 | * |
||
| 1564 | * @param string $zoneAxis The zone axis. |
||
| 1565 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBubble Returns the highcharts bubble. |
||
| 1566 | */ |
||
| 1567 | public function setZoneAxis($zoneAxis) { |
||
| 1571 | |||
| 1572 | /** |
||
| 1573 | * Set the zones. |
||
| 1574 | * |
||
| 1575 | * @param array $zones The zones. |
||
| 1576 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBubble Returns the highcharts bubble. |
||
| 1577 | */ |
||
| 1578 | public function setZones(array $zones = null) { |
||
| 1582 | |||
| 1583 | /** |
||
| 1584 | * Convert into an array representing this instance. |
||
| 1585 | * |
||
| 1586 | * @return array Returns an array representing this instance. |
||
| 1587 | */ |
||
| 1588 | public function toArray() { |
||
| 1745 | |||
| 1746 | } |
||
| 1747 |
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..