Complex classes like HighchartsArearange 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 HighchartsArearange, and based on these observations, apply Extract Interface, too.
| 1 | <?php |
||
| 25 | final class HighchartsArearange implements JsonSerializable { |
||
| 26 | |||
| 27 | /** |
||
| 28 | * Allow point select. |
||
| 29 | * |
||
| 30 | * @var boolean |
||
| 31 | * @since 1.2.0 |
||
| 32 | */ |
||
| 33 | private $allowPointSelect = false; |
||
| 34 | |||
| 35 | /** |
||
| 36 | * Animation. |
||
| 37 | * |
||
| 38 | * @var boolean |
||
| 39 | */ |
||
| 40 | private $animation = true; |
||
| 41 | |||
| 42 | /** |
||
| 43 | * Animation limit. |
||
| 44 | * |
||
| 45 | * @var integer |
||
| 46 | */ |
||
| 47 | private $animationLimit; |
||
| 48 | |||
| 49 | /** |
||
| 50 | * Class name. |
||
| 51 | * |
||
| 52 | * @var string |
||
| 53 | * @since 5.0.0 |
||
| 54 | */ |
||
| 55 | private $className; |
||
| 56 | |||
| 57 | /** |
||
| 58 | * Color. |
||
| 59 | * |
||
| 60 | * @var string |
||
| 61 | */ |
||
| 62 | private $color; |
||
| 63 | |||
| 64 | /** |
||
| 65 | * Color index. |
||
| 66 | * |
||
| 67 | * @var integer |
||
| 68 | * @since 5.0.0 |
||
| 69 | */ |
||
| 70 | private $colorIndex; |
||
| 71 | |||
| 72 | /** |
||
| 73 | * Connect nulls. |
||
| 74 | * |
||
| 75 | * @var boolean |
||
| 76 | */ |
||
| 77 | private $connectNulls = false; |
||
| 78 | |||
| 79 | /** |
||
| 80 | * Crop threshold. |
||
| 81 | * |
||
| 82 | * @var integer |
||
| 83 | * @since 2.2 |
||
| 84 | */ |
||
| 85 | private $cropThreshold = 300; |
||
| 86 | |||
| 87 | /** |
||
| 88 | * Cursor. |
||
| 89 | * |
||
| 90 | * @var string |
||
| 91 | */ |
||
| 92 | private $cursor; |
||
| 93 | |||
| 94 | /** |
||
| 95 | * Dash style. |
||
| 96 | * |
||
| 97 | * @var string |
||
| 98 | * @since 2.1 |
||
| 99 | */ |
||
| 100 | private $dashStyle = "Solid"; |
||
| 101 | |||
| 102 | /** |
||
| 103 | * Data labels. |
||
| 104 | * |
||
| 105 | * @var array |
||
| 106 | * @since 2.3.0 |
||
| 107 | */ |
||
| 108 | private $dataLabels; |
||
| 109 | |||
| 110 | /** |
||
| 111 | * Description. |
||
| 112 | * |
||
| 113 | * @var string |
||
| 114 | * @since 5.0.0 |
||
| 115 | */ |
||
| 116 | private $description; |
||
| 117 | |||
| 118 | /** |
||
| 119 | * Enable mouse tracking. |
||
| 120 | * |
||
| 121 | * @var boolean |
||
| 122 | */ |
||
| 123 | private $enableMouseTracking = true; |
||
| 124 | |||
| 125 | /** |
||
| 126 | * Events. |
||
| 127 | * |
||
| 128 | * @var \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Arearange\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 | * Fill color. |
||
| 142 | * |
||
| 143 | * @var string |
||
| 144 | */ |
||
| 145 | private $fillColor; |
||
| 146 | |||
| 147 | /** |
||
| 148 | * Fill opacity. |
||
| 149 | * |
||
| 150 | * @var integer |
||
| 151 | */ |
||
| 152 | private $fillOpacity = 0.75; |
||
| 153 | |||
| 154 | /** |
||
| 155 | * Find nearest point by. |
||
| 156 | * |
||
| 157 | * @var string |
||
| 158 | * @since 5.0.10 |
||
| 159 | */ |
||
| 160 | private $findNearestPointBy; |
||
| 161 | |||
| 162 | /** |
||
| 163 | * Get extremes from all. |
||
| 164 | * |
||
| 165 | * @var boolean |
||
| 166 | * @since 4.1.6 |
||
| 167 | */ |
||
| 168 | private $getExtremesFromAll = false; |
||
| 169 | |||
| 170 | /** |
||
| 171 | * Keys. |
||
| 172 | * |
||
| 173 | * @var array |
||
| 174 | * @since 4.1.6 |
||
| 175 | */ |
||
| 176 | private $keys; |
||
| 177 | |||
| 178 | /** |
||
| 179 | * Line color. |
||
| 180 | * |
||
| 181 | * @var string |
||
| 182 | */ |
||
| 183 | private $lineColor; |
||
| 184 | |||
| 185 | /** |
||
| 186 | * Line width. |
||
| 187 | * |
||
| 188 | * @var integer |
||
| 189 | * @since 2.3.0 |
||
| 190 | */ |
||
| 191 | private $lineWidth = 1; |
||
| 192 | |||
| 193 | /** |
||
| 194 | * Linecap. |
||
| 195 | * |
||
| 196 | * @var string |
||
| 197 | */ |
||
| 198 | private $linecap = "round"; |
||
| 199 | |||
| 200 | /** |
||
| 201 | * Linked to. |
||
| 202 | * |
||
| 203 | * @var string |
||
| 204 | * @since 3.0 |
||
| 205 | */ |
||
| 206 | private $linkedTo; |
||
| 207 | |||
| 208 | /** |
||
| 209 | * Negative color. |
||
| 210 | * |
||
| 211 | * @var string |
||
| 212 | * @since 3.0 |
||
| 213 | */ |
||
| 214 | private $negativeColor; |
||
| 215 | |||
| 216 | /** |
||
| 217 | * Negative fill color. |
||
| 218 | * |
||
| 219 | * @var string |
||
| 220 | * @since 3.0 |
||
| 221 | */ |
||
| 222 | private $negativeFillColor; |
||
| 223 | |||
| 224 | /** |
||
| 225 | * Point. |
||
| 226 | * |
||
| 227 | * @var \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Arearange\HighchartsPoint |
||
| 228 | */ |
||
| 229 | private $point; |
||
| 230 | |||
| 231 | /** |
||
| 232 | * Point description formatter. |
||
| 233 | * |
||
| 234 | * @var string |
||
| 235 | * @since 5.0.12 |
||
| 236 | */ |
||
| 237 | private $pointDescriptionFormatter; |
||
| 238 | |||
| 239 | /** |
||
| 240 | * Point interval. |
||
| 241 | * |
||
| 242 | * @var integer |
||
| 243 | */ |
||
| 244 | private $pointInterval = 1; |
||
| 245 | |||
| 246 | /** |
||
| 247 | * Point interval unit. |
||
| 248 | * |
||
| 249 | * @var string |
||
| 250 | * @since 4.1.0 |
||
| 251 | */ |
||
| 252 | private $pointIntervalUnit; |
||
| 253 | |||
| 254 | /** |
||
| 255 | * Point placement. |
||
| 256 | * |
||
| 257 | * @var string|integer |
||
| 258 | * @since 2.3.0 |
||
| 259 | */ |
||
| 260 | private $pointPlacement; |
||
| 261 | |||
| 262 | /** |
||
| 263 | * Point start. |
||
| 264 | * |
||
| 265 | * @var integer |
||
| 266 | */ |
||
| 267 | private $pointStart = 0; |
||
| 268 | |||
| 269 | /** |
||
| 270 | * Selected. |
||
| 271 | * |
||
| 272 | * @var boolean |
||
| 273 | * @since 1.2.0 |
||
| 274 | */ |
||
| 275 | private $selected = false; |
||
| 276 | |||
| 277 | /** |
||
| 278 | * Shadow. |
||
| 279 | * |
||
| 280 | * @var boolean|array |
||
| 281 | */ |
||
| 282 | private $shadow = false; |
||
| 283 | |||
| 284 | /** |
||
| 285 | * Show checkbox. |
||
| 286 | * |
||
| 287 | * @var boolean |
||
| 288 | * @since 1.2.0 |
||
| 289 | */ |
||
| 290 | private $showCheckbox = false; |
||
| 291 | |||
| 292 | /** |
||
| 293 | * Show in legend. |
||
| 294 | * |
||
| 295 | * @var boolean |
||
| 296 | */ |
||
| 297 | private $showInLegend = true; |
||
| 298 | |||
| 299 | /** |
||
| 300 | * Skip keyboard navigation. |
||
| 301 | * |
||
| 302 | * @var boolean |
||
| 303 | * @since 5.0.12 |
||
| 304 | */ |
||
| 305 | private $skipKeyboardNavigation; |
||
| 306 | |||
| 307 | /** |
||
| 308 | * States. |
||
| 309 | * |
||
| 310 | * @var \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Arearange\HighchartsStates |
||
| 311 | */ |
||
| 312 | private $states; |
||
| 313 | |||
| 314 | /** |
||
| 315 | * Step. |
||
| 316 | * |
||
| 317 | * @var string |
||
| 318 | * @since 1.2.5 |
||
| 319 | */ |
||
| 320 | private $step = "false"; |
||
| 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 | * Track by area. |
||
| 340 | * |
||
| 341 | * @var boolean |
||
| 342 | * @since 2.3.0 |
||
| 343 | */ |
||
| 344 | private $trackByArea = true; |
||
| 345 | |||
| 346 | /** |
||
| 347 | * Turbo threshold. |
||
| 348 | * |
||
| 349 | * @var integer |
||
| 350 | * @since 2.2 |
||
| 351 | */ |
||
| 352 | private $turboThreshold = 1000; |
||
| 353 | |||
| 354 | /** |
||
| 355 | * Visible. |
||
| 356 | * |
||
| 357 | * @var boolean |
||
| 358 | */ |
||
| 359 | private $visible = true; |
||
| 360 | |||
| 361 | /** |
||
| 362 | * Zone axis. |
||
| 363 | * |
||
| 364 | * @var string |
||
| 365 | * @since 4.1.0 |
||
| 366 | */ |
||
| 367 | private $zoneAxis = "y"; |
||
| 368 | |||
| 369 | /** |
||
| 370 | * Zones. |
||
| 371 | * |
||
| 372 | * @var array |
||
| 373 | * @since 4.1.0 |
||
| 374 | */ |
||
| 375 | private $zones; |
||
| 376 | |||
| 377 | /** |
||
| 378 | * Constructor. |
||
| 379 | * |
||
| 380 | * @param boolean $ignoreDefaultValues Ignore the default values. |
||
| 381 | */ |
||
| 382 | public function __construct($ignoreDefaultValues = true) { |
||
| 387 | |||
| 388 | /** |
||
| 389 | * Clear. |
||
| 390 | * |
||
| 391 | * @return void |
||
| 392 | */ |
||
| 393 | public function clear() { |
||
| 539 | |||
| 540 | /** |
||
| 541 | * Get the allow point select. |
||
| 542 | * |
||
| 543 | * @return boolean Returns the allow point select. |
||
| 544 | */ |
||
| 545 | public function getAllowPointSelect() { |
||
| 548 | |||
| 549 | /** |
||
| 550 | * Get the animation. |
||
| 551 | * |
||
| 552 | * @return boolean Returns the animation. |
||
| 553 | */ |
||
| 554 | public function getAnimation() { |
||
| 557 | |||
| 558 | /** |
||
| 559 | * Get the animation limit. |
||
| 560 | * |
||
| 561 | * @return integer Returns the animation limit. |
||
| 562 | */ |
||
| 563 | public function getAnimationLimit() { |
||
| 566 | |||
| 567 | /** |
||
| 568 | * Get the class name. |
||
| 569 | * |
||
| 570 | * @return string Returns the class name. |
||
| 571 | */ |
||
| 572 | public function getClassName() { |
||
| 575 | |||
| 576 | /** |
||
| 577 | * Get the color. |
||
| 578 | * |
||
| 579 | * @return string Returns the color. |
||
| 580 | */ |
||
| 581 | public function getColor() { |
||
| 584 | |||
| 585 | /** |
||
| 586 | * Get the color index. |
||
| 587 | * |
||
| 588 | * @return integer Returns the color index. |
||
| 589 | */ |
||
| 590 | public function getColorIndex() { |
||
| 593 | |||
| 594 | /** |
||
| 595 | * Get the connect nulls. |
||
| 596 | * |
||
| 597 | * @return boolean Returns the connect nulls. |
||
| 598 | */ |
||
| 599 | public function getConnectNulls() { |
||
| 602 | |||
| 603 | /** |
||
| 604 | * Get the crop threshold. |
||
| 605 | * |
||
| 606 | * @return integer Returns the crop threshold. |
||
| 607 | */ |
||
| 608 | public function getCropThreshold() { |
||
| 611 | |||
| 612 | /** |
||
| 613 | * Get the cursor. |
||
| 614 | * |
||
| 615 | * @return string Returns the cursor. |
||
| 616 | */ |
||
| 617 | public function getCursor() { |
||
| 620 | |||
| 621 | /** |
||
| 622 | * Get the dash style. |
||
| 623 | * |
||
| 624 | * @return string Returns the dash style. |
||
| 625 | */ |
||
| 626 | public function getDashStyle() { |
||
| 629 | |||
| 630 | /** |
||
| 631 | * Get the data labels. |
||
| 632 | * |
||
| 633 | * @return array Returns the data labels. |
||
| 634 | */ |
||
| 635 | public function getDataLabels() { |
||
| 638 | |||
| 639 | /** |
||
| 640 | * Get the description. |
||
| 641 | * |
||
| 642 | * @return string Returns the description. |
||
| 643 | */ |
||
| 644 | public function getDescription() { |
||
| 647 | |||
| 648 | /** |
||
| 649 | * Get the enable mouse tracking. |
||
| 650 | * |
||
| 651 | * @return boolean Returns the enable mouse tracking. |
||
| 652 | */ |
||
| 653 | public function getEnableMouseTracking() { |
||
| 656 | |||
| 657 | /** |
||
| 658 | * Get the events. |
||
| 659 | * |
||
| 660 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Arearange\HighchartsEvents Returns the events. |
||
| 661 | */ |
||
| 662 | public function getEvents() { |
||
| 665 | |||
| 666 | /** |
||
| 667 | * Get the expose element to a11y. |
||
| 668 | * |
||
| 669 | * @return boolean Returns the expose element to a11y. |
||
| 670 | */ |
||
| 671 | public function getExposeElementToA11y() { |
||
| 674 | |||
| 675 | /** |
||
| 676 | * Get the fill color. |
||
| 677 | * |
||
| 678 | * @return string Returns the fill color. |
||
| 679 | */ |
||
| 680 | public function getFillColor() { |
||
| 683 | |||
| 684 | /** |
||
| 685 | * Get the fill opacity. |
||
| 686 | * |
||
| 687 | * @return integer Returns the fill opacity. |
||
| 688 | */ |
||
| 689 | public function getFillOpacity() { |
||
| 692 | |||
| 693 | /** |
||
| 694 | * Get the find nearest point by. |
||
| 695 | * |
||
| 696 | * @return string Returns the find nearest point by. |
||
| 697 | */ |
||
| 698 | public function getFindNearestPointBy() { |
||
| 701 | |||
| 702 | /** |
||
| 703 | * Get the get extremes from all. |
||
| 704 | * |
||
| 705 | * @return boolean Returns the get extremes from all. |
||
| 706 | */ |
||
| 707 | public function getGetExtremesFromAll() { |
||
| 710 | |||
| 711 | /** |
||
| 712 | * Get the keys. |
||
| 713 | * |
||
| 714 | * @return array Returns the keys. |
||
| 715 | */ |
||
| 716 | public function getKeys() { |
||
| 719 | |||
| 720 | /** |
||
| 721 | * Get the line color. |
||
| 722 | * |
||
| 723 | * @return string Returns the line color. |
||
| 724 | */ |
||
| 725 | public function getLineColor() { |
||
| 728 | |||
| 729 | /** |
||
| 730 | * Get the line width. |
||
| 731 | * |
||
| 732 | * @return integer Returns the line width. |
||
| 733 | */ |
||
| 734 | public function getLineWidth() { |
||
| 737 | |||
| 738 | /** |
||
| 739 | * Get the linecap. |
||
| 740 | * |
||
| 741 | * @return string Returns the linecap. |
||
| 742 | */ |
||
| 743 | public function getLinecap() { |
||
| 746 | |||
| 747 | /** |
||
| 748 | * Get the linked to. |
||
| 749 | * |
||
| 750 | * @return string Returns the linked to. |
||
| 751 | */ |
||
| 752 | public function getLinkedTo() { |
||
| 755 | |||
| 756 | /** |
||
| 757 | * Get the negative color. |
||
| 758 | * |
||
| 759 | * @return string Returns the negative color. |
||
| 760 | */ |
||
| 761 | public function getNegativeColor() { |
||
| 764 | |||
| 765 | /** |
||
| 766 | * Get the negative fill color. |
||
| 767 | * |
||
| 768 | * @return string Returns the negative fill color. |
||
| 769 | */ |
||
| 770 | public function getNegativeFillColor() { |
||
| 773 | |||
| 774 | /** |
||
| 775 | * Get the point. |
||
| 776 | * |
||
| 777 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Arearange\HighchartsPoint Returns the point. |
||
| 778 | */ |
||
| 779 | public function getPoint() { |
||
| 782 | |||
| 783 | /** |
||
| 784 | * Get the point description formatter. |
||
| 785 | * |
||
| 786 | * @return string Returns the point description formatter. |
||
| 787 | */ |
||
| 788 | public function getPointDescriptionFormatter() { |
||
| 791 | |||
| 792 | /** |
||
| 793 | * Get the point interval. |
||
| 794 | * |
||
| 795 | * @return integer Returns the point interval. |
||
| 796 | */ |
||
| 797 | public function getPointInterval() { |
||
| 800 | |||
| 801 | /** |
||
| 802 | * Get the point interval unit. |
||
| 803 | * |
||
| 804 | * @return string Returns the point interval unit. |
||
| 805 | */ |
||
| 806 | public function getPointIntervalUnit() { |
||
| 809 | |||
| 810 | /** |
||
| 811 | * Get the point placement. |
||
| 812 | * |
||
| 813 | * @return string|integer Returns the point placement. |
||
| 814 | */ |
||
| 815 | public function getPointPlacement() { |
||
| 818 | |||
| 819 | /** |
||
| 820 | * Get the point start. |
||
| 821 | * |
||
| 822 | * @return integer Returns the point start. |
||
| 823 | */ |
||
| 824 | public function getPointStart() { |
||
| 827 | |||
| 828 | /** |
||
| 829 | * Get the selected. |
||
| 830 | * |
||
| 831 | * @return boolean Returns the selected. |
||
| 832 | */ |
||
| 833 | public function getSelected() { |
||
| 836 | |||
| 837 | /** |
||
| 838 | * Get the shadow. |
||
| 839 | * |
||
| 840 | * @return boolean|array Returns the shadow. |
||
| 841 | */ |
||
| 842 | public function getShadow() { |
||
| 845 | |||
| 846 | /** |
||
| 847 | * Get the show checkbox. |
||
| 848 | * |
||
| 849 | * @return boolean Returns the show checkbox. |
||
| 850 | */ |
||
| 851 | public function getShowCheckbox() { |
||
| 854 | |||
| 855 | /** |
||
| 856 | * Get the show in legend. |
||
| 857 | * |
||
| 858 | * @return boolean Returns the show in legend. |
||
| 859 | */ |
||
| 860 | public function getShowInLegend() { |
||
| 863 | |||
| 864 | /** |
||
| 865 | * Get the skip keyboard navigation. |
||
| 866 | * |
||
| 867 | * @return boolean Returns the skip keyboard navigation. |
||
| 868 | */ |
||
| 869 | public function getSkipKeyboardNavigation() { |
||
| 872 | |||
| 873 | /** |
||
| 874 | * Get the states. |
||
| 875 | * |
||
| 876 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Arearange\HighchartsStates Returns the states. |
||
| 877 | */ |
||
| 878 | public function getStates() { |
||
| 881 | |||
| 882 | /** |
||
| 883 | * Get the step. |
||
| 884 | * |
||
| 885 | * @return string Returns the step. |
||
| 886 | */ |
||
| 887 | public function getStep() { |
||
| 890 | |||
| 891 | /** |
||
| 892 | * Get the sticky tracking. |
||
| 893 | * |
||
| 894 | * @return boolean Returns the sticky tracking. |
||
| 895 | */ |
||
| 896 | public function getStickyTracking() { |
||
| 899 | |||
| 900 | /** |
||
| 901 | * Get the tooltip. |
||
| 902 | * |
||
| 903 | * @return array Returns the tooltip. |
||
| 904 | */ |
||
| 905 | public function getTooltip() { |
||
| 908 | |||
| 909 | /** |
||
| 910 | * Get the track by area. |
||
| 911 | * |
||
| 912 | * @return boolean Returns the track by area. |
||
| 913 | */ |
||
| 914 | public function getTrackByArea() { |
||
| 917 | |||
| 918 | /** |
||
| 919 | * Get the turbo threshold. |
||
| 920 | * |
||
| 921 | * @return integer Returns the turbo threshold. |
||
| 922 | */ |
||
| 923 | public function getTurboThreshold() { |
||
| 926 | |||
| 927 | /** |
||
| 928 | * Get the visible. |
||
| 929 | * |
||
| 930 | * @return boolean Returns the visible. |
||
| 931 | */ |
||
| 932 | public function getVisible() { |
||
| 935 | |||
| 936 | /** |
||
| 937 | * Get the zone axis. |
||
| 938 | * |
||
| 939 | * @return string Returns the zone axis. |
||
| 940 | */ |
||
| 941 | public function getZoneAxis() { |
||
| 944 | |||
| 945 | /** |
||
| 946 | * Get the zones. |
||
| 947 | * |
||
| 948 | * @return array Returns the zones. |
||
| 949 | */ |
||
| 950 | public function getZones() { |
||
| 953 | |||
| 954 | /** |
||
| 955 | * Serialize this instance. |
||
| 956 | * |
||
| 957 | * @return array Returns an array representing this instance. |
||
| 958 | */ |
||
| 959 | public function jsonSerialize() { |
||
| 962 | |||
| 963 | /** |
||
| 964 | * Create a new events. |
||
| 965 | * |
||
| 966 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Arearange\HighchartsEvents Returns the events. |
||
| 967 | */ |
||
| 968 | public function newEvents() { |
||
| 972 | |||
| 973 | /** |
||
| 974 | * Create a new point. |
||
| 975 | * |
||
| 976 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Arearange\HighchartsPoint Returns the point. |
||
| 977 | */ |
||
| 978 | public function newPoint() { |
||
| 982 | |||
| 983 | /** |
||
| 984 | * Create a new states. |
||
| 985 | * |
||
| 986 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Arearange\HighchartsStates Returns the states. |
||
| 987 | */ |
||
| 988 | public function newStates() { |
||
| 992 | |||
| 993 | /** |
||
| 994 | * Set the allow point select. |
||
| 995 | * |
||
| 996 | * @param boolean $allowPointSelect The allow point select. |
||
| 997 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsArearange Returns the highcharts arearange. |
||
| 998 | */ |
||
| 999 | public function setAllowPointSelect($allowPointSelect) { |
||
| 1003 | |||
| 1004 | /** |
||
| 1005 | * Set the animation. |
||
| 1006 | * |
||
| 1007 | * @param boolean $animation The animation. |
||
| 1008 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsArearange Returns the highcharts arearange. |
||
| 1009 | */ |
||
| 1010 | public function setAnimation($animation) { |
||
| 1014 | |||
| 1015 | /** |
||
| 1016 | * Set the animation limit. |
||
| 1017 | * |
||
| 1018 | * @param integer $animationLimit The animation limit. |
||
| 1019 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsArearange Returns the highcharts arearange. |
||
| 1020 | */ |
||
| 1021 | public function setAnimationLimit($animationLimit) { |
||
| 1025 | |||
| 1026 | /** |
||
| 1027 | * Set the class name. |
||
| 1028 | * |
||
| 1029 | * @param string $className The class name. |
||
| 1030 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsArearange Returns the highcharts arearange. |
||
| 1031 | */ |
||
| 1032 | public function setClassName($className) { |
||
| 1036 | |||
| 1037 | /** |
||
| 1038 | * Set the color. |
||
| 1039 | * |
||
| 1040 | * @param string $color The color. |
||
| 1041 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsArearange Returns the highcharts arearange. |
||
| 1042 | */ |
||
| 1043 | public function setColor($color) { |
||
| 1047 | |||
| 1048 | /** |
||
| 1049 | * Set the color index. |
||
| 1050 | * |
||
| 1051 | * @param integer $colorIndex The color index. |
||
| 1052 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsArearange Returns the highcharts arearange. |
||
| 1053 | */ |
||
| 1054 | public function setColorIndex($colorIndex) { |
||
| 1058 | |||
| 1059 | /** |
||
| 1060 | * Set the connect nulls. |
||
| 1061 | * |
||
| 1062 | * @param boolean $connectNulls The connect nulls. |
||
| 1063 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsArearange Returns the highcharts arearange. |
||
| 1064 | */ |
||
| 1065 | public function setConnectNulls($connectNulls) { |
||
| 1069 | |||
| 1070 | /** |
||
| 1071 | * Set the crop threshold. |
||
| 1072 | * |
||
| 1073 | * @param integer $cropThreshold The crop threshold. |
||
| 1074 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsArearange Returns the highcharts arearange. |
||
| 1075 | */ |
||
| 1076 | public function setCropThreshold($cropThreshold) { |
||
| 1080 | |||
| 1081 | /** |
||
| 1082 | * Set the cursor. |
||
| 1083 | * |
||
| 1084 | * @param string $cursor The cursor. |
||
| 1085 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsArearange Returns the highcharts arearange. |
||
| 1086 | */ |
||
| 1087 | public function setCursor($cursor) { |
||
| 1100 | |||
| 1101 | /** |
||
| 1102 | * Set the dash style. |
||
| 1103 | * |
||
| 1104 | * @param string $dashStyle The dash style. |
||
| 1105 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsArearange Returns the highcharts arearange. |
||
| 1106 | */ |
||
| 1107 | public function setDashStyle($dashStyle) { |
||
| 1125 | |||
| 1126 | /** |
||
| 1127 | * Set the data labels. |
||
| 1128 | * |
||
| 1129 | * @param array $dataLabels The data labels. |
||
| 1130 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsArearange Returns the highcharts arearange. |
||
| 1131 | */ |
||
| 1132 | public function setDataLabels(array $dataLabels = null) { |
||
| 1136 | |||
| 1137 | /** |
||
| 1138 | * Set the description. |
||
| 1139 | * |
||
| 1140 | * @param string $description The description. |
||
| 1141 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsArearange Returns the highcharts arearange. |
||
| 1142 | */ |
||
| 1143 | public function setDescription($description) { |
||
| 1147 | |||
| 1148 | /** |
||
| 1149 | * Set the enable mouse tracking. |
||
| 1150 | * |
||
| 1151 | * @param boolean $enableMouseTracking The enable mouse tracking. |
||
| 1152 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsArearange Returns the highcharts arearange. |
||
| 1153 | */ |
||
| 1154 | public function setEnableMouseTracking($enableMouseTracking) { |
||
| 1158 | |||
| 1159 | /** |
||
| 1160 | * Set the events. |
||
| 1161 | * |
||
| 1162 | * @param \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Arearange\HighchartsEvents $events The events. |
||
| 1163 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsArearange Returns the highcharts arearange. |
||
| 1164 | */ |
||
| 1165 | public function setEvents(\WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Arearange\HighchartsEvents $events = null) { |
||
| 1169 | |||
| 1170 | /** |
||
| 1171 | * Set the expose element to a11y. |
||
| 1172 | * |
||
| 1173 | * @param boolean $exposeElementToA11y The expose element to a11y. |
||
| 1174 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsArearange Returns the highcharts arearange. |
||
| 1175 | */ |
||
| 1176 | public function setExposeElementToA11y($exposeElementToA11y) { |
||
| 1180 | |||
| 1181 | /** |
||
| 1182 | * Set the fill color. |
||
| 1183 | * |
||
| 1184 | * @param string $fillColor The fill color. |
||
| 1185 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsArearange Returns the highcharts arearange. |
||
| 1186 | */ |
||
| 1187 | public function setFillColor($fillColor) { |
||
| 1191 | |||
| 1192 | /** |
||
| 1193 | * Set the fill opacity. |
||
| 1194 | * |
||
| 1195 | * @param integer $fillOpacity The fill opacity. |
||
| 1196 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsArearange Returns the highcharts arearange. |
||
| 1197 | */ |
||
| 1198 | public function setFillOpacity($fillOpacity) { |
||
| 1202 | |||
| 1203 | /** |
||
| 1204 | * Set the find nearest point by. |
||
| 1205 | * |
||
| 1206 | * @param string $findNearestPointBy The find nearest point by. |
||
| 1207 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsArearange Returns the highcharts arearange. |
||
| 1208 | */ |
||
| 1209 | public function setFindNearestPointBy($findNearestPointBy) { |
||
| 1218 | |||
| 1219 | /** |
||
| 1220 | * Set the get extremes from all. |
||
| 1221 | * |
||
| 1222 | * @param boolean $getExtremesFromAll The get extremes from all. |
||
| 1223 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsArearange Returns the highcharts arearange. |
||
| 1224 | */ |
||
| 1225 | public function setGetExtremesFromAll($getExtremesFromAll) { |
||
| 1229 | |||
| 1230 | /** |
||
| 1231 | * Set the keys. |
||
| 1232 | * |
||
| 1233 | * @param array $keys The keys. |
||
| 1234 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsArearange Returns the highcharts arearange. |
||
| 1235 | */ |
||
| 1236 | public function setKeys(array $keys = null) { |
||
| 1240 | |||
| 1241 | /** |
||
| 1242 | * Set the line color. |
||
| 1243 | * |
||
| 1244 | * @param string $lineColor The line color. |
||
| 1245 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsArearange Returns the highcharts arearange. |
||
| 1246 | */ |
||
| 1247 | public function setLineColor($lineColor) { |
||
| 1251 | |||
| 1252 | /** |
||
| 1253 | * Set the line width. |
||
| 1254 | * |
||
| 1255 | * @param integer $lineWidth The line width. |
||
| 1256 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsArearange Returns the highcharts arearange. |
||
| 1257 | */ |
||
| 1258 | public function setLineWidth($lineWidth) { |
||
| 1262 | |||
| 1263 | /** |
||
| 1264 | * Set the linecap. |
||
| 1265 | * |
||
| 1266 | * @param string $linecap The linecap. |
||
| 1267 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsArearange Returns the highcharts arearange. |
||
| 1268 | */ |
||
| 1269 | public function setLinecap($linecap) { |
||
| 1278 | |||
| 1279 | /** |
||
| 1280 | * Set the linked to. |
||
| 1281 | * |
||
| 1282 | * @param string $linkedTo The linked to. |
||
| 1283 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsArearange Returns the highcharts arearange. |
||
| 1284 | */ |
||
| 1285 | public function setLinkedTo($linkedTo) { |
||
| 1289 | |||
| 1290 | /** |
||
| 1291 | * Set the negative color. |
||
| 1292 | * |
||
| 1293 | * @param string $negativeColor The negative color. |
||
| 1294 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsArearange Returns the highcharts arearange. |
||
| 1295 | */ |
||
| 1296 | public function setNegativeColor($negativeColor) { |
||
| 1300 | |||
| 1301 | /** |
||
| 1302 | * Set the negative fill color. |
||
| 1303 | * |
||
| 1304 | * @param string $negativeFillColor The negative fill color. |
||
| 1305 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsArearange Returns the highcharts arearange. |
||
| 1306 | */ |
||
| 1307 | public function setNegativeFillColor($negativeFillColor) { |
||
| 1311 | |||
| 1312 | /** |
||
| 1313 | * Set the point. |
||
| 1314 | * |
||
| 1315 | * @param \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Arearange\HighchartsPoint $point The point. |
||
| 1316 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsArearange Returns the highcharts arearange. |
||
| 1317 | */ |
||
| 1318 | public function setPoint(\WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Arearange\HighchartsPoint $point = null) { |
||
| 1322 | |||
| 1323 | /** |
||
| 1324 | * Set the point description formatter. |
||
| 1325 | * |
||
| 1326 | * @param string $pointDescriptionFormatter The point description formatter. |
||
| 1327 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsArearange Returns the highcharts arearange. |
||
| 1328 | */ |
||
| 1329 | public function setPointDescriptionFormatter($pointDescriptionFormatter) { |
||
| 1333 | |||
| 1334 | /** |
||
| 1335 | * Set the point interval. |
||
| 1336 | * |
||
| 1337 | * @param integer $pointInterval The point interval. |
||
| 1338 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsArearange Returns the highcharts arearange. |
||
| 1339 | */ |
||
| 1340 | public function setPointInterval($pointInterval) { |
||
| 1344 | |||
| 1345 | /** |
||
| 1346 | * Set the point interval unit. |
||
| 1347 | * |
||
| 1348 | * @param string $pointIntervalUnit The point interval unit. |
||
| 1349 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsArearange Returns the highcharts arearange. |
||
| 1350 | */ |
||
| 1351 | public function setPointIntervalUnit($pointIntervalUnit) { |
||
| 1362 | |||
| 1363 | /** |
||
| 1364 | * Set the point placement. |
||
| 1365 | * |
||
| 1366 | * @param string|integer $pointPlacement The point placement. |
||
| 1367 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsArearange Returns the highcharts arearange. |
||
| 1368 | */ |
||
| 1369 | public function setPointPlacement($pointPlacement) { |
||
| 1379 | |||
| 1380 | /** |
||
| 1381 | * Set the point start. |
||
| 1382 | * |
||
| 1383 | * @param integer $pointStart The point start. |
||
| 1384 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsArearange Returns the highcharts arearange. |
||
| 1385 | */ |
||
| 1386 | public function setPointStart($pointStart) { |
||
| 1390 | |||
| 1391 | /** |
||
| 1392 | * Set the selected. |
||
| 1393 | * |
||
| 1394 | * @param boolean $selected The selected. |
||
| 1395 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsArearange Returns the highcharts arearange. |
||
| 1396 | */ |
||
| 1397 | public function setSelected($selected) { |
||
| 1401 | |||
| 1402 | /** |
||
| 1403 | * Set the shadow. |
||
| 1404 | * |
||
| 1405 | * @param boolean|array $shadow The shadow. |
||
| 1406 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsArearange Returns the highcharts arearange. |
||
| 1407 | */ |
||
| 1408 | public function setShadow($shadow) { |
||
| 1412 | |||
| 1413 | /** |
||
| 1414 | * Set the show checkbox. |
||
| 1415 | * |
||
| 1416 | * @param boolean $showCheckbox The show checkbox. |
||
| 1417 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsArearange Returns the highcharts arearange. |
||
| 1418 | */ |
||
| 1419 | public function setShowCheckbox($showCheckbox) { |
||
| 1423 | |||
| 1424 | /** |
||
| 1425 | * Set the show in legend. |
||
| 1426 | * |
||
| 1427 | * @param boolean $showInLegend The show in legend. |
||
| 1428 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsArearange Returns the highcharts arearange. |
||
| 1429 | */ |
||
| 1430 | public function setShowInLegend($showInLegend) { |
||
| 1434 | |||
| 1435 | /** |
||
| 1436 | * Set the skip keyboard navigation. |
||
| 1437 | * |
||
| 1438 | * @param boolean $skipKeyboardNavigation The skip keyboard navigation. |
||
| 1439 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsArearange Returns the highcharts arearange. |
||
| 1440 | */ |
||
| 1441 | public function setSkipKeyboardNavigation($skipKeyboardNavigation) { |
||
| 1445 | |||
| 1446 | /** |
||
| 1447 | * Set the states. |
||
| 1448 | * |
||
| 1449 | * @param \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Arearange\HighchartsStates $states The states. |
||
| 1450 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsArearange Returns the highcharts arearange. |
||
| 1451 | */ |
||
| 1452 | public function setStates(\WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Arearange\HighchartsStates $states = null) { |
||
| 1456 | |||
| 1457 | /** |
||
| 1458 | * Set the step. |
||
| 1459 | * |
||
| 1460 | * @param string $step The step. |
||
| 1461 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsArearange Returns the highcharts arearange. |
||
| 1462 | */ |
||
| 1463 | public function setStep($step) { |
||
| 1473 | |||
| 1474 | /** |
||
| 1475 | * Set the sticky tracking. |
||
| 1476 | * |
||
| 1477 | * @param boolean $stickyTracking The sticky tracking. |
||
| 1478 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsArearange Returns the highcharts arearange. |
||
| 1479 | */ |
||
| 1480 | public function setStickyTracking($stickyTracking) { |
||
| 1484 | |||
| 1485 | /** |
||
| 1486 | * Set the tooltip. |
||
| 1487 | * |
||
| 1488 | * @param array $tooltip The tooltip. |
||
| 1489 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsArearange Returns the highcharts arearange. |
||
| 1490 | */ |
||
| 1491 | public function setTooltip(array $tooltip = null) { |
||
| 1495 | |||
| 1496 | /** |
||
| 1497 | * Set the track by area. |
||
| 1498 | * |
||
| 1499 | * @param boolean $trackByArea The track by area. |
||
| 1500 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsArearange Returns the highcharts arearange. |
||
| 1501 | */ |
||
| 1502 | public function setTrackByArea($trackByArea) { |
||
| 1506 | |||
| 1507 | /** |
||
| 1508 | * Set the turbo threshold. |
||
| 1509 | * |
||
| 1510 | * @param integer $turboThreshold The turbo threshold. |
||
| 1511 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsArearange Returns the highcharts arearange. |
||
| 1512 | */ |
||
| 1513 | public function setTurboThreshold($turboThreshold) { |
||
| 1517 | |||
| 1518 | /** |
||
| 1519 | * Set the visible. |
||
| 1520 | * |
||
| 1521 | * @param boolean $visible The visible. |
||
| 1522 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsArearange Returns the highcharts arearange. |
||
| 1523 | */ |
||
| 1524 | public function setVisible($visible) { |
||
| 1528 | |||
| 1529 | /** |
||
| 1530 | * Set the zone axis. |
||
| 1531 | * |
||
| 1532 | * @param string $zoneAxis The zone axis. |
||
| 1533 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsArearange Returns the highcharts arearange. |
||
| 1534 | */ |
||
| 1535 | public function setZoneAxis($zoneAxis) { |
||
| 1539 | |||
| 1540 | /** |
||
| 1541 | * Set the zones. |
||
| 1542 | * |
||
| 1543 | * @param array $zones The zones. |
||
| 1544 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsArearange Returns the highcharts arearange. |
||
| 1545 | */ |
||
| 1546 | public function setZones(array $zones = null) { |
||
| 1550 | |||
| 1551 | /** |
||
| 1552 | * Convert into an array representing this instance. |
||
| 1553 | * |
||
| 1554 | * @return array Returns an array representing this instance. |
||
| 1555 | */ |
||
| 1556 | public function toArray() { |
||
| 1708 | |||
| 1709 | } |
||
| 1710 |
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..