Complex classes like HighchartsScatter 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 HighchartsScatter, and based on these observations, apply Extract Interface, too.
| 1 | <?php |
||
| 25 | final class HighchartsScatter 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\Scatter\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 | * Enable mouse tracking. |
||
| 112 | * |
||
| 113 | * @var boolean |
||
| 114 | */ |
||
| 115 | private $enableMouseTracking = true; |
||
| 116 | |||
| 117 | /** |
||
| 118 | * Events. |
||
| 119 | * |
||
| 120 | * @var \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Scatter\HighchartsEvents |
||
| 121 | */ |
||
| 122 | private $events; |
||
| 123 | |||
| 124 | /** |
||
| 125 | * Expose element to a11y. |
||
| 126 | * |
||
| 127 | * @var boolean |
||
| 128 | * @since 5.0.12 |
||
| 129 | */ |
||
| 130 | private $exposeElementToA11y; |
||
| 131 | |||
| 132 | /** |
||
| 133 | * Find nearest point by. |
||
| 134 | * |
||
| 135 | * @var string |
||
| 136 | * @since 5.0.10 |
||
| 137 | */ |
||
| 138 | private $findNearestPointBy; |
||
| 139 | |||
| 140 | /** |
||
| 141 | * Get extremes from all. |
||
| 142 | * |
||
| 143 | * @var boolean |
||
| 144 | * @since 4.1.6 |
||
| 145 | */ |
||
| 146 | private $getExtremesFromAll = false; |
||
| 147 | |||
| 148 | /** |
||
| 149 | * Keys. |
||
| 150 | * |
||
| 151 | * @var array |
||
| 152 | * @since 4.1.6 |
||
| 153 | */ |
||
| 154 | private $keys; |
||
| 155 | |||
| 156 | /** |
||
| 157 | * Line width. |
||
| 158 | * |
||
| 159 | * @var integer |
||
| 160 | */ |
||
| 161 | private $lineWidth = 0; |
||
| 162 | |||
| 163 | /** |
||
| 164 | * Linked to. |
||
| 165 | * |
||
| 166 | * @var string |
||
| 167 | * @since 3.0 |
||
| 168 | */ |
||
| 169 | private $linkedTo; |
||
| 170 | |||
| 171 | /** |
||
| 172 | * Marker. |
||
| 173 | * |
||
| 174 | * @var \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Scatter\HighchartsMarker |
||
| 175 | */ |
||
| 176 | private $marker; |
||
| 177 | |||
| 178 | /** |
||
| 179 | * Negative color. |
||
| 180 | * |
||
| 181 | * @var string |
||
| 182 | * @since 3.0 |
||
| 183 | */ |
||
| 184 | private $negativeColor; |
||
| 185 | |||
| 186 | /** |
||
| 187 | * Point. |
||
| 188 | * |
||
| 189 | * @var \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Scatter\HighchartsPoint |
||
| 190 | */ |
||
| 191 | private $point; |
||
| 192 | |||
| 193 | /** |
||
| 194 | * Point description formatter. |
||
| 195 | * |
||
| 196 | * @var string |
||
| 197 | * @since 5.0.12 |
||
| 198 | */ |
||
| 199 | private $pointDescriptionFormatter; |
||
| 200 | |||
| 201 | /** |
||
| 202 | * Point interval. |
||
| 203 | * |
||
| 204 | * @var integer |
||
| 205 | */ |
||
| 206 | private $pointInterval = 1; |
||
| 207 | |||
| 208 | /** |
||
| 209 | * Point interval unit. |
||
| 210 | * |
||
| 211 | * @var string |
||
| 212 | * @since 4.1.0 |
||
| 213 | */ |
||
| 214 | private $pointIntervalUnit; |
||
| 215 | |||
| 216 | /** |
||
| 217 | * Point start. |
||
| 218 | * |
||
| 219 | * @var integer |
||
| 220 | */ |
||
| 221 | private $pointStart = 0; |
||
| 222 | |||
| 223 | /** |
||
| 224 | * Selected. |
||
| 225 | * |
||
| 226 | * @var boolean |
||
| 227 | * @since 1.2.0 |
||
| 228 | */ |
||
| 229 | private $selected = false; |
||
| 230 | |||
| 231 | /** |
||
| 232 | * Shadow. |
||
| 233 | * |
||
| 234 | * @var boolean|array |
||
| 235 | */ |
||
| 236 | private $shadow = false; |
||
| 237 | |||
| 238 | /** |
||
| 239 | * Show checkbox. |
||
| 240 | * |
||
| 241 | * @var boolean |
||
| 242 | * @since 1.2.0 |
||
| 243 | */ |
||
| 244 | private $showCheckbox = false; |
||
| 245 | |||
| 246 | /** |
||
| 247 | * Show in legend. |
||
| 248 | * |
||
| 249 | * @var boolean |
||
| 250 | */ |
||
| 251 | private $showInLegend = true; |
||
| 252 | |||
| 253 | /** |
||
| 254 | * Skip keyboard navigation. |
||
| 255 | * |
||
| 256 | * @var boolean |
||
| 257 | * @since 5.0.12 |
||
| 258 | */ |
||
| 259 | private $skipKeyboardNavigation; |
||
| 260 | |||
| 261 | /** |
||
| 262 | * Soft threshold. |
||
| 263 | * |
||
| 264 | * @var boolean |
||
| 265 | * @since 4.1.9 |
||
| 266 | */ |
||
| 267 | private $softThreshold = true; |
||
| 268 | |||
| 269 | /** |
||
| 270 | * States. |
||
| 271 | * |
||
| 272 | * @var \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Scatter\HighchartsStates |
||
| 273 | */ |
||
| 274 | private $states; |
||
| 275 | |||
| 276 | /** |
||
| 277 | * Sticky tracking. |
||
| 278 | * |
||
| 279 | * @var boolean |
||
| 280 | */ |
||
| 281 | private $stickyTracking = false; |
||
| 282 | |||
| 283 | /** |
||
| 284 | * Threshold. |
||
| 285 | * |
||
| 286 | * @var integer |
||
| 287 | * @since 3.0 |
||
| 288 | */ |
||
| 289 | private $threshold = 0; |
||
| 290 | |||
| 291 | /** |
||
| 292 | * Tooltip. |
||
| 293 | * |
||
| 294 | * @var array |
||
| 295 | * @since 2.3 |
||
| 296 | */ |
||
| 297 | private $tooltip; |
||
| 298 | |||
| 299 | /** |
||
| 300 | * Turbo threshold. |
||
| 301 | * |
||
| 302 | * @var integer |
||
| 303 | * @since 2.2 |
||
| 304 | */ |
||
| 305 | private $turboThreshold = 1000; |
||
| 306 | |||
| 307 | /** |
||
| 308 | * Visible. |
||
| 309 | * |
||
| 310 | * @var boolean |
||
| 311 | */ |
||
| 312 | private $visible = true; |
||
| 313 | |||
| 314 | /** |
||
| 315 | * Zone axis. |
||
| 316 | * |
||
| 317 | * @var string |
||
| 318 | * @since 4.1.0 |
||
| 319 | */ |
||
| 320 | private $zoneAxis = "y"; |
||
| 321 | |||
| 322 | /** |
||
| 323 | * Zones. |
||
| 324 | * |
||
| 325 | * @var array |
||
| 326 | * @since 4.1.0 |
||
| 327 | */ |
||
| 328 | private $zones; |
||
| 329 | |||
| 330 | /** |
||
| 331 | * Constructor. |
||
| 332 | * |
||
| 333 | * @param boolean $ignoreDefaultValues Ignore the default values. |
||
| 334 | */ |
||
| 335 | public function __construct($ignoreDefaultValues = true) { |
||
| 340 | |||
| 341 | /** |
||
| 342 | * Clear. |
||
| 343 | * |
||
| 344 | * @return void |
||
| 345 | */ |
||
| 346 | public function clear() { |
||
| 478 | |||
| 479 | /** |
||
| 480 | * Get the allow point select. |
||
| 481 | * |
||
| 482 | * @return boolean Returns the allow point select. |
||
| 483 | */ |
||
| 484 | public function getAllowPointSelect() { |
||
| 487 | |||
| 488 | /** |
||
| 489 | * Get the animation. |
||
| 490 | * |
||
| 491 | * @return boolean Returns the animation. |
||
| 492 | */ |
||
| 493 | public function getAnimation() { |
||
| 496 | |||
| 497 | /** |
||
| 498 | * Get the animation limit. |
||
| 499 | * |
||
| 500 | * @return integer Returns the animation limit. |
||
| 501 | */ |
||
| 502 | public function getAnimationLimit() { |
||
| 505 | |||
| 506 | /** |
||
| 507 | * Get the class name. |
||
| 508 | * |
||
| 509 | * @return string Returns the class name. |
||
| 510 | */ |
||
| 511 | public function getClassName() { |
||
| 514 | |||
| 515 | /** |
||
| 516 | * Get the color. |
||
| 517 | * |
||
| 518 | * @return string Returns the color. |
||
| 519 | */ |
||
| 520 | public function getColor() { |
||
| 523 | |||
| 524 | /** |
||
| 525 | * Get the color index. |
||
| 526 | * |
||
| 527 | * @return integer Returns the color index. |
||
| 528 | */ |
||
| 529 | public function getColorIndex() { |
||
| 532 | |||
| 533 | /** |
||
| 534 | * Get the crop threshold. |
||
| 535 | * |
||
| 536 | * @return integer Returns the crop threshold. |
||
| 537 | */ |
||
| 538 | public function getCropThreshold() { |
||
| 541 | |||
| 542 | /** |
||
| 543 | * Get the cursor. |
||
| 544 | * |
||
| 545 | * @return string Returns the cursor. |
||
| 546 | */ |
||
| 547 | public function getCursor() { |
||
| 550 | |||
| 551 | /** |
||
| 552 | * Get the dash style. |
||
| 553 | * |
||
| 554 | * @return string Returns the dash style. |
||
| 555 | */ |
||
| 556 | public function getDashStyle() { |
||
| 559 | |||
| 560 | /** |
||
| 561 | * Get the data labels. |
||
| 562 | * |
||
| 563 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Scatter\HighchartsDataLabels Returns the data labels. |
||
| 564 | */ |
||
| 565 | public function getDataLabels() { |
||
| 568 | |||
| 569 | /** |
||
| 570 | * Get the description. |
||
| 571 | * |
||
| 572 | * @return string Returns the description. |
||
| 573 | */ |
||
| 574 | public function getDescription() { |
||
| 577 | |||
| 578 | /** |
||
| 579 | * Get the enable mouse tracking. |
||
| 580 | * |
||
| 581 | * @return boolean Returns the enable mouse tracking. |
||
| 582 | */ |
||
| 583 | public function getEnableMouseTracking() { |
||
| 586 | |||
| 587 | /** |
||
| 588 | * Get the events. |
||
| 589 | * |
||
| 590 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Scatter\HighchartsEvents Returns the events. |
||
| 591 | */ |
||
| 592 | public function getEvents() { |
||
| 595 | |||
| 596 | /** |
||
| 597 | * Get the expose element to a11y. |
||
| 598 | * |
||
| 599 | * @return boolean Returns the expose element to a11y. |
||
| 600 | */ |
||
| 601 | public function getExposeElementToA11y() { |
||
| 604 | |||
| 605 | /** |
||
| 606 | * Get the find nearest point by. |
||
| 607 | * |
||
| 608 | * @return string Returns the find nearest point by. |
||
| 609 | */ |
||
| 610 | public function getFindNearestPointBy() { |
||
| 613 | |||
| 614 | /** |
||
| 615 | * Get the get extremes from all. |
||
| 616 | * |
||
| 617 | * @return boolean Returns the get extremes from all. |
||
| 618 | */ |
||
| 619 | public function getGetExtremesFromAll() { |
||
| 622 | |||
| 623 | /** |
||
| 624 | * Get the keys. |
||
| 625 | * |
||
| 626 | * @return array Returns the keys. |
||
| 627 | */ |
||
| 628 | public function getKeys() { |
||
| 631 | |||
| 632 | /** |
||
| 633 | * Get the line width. |
||
| 634 | * |
||
| 635 | * @return integer Returns the line width. |
||
| 636 | */ |
||
| 637 | public function getLineWidth() { |
||
| 640 | |||
| 641 | /** |
||
| 642 | * Get the linked to. |
||
| 643 | * |
||
| 644 | * @return string Returns the linked to. |
||
| 645 | */ |
||
| 646 | public function getLinkedTo() { |
||
| 649 | |||
| 650 | /** |
||
| 651 | * Get the marker. |
||
| 652 | * |
||
| 653 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Scatter\HighchartsMarker Returns the marker. |
||
| 654 | */ |
||
| 655 | public function getMarker() { |
||
| 658 | |||
| 659 | /** |
||
| 660 | * Get the negative color. |
||
| 661 | * |
||
| 662 | * @return string Returns the negative color. |
||
| 663 | */ |
||
| 664 | public function getNegativeColor() { |
||
| 667 | |||
| 668 | /** |
||
| 669 | * Get the point. |
||
| 670 | * |
||
| 671 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Scatter\HighchartsPoint Returns the point. |
||
| 672 | */ |
||
| 673 | public function getPoint() { |
||
| 676 | |||
| 677 | /** |
||
| 678 | * Get the point description formatter. |
||
| 679 | * |
||
| 680 | * @return string Returns the point description formatter. |
||
| 681 | */ |
||
| 682 | public function getPointDescriptionFormatter() { |
||
| 685 | |||
| 686 | /** |
||
| 687 | * Get the point interval. |
||
| 688 | * |
||
| 689 | * @return integer Returns the point interval. |
||
| 690 | */ |
||
| 691 | public function getPointInterval() { |
||
| 694 | |||
| 695 | /** |
||
| 696 | * Get the point interval unit. |
||
| 697 | * |
||
| 698 | * @return string Returns the point interval unit. |
||
| 699 | */ |
||
| 700 | public function getPointIntervalUnit() { |
||
| 703 | |||
| 704 | /** |
||
| 705 | * Get the point start. |
||
| 706 | * |
||
| 707 | * @return integer Returns the point start. |
||
| 708 | */ |
||
| 709 | public function getPointStart() { |
||
| 712 | |||
| 713 | /** |
||
| 714 | * Get the selected. |
||
| 715 | * |
||
| 716 | * @return boolean Returns the selected. |
||
| 717 | */ |
||
| 718 | public function getSelected() { |
||
| 721 | |||
| 722 | /** |
||
| 723 | * Get the shadow. |
||
| 724 | * |
||
| 725 | * @return boolean|array Returns the shadow. |
||
| 726 | */ |
||
| 727 | public function getShadow() { |
||
| 730 | |||
| 731 | /** |
||
| 732 | * Get the show checkbox. |
||
| 733 | * |
||
| 734 | * @return boolean Returns the show checkbox. |
||
| 735 | */ |
||
| 736 | public function getShowCheckbox() { |
||
| 739 | |||
| 740 | /** |
||
| 741 | * Get the show in legend. |
||
| 742 | * |
||
| 743 | * @return boolean Returns the show in legend. |
||
| 744 | */ |
||
| 745 | public function getShowInLegend() { |
||
| 748 | |||
| 749 | /** |
||
| 750 | * Get the skip keyboard navigation. |
||
| 751 | * |
||
| 752 | * @return boolean Returns the skip keyboard navigation. |
||
| 753 | */ |
||
| 754 | public function getSkipKeyboardNavigation() { |
||
| 757 | |||
| 758 | /** |
||
| 759 | * Get the soft threshold. |
||
| 760 | * |
||
| 761 | * @return boolean Returns the soft threshold. |
||
| 762 | */ |
||
| 763 | public function getSoftThreshold() { |
||
| 766 | |||
| 767 | /** |
||
| 768 | * Get the states. |
||
| 769 | * |
||
| 770 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Scatter\HighchartsStates Returns the states. |
||
| 771 | */ |
||
| 772 | public function getStates() { |
||
| 775 | |||
| 776 | /** |
||
| 777 | * Get the sticky tracking. |
||
| 778 | * |
||
| 779 | * @return boolean Returns the sticky tracking. |
||
| 780 | */ |
||
| 781 | public function getStickyTracking() { |
||
| 784 | |||
| 785 | /** |
||
| 786 | * Get the threshold. |
||
| 787 | * |
||
| 788 | * @return integer Returns the threshold. |
||
| 789 | */ |
||
| 790 | public function getThreshold() { |
||
| 793 | |||
| 794 | /** |
||
| 795 | * Get the tooltip. |
||
| 796 | * |
||
| 797 | * @return array Returns the tooltip. |
||
| 798 | */ |
||
| 799 | public function getTooltip() { |
||
| 802 | |||
| 803 | /** |
||
| 804 | * Get the turbo threshold. |
||
| 805 | * |
||
| 806 | * @return integer Returns the turbo threshold. |
||
| 807 | */ |
||
| 808 | public function getTurboThreshold() { |
||
| 811 | |||
| 812 | /** |
||
| 813 | * Get the visible. |
||
| 814 | * |
||
| 815 | * @return boolean Returns the visible. |
||
| 816 | */ |
||
| 817 | public function getVisible() { |
||
| 820 | |||
| 821 | /** |
||
| 822 | * Get the zone axis. |
||
| 823 | * |
||
| 824 | * @return string Returns the zone axis. |
||
| 825 | */ |
||
| 826 | public function getZoneAxis() { |
||
| 829 | |||
| 830 | /** |
||
| 831 | * Get the zones. |
||
| 832 | * |
||
| 833 | * @return array Returns the zones. |
||
| 834 | */ |
||
| 835 | public function getZones() { |
||
| 838 | |||
| 839 | /** |
||
| 840 | * Serialize this instance. |
||
| 841 | * |
||
| 842 | * @return array Returns an array representing this instance. |
||
| 843 | */ |
||
| 844 | public function jsonSerialize() { |
||
| 847 | |||
| 848 | /** |
||
| 849 | * Create a new data labels. |
||
| 850 | * |
||
| 851 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Scatter\HighchartsDataLabels Returns the data labels. |
||
| 852 | */ |
||
| 853 | public function newDataLabels() { |
||
| 857 | |||
| 858 | /** |
||
| 859 | * Create a new events. |
||
| 860 | * |
||
| 861 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Scatter\HighchartsEvents Returns the events. |
||
| 862 | */ |
||
| 863 | public function newEvents() { |
||
| 867 | |||
| 868 | /** |
||
| 869 | * Create a new marker. |
||
| 870 | * |
||
| 871 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Scatter\HighchartsMarker Returns the marker. |
||
| 872 | */ |
||
| 873 | public function newMarker() { |
||
| 877 | |||
| 878 | /** |
||
| 879 | * Create a new point. |
||
| 880 | * |
||
| 881 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Scatter\HighchartsPoint Returns the point. |
||
| 882 | */ |
||
| 883 | public function newPoint() { |
||
| 887 | |||
| 888 | /** |
||
| 889 | * Create a new states. |
||
| 890 | * |
||
| 891 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Scatter\HighchartsStates Returns the states. |
||
| 892 | */ |
||
| 893 | public function newStates() { |
||
| 897 | |||
| 898 | /** |
||
| 899 | * Set the allow point select. |
||
| 900 | * |
||
| 901 | * @param boolean $allowPointSelect The allow point select. |
||
| 902 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsScatter Returns the highcharts scatter. |
||
| 903 | */ |
||
| 904 | public function setAllowPointSelect($allowPointSelect) { |
||
| 908 | |||
| 909 | /** |
||
| 910 | * Set the animation. |
||
| 911 | * |
||
| 912 | * @param boolean $animation The animation. |
||
| 913 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsScatter Returns the highcharts scatter. |
||
| 914 | */ |
||
| 915 | public function setAnimation($animation) { |
||
| 919 | |||
| 920 | /** |
||
| 921 | * Set the animation limit. |
||
| 922 | * |
||
| 923 | * @param integer $animationLimit The animation limit. |
||
| 924 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsScatter Returns the highcharts scatter. |
||
| 925 | */ |
||
| 926 | public function setAnimationLimit($animationLimit) { |
||
| 930 | |||
| 931 | /** |
||
| 932 | * Set the class name. |
||
| 933 | * |
||
| 934 | * @param string $className The class name. |
||
| 935 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsScatter Returns the highcharts scatter. |
||
| 936 | */ |
||
| 937 | public function setClassName($className) { |
||
| 941 | |||
| 942 | /** |
||
| 943 | * Set the color. |
||
| 944 | * |
||
| 945 | * @param string $color The color. |
||
| 946 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsScatter Returns the highcharts scatter. |
||
| 947 | */ |
||
| 948 | public function setColor($color) { |
||
| 952 | |||
| 953 | /** |
||
| 954 | * Set the color index. |
||
| 955 | * |
||
| 956 | * @param integer $colorIndex The color index. |
||
| 957 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsScatter Returns the highcharts scatter. |
||
| 958 | */ |
||
| 959 | public function setColorIndex($colorIndex) { |
||
| 963 | |||
| 964 | /** |
||
| 965 | * Set the crop threshold. |
||
| 966 | * |
||
| 967 | * @param integer $cropThreshold The crop threshold. |
||
| 968 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsScatter Returns the highcharts scatter. |
||
| 969 | */ |
||
| 970 | public function setCropThreshold($cropThreshold) { |
||
| 974 | |||
| 975 | /** |
||
| 976 | * Set the cursor. |
||
| 977 | * |
||
| 978 | * @param string $cursor The cursor. |
||
| 979 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsScatter Returns the highcharts scatter. |
||
| 980 | */ |
||
| 981 | public function setCursor($cursor) { |
||
| 994 | |||
| 995 | /** |
||
| 996 | * Set the dash style. |
||
| 997 | * |
||
| 998 | * @param string $dashStyle The dash style. |
||
| 999 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsScatter Returns the highcharts scatter. |
||
| 1000 | */ |
||
| 1001 | public function setDashStyle($dashStyle) { |
||
| 1019 | |||
| 1020 | /** |
||
| 1021 | * Set the data labels. |
||
| 1022 | * |
||
| 1023 | * @param \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Scatter\HighchartsDataLabels $dataLabels The data labels. |
||
| 1024 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsScatter Returns the highcharts scatter. |
||
| 1025 | */ |
||
| 1026 | public function setDataLabels(\WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Scatter\HighchartsDataLabels $dataLabels = null) { |
||
| 1030 | |||
| 1031 | /** |
||
| 1032 | * Set the description. |
||
| 1033 | * |
||
| 1034 | * @param string $description The description. |
||
| 1035 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsScatter Returns the highcharts scatter. |
||
| 1036 | */ |
||
| 1037 | public function setDescription($description) { |
||
| 1041 | |||
| 1042 | /** |
||
| 1043 | * Set the enable mouse tracking. |
||
| 1044 | * |
||
| 1045 | * @param boolean $enableMouseTracking The enable mouse tracking. |
||
| 1046 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsScatter Returns the highcharts scatter. |
||
| 1047 | */ |
||
| 1048 | public function setEnableMouseTracking($enableMouseTracking) { |
||
| 1052 | |||
| 1053 | /** |
||
| 1054 | * Set the events. |
||
| 1055 | * |
||
| 1056 | * @param \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Scatter\HighchartsEvents $events The events. |
||
| 1057 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsScatter Returns the highcharts scatter. |
||
| 1058 | */ |
||
| 1059 | public function setEvents(\WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Scatter\HighchartsEvents $events = null) { |
||
| 1063 | |||
| 1064 | /** |
||
| 1065 | * Set the expose element to a11y. |
||
| 1066 | * |
||
| 1067 | * @param boolean $exposeElementToA11y The expose element to a11y. |
||
| 1068 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsScatter Returns the highcharts scatter. |
||
| 1069 | */ |
||
| 1070 | public function setExposeElementToA11y($exposeElementToA11y) { |
||
| 1074 | |||
| 1075 | /** |
||
| 1076 | * Set the find nearest point by. |
||
| 1077 | * |
||
| 1078 | * @param string $findNearestPointBy The find nearest point by. |
||
| 1079 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsScatter Returns the highcharts scatter. |
||
| 1080 | */ |
||
| 1081 | public function setFindNearestPointBy($findNearestPointBy) { |
||
| 1090 | |||
| 1091 | /** |
||
| 1092 | * Set the get extremes from all. |
||
| 1093 | * |
||
| 1094 | * @param boolean $getExtremesFromAll The get extremes from all. |
||
| 1095 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsScatter Returns the highcharts scatter. |
||
| 1096 | */ |
||
| 1097 | public function setGetExtremesFromAll($getExtremesFromAll) { |
||
| 1101 | |||
| 1102 | /** |
||
| 1103 | * Set the keys. |
||
| 1104 | * |
||
| 1105 | * @param array $keys The keys. |
||
| 1106 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsScatter Returns the highcharts scatter. |
||
| 1107 | */ |
||
| 1108 | public function setKeys(array $keys = null) { |
||
| 1112 | |||
| 1113 | /** |
||
| 1114 | * Set the line width. |
||
| 1115 | * |
||
| 1116 | * @param integer $lineWidth The line width. |
||
| 1117 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsScatter Returns the highcharts scatter. |
||
| 1118 | */ |
||
| 1119 | public function setLineWidth($lineWidth) { |
||
| 1123 | |||
| 1124 | /** |
||
| 1125 | * Set the linked to. |
||
| 1126 | * |
||
| 1127 | * @param string $linkedTo The linked to. |
||
| 1128 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsScatter Returns the highcharts scatter. |
||
| 1129 | */ |
||
| 1130 | public function setLinkedTo($linkedTo) { |
||
| 1134 | |||
| 1135 | /** |
||
| 1136 | * Set the marker. |
||
| 1137 | * |
||
| 1138 | * @param \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Scatter\HighchartsMarker $marker The marker. |
||
| 1139 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsScatter Returns the highcharts scatter. |
||
| 1140 | */ |
||
| 1141 | public function setMarker(\WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Scatter\HighchartsMarker $marker = null) { |
||
| 1145 | |||
| 1146 | /** |
||
| 1147 | * Set the negative color. |
||
| 1148 | * |
||
| 1149 | * @param string $negativeColor The negative color. |
||
| 1150 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsScatter Returns the highcharts scatter. |
||
| 1151 | */ |
||
| 1152 | public function setNegativeColor($negativeColor) { |
||
| 1156 | |||
| 1157 | /** |
||
| 1158 | * Set the point. |
||
| 1159 | * |
||
| 1160 | * @param \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Scatter\HighchartsPoint $point The point. |
||
| 1161 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsScatter Returns the highcharts scatter. |
||
| 1162 | */ |
||
| 1163 | public function setPoint(\WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Scatter\HighchartsPoint $point = null) { |
||
| 1167 | |||
| 1168 | /** |
||
| 1169 | * Set the point description formatter. |
||
| 1170 | * |
||
| 1171 | * @param string $pointDescriptionFormatter The point description formatter. |
||
| 1172 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsScatter Returns the highcharts scatter. |
||
| 1173 | */ |
||
| 1174 | public function setPointDescriptionFormatter($pointDescriptionFormatter) { |
||
| 1178 | |||
| 1179 | /** |
||
| 1180 | * Set the point interval. |
||
| 1181 | * |
||
| 1182 | * @param integer $pointInterval The point interval. |
||
| 1183 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsScatter Returns the highcharts scatter. |
||
| 1184 | */ |
||
| 1185 | public function setPointInterval($pointInterval) { |
||
| 1189 | |||
| 1190 | /** |
||
| 1191 | * Set the point interval unit. |
||
| 1192 | * |
||
| 1193 | * @param string $pointIntervalUnit The point interval unit. |
||
| 1194 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsScatter Returns the highcharts scatter. |
||
| 1195 | */ |
||
| 1196 | public function setPointIntervalUnit($pointIntervalUnit) { |
||
| 1207 | |||
| 1208 | /** |
||
| 1209 | * Set the point start. |
||
| 1210 | * |
||
| 1211 | * @param integer $pointStart The point start. |
||
| 1212 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsScatter Returns the highcharts scatter. |
||
| 1213 | */ |
||
| 1214 | public function setPointStart($pointStart) { |
||
| 1218 | |||
| 1219 | /** |
||
| 1220 | * Set the selected. |
||
| 1221 | * |
||
| 1222 | * @param boolean $selected The selected. |
||
| 1223 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsScatter Returns the highcharts scatter. |
||
| 1224 | */ |
||
| 1225 | public function setSelected($selected) { |
||
| 1229 | |||
| 1230 | /** |
||
| 1231 | * Set the shadow. |
||
| 1232 | * |
||
| 1233 | * @param boolean|array $shadow The shadow. |
||
| 1234 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsScatter Returns the highcharts scatter. |
||
| 1235 | */ |
||
| 1236 | public function setShadow($shadow) { |
||
| 1240 | |||
| 1241 | /** |
||
| 1242 | * Set the show checkbox. |
||
| 1243 | * |
||
| 1244 | * @param boolean $showCheckbox The show checkbox. |
||
| 1245 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsScatter Returns the highcharts scatter. |
||
| 1246 | */ |
||
| 1247 | public function setShowCheckbox($showCheckbox) { |
||
| 1251 | |||
| 1252 | /** |
||
| 1253 | * Set the show in legend. |
||
| 1254 | * |
||
| 1255 | * @param boolean $showInLegend The show in legend. |
||
| 1256 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsScatter Returns the highcharts scatter. |
||
| 1257 | */ |
||
| 1258 | public function setShowInLegend($showInLegend) { |
||
| 1262 | |||
| 1263 | /** |
||
| 1264 | * Set the skip keyboard navigation. |
||
| 1265 | * |
||
| 1266 | * @param boolean $skipKeyboardNavigation The skip keyboard navigation. |
||
| 1267 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsScatter Returns the highcharts scatter. |
||
| 1268 | */ |
||
| 1269 | public function setSkipKeyboardNavigation($skipKeyboardNavigation) { |
||
| 1273 | |||
| 1274 | /** |
||
| 1275 | * Set the soft threshold. |
||
| 1276 | * |
||
| 1277 | * @param boolean $softThreshold The soft threshold. |
||
| 1278 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsScatter Returns the highcharts scatter. |
||
| 1279 | */ |
||
| 1280 | public function setSoftThreshold($softThreshold) { |
||
| 1284 | |||
| 1285 | /** |
||
| 1286 | * Set the states. |
||
| 1287 | * |
||
| 1288 | * @param \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Scatter\HighchartsStates $states The states. |
||
| 1289 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsScatter Returns the highcharts scatter. |
||
| 1290 | */ |
||
| 1291 | public function setStates(\WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Scatter\HighchartsStates $states = null) { |
||
| 1295 | |||
| 1296 | /** |
||
| 1297 | * Set the sticky tracking. |
||
| 1298 | * |
||
| 1299 | * @param boolean $stickyTracking The sticky tracking. |
||
| 1300 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsScatter Returns the highcharts scatter. |
||
| 1301 | */ |
||
| 1302 | public function setStickyTracking($stickyTracking) { |
||
| 1306 | |||
| 1307 | /** |
||
| 1308 | * Set the threshold. |
||
| 1309 | * |
||
| 1310 | * @param integer $threshold The threshold. |
||
| 1311 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsScatter Returns the highcharts scatter. |
||
| 1312 | */ |
||
| 1313 | public function setThreshold($threshold) { |
||
| 1317 | |||
| 1318 | /** |
||
| 1319 | * Set the tooltip. |
||
| 1320 | * |
||
| 1321 | * @param array $tooltip The tooltip. |
||
| 1322 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsScatter Returns the highcharts scatter. |
||
| 1323 | */ |
||
| 1324 | public function setTooltip(array $tooltip = null) { |
||
| 1328 | |||
| 1329 | /** |
||
| 1330 | * Set the turbo threshold. |
||
| 1331 | * |
||
| 1332 | * @param integer $turboThreshold The turbo threshold. |
||
| 1333 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsScatter Returns the highcharts scatter. |
||
| 1334 | */ |
||
| 1335 | public function setTurboThreshold($turboThreshold) { |
||
| 1339 | |||
| 1340 | /** |
||
| 1341 | * Set the visible. |
||
| 1342 | * |
||
| 1343 | * @param boolean $visible The visible. |
||
| 1344 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsScatter Returns the highcharts scatter. |
||
| 1345 | */ |
||
| 1346 | public function setVisible($visible) { |
||
| 1350 | |||
| 1351 | /** |
||
| 1352 | * Set the zone axis. |
||
| 1353 | * |
||
| 1354 | * @param string $zoneAxis The zone axis. |
||
| 1355 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsScatter Returns the highcharts scatter. |
||
| 1356 | */ |
||
| 1357 | public function setZoneAxis($zoneAxis) { |
||
| 1361 | |||
| 1362 | /** |
||
| 1363 | * Set the zones. |
||
| 1364 | * |
||
| 1365 | * @param array $zones The zones. |
||
| 1366 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsScatter Returns the highcharts scatter. |
||
| 1367 | */ |
||
| 1368 | public function setZones(array $zones = null) { |
||
| 1372 | |||
| 1373 | /** |
||
| 1374 | * Convert into an array representing this instance. |
||
| 1375 | * |
||
| 1376 | * @return array Returns an array representing this instance. |
||
| 1377 | */ |
||
| 1378 | public function toArray() { |
||
| 1516 | |||
| 1517 | } |
||
| 1518 |
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..