Complex classes like HighchartsHeatmap 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 HighchartsHeatmap, and based on these observations, apply Extract Interface, too.
| 1 | <?php |
||
| 25 | final class HighchartsHeatmap implements JsonSerializable { |
||
| 26 | |||
| 27 | /** |
||
| 28 | * Allow point select. |
||
| 29 | * |
||
| 30 | * @var boolean |
||
| 31 | * @since 1.2.0 |
||
| 32 | */ |
||
| 33 | private $allowPointSelect = false; |
||
| 34 | |||
| 35 | /** |
||
| 36 | * Animation. |
||
| 37 | * |
||
| 38 | * @var boolean |
||
| 39 | */ |
||
| 40 | private $animation = true; |
||
| 41 | |||
| 42 | /** |
||
| 43 | * Animation limit. |
||
| 44 | * |
||
| 45 | * @var integer |
||
| 46 | */ |
||
| 47 | private $animationLimit; |
||
| 48 | |||
| 49 | /** |
||
| 50 | * Border color. |
||
| 51 | * |
||
| 52 | * @var string |
||
| 53 | */ |
||
| 54 | private $borderColor = "#ffffff"; |
||
| 55 | |||
| 56 | /** |
||
| 57 | * Border radius. |
||
| 58 | * |
||
| 59 | * @var integer |
||
| 60 | */ |
||
| 61 | private $borderRadius = 0; |
||
| 62 | |||
| 63 | /** |
||
| 64 | * Border width. |
||
| 65 | * |
||
| 66 | * @var integer |
||
| 67 | */ |
||
| 68 | private $borderWidth = 1; |
||
| 69 | |||
| 70 | /** |
||
| 71 | * Class name. |
||
| 72 | * |
||
| 73 | * @var string |
||
| 74 | * @since 5.0.0 |
||
| 75 | */ |
||
| 76 | private $className; |
||
| 77 | |||
| 78 | /** |
||
| 79 | * Color. |
||
| 80 | * |
||
| 81 | * @var string |
||
| 82 | * @since 4.0 |
||
| 83 | */ |
||
| 84 | private $color; |
||
| 85 | |||
| 86 | /** |
||
| 87 | * Color by point. |
||
| 88 | * |
||
| 89 | * @var boolean |
||
| 90 | * @since 2.0 |
||
| 91 | */ |
||
| 92 | private $colorByPoint = false; |
||
| 93 | |||
| 94 | /** |
||
| 95 | * Color index. |
||
| 96 | * |
||
| 97 | * @var integer |
||
| 98 | * @since 5.0.0 |
||
| 99 | */ |
||
| 100 | private $colorIndex; |
||
| 101 | |||
| 102 | /** |
||
| 103 | * Colors. |
||
| 104 | * |
||
| 105 | * @var array |
||
| 106 | * @since 3.0 |
||
| 107 | */ |
||
| 108 | private $colors; |
||
| 109 | |||
| 110 | /** |
||
| 111 | * Colsize. |
||
| 112 | * |
||
| 113 | * @var integer |
||
| 114 | * @since 4.0 |
||
| 115 | */ |
||
| 116 | private $colsize = 1; |
||
| 117 | |||
| 118 | /** |
||
| 119 | * Crisp. |
||
| 120 | * |
||
| 121 | * @var boolean |
||
| 122 | * @since 5.0.10 |
||
| 123 | */ |
||
| 124 | private $crisp = true; |
||
| 125 | |||
| 126 | /** |
||
| 127 | * Crop threshold. |
||
| 128 | * |
||
| 129 | * @var integer |
||
| 130 | */ |
||
| 131 | private $cropThreshold = 50; |
||
| 132 | |||
| 133 | /** |
||
| 134 | * Cursor. |
||
| 135 | * |
||
| 136 | * @var string |
||
| 137 | */ |
||
| 138 | private $cursor; |
||
| 139 | |||
| 140 | /** |
||
| 141 | * Data. |
||
| 142 | * |
||
| 143 | * @var array |
||
| 144 | */ |
||
| 145 | private $data; |
||
| 146 | |||
| 147 | /** |
||
| 148 | * Data labels. |
||
| 149 | * |
||
| 150 | * @var \WBW\Bundle\HighchartsBundle\API\Chart\Series\Heatmap\HighchartsDataLabels |
||
| 151 | */ |
||
| 152 | private $dataLabels; |
||
| 153 | |||
| 154 | /** |
||
| 155 | * Description. |
||
| 156 | * |
||
| 157 | * @var string |
||
| 158 | * @since 5.0.0 |
||
| 159 | */ |
||
| 160 | private $description; |
||
| 161 | |||
| 162 | /** |
||
| 163 | * Enable mouse tracking. |
||
| 164 | * |
||
| 165 | * @var boolean |
||
| 166 | */ |
||
| 167 | private $enableMouseTracking = true; |
||
| 168 | |||
| 169 | /** |
||
| 170 | * Events. |
||
| 171 | * |
||
| 172 | * @var \WBW\Bundle\HighchartsBundle\API\Chart\Series\Heatmap\HighchartsEvents |
||
| 173 | */ |
||
| 174 | private $events; |
||
| 175 | |||
| 176 | /** |
||
| 177 | * Expose element to a11y. |
||
| 178 | * |
||
| 179 | * @var boolean |
||
| 180 | * @since 5.0.12 |
||
| 181 | */ |
||
| 182 | private $exposeElementToA11y; |
||
| 183 | |||
| 184 | /** |
||
| 185 | * Find nearest point by. |
||
| 186 | * |
||
| 187 | * @var string |
||
| 188 | * @since 5.0.10 |
||
| 189 | */ |
||
| 190 | private $findNearestPointBy; |
||
| 191 | |||
| 192 | /** |
||
| 193 | * Get extremes from all. |
||
| 194 | * |
||
| 195 | * @var boolean |
||
| 196 | * @since 4.1.6 |
||
| 197 | */ |
||
| 198 | private $getExtremesFromAll = false; |
||
| 199 | |||
| 200 | /** |
||
| 201 | * Id. |
||
| 202 | * |
||
| 203 | * @var string |
||
| 204 | * @since 1.2.0 |
||
| 205 | */ |
||
| 206 | private $id; |
||
| 207 | |||
| 208 | /** |
||
| 209 | * Index. |
||
| 210 | * |
||
| 211 | * @var integer |
||
| 212 | * @since 2.3.0 |
||
| 213 | */ |
||
| 214 | private $index; |
||
| 215 | |||
| 216 | /** |
||
| 217 | * Keys. |
||
| 218 | * |
||
| 219 | * @var array |
||
| 220 | * @since 4.1.6 |
||
| 221 | */ |
||
| 222 | private $keys; |
||
| 223 | |||
| 224 | /** |
||
| 225 | * Legend index. |
||
| 226 | * |
||
| 227 | * @var integer |
||
| 228 | */ |
||
| 229 | private $legendIndex; |
||
| 230 | |||
| 231 | /** |
||
| 232 | * Linked to. |
||
| 233 | * |
||
| 234 | * @var string |
||
| 235 | * @since 3.0 |
||
| 236 | */ |
||
| 237 | private $linkedTo; |
||
| 238 | |||
| 239 | /** |
||
| 240 | * Max point width. |
||
| 241 | * |
||
| 242 | * @var integer |
||
| 243 | * @since 4.1.8 |
||
| 244 | */ |
||
| 245 | private $maxPointWidth; |
||
| 246 | |||
| 247 | /** |
||
| 248 | * Name. |
||
| 249 | * |
||
| 250 | * @var string |
||
| 251 | */ |
||
| 252 | private $name; |
||
| 253 | |||
| 254 | /** |
||
| 255 | * Point. |
||
| 256 | * |
||
| 257 | * @var \WBW\Bundle\HighchartsBundle\API\Chart\Series\Heatmap\HighchartsPoint |
||
| 258 | */ |
||
| 259 | private $point; |
||
| 260 | |||
| 261 | /** |
||
| 262 | * Point description formatter. |
||
| 263 | * |
||
| 264 | * @var string |
||
| 265 | * @since 5.0.12 |
||
| 266 | */ |
||
| 267 | private $pointDescriptionFormatter; |
||
| 268 | |||
| 269 | /** |
||
| 270 | * Rowsize. |
||
| 271 | * |
||
| 272 | * @var integer |
||
| 273 | * @since 4.0 |
||
| 274 | */ |
||
| 275 | private $rowsize = 1; |
||
| 276 | |||
| 277 | /** |
||
| 278 | * Selected. |
||
| 279 | * |
||
| 280 | * @var boolean |
||
| 281 | * @since 1.2.0 |
||
| 282 | */ |
||
| 283 | private $selected = false; |
||
| 284 | |||
| 285 | /** |
||
| 286 | * Shadow. |
||
| 287 | * |
||
| 288 | * @var boolean|array |
||
| 289 | */ |
||
| 290 | private $shadow = false; |
||
| 291 | |||
| 292 | /** |
||
| 293 | * Show checkbox. |
||
| 294 | * |
||
| 295 | * @var boolean |
||
| 296 | * @since 1.2.0 |
||
| 297 | */ |
||
| 298 | private $showCheckbox = false; |
||
| 299 | |||
| 300 | /** |
||
| 301 | * Show in legend. |
||
| 302 | * |
||
| 303 | * @var boolean |
||
| 304 | */ |
||
| 305 | private $showInLegend = true; |
||
| 306 | |||
| 307 | /** |
||
| 308 | * Skip keyboard navigation. |
||
| 309 | * |
||
| 310 | * @var boolean |
||
| 311 | * @since 5.0.12 |
||
| 312 | */ |
||
| 313 | private $skipKeyboardNavigation; |
||
| 314 | |||
| 315 | /** |
||
| 316 | * States. |
||
| 317 | * |
||
| 318 | * @var \WBW\Bundle\HighchartsBundle\API\Chart\Series\Heatmap\HighchartsStates |
||
| 319 | */ |
||
| 320 | private $states; |
||
| 321 | |||
| 322 | /** |
||
| 323 | * Sticky tracking. |
||
| 324 | * |
||
| 325 | * @var boolean |
||
| 326 | * @since 2.0 |
||
| 327 | */ |
||
| 328 | private $stickyTracking = true; |
||
| 329 | |||
| 330 | /** |
||
| 331 | * Tooltip. |
||
| 332 | * |
||
| 333 | * @var array |
||
| 334 | * @since 2.3 |
||
| 335 | */ |
||
| 336 | private $tooltip; |
||
| 337 | |||
| 338 | /** |
||
| 339 | * Turbo threshold. |
||
| 340 | * |
||
| 341 | * @var integer |
||
| 342 | * @since 2.2 |
||
| 343 | */ |
||
| 344 | private $turboThreshold = 1000; |
||
| 345 | |||
| 346 | /** |
||
| 347 | * Type. |
||
| 348 | * |
||
| 349 | * @var string |
||
| 350 | */ |
||
| 351 | private $type; |
||
| 352 | |||
| 353 | /** |
||
| 354 | * Visible. |
||
| 355 | * |
||
| 356 | * @var boolean |
||
| 357 | */ |
||
| 358 | private $visible = true; |
||
| 359 | |||
| 360 | /** |
||
| 361 | * X axis. |
||
| 362 | * |
||
| 363 | * @var integer|string |
||
| 364 | */ |
||
| 365 | private $xAxis = "0"; |
||
| 366 | |||
| 367 | /** |
||
| 368 | * Y axis. |
||
| 369 | * |
||
| 370 | * @var integer|string |
||
| 371 | */ |
||
| 372 | private $yAxis = "0"; |
||
| 373 | |||
| 374 | /** |
||
| 375 | * Z index. |
||
| 376 | * |
||
| 377 | * @var integer |
||
| 378 | */ |
||
| 379 | private $zIndex; |
||
| 380 | |||
| 381 | /** |
||
| 382 | * Zone axis. |
||
| 383 | * |
||
| 384 | * @var string |
||
| 385 | * @since 4.1.0 |
||
| 386 | */ |
||
| 387 | private $zoneAxis = "y"; |
||
| 388 | |||
| 389 | /** |
||
| 390 | * Zones. |
||
| 391 | * |
||
| 392 | * @var array |
||
| 393 | * @since 4.1.0 |
||
| 394 | */ |
||
| 395 | private $zones; |
||
| 396 | |||
| 397 | /** |
||
| 398 | * Constructor. |
||
| 399 | * |
||
| 400 | * @param boolean $ignoreDefaultValues Ignore the default values. |
||
| 401 | */ |
||
| 402 | public function __construct($ignoreDefaultValues = true) { |
||
| 407 | |||
| 408 | /** |
||
| 409 | * Clear. |
||
| 410 | * |
||
| 411 | * @return void |
||
| 412 | */ |
||
| 413 | public function clear() { |
||
| 570 | |||
| 571 | /** |
||
| 572 | * Get the allow point select. |
||
| 573 | * |
||
| 574 | * @return boolean Returns the allow point select. |
||
| 575 | */ |
||
| 576 | public function getAllowPointSelect() { |
||
| 579 | |||
| 580 | /** |
||
| 581 | * Get the animation. |
||
| 582 | * |
||
| 583 | * @return boolean Returns the animation. |
||
| 584 | */ |
||
| 585 | public function getAnimation() { |
||
| 588 | |||
| 589 | /** |
||
| 590 | * Get the animation limit. |
||
| 591 | * |
||
| 592 | * @return integer Returns the animation limit. |
||
| 593 | */ |
||
| 594 | public function getAnimationLimit() { |
||
| 597 | |||
| 598 | /** |
||
| 599 | * Get the border color. |
||
| 600 | * |
||
| 601 | * @return string Returns the border color. |
||
| 602 | */ |
||
| 603 | public function getBorderColor() { |
||
| 606 | |||
| 607 | /** |
||
| 608 | * Get the border radius. |
||
| 609 | * |
||
| 610 | * @return integer Returns the border radius. |
||
| 611 | */ |
||
| 612 | public function getBorderRadius() { |
||
| 615 | |||
| 616 | /** |
||
| 617 | * Get the border width. |
||
| 618 | * |
||
| 619 | * @return integer Returns the border width. |
||
| 620 | */ |
||
| 621 | public function getBorderWidth() { |
||
| 624 | |||
| 625 | /** |
||
| 626 | * Get the class name. |
||
| 627 | * |
||
| 628 | * @return string Returns the class name. |
||
| 629 | */ |
||
| 630 | public function getClassName() { |
||
| 633 | |||
| 634 | /** |
||
| 635 | * Get the color. |
||
| 636 | * |
||
| 637 | * @return string Returns the color. |
||
| 638 | */ |
||
| 639 | public function getColor() { |
||
| 642 | |||
| 643 | /** |
||
| 644 | * Get the color by point. |
||
| 645 | * |
||
| 646 | * @return boolean Returns the color by point. |
||
| 647 | */ |
||
| 648 | public function getColorByPoint() { |
||
| 651 | |||
| 652 | /** |
||
| 653 | * Get the color index. |
||
| 654 | * |
||
| 655 | * @return integer Returns the color index. |
||
| 656 | */ |
||
| 657 | public function getColorIndex() { |
||
| 660 | |||
| 661 | /** |
||
| 662 | * Get the colors. |
||
| 663 | * |
||
| 664 | * @return array Returns the colors. |
||
| 665 | */ |
||
| 666 | public function getColors() { |
||
| 669 | |||
| 670 | /** |
||
| 671 | * Get the colsize. |
||
| 672 | * |
||
| 673 | * @return integer Returns the colsize. |
||
| 674 | */ |
||
| 675 | public function getColsize() { |
||
| 678 | |||
| 679 | /** |
||
| 680 | * Get the crisp. |
||
| 681 | * |
||
| 682 | * @return boolean Returns the crisp. |
||
| 683 | */ |
||
| 684 | public function getCrisp() { |
||
| 687 | |||
| 688 | /** |
||
| 689 | * Get the crop threshold. |
||
| 690 | * |
||
| 691 | * @return integer Returns the crop threshold. |
||
| 692 | */ |
||
| 693 | public function getCropThreshold() { |
||
| 696 | |||
| 697 | /** |
||
| 698 | * Get the cursor. |
||
| 699 | * |
||
| 700 | * @return string Returns the cursor. |
||
| 701 | */ |
||
| 702 | public function getCursor() { |
||
| 705 | |||
| 706 | /** |
||
| 707 | * Get the data. |
||
| 708 | * |
||
| 709 | * @return array Returns the data. |
||
| 710 | */ |
||
| 711 | public function getData() { |
||
| 714 | |||
| 715 | /** |
||
| 716 | * Get the data labels. |
||
| 717 | * |
||
| 718 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\Heatmap\HighchartsDataLabels Returns the data labels. |
||
| 719 | */ |
||
| 720 | public function getDataLabels() { |
||
| 723 | |||
| 724 | /** |
||
| 725 | * Get the description. |
||
| 726 | * |
||
| 727 | * @return string Returns the description. |
||
| 728 | */ |
||
| 729 | public function getDescription() { |
||
| 732 | |||
| 733 | /** |
||
| 734 | * Get the enable mouse tracking. |
||
| 735 | * |
||
| 736 | * @return boolean Returns the enable mouse tracking. |
||
| 737 | */ |
||
| 738 | public function getEnableMouseTracking() { |
||
| 741 | |||
| 742 | /** |
||
| 743 | * Get the events. |
||
| 744 | * |
||
| 745 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\Heatmap\HighchartsEvents Returns the events. |
||
| 746 | */ |
||
| 747 | public function getEvents() { |
||
| 750 | |||
| 751 | /** |
||
| 752 | * Get the expose element to a11y. |
||
| 753 | * |
||
| 754 | * @return boolean Returns the expose element to a11y. |
||
| 755 | */ |
||
| 756 | public function getExposeElementToA11y() { |
||
| 759 | |||
| 760 | /** |
||
| 761 | * Get the find nearest point by. |
||
| 762 | * |
||
| 763 | * @return string Returns the find nearest point by. |
||
| 764 | */ |
||
| 765 | public function getFindNearestPointBy() { |
||
| 768 | |||
| 769 | /** |
||
| 770 | * Get the get extremes from all. |
||
| 771 | * |
||
| 772 | * @return boolean Returns the get extremes from all. |
||
| 773 | */ |
||
| 774 | public function getGetExtremesFromAll() { |
||
| 777 | |||
| 778 | /** |
||
| 779 | * Get the id. |
||
| 780 | * |
||
| 781 | * @return string Returns the id. |
||
| 782 | */ |
||
| 783 | public function getId() { |
||
| 786 | |||
| 787 | /** |
||
| 788 | * Get the index. |
||
| 789 | * |
||
| 790 | * @return integer Returns the index. |
||
| 791 | */ |
||
| 792 | public function getIndex() { |
||
| 795 | |||
| 796 | /** |
||
| 797 | * Get the keys. |
||
| 798 | * |
||
| 799 | * @return array Returns the keys. |
||
| 800 | */ |
||
| 801 | public function getKeys() { |
||
| 804 | |||
| 805 | /** |
||
| 806 | * Get the legend index. |
||
| 807 | * |
||
| 808 | * @return integer Returns the legend index. |
||
| 809 | */ |
||
| 810 | public function getLegendIndex() { |
||
| 813 | |||
| 814 | /** |
||
| 815 | * Get the linked to. |
||
| 816 | * |
||
| 817 | * @return string Returns the linked to. |
||
| 818 | */ |
||
| 819 | public function getLinkedTo() { |
||
| 822 | |||
| 823 | /** |
||
| 824 | * Get the max point width. |
||
| 825 | * |
||
| 826 | * @return integer Returns the max point width. |
||
| 827 | */ |
||
| 828 | public function getMaxPointWidth() { |
||
| 831 | |||
| 832 | /** |
||
| 833 | * Get the name. |
||
| 834 | * |
||
| 835 | * @return string Returns the name. |
||
| 836 | */ |
||
| 837 | public function getName() { |
||
| 840 | |||
| 841 | /** |
||
| 842 | * Get the point. |
||
| 843 | * |
||
| 844 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\Heatmap\HighchartsPoint Returns the point. |
||
| 845 | */ |
||
| 846 | public function getPoint() { |
||
| 849 | |||
| 850 | /** |
||
| 851 | * Get the point description formatter. |
||
| 852 | * |
||
| 853 | * @return string Returns the point description formatter. |
||
| 854 | */ |
||
| 855 | public function getPointDescriptionFormatter() { |
||
| 858 | |||
| 859 | /** |
||
| 860 | * Get the rowsize. |
||
| 861 | * |
||
| 862 | * @return integer Returns the rowsize. |
||
| 863 | */ |
||
| 864 | public function getRowsize() { |
||
| 867 | |||
| 868 | /** |
||
| 869 | * Get the selected. |
||
| 870 | * |
||
| 871 | * @return boolean Returns the selected. |
||
| 872 | */ |
||
| 873 | public function getSelected() { |
||
| 876 | |||
| 877 | /** |
||
| 878 | * Get the shadow. |
||
| 879 | * |
||
| 880 | * @return boolean|array Returns the shadow. |
||
| 881 | */ |
||
| 882 | public function getShadow() { |
||
| 885 | |||
| 886 | /** |
||
| 887 | * Get the show checkbox. |
||
| 888 | * |
||
| 889 | * @return boolean Returns the show checkbox. |
||
| 890 | */ |
||
| 891 | public function getShowCheckbox() { |
||
| 894 | |||
| 895 | /** |
||
| 896 | * Get the show in legend. |
||
| 897 | * |
||
| 898 | * @return boolean Returns the show in legend. |
||
| 899 | */ |
||
| 900 | public function getShowInLegend() { |
||
| 903 | |||
| 904 | /** |
||
| 905 | * Get the skip keyboard navigation. |
||
| 906 | * |
||
| 907 | * @return boolean Returns the skip keyboard navigation. |
||
| 908 | */ |
||
| 909 | public function getSkipKeyboardNavigation() { |
||
| 912 | |||
| 913 | /** |
||
| 914 | * Get the states. |
||
| 915 | * |
||
| 916 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\Heatmap\HighchartsStates Returns the states. |
||
| 917 | */ |
||
| 918 | public function getStates() { |
||
| 921 | |||
| 922 | /** |
||
| 923 | * Get the sticky tracking. |
||
| 924 | * |
||
| 925 | * @return boolean Returns the sticky tracking. |
||
| 926 | */ |
||
| 927 | public function getStickyTracking() { |
||
| 930 | |||
| 931 | /** |
||
| 932 | * Get the tooltip. |
||
| 933 | * |
||
| 934 | * @return array Returns the tooltip. |
||
| 935 | */ |
||
| 936 | public function getTooltip() { |
||
| 939 | |||
| 940 | /** |
||
| 941 | * Get the turbo threshold. |
||
| 942 | * |
||
| 943 | * @return integer Returns the turbo threshold. |
||
| 944 | */ |
||
| 945 | public function getTurboThreshold() { |
||
| 948 | |||
| 949 | /** |
||
| 950 | * Get the type. |
||
| 951 | * |
||
| 952 | * @return string Returns the type. |
||
| 953 | */ |
||
| 954 | public function getType() { |
||
| 957 | |||
| 958 | /** |
||
| 959 | * Get the visible. |
||
| 960 | * |
||
| 961 | * @return boolean Returns the visible. |
||
| 962 | */ |
||
| 963 | public function getVisible() { |
||
| 966 | |||
| 967 | /** |
||
| 968 | * Get the x axis. |
||
| 969 | * |
||
| 970 | * @return integer|string Returns the x axis. |
||
| 971 | */ |
||
| 972 | public function getXAxis() { |
||
| 975 | |||
| 976 | /** |
||
| 977 | * Get the y axis. |
||
| 978 | * |
||
| 979 | * @return integer|string Returns the y axis. |
||
| 980 | */ |
||
| 981 | public function getYAxis() { |
||
| 984 | |||
| 985 | /** |
||
| 986 | * Get the z index. |
||
| 987 | * |
||
| 988 | * @return integer Returns the z index. |
||
| 989 | */ |
||
| 990 | public function getZIndex() { |
||
| 993 | |||
| 994 | /** |
||
| 995 | * Get the zone axis. |
||
| 996 | * |
||
| 997 | * @return string Returns the zone axis. |
||
| 998 | */ |
||
| 999 | public function getZoneAxis() { |
||
| 1002 | |||
| 1003 | /** |
||
| 1004 | * Get the zones. |
||
| 1005 | * |
||
| 1006 | * @return array Returns the zones. |
||
| 1007 | */ |
||
| 1008 | public function getZones() { |
||
| 1011 | |||
| 1012 | /** |
||
| 1013 | * Serialize this instance. |
||
| 1014 | * |
||
| 1015 | * @return array Returns an array representing this instance. |
||
| 1016 | */ |
||
| 1017 | public function jsonSerialize() { |
||
| 1020 | |||
| 1021 | /** |
||
| 1022 | * Create a new data labels. |
||
| 1023 | * |
||
| 1024 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\Heatmap\HighchartsDataLabels Returns the data labels. |
||
| 1025 | */ |
||
| 1026 | public function newDataLabels() { |
||
| 1030 | |||
| 1031 | /** |
||
| 1032 | * Create a new events. |
||
| 1033 | * |
||
| 1034 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\Heatmap\HighchartsEvents Returns the events. |
||
| 1035 | */ |
||
| 1036 | public function newEvents() { |
||
| 1040 | |||
| 1041 | /** |
||
| 1042 | * Create a new point. |
||
| 1043 | * |
||
| 1044 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\Heatmap\HighchartsPoint Returns the point. |
||
| 1045 | */ |
||
| 1046 | public function newPoint() { |
||
| 1050 | |||
| 1051 | /** |
||
| 1052 | * Create a new states. |
||
| 1053 | * |
||
| 1054 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\Heatmap\HighchartsStates Returns the states. |
||
| 1055 | */ |
||
| 1056 | public function newStates() { |
||
| 1060 | |||
| 1061 | /** |
||
| 1062 | * Set the allow point select. |
||
| 1063 | * |
||
| 1064 | * @param boolean $allowPointSelect The allow point select. |
||
| 1065 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsHeatmap Returns the highcharts heatmap. |
||
| 1066 | */ |
||
| 1067 | public function setAllowPointSelect($allowPointSelect) { |
||
| 1071 | |||
| 1072 | /** |
||
| 1073 | * Set the animation. |
||
| 1074 | * |
||
| 1075 | * @param boolean $animation The animation. |
||
| 1076 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsHeatmap Returns the highcharts heatmap. |
||
| 1077 | */ |
||
| 1078 | public function setAnimation($animation) { |
||
| 1082 | |||
| 1083 | /** |
||
| 1084 | * Set the animation limit. |
||
| 1085 | * |
||
| 1086 | * @param integer $animationLimit The animation limit. |
||
| 1087 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsHeatmap Returns the highcharts heatmap. |
||
| 1088 | */ |
||
| 1089 | public function setAnimationLimit($animationLimit) { |
||
| 1093 | |||
| 1094 | /** |
||
| 1095 | * Set the border color. |
||
| 1096 | * |
||
| 1097 | * @param string $borderColor The border color. |
||
| 1098 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsHeatmap Returns the highcharts heatmap. |
||
| 1099 | */ |
||
| 1100 | public function setBorderColor($borderColor) { |
||
| 1104 | |||
| 1105 | /** |
||
| 1106 | * Set the border radius. |
||
| 1107 | * |
||
| 1108 | * @param integer $borderRadius The border radius. |
||
| 1109 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsHeatmap Returns the highcharts heatmap. |
||
| 1110 | */ |
||
| 1111 | public function setBorderRadius($borderRadius) { |
||
| 1115 | |||
| 1116 | /** |
||
| 1117 | * Set the border width. |
||
| 1118 | * |
||
| 1119 | * @param integer $borderWidth The border width. |
||
| 1120 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsHeatmap Returns the highcharts heatmap. |
||
| 1121 | */ |
||
| 1122 | public function setBorderWidth($borderWidth) { |
||
| 1126 | |||
| 1127 | /** |
||
| 1128 | * Set the class name. |
||
| 1129 | * |
||
| 1130 | * @param string $className The class name. |
||
| 1131 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsHeatmap Returns the highcharts heatmap. |
||
| 1132 | */ |
||
| 1133 | public function setClassName($className) { |
||
| 1137 | |||
| 1138 | /** |
||
| 1139 | * Set the color. |
||
| 1140 | * |
||
| 1141 | * @param string $color The color. |
||
| 1142 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsHeatmap Returns the highcharts heatmap. |
||
| 1143 | */ |
||
| 1144 | public function setColor($color) { |
||
| 1148 | |||
| 1149 | /** |
||
| 1150 | * Set the color by point. |
||
| 1151 | * |
||
| 1152 | * @param boolean $colorByPoint The color by point. |
||
| 1153 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsHeatmap Returns the highcharts heatmap. |
||
| 1154 | */ |
||
| 1155 | public function setColorByPoint($colorByPoint) { |
||
| 1159 | |||
| 1160 | /** |
||
| 1161 | * Set the color index. |
||
| 1162 | * |
||
| 1163 | * @param integer $colorIndex The color index. |
||
| 1164 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsHeatmap Returns the highcharts heatmap. |
||
| 1165 | */ |
||
| 1166 | public function setColorIndex($colorIndex) { |
||
| 1170 | |||
| 1171 | /** |
||
| 1172 | * Set the colors. |
||
| 1173 | * |
||
| 1174 | * @param array $colors The colors. |
||
| 1175 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsHeatmap Returns the highcharts heatmap. |
||
| 1176 | */ |
||
| 1177 | public function setColors(array $colors = null) { |
||
| 1181 | |||
| 1182 | /** |
||
| 1183 | * Set the colsize. |
||
| 1184 | * |
||
| 1185 | * @param integer $colsize The colsize. |
||
| 1186 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsHeatmap Returns the highcharts heatmap. |
||
| 1187 | */ |
||
| 1188 | public function setColsize($colsize) { |
||
| 1192 | |||
| 1193 | /** |
||
| 1194 | * Set the crisp. |
||
| 1195 | * |
||
| 1196 | * @param boolean $crisp The crisp. |
||
| 1197 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsHeatmap Returns the highcharts heatmap. |
||
| 1198 | */ |
||
| 1199 | public function setCrisp($crisp) { |
||
| 1203 | |||
| 1204 | /** |
||
| 1205 | * Set the crop threshold. |
||
| 1206 | * |
||
| 1207 | * @param integer $cropThreshold The crop threshold. |
||
| 1208 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsHeatmap Returns the highcharts heatmap. |
||
| 1209 | */ |
||
| 1210 | public function setCropThreshold($cropThreshold) { |
||
| 1214 | |||
| 1215 | /** |
||
| 1216 | * Set the cursor. |
||
| 1217 | * |
||
| 1218 | * @param string $cursor The cursor. |
||
| 1219 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsHeatmap Returns the highcharts heatmap. |
||
| 1220 | */ |
||
| 1221 | public function setCursor($cursor) { |
||
| 1234 | |||
| 1235 | /** |
||
| 1236 | * Set the data. |
||
| 1237 | * |
||
| 1238 | * @param array $data The data. |
||
| 1239 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsHeatmap Returns the highcharts heatmap. |
||
| 1240 | */ |
||
| 1241 | public function setData(array $data = null) { |
||
| 1245 | |||
| 1246 | /** |
||
| 1247 | * Set the data labels. |
||
| 1248 | * |
||
| 1249 | * @param \WBW\Bundle\HighchartsBundle\API\Chart\Series\Heatmap\HighchartsDataLabels $dataLabels The data labels. |
||
| 1250 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsHeatmap Returns the highcharts heatmap. |
||
| 1251 | */ |
||
| 1252 | public function setDataLabels(\WBW\Bundle\HighchartsBundle\API\Chart\Series\Heatmap\HighchartsDataLabels $dataLabels = null) { |
||
| 1256 | |||
| 1257 | /** |
||
| 1258 | * Set the description. |
||
| 1259 | * |
||
| 1260 | * @param string $description The description. |
||
| 1261 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsHeatmap Returns the highcharts heatmap. |
||
| 1262 | */ |
||
| 1263 | public function setDescription($description) { |
||
| 1267 | |||
| 1268 | /** |
||
| 1269 | * Set the enable mouse tracking. |
||
| 1270 | * |
||
| 1271 | * @param boolean $enableMouseTracking The enable mouse tracking. |
||
| 1272 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsHeatmap Returns the highcharts heatmap. |
||
| 1273 | */ |
||
| 1274 | public function setEnableMouseTracking($enableMouseTracking) { |
||
| 1278 | |||
| 1279 | /** |
||
| 1280 | * Set the events. |
||
| 1281 | * |
||
| 1282 | * @param \WBW\Bundle\HighchartsBundle\API\Chart\Series\Heatmap\HighchartsEvents $events The events. |
||
| 1283 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsHeatmap Returns the highcharts heatmap. |
||
| 1284 | */ |
||
| 1285 | public function setEvents(\WBW\Bundle\HighchartsBundle\API\Chart\Series\Heatmap\HighchartsEvents $events = null) { |
||
| 1289 | |||
| 1290 | /** |
||
| 1291 | * Set the expose element to a11y. |
||
| 1292 | * |
||
| 1293 | * @param boolean $exposeElementToA11y The expose element to a11y. |
||
| 1294 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsHeatmap Returns the highcharts heatmap. |
||
| 1295 | */ |
||
| 1296 | public function setExposeElementToA11y($exposeElementToA11y) { |
||
| 1300 | |||
| 1301 | /** |
||
| 1302 | * Set the find nearest point by. |
||
| 1303 | * |
||
| 1304 | * @param string $findNearestPointBy The find nearest point by. |
||
| 1305 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsHeatmap Returns the highcharts heatmap. |
||
| 1306 | */ |
||
| 1307 | public function setFindNearestPointBy($findNearestPointBy) { |
||
| 1316 | |||
| 1317 | /** |
||
| 1318 | * Set the get extremes from all. |
||
| 1319 | * |
||
| 1320 | * @param boolean $getExtremesFromAll The get extremes from all. |
||
| 1321 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsHeatmap Returns the highcharts heatmap. |
||
| 1322 | */ |
||
| 1323 | public function setGetExtremesFromAll($getExtremesFromAll) { |
||
| 1327 | |||
| 1328 | /** |
||
| 1329 | * Set the id. |
||
| 1330 | * |
||
| 1331 | * @param string $id The id. |
||
| 1332 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsHeatmap Returns the highcharts heatmap. |
||
| 1333 | */ |
||
| 1334 | public function setId($id) { |
||
| 1338 | |||
| 1339 | /** |
||
| 1340 | * Set the index. |
||
| 1341 | * |
||
| 1342 | * @param integer $index The index. |
||
| 1343 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsHeatmap Returns the highcharts heatmap. |
||
| 1344 | */ |
||
| 1345 | public function setIndex($index) { |
||
| 1349 | |||
| 1350 | /** |
||
| 1351 | * Set the keys. |
||
| 1352 | * |
||
| 1353 | * @param array $keys The keys. |
||
| 1354 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsHeatmap Returns the highcharts heatmap. |
||
| 1355 | */ |
||
| 1356 | public function setKeys(array $keys = null) { |
||
| 1360 | |||
| 1361 | /** |
||
| 1362 | * Set the legend index. |
||
| 1363 | * |
||
| 1364 | * @param integer $legendIndex The legend index. |
||
| 1365 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsHeatmap Returns the highcharts heatmap. |
||
| 1366 | */ |
||
| 1367 | public function setLegendIndex($legendIndex) { |
||
| 1371 | |||
| 1372 | /** |
||
| 1373 | * Set the linked to. |
||
| 1374 | * |
||
| 1375 | * @param string $linkedTo The linked to. |
||
| 1376 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsHeatmap Returns the highcharts heatmap. |
||
| 1377 | */ |
||
| 1378 | public function setLinkedTo($linkedTo) { |
||
| 1382 | |||
| 1383 | /** |
||
| 1384 | * Set the max point width. |
||
| 1385 | * |
||
| 1386 | * @param integer $maxPointWidth The max point width. |
||
| 1387 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsHeatmap Returns the highcharts heatmap. |
||
| 1388 | */ |
||
| 1389 | public function setMaxPointWidth($maxPointWidth) { |
||
| 1393 | |||
| 1394 | /** |
||
| 1395 | * Set the name. |
||
| 1396 | * |
||
| 1397 | * @param string $name The name. |
||
| 1398 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsHeatmap Returns the highcharts heatmap. |
||
| 1399 | */ |
||
| 1400 | public function setName($name) { |
||
| 1404 | |||
| 1405 | /** |
||
| 1406 | * Set the point. |
||
| 1407 | * |
||
| 1408 | * @param \WBW\Bundle\HighchartsBundle\API\Chart\Series\Heatmap\HighchartsPoint $point The point. |
||
| 1409 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsHeatmap Returns the highcharts heatmap. |
||
| 1410 | */ |
||
| 1411 | public function setPoint(\WBW\Bundle\HighchartsBundle\API\Chart\Series\Heatmap\HighchartsPoint $point = null) { |
||
| 1415 | |||
| 1416 | /** |
||
| 1417 | * Set the point description formatter. |
||
| 1418 | * |
||
| 1419 | * @param string $pointDescriptionFormatter The point description formatter. |
||
| 1420 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsHeatmap Returns the highcharts heatmap. |
||
| 1421 | */ |
||
| 1422 | public function setPointDescriptionFormatter($pointDescriptionFormatter) { |
||
| 1426 | |||
| 1427 | /** |
||
| 1428 | * Set the rowsize. |
||
| 1429 | * |
||
| 1430 | * @param integer $rowsize The rowsize. |
||
| 1431 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsHeatmap Returns the highcharts heatmap. |
||
| 1432 | */ |
||
| 1433 | public function setRowsize($rowsize) { |
||
| 1437 | |||
| 1438 | /** |
||
| 1439 | * Set the selected. |
||
| 1440 | * |
||
| 1441 | * @param boolean $selected The selected. |
||
| 1442 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsHeatmap Returns the highcharts heatmap. |
||
| 1443 | */ |
||
| 1444 | public function setSelected($selected) { |
||
| 1448 | |||
| 1449 | /** |
||
| 1450 | * Set the shadow. |
||
| 1451 | * |
||
| 1452 | * @param boolean|array $shadow The shadow. |
||
| 1453 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsHeatmap Returns the highcharts heatmap. |
||
| 1454 | */ |
||
| 1455 | public function setShadow($shadow) { |
||
| 1459 | |||
| 1460 | /** |
||
| 1461 | * Set the show checkbox. |
||
| 1462 | * |
||
| 1463 | * @param boolean $showCheckbox The show checkbox. |
||
| 1464 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsHeatmap Returns the highcharts heatmap. |
||
| 1465 | */ |
||
| 1466 | public function setShowCheckbox($showCheckbox) { |
||
| 1470 | |||
| 1471 | /** |
||
| 1472 | * Set the show in legend. |
||
| 1473 | * |
||
| 1474 | * @param boolean $showInLegend The show in legend. |
||
| 1475 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsHeatmap Returns the highcharts heatmap. |
||
| 1476 | */ |
||
| 1477 | public function setShowInLegend($showInLegend) { |
||
| 1481 | |||
| 1482 | /** |
||
| 1483 | * Set the skip keyboard navigation. |
||
| 1484 | * |
||
| 1485 | * @param boolean $skipKeyboardNavigation The skip keyboard navigation. |
||
| 1486 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsHeatmap Returns the highcharts heatmap. |
||
| 1487 | */ |
||
| 1488 | public function setSkipKeyboardNavigation($skipKeyboardNavigation) { |
||
| 1492 | |||
| 1493 | /** |
||
| 1494 | * Set the states. |
||
| 1495 | * |
||
| 1496 | * @param \WBW\Bundle\HighchartsBundle\API\Chart\Series\Heatmap\HighchartsStates $states The states. |
||
| 1497 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsHeatmap Returns the highcharts heatmap. |
||
| 1498 | */ |
||
| 1499 | public function setStates(\WBW\Bundle\HighchartsBundle\API\Chart\Series\Heatmap\HighchartsStates $states = null) { |
||
| 1503 | |||
| 1504 | /** |
||
| 1505 | * Set the sticky tracking. |
||
| 1506 | * |
||
| 1507 | * @param boolean $stickyTracking The sticky tracking. |
||
| 1508 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsHeatmap Returns the highcharts heatmap. |
||
| 1509 | */ |
||
| 1510 | public function setStickyTracking($stickyTracking) { |
||
| 1514 | |||
| 1515 | /** |
||
| 1516 | * Set the tooltip. |
||
| 1517 | * |
||
| 1518 | * @param array $tooltip The tooltip. |
||
| 1519 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsHeatmap Returns the highcharts heatmap. |
||
| 1520 | */ |
||
| 1521 | public function setTooltip(array $tooltip = null) { |
||
| 1525 | |||
| 1526 | /** |
||
| 1527 | * Set the turbo threshold. |
||
| 1528 | * |
||
| 1529 | * @param integer $turboThreshold The turbo threshold. |
||
| 1530 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsHeatmap Returns the highcharts heatmap. |
||
| 1531 | */ |
||
| 1532 | public function setTurboThreshold($turboThreshold) { |
||
| 1536 | |||
| 1537 | /** |
||
| 1538 | * Set the type. |
||
| 1539 | * |
||
| 1540 | * @param string $type The type. |
||
| 1541 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsHeatmap Returns the highcharts heatmap. |
||
| 1542 | */ |
||
| 1543 | public function setType($type) { |
||
| 1567 | |||
| 1568 | /** |
||
| 1569 | * Set the visible. |
||
| 1570 | * |
||
| 1571 | * @param boolean $visible The visible. |
||
| 1572 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsHeatmap Returns the highcharts heatmap. |
||
| 1573 | */ |
||
| 1574 | public function setVisible($visible) { |
||
| 1578 | |||
| 1579 | /** |
||
| 1580 | * Set the x axis. |
||
| 1581 | * |
||
| 1582 | * @param integer|string $xAxis The x axis. |
||
| 1583 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsHeatmap Returns the highcharts heatmap. |
||
| 1584 | */ |
||
| 1585 | public function setXAxis($xAxis) { |
||
| 1589 | |||
| 1590 | /** |
||
| 1591 | * Set the y axis. |
||
| 1592 | * |
||
| 1593 | * @param integer|string $yAxis The y axis. |
||
| 1594 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsHeatmap Returns the highcharts heatmap. |
||
| 1595 | */ |
||
| 1596 | public function setYAxis($yAxis) { |
||
| 1600 | |||
| 1601 | /** |
||
| 1602 | * Set the z index. |
||
| 1603 | * |
||
| 1604 | * @param integer $zIndex The z index. |
||
| 1605 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsHeatmap Returns the highcharts heatmap. |
||
| 1606 | */ |
||
| 1607 | public function setZIndex($zIndex) { |
||
| 1611 | |||
| 1612 | /** |
||
| 1613 | * Set the zone axis. |
||
| 1614 | * |
||
| 1615 | * @param string $zoneAxis The zone axis. |
||
| 1616 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsHeatmap Returns the highcharts heatmap. |
||
| 1617 | */ |
||
| 1618 | public function setZoneAxis($zoneAxis) { |
||
| 1622 | |||
| 1623 | /** |
||
| 1624 | * Set the zones. |
||
| 1625 | * |
||
| 1626 | * @param array $zones The zones. |
||
| 1627 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsHeatmap Returns the highcharts heatmap. |
||
| 1628 | */ |
||
| 1629 | public function setZones(array $zones = null) { |
||
| 1633 | |||
| 1634 | /** |
||
| 1635 | * Convert into an array representing this instance. |
||
| 1636 | * |
||
| 1637 | * @return array Returns an array representing this instance. |
||
| 1638 | */ |
||
| 1639 | public function toArray() { |
||
| 1802 | |||
| 1803 | } |
||
| 1804 |
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..