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 labels. |
||
142 | * |
||
143 | * @var \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Heatmap\HighchartsDataLabels |
||
144 | */ |
||
145 | private $dataLabels; |
||
146 | |||
147 | /** |
||
148 | * Description. |
||
149 | * |
||
150 | * @var string |
||
151 | * @since 5.0.0 |
||
152 | */ |
||
153 | private $description; |
||
154 | |||
155 | /** |
||
156 | * Enable mouse tracking. |
||
157 | * |
||
158 | * @var boolean |
||
159 | */ |
||
160 | private $enableMouseTracking = true; |
||
161 | |||
162 | /** |
||
163 | * Events. |
||
164 | * |
||
165 | * @var \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Heatmap\HighchartsEvents |
||
166 | */ |
||
167 | private $events; |
||
168 | |||
169 | /** |
||
170 | * Expose element to a11y. |
||
171 | * |
||
172 | * @var boolean |
||
173 | * @since 5.0.12 |
||
174 | */ |
||
175 | private $exposeElementToA11y; |
||
176 | |||
177 | /** |
||
178 | * Find nearest point by. |
||
179 | * |
||
180 | * @var string |
||
181 | * @since 5.0.10 |
||
182 | */ |
||
183 | private $findNearestPointBy; |
||
184 | |||
185 | /** |
||
186 | * Get extremes from all. |
||
187 | * |
||
188 | * @var boolean |
||
189 | * @since 4.1.6 |
||
190 | */ |
||
191 | private $getExtremesFromAll = false; |
||
192 | |||
193 | /** |
||
194 | * Keys. |
||
195 | * |
||
196 | * @var array |
||
197 | * @since 4.1.6 |
||
198 | */ |
||
199 | private $keys; |
||
200 | |||
201 | /** |
||
202 | * Linked to. |
||
203 | * |
||
204 | * @var string |
||
205 | * @since 3.0 |
||
206 | */ |
||
207 | private $linkedTo; |
||
208 | |||
209 | /** |
||
210 | * Max point width. |
||
211 | * |
||
212 | * @var integer |
||
213 | * @since 4.1.8 |
||
214 | */ |
||
215 | private $maxPointWidth; |
||
216 | |||
217 | /** |
||
218 | * Point. |
||
219 | * |
||
220 | * @var \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Heatmap\HighchartsPoint |
||
221 | */ |
||
222 | private $point; |
||
223 | |||
224 | /** |
||
225 | * Point description formatter. |
||
226 | * |
||
227 | * @var string |
||
228 | * @since 5.0.12 |
||
229 | */ |
||
230 | private $pointDescriptionFormatter; |
||
231 | |||
232 | /** |
||
233 | * Rowsize. |
||
234 | * |
||
235 | * @var integer |
||
236 | * @since 4.0 |
||
237 | */ |
||
238 | private $rowsize = 1; |
||
239 | |||
240 | /** |
||
241 | * Selected. |
||
242 | * |
||
243 | * @var boolean |
||
244 | * @since 1.2.0 |
||
245 | */ |
||
246 | private $selected = false; |
||
247 | |||
248 | /** |
||
249 | * Shadow. |
||
250 | * |
||
251 | * @var boolean|array |
||
252 | */ |
||
253 | private $shadow = false; |
||
254 | |||
255 | /** |
||
256 | * Show checkbox. |
||
257 | * |
||
258 | * @var boolean |
||
259 | * @since 1.2.0 |
||
260 | */ |
||
261 | private $showCheckbox = false; |
||
262 | |||
263 | /** |
||
264 | * Show in legend. |
||
265 | * |
||
266 | * @var boolean |
||
267 | */ |
||
268 | private $showInLegend = true; |
||
269 | |||
270 | /** |
||
271 | * Skip keyboard navigation. |
||
272 | * |
||
273 | * @var boolean |
||
274 | * @since 5.0.12 |
||
275 | */ |
||
276 | private $skipKeyboardNavigation; |
||
277 | |||
278 | /** |
||
279 | * States. |
||
280 | * |
||
281 | * @var \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Heatmap\HighchartsStates |
||
282 | */ |
||
283 | private $states; |
||
284 | |||
285 | /** |
||
286 | * Sticky tracking. |
||
287 | * |
||
288 | * @var boolean |
||
289 | * @since 2.0 |
||
290 | */ |
||
291 | private $stickyTracking = true; |
||
292 | |||
293 | /** |
||
294 | * Tooltip. |
||
295 | * |
||
296 | * @var array |
||
297 | * @since 2.3 |
||
298 | */ |
||
299 | private $tooltip; |
||
300 | |||
301 | /** |
||
302 | * Turbo threshold. |
||
303 | * |
||
304 | * @var integer |
||
305 | * @since 2.2 |
||
306 | */ |
||
307 | private $turboThreshold = 1000; |
||
308 | |||
309 | /** |
||
310 | * Visible. |
||
311 | * |
||
312 | * @var boolean |
||
313 | */ |
||
314 | private $visible = true; |
||
315 | |||
316 | /** |
||
317 | * Zone axis. |
||
318 | * |
||
319 | * @var string |
||
320 | * @since 4.1.0 |
||
321 | */ |
||
322 | private $zoneAxis = "y"; |
||
323 | |||
324 | /** |
||
325 | * Zones. |
||
326 | * |
||
327 | * @var array |
||
328 | * @since 4.1.0 |
||
329 | */ |
||
330 | private $zones; |
||
331 | |||
332 | /** |
||
333 | * Constructor. |
||
334 | * |
||
335 | * @param boolean $ignoreDefaultValues Ignore the default values. |
||
336 | */ |
||
337 | public function __construct($ignoreDefaultValues = true) { |
||
342 | |||
343 | /** |
||
344 | * Clear. |
||
345 | * |
||
346 | * @return void |
||
347 | */ |
||
348 | 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 border color. |
||
508 | * |
||
509 | * @return string Returns the border color. |
||
510 | */ |
||
511 | public function getBorderColor() { |
||
514 | |||
515 | /** |
||
516 | * Get the border radius. |
||
517 | * |
||
518 | * @return integer Returns the border radius. |
||
519 | */ |
||
520 | public function getBorderRadius() { |
||
523 | |||
524 | /** |
||
525 | * Get the border width. |
||
526 | * |
||
527 | * @return integer Returns the border width. |
||
528 | */ |
||
529 | public function getBorderWidth() { |
||
532 | |||
533 | /** |
||
534 | * Get the class name. |
||
535 | * |
||
536 | * @return string Returns the class name. |
||
537 | */ |
||
538 | public function getClassName() { |
||
541 | |||
542 | /** |
||
543 | * Get the color. |
||
544 | * |
||
545 | * @return string Returns the color. |
||
546 | */ |
||
547 | public function getColor() { |
||
550 | |||
551 | /** |
||
552 | * Get the color by point. |
||
553 | * |
||
554 | * @return boolean Returns the color by point. |
||
555 | */ |
||
556 | public function getColorByPoint() { |
||
559 | |||
560 | /** |
||
561 | * Get the color index. |
||
562 | * |
||
563 | * @return integer Returns the color index. |
||
564 | */ |
||
565 | public function getColorIndex() { |
||
568 | |||
569 | /** |
||
570 | * Get the colors. |
||
571 | * |
||
572 | * @return array Returns the colors. |
||
573 | */ |
||
574 | public function getColors() { |
||
577 | |||
578 | /** |
||
579 | * Get the colsize. |
||
580 | * |
||
581 | * @return integer Returns the colsize. |
||
582 | */ |
||
583 | public function getColsize() { |
||
586 | |||
587 | /** |
||
588 | * Get the crisp. |
||
589 | * |
||
590 | * @return boolean Returns the crisp. |
||
591 | */ |
||
592 | public function getCrisp() { |
||
595 | |||
596 | /** |
||
597 | * Get the crop threshold. |
||
598 | * |
||
599 | * @return integer Returns the crop threshold. |
||
600 | */ |
||
601 | public function getCropThreshold() { |
||
604 | |||
605 | /** |
||
606 | * Get the cursor. |
||
607 | * |
||
608 | * @return string Returns the cursor. |
||
609 | */ |
||
610 | public function getCursor() { |
||
613 | |||
614 | /** |
||
615 | * Get the data labels. |
||
616 | * |
||
617 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Heatmap\HighchartsDataLabels Returns the data labels. |
||
618 | */ |
||
619 | public function getDataLabels() { |
||
622 | |||
623 | /** |
||
624 | * Get the description. |
||
625 | * |
||
626 | * @return string Returns the description. |
||
627 | */ |
||
628 | public function getDescription() { |
||
631 | |||
632 | /** |
||
633 | * Get the enable mouse tracking. |
||
634 | * |
||
635 | * @return boolean Returns the enable mouse tracking. |
||
636 | */ |
||
637 | public function getEnableMouseTracking() { |
||
640 | |||
641 | /** |
||
642 | * Get the events. |
||
643 | * |
||
644 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Heatmap\HighchartsEvents Returns the events. |
||
645 | */ |
||
646 | public function getEvents() { |
||
649 | |||
650 | /** |
||
651 | * Get the expose element to a11y. |
||
652 | * |
||
653 | * @return boolean Returns the expose element to a11y. |
||
654 | */ |
||
655 | public function getExposeElementToA11y() { |
||
658 | |||
659 | /** |
||
660 | * Get the find nearest point by. |
||
661 | * |
||
662 | * @return string Returns the find nearest point by. |
||
663 | */ |
||
664 | public function getFindNearestPointBy() { |
||
667 | |||
668 | /** |
||
669 | * Get the get extremes from all. |
||
670 | * |
||
671 | * @return boolean Returns the get extremes from all. |
||
672 | */ |
||
673 | public function getGetExtremesFromAll() { |
||
676 | |||
677 | /** |
||
678 | * Get the keys. |
||
679 | * |
||
680 | * @return array Returns the keys. |
||
681 | */ |
||
682 | public function getKeys() { |
||
685 | |||
686 | /** |
||
687 | * Get the linked to. |
||
688 | * |
||
689 | * @return string Returns the linked to. |
||
690 | */ |
||
691 | public function getLinkedTo() { |
||
694 | |||
695 | /** |
||
696 | * Get the max point width. |
||
697 | * |
||
698 | * @return integer Returns the max point width. |
||
699 | */ |
||
700 | public function getMaxPointWidth() { |
||
703 | |||
704 | /** |
||
705 | * Get the point. |
||
706 | * |
||
707 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Heatmap\HighchartsPoint Returns the point. |
||
708 | */ |
||
709 | public function getPoint() { |
||
712 | |||
713 | /** |
||
714 | * Get the point description formatter. |
||
715 | * |
||
716 | * @return string Returns the point description formatter. |
||
717 | */ |
||
718 | public function getPointDescriptionFormatter() { |
||
721 | |||
722 | /** |
||
723 | * Get the rowsize. |
||
724 | * |
||
725 | * @return integer Returns the rowsize. |
||
726 | */ |
||
727 | public function getRowsize() { |
||
730 | |||
731 | /** |
||
732 | * Get the selected. |
||
733 | * |
||
734 | * @return boolean Returns the selected. |
||
735 | */ |
||
736 | public function getSelected() { |
||
739 | |||
740 | /** |
||
741 | * Get the shadow. |
||
742 | * |
||
743 | * @return boolean|array Returns the shadow. |
||
744 | */ |
||
745 | public function getShadow() { |
||
748 | |||
749 | /** |
||
750 | * Get the show checkbox. |
||
751 | * |
||
752 | * @return boolean Returns the show checkbox. |
||
753 | */ |
||
754 | public function getShowCheckbox() { |
||
757 | |||
758 | /** |
||
759 | * Get the show in legend. |
||
760 | * |
||
761 | * @return boolean Returns the show in legend. |
||
762 | */ |
||
763 | public function getShowInLegend() { |
||
766 | |||
767 | /** |
||
768 | * Get the skip keyboard navigation. |
||
769 | * |
||
770 | * @return boolean Returns the skip keyboard navigation. |
||
771 | */ |
||
772 | public function getSkipKeyboardNavigation() { |
||
775 | |||
776 | /** |
||
777 | * Get the states. |
||
778 | * |
||
779 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Heatmap\HighchartsStates Returns the states. |
||
780 | */ |
||
781 | public function getStates() { |
||
784 | |||
785 | /** |
||
786 | * Get the sticky tracking. |
||
787 | * |
||
788 | * @return boolean Returns the sticky tracking. |
||
789 | */ |
||
790 | public function getStickyTracking() { |
||
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\Heatmap\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\Heatmap\HighchartsEvents Returns the events. |
||
862 | */ |
||
863 | public function newEvents() { |
||
867 | |||
868 | /** |
||
869 | * Create a new point. |
||
870 | * |
||
871 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Heatmap\HighchartsPoint Returns the point. |
||
872 | */ |
||
873 | public function newPoint() { |
||
877 | |||
878 | /** |
||
879 | * Create a new states. |
||
880 | * |
||
881 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Heatmap\HighchartsStates Returns the states. |
||
882 | */ |
||
883 | public function newStates() { |
||
887 | |||
888 | /** |
||
889 | * Set the allow point select. |
||
890 | * |
||
891 | * @param boolean $allowPointSelect The allow point select. |
||
892 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsHeatmap Returns the highcharts heatmap. |
||
893 | */ |
||
894 | public function setAllowPointSelect($allowPointSelect) { |
||
898 | |||
899 | /** |
||
900 | * Set the animation. |
||
901 | * |
||
902 | * @param boolean $animation The animation. |
||
903 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsHeatmap Returns the highcharts heatmap. |
||
904 | */ |
||
905 | public function setAnimation($animation) { |
||
909 | |||
910 | /** |
||
911 | * Set the animation limit. |
||
912 | * |
||
913 | * @param integer $animationLimit The animation limit. |
||
914 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsHeatmap Returns the highcharts heatmap. |
||
915 | */ |
||
916 | public function setAnimationLimit($animationLimit) { |
||
920 | |||
921 | /** |
||
922 | * Set the border color. |
||
923 | * |
||
924 | * @param string $borderColor The border color. |
||
925 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsHeatmap Returns the highcharts heatmap. |
||
926 | */ |
||
927 | public function setBorderColor($borderColor) { |
||
931 | |||
932 | /** |
||
933 | * Set the border radius. |
||
934 | * |
||
935 | * @param integer $borderRadius The border radius. |
||
936 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsHeatmap Returns the highcharts heatmap. |
||
937 | */ |
||
938 | public function setBorderRadius($borderRadius) { |
||
942 | |||
943 | /** |
||
944 | * Set the border width. |
||
945 | * |
||
946 | * @param integer $borderWidth The border width. |
||
947 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsHeatmap Returns the highcharts heatmap. |
||
948 | */ |
||
949 | public function setBorderWidth($borderWidth) { |
||
953 | |||
954 | /** |
||
955 | * Set the class name. |
||
956 | * |
||
957 | * @param string $className The class name. |
||
958 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsHeatmap Returns the highcharts heatmap. |
||
959 | */ |
||
960 | public function setClassName($className) { |
||
964 | |||
965 | /** |
||
966 | * Set the color. |
||
967 | * |
||
968 | * @param string $color The color. |
||
969 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsHeatmap Returns the highcharts heatmap. |
||
970 | */ |
||
971 | public function setColor($color) { |
||
975 | |||
976 | /** |
||
977 | * Set the color by point. |
||
978 | * |
||
979 | * @param boolean $colorByPoint The color by point. |
||
980 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsHeatmap Returns the highcharts heatmap. |
||
981 | */ |
||
982 | public function setColorByPoint($colorByPoint) { |
||
986 | |||
987 | /** |
||
988 | * Set the color index. |
||
989 | * |
||
990 | * @param integer $colorIndex The color index. |
||
991 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsHeatmap Returns the highcharts heatmap. |
||
992 | */ |
||
993 | public function setColorIndex($colorIndex) { |
||
997 | |||
998 | /** |
||
999 | * Set the colors. |
||
1000 | * |
||
1001 | * @param array $colors The colors. |
||
1002 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsHeatmap Returns the highcharts heatmap. |
||
1003 | */ |
||
1004 | public function setColors(array $colors = null) { |
||
1008 | |||
1009 | /** |
||
1010 | * Set the colsize. |
||
1011 | * |
||
1012 | * @param integer $colsize The colsize. |
||
1013 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsHeatmap Returns the highcharts heatmap. |
||
1014 | */ |
||
1015 | public function setColsize($colsize) { |
||
1019 | |||
1020 | /** |
||
1021 | * Set the crisp. |
||
1022 | * |
||
1023 | * @param boolean $crisp The crisp. |
||
1024 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsHeatmap Returns the highcharts heatmap. |
||
1025 | */ |
||
1026 | public function setCrisp($crisp) { |
||
1030 | |||
1031 | /** |
||
1032 | * Set the crop threshold. |
||
1033 | * |
||
1034 | * @param integer $cropThreshold The crop threshold. |
||
1035 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsHeatmap Returns the highcharts heatmap. |
||
1036 | */ |
||
1037 | public function setCropThreshold($cropThreshold) { |
||
1041 | |||
1042 | /** |
||
1043 | * Set the cursor. |
||
1044 | * |
||
1045 | * @param string $cursor The cursor. |
||
1046 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsHeatmap Returns the highcharts heatmap. |
||
1047 | */ |
||
1048 | public function setCursor($cursor) { |
||
1061 | |||
1062 | /** |
||
1063 | * Set the data labels. |
||
1064 | * |
||
1065 | * @param \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Heatmap\HighchartsDataLabels $dataLabels The data labels. |
||
1066 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsHeatmap Returns the highcharts heatmap. |
||
1067 | */ |
||
1068 | public function setDataLabels(\WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Heatmap\HighchartsDataLabels $dataLabels = null) { |
||
1072 | |||
1073 | /** |
||
1074 | * Set the description. |
||
1075 | * |
||
1076 | * @param string $description The description. |
||
1077 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsHeatmap Returns the highcharts heatmap. |
||
1078 | */ |
||
1079 | public function setDescription($description) { |
||
1083 | |||
1084 | /** |
||
1085 | * Set the enable mouse tracking. |
||
1086 | * |
||
1087 | * @param boolean $enableMouseTracking The enable mouse tracking. |
||
1088 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsHeatmap Returns the highcharts heatmap. |
||
1089 | */ |
||
1090 | public function setEnableMouseTracking($enableMouseTracking) { |
||
1094 | |||
1095 | /** |
||
1096 | * Set the events. |
||
1097 | * |
||
1098 | * @param \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Heatmap\HighchartsEvents $events The events. |
||
1099 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsHeatmap Returns the highcharts heatmap. |
||
1100 | */ |
||
1101 | public function setEvents(\WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Heatmap\HighchartsEvents $events = null) { |
||
1105 | |||
1106 | /** |
||
1107 | * Set the expose element to a11y. |
||
1108 | * |
||
1109 | * @param boolean $exposeElementToA11y The expose element to a11y. |
||
1110 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsHeatmap Returns the highcharts heatmap. |
||
1111 | */ |
||
1112 | public function setExposeElementToA11y($exposeElementToA11y) { |
||
1116 | |||
1117 | /** |
||
1118 | * Set the find nearest point by. |
||
1119 | * |
||
1120 | * @param string $findNearestPointBy The find nearest point by. |
||
1121 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsHeatmap Returns the highcharts heatmap. |
||
1122 | */ |
||
1123 | public function setFindNearestPointBy($findNearestPointBy) { |
||
1132 | |||
1133 | /** |
||
1134 | * Set the get extremes from all. |
||
1135 | * |
||
1136 | * @param boolean $getExtremesFromAll The get extremes from all. |
||
1137 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsHeatmap Returns the highcharts heatmap. |
||
1138 | */ |
||
1139 | public function setGetExtremesFromAll($getExtremesFromAll) { |
||
1143 | |||
1144 | /** |
||
1145 | * Set the keys. |
||
1146 | * |
||
1147 | * @param array $keys The keys. |
||
1148 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsHeatmap Returns the highcharts heatmap. |
||
1149 | */ |
||
1150 | public function setKeys(array $keys = null) { |
||
1154 | |||
1155 | /** |
||
1156 | * Set the linked to. |
||
1157 | * |
||
1158 | * @param string $linkedTo The linked to. |
||
1159 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsHeatmap Returns the highcharts heatmap. |
||
1160 | */ |
||
1161 | public function setLinkedTo($linkedTo) { |
||
1165 | |||
1166 | /** |
||
1167 | * Set the max point width. |
||
1168 | * |
||
1169 | * @param integer $maxPointWidth The max point width. |
||
1170 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsHeatmap Returns the highcharts heatmap. |
||
1171 | */ |
||
1172 | public function setMaxPointWidth($maxPointWidth) { |
||
1176 | |||
1177 | /** |
||
1178 | * Set the point. |
||
1179 | * |
||
1180 | * @param \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Heatmap\HighchartsPoint $point The point. |
||
1181 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsHeatmap Returns the highcharts heatmap. |
||
1182 | */ |
||
1183 | public function setPoint(\WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Heatmap\HighchartsPoint $point = null) { |
||
1187 | |||
1188 | /** |
||
1189 | * Set the point description formatter. |
||
1190 | * |
||
1191 | * @param string $pointDescriptionFormatter The point description formatter. |
||
1192 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsHeatmap Returns the highcharts heatmap. |
||
1193 | */ |
||
1194 | public function setPointDescriptionFormatter($pointDescriptionFormatter) { |
||
1198 | |||
1199 | /** |
||
1200 | * Set the rowsize. |
||
1201 | * |
||
1202 | * @param integer $rowsize The rowsize. |
||
1203 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsHeatmap Returns the highcharts heatmap. |
||
1204 | */ |
||
1205 | public function setRowsize($rowsize) { |
||
1209 | |||
1210 | /** |
||
1211 | * Set the selected. |
||
1212 | * |
||
1213 | * @param boolean $selected The selected. |
||
1214 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsHeatmap Returns the highcharts heatmap. |
||
1215 | */ |
||
1216 | public function setSelected($selected) { |
||
1220 | |||
1221 | /** |
||
1222 | * Set the shadow. |
||
1223 | * |
||
1224 | * @param boolean|array $shadow The shadow. |
||
1225 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsHeatmap Returns the highcharts heatmap. |
||
1226 | */ |
||
1227 | public function setShadow($shadow) { |
||
1231 | |||
1232 | /** |
||
1233 | * Set the show checkbox. |
||
1234 | * |
||
1235 | * @param boolean $showCheckbox The show checkbox. |
||
1236 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsHeatmap Returns the highcharts heatmap. |
||
1237 | */ |
||
1238 | public function setShowCheckbox($showCheckbox) { |
||
1242 | |||
1243 | /** |
||
1244 | * Set the show in legend. |
||
1245 | * |
||
1246 | * @param boolean $showInLegend The show in legend. |
||
1247 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsHeatmap Returns the highcharts heatmap. |
||
1248 | */ |
||
1249 | public function setShowInLegend($showInLegend) { |
||
1253 | |||
1254 | /** |
||
1255 | * Set the skip keyboard navigation. |
||
1256 | * |
||
1257 | * @param boolean $skipKeyboardNavigation The skip keyboard navigation. |
||
1258 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsHeatmap Returns the highcharts heatmap. |
||
1259 | */ |
||
1260 | public function setSkipKeyboardNavigation($skipKeyboardNavigation) { |
||
1264 | |||
1265 | /** |
||
1266 | * Set the states. |
||
1267 | * |
||
1268 | * @param \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Heatmap\HighchartsStates $states The states. |
||
1269 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsHeatmap Returns the highcharts heatmap. |
||
1270 | */ |
||
1271 | public function setStates(\WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Heatmap\HighchartsStates $states = null) { |
||
1275 | |||
1276 | /** |
||
1277 | * Set the sticky tracking. |
||
1278 | * |
||
1279 | * @param boolean $stickyTracking The sticky tracking. |
||
1280 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsHeatmap Returns the highcharts heatmap. |
||
1281 | */ |
||
1282 | public function setStickyTracking($stickyTracking) { |
||
1286 | |||
1287 | /** |
||
1288 | * Set the tooltip. |
||
1289 | * |
||
1290 | * @param array $tooltip The tooltip. |
||
1291 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsHeatmap Returns the highcharts heatmap. |
||
1292 | */ |
||
1293 | public function setTooltip(array $tooltip = null) { |
||
1297 | |||
1298 | /** |
||
1299 | * Set the turbo threshold. |
||
1300 | * |
||
1301 | * @param integer $turboThreshold The turbo threshold. |
||
1302 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsHeatmap Returns the highcharts heatmap. |
||
1303 | */ |
||
1304 | public function setTurboThreshold($turboThreshold) { |
||
1308 | |||
1309 | /** |
||
1310 | * Set the visible. |
||
1311 | * |
||
1312 | * @param boolean $visible The visible. |
||
1313 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsHeatmap Returns the highcharts heatmap. |
||
1314 | */ |
||
1315 | public function setVisible($visible) { |
||
1319 | |||
1320 | /** |
||
1321 | * Set the zone axis. |
||
1322 | * |
||
1323 | * @param string $zoneAxis The zone axis. |
||
1324 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsHeatmap Returns the highcharts heatmap. |
||
1325 | */ |
||
1326 | public function setZoneAxis($zoneAxis) { |
||
1330 | |||
1331 | /** |
||
1332 | * Set the zones. |
||
1333 | * |
||
1334 | * @param array $zones The zones. |
||
1335 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsHeatmap Returns the highcharts heatmap. |
||
1336 | */ |
||
1337 | public function setZones(array $zones = null) { |
||
1341 | |||
1342 | /** |
||
1343 | * Convert into an array representing this instance. |
||
1344 | * |
||
1345 | * @return array Returns an array representing this instance. |
||
1346 | */ |
||
1347 | public function toArray() { |
||
1483 | |||
1484 | } |
||
1485 |
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..