Complex classes like HighchartsTreemap 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 HighchartsTreemap, and based on these observations, apply Extract Interface, too.
1 | <?php |
||
25 | final class HighchartsTreemap implements JsonSerializable { |
||
26 | |||
27 | /** |
||
28 | * Allow drill to node. |
||
29 | * |
||
30 | * @var boolean |
||
31 | * @since 4.1.0 |
||
32 | */ |
||
33 | private $allowDrillToNode = false; |
||
34 | |||
35 | /** |
||
36 | * Allow point select. |
||
37 | * |
||
38 | * @var boolean |
||
39 | * @since 1.2.0 |
||
40 | */ |
||
41 | private $allowPointSelect = false; |
||
42 | |||
43 | /** |
||
44 | * Alternate starting direction. |
||
45 | * |
||
46 | * @var boolean |
||
47 | * @since 4.1.0 |
||
48 | */ |
||
49 | private $alternateStartingDirection = false; |
||
50 | |||
51 | /** |
||
52 | * Animation. |
||
53 | * |
||
54 | * @var boolean |
||
55 | */ |
||
56 | private $animation = true; |
||
57 | |||
58 | /** |
||
59 | * Animation limit. |
||
60 | * |
||
61 | * @var integer |
||
62 | */ |
||
63 | private $animationLimit; |
||
64 | |||
65 | /** |
||
66 | * Border color. |
||
67 | * |
||
68 | * @var string |
||
69 | */ |
||
70 | private $borderColor = "#e6e6e6"; |
||
71 | |||
72 | /** |
||
73 | * Border width. |
||
74 | * |
||
75 | * @var integer |
||
76 | */ |
||
77 | private $borderWidth = 1; |
||
78 | |||
79 | /** |
||
80 | * Class name. |
||
81 | * |
||
82 | * @var string |
||
83 | * @since 5.0.0 |
||
84 | */ |
||
85 | private $className; |
||
86 | |||
87 | /** |
||
88 | * Color. |
||
89 | * |
||
90 | * @var string |
||
91 | * @since 4.0 |
||
92 | */ |
||
93 | private $color; |
||
94 | |||
95 | /** |
||
96 | * Color by point. |
||
97 | * |
||
98 | * @var boolean |
||
99 | * @since 2.0 |
||
100 | */ |
||
101 | private $colorByPoint = false; |
||
102 | |||
103 | /** |
||
104 | * Color index. |
||
105 | * |
||
106 | * @var integer |
||
107 | * @since 5.0.0 |
||
108 | */ |
||
109 | private $colorIndex; |
||
110 | |||
111 | /** |
||
112 | * Colors. |
||
113 | * |
||
114 | * @var array |
||
115 | * @since 3.0 |
||
116 | */ |
||
117 | private $colors; |
||
118 | |||
119 | /** |
||
120 | * Crisp. |
||
121 | * |
||
122 | * @var boolean |
||
123 | * @since 5.0.10 |
||
124 | */ |
||
125 | private $crisp = true; |
||
126 | |||
127 | /** |
||
128 | * Crop threshold. |
||
129 | * |
||
130 | * @var integer |
||
131 | * @since 4.1.0 |
||
132 | */ |
||
133 | private $cropThreshold = 300; |
||
134 | |||
135 | /** |
||
136 | * Cursor. |
||
137 | * |
||
138 | * @var string |
||
139 | */ |
||
140 | private $cursor; |
||
141 | |||
142 | /** |
||
143 | * Data labels. |
||
144 | * |
||
145 | * @var \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Treemap\HighchartsDataLabels |
||
146 | * @since 4.1.0 |
||
147 | */ |
||
148 | private $dataLabels; |
||
149 | |||
150 | /** |
||
151 | * Description. |
||
152 | * |
||
153 | * @var string |
||
154 | * @since 5.0.0 |
||
155 | */ |
||
156 | private $description; |
||
157 | |||
158 | /** |
||
159 | * Enable mouse tracking. |
||
160 | * |
||
161 | * @var boolean |
||
162 | */ |
||
163 | private $enableMouseTracking = true; |
||
164 | |||
165 | /** |
||
166 | * Events. |
||
167 | * |
||
168 | * @var \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Treemap\HighchartsEvents |
||
169 | */ |
||
170 | private $events; |
||
171 | |||
172 | /** |
||
173 | * Expose element to a11y. |
||
174 | * |
||
175 | * @var boolean |
||
176 | * @since 5.0.12 |
||
177 | */ |
||
178 | private $exposeElementToA11y; |
||
179 | |||
180 | /** |
||
181 | * Find nearest point by. |
||
182 | * |
||
183 | * @var string |
||
184 | * @since 5.0.10 |
||
185 | */ |
||
186 | private $findNearestPointBy; |
||
187 | |||
188 | /** |
||
189 | * Get extremes from all. |
||
190 | * |
||
191 | * @var boolean |
||
192 | * @since 4.1.6 |
||
193 | */ |
||
194 | private $getExtremesFromAll = false; |
||
195 | |||
196 | /** |
||
197 | * Ignore hidden point. |
||
198 | * |
||
199 | * @var boolean |
||
200 | * @since 5.0.8 |
||
201 | */ |
||
202 | private $ignoreHiddenPoint = true; |
||
203 | |||
204 | /** |
||
205 | * Interact by leaf. |
||
206 | * |
||
207 | * @var boolean |
||
208 | * @since 4.1.2 |
||
209 | */ |
||
210 | private $interactByLeaf; |
||
211 | |||
212 | /** |
||
213 | * Keys. |
||
214 | * |
||
215 | * @var array |
||
216 | * @since 4.1.6 |
||
217 | */ |
||
218 | private $keys; |
||
219 | |||
220 | /** |
||
221 | * Layout algorithm. |
||
222 | * |
||
223 | * @var string |
||
224 | * @since 4.1.0 |
||
225 | */ |
||
226 | private $layoutAlgorithm = "sliceAndDice"; |
||
227 | |||
228 | /** |
||
229 | * Layout starting direction. |
||
230 | * |
||
231 | * @var string |
||
232 | * @since 4.1.0 |
||
233 | */ |
||
234 | private $layoutStartingDirection = "vertical"; |
||
235 | |||
236 | /** |
||
237 | * Level is constant. |
||
238 | * |
||
239 | * @var boolean |
||
240 | * @since 4.1.0 |
||
241 | */ |
||
242 | private $levelIsConstant = true; |
||
243 | |||
244 | /** |
||
245 | * Levels. |
||
246 | * |
||
247 | * @var array |
||
248 | * @since 4.1.0 |
||
249 | */ |
||
250 | private $levels; |
||
251 | |||
252 | /** |
||
253 | * Linked to. |
||
254 | * |
||
255 | * @var string |
||
256 | * @since 3.0 |
||
257 | */ |
||
258 | private $linkedTo; |
||
259 | |||
260 | /** |
||
261 | * Max point width. |
||
262 | * |
||
263 | * @var integer |
||
264 | * @since 4.1.8 |
||
265 | */ |
||
266 | private $maxPointWidth; |
||
267 | |||
268 | /** |
||
269 | * Opacity. |
||
270 | * |
||
271 | * @var integer |
||
272 | * @since 4.2.4 |
||
273 | */ |
||
274 | private $opacity = 0.15; |
||
275 | |||
276 | /** |
||
277 | * Point. |
||
278 | * |
||
279 | * @var \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Treemap\HighchartsPoint |
||
280 | */ |
||
281 | private $point; |
||
282 | |||
283 | /** |
||
284 | * Point description formatter. |
||
285 | * |
||
286 | * @var string |
||
287 | * @since 5.0.12 |
||
288 | */ |
||
289 | private $pointDescriptionFormatter; |
||
290 | |||
291 | /** |
||
292 | * Selected. |
||
293 | * |
||
294 | * @var boolean |
||
295 | * @since 1.2.0 |
||
296 | */ |
||
297 | private $selected = false; |
||
298 | |||
299 | /** |
||
300 | * Shadow. |
||
301 | * |
||
302 | * @var boolean|array |
||
303 | */ |
||
304 | private $shadow = false; |
||
305 | |||
306 | /** |
||
307 | * Show checkbox. |
||
308 | * |
||
309 | * @var boolean |
||
310 | * @since 1.2.0 |
||
311 | */ |
||
312 | private $showCheckbox = false; |
||
313 | |||
314 | /** |
||
315 | * Show in legend. |
||
316 | * |
||
317 | * @var boolean |
||
318 | */ |
||
319 | private $showInLegend = false; |
||
320 | |||
321 | /** |
||
322 | * Skip keyboard navigation. |
||
323 | * |
||
324 | * @var boolean |
||
325 | * @since 5.0.12 |
||
326 | */ |
||
327 | private $skipKeyboardNavigation; |
||
328 | |||
329 | /** |
||
330 | * Sort index. |
||
331 | * |
||
332 | * @var integer |
||
333 | * @since 4.1.10 |
||
334 | */ |
||
335 | private $sortIndex; |
||
336 | |||
337 | /** |
||
338 | * States. |
||
339 | * |
||
340 | * @var \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Treemap\HighchartsStates |
||
341 | */ |
||
342 | private $states; |
||
343 | |||
344 | /** |
||
345 | * Sticky tracking. |
||
346 | * |
||
347 | * @var boolean |
||
348 | * @since 2.0 |
||
349 | */ |
||
350 | private $stickyTracking = true; |
||
351 | |||
352 | /** |
||
353 | * Tooltip. |
||
354 | * |
||
355 | * @var \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Treemap\HighchartsTooltip |
||
356 | * @since 4.1.0 |
||
357 | */ |
||
358 | private $tooltip; |
||
359 | |||
360 | /** |
||
361 | * Turbo threshold. |
||
362 | * |
||
363 | * @var integer |
||
364 | * @since 2.2 |
||
365 | */ |
||
366 | private $turboThreshold = 1000; |
||
367 | |||
368 | /** |
||
369 | * Visible. |
||
370 | * |
||
371 | * @var boolean |
||
372 | */ |
||
373 | private $visible = true; |
||
374 | |||
375 | /** |
||
376 | * Zone axis. |
||
377 | * |
||
378 | * @var string |
||
379 | * @since 4.1.0 |
||
380 | */ |
||
381 | private $zoneAxis = "y"; |
||
382 | |||
383 | /** |
||
384 | * Zones. |
||
385 | * |
||
386 | * @var array |
||
387 | * @since 4.1.0 |
||
388 | */ |
||
389 | private $zones; |
||
390 | |||
391 | /** |
||
392 | * Constructor. |
||
393 | * |
||
394 | * @param boolean $ignoreDefaultValues Ignore the default values. |
||
395 | */ |
||
396 | public function __construct($ignoreDefaultValues = true) { |
||
401 | |||
402 | /** |
||
403 | * Clear. |
||
404 | * |
||
405 | * @return void |
||
406 | */ |
||
407 | public function clear() { |
||
560 | |||
561 | /** |
||
562 | * Get the allow drill to node. |
||
563 | * |
||
564 | * @return boolean Returns the allow drill to node. |
||
565 | */ |
||
566 | public function getAllowDrillToNode() { |
||
569 | |||
570 | /** |
||
571 | * Get the allow point select. |
||
572 | * |
||
573 | * @return boolean Returns the allow point select. |
||
574 | */ |
||
575 | public function getAllowPointSelect() { |
||
578 | |||
579 | /** |
||
580 | * Get the alternate starting direction. |
||
581 | * |
||
582 | * @return boolean Returns the alternate starting direction. |
||
583 | */ |
||
584 | public function getAlternateStartingDirection() { |
||
587 | |||
588 | /** |
||
589 | * Get the animation. |
||
590 | * |
||
591 | * @return boolean Returns the animation. |
||
592 | */ |
||
593 | public function getAnimation() { |
||
596 | |||
597 | /** |
||
598 | * Get the animation limit. |
||
599 | * |
||
600 | * @return integer Returns the animation limit. |
||
601 | */ |
||
602 | public function getAnimationLimit() { |
||
605 | |||
606 | /** |
||
607 | * Get the border color. |
||
608 | * |
||
609 | * @return string Returns the border color. |
||
610 | */ |
||
611 | public function getBorderColor() { |
||
614 | |||
615 | /** |
||
616 | * Get the border width. |
||
617 | * |
||
618 | * @return integer Returns the border width. |
||
619 | */ |
||
620 | public function getBorderWidth() { |
||
623 | |||
624 | /** |
||
625 | * Get the class name. |
||
626 | * |
||
627 | * @return string Returns the class name. |
||
628 | */ |
||
629 | public function getClassName() { |
||
632 | |||
633 | /** |
||
634 | * Get the color. |
||
635 | * |
||
636 | * @return string Returns the color. |
||
637 | */ |
||
638 | public function getColor() { |
||
641 | |||
642 | /** |
||
643 | * Get the color by point. |
||
644 | * |
||
645 | * @return boolean Returns the color by point. |
||
646 | */ |
||
647 | public function getColorByPoint() { |
||
650 | |||
651 | /** |
||
652 | * Get the color index. |
||
653 | * |
||
654 | * @return integer Returns the color index. |
||
655 | */ |
||
656 | public function getColorIndex() { |
||
659 | |||
660 | /** |
||
661 | * Get the colors. |
||
662 | * |
||
663 | * @return array Returns the colors. |
||
664 | */ |
||
665 | public function getColors() { |
||
668 | |||
669 | /** |
||
670 | * Get the crisp. |
||
671 | * |
||
672 | * @return boolean Returns the crisp. |
||
673 | */ |
||
674 | public function getCrisp() { |
||
677 | |||
678 | /** |
||
679 | * Get the crop threshold. |
||
680 | * |
||
681 | * @return integer Returns the crop threshold. |
||
682 | */ |
||
683 | public function getCropThreshold() { |
||
686 | |||
687 | /** |
||
688 | * Get the cursor. |
||
689 | * |
||
690 | * @return string Returns the cursor. |
||
691 | */ |
||
692 | public function getCursor() { |
||
695 | |||
696 | /** |
||
697 | * Get the data labels. |
||
698 | * |
||
699 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Treemap\HighchartsDataLabels Returns the data labels. |
||
700 | */ |
||
701 | public function getDataLabels() { |
||
704 | |||
705 | /** |
||
706 | * Get the description. |
||
707 | * |
||
708 | * @return string Returns the description. |
||
709 | */ |
||
710 | public function getDescription() { |
||
713 | |||
714 | /** |
||
715 | * Get the enable mouse tracking. |
||
716 | * |
||
717 | * @return boolean Returns the enable mouse tracking. |
||
718 | */ |
||
719 | public function getEnableMouseTracking() { |
||
722 | |||
723 | /** |
||
724 | * Get the events. |
||
725 | * |
||
726 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Treemap\HighchartsEvents Returns the events. |
||
727 | */ |
||
728 | public function getEvents() { |
||
731 | |||
732 | /** |
||
733 | * Get the expose element to a11y. |
||
734 | * |
||
735 | * @return boolean Returns the expose element to a11y. |
||
736 | */ |
||
737 | public function getExposeElementToA11y() { |
||
740 | |||
741 | /** |
||
742 | * Get the find nearest point by. |
||
743 | * |
||
744 | * @return string Returns the find nearest point by. |
||
745 | */ |
||
746 | public function getFindNearestPointBy() { |
||
749 | |||
750 | /** |
||
751 | * Get the get extremes from all. |
||
752 | * |
||
753 | * @return boolean Returns the get extremes from all. |
||
754 | */ |
||
755 | public function getGetExtremesFromAll() { |
||
758 | |||
759 | /** |
||
760 | * Get the ignore hidden point. |
||
761 | * |
||
762 | * @return boolean Returns the ignore hidden point. |
||
763 | */ |
||
764 | public function getIgnoreHiddenPoint() { |
||
767 | |||
768 | /** |
||
769 | * Get the interact by leaf. |
||
770 | * |
||
771 | * @return boolean Returns the interact by leaf. |
||
772 | */ |
||
773 | public function getInteractByLeaf() { |
||
776 | |||
777 | /** |
||
778 | * Get the keys. |
||
779 | * |
||
780 | * @return array Returns the keys. |
||
781 | */ |
||
782 | public function getKeys() { |
||
785 | |||
786 | /** |
||
787 | * Get the layout algorithm. |
||
788 | * |
||
789 | * @return string Returns the layout algorithm. |
||
790 | */ |
||
791 | public function getLayoutAlgorithm() { |
||
794 | |||
795 | /** |
||
796 | * Get the layout starting direction. |
||
797 | * |
||
798 | * @return string Returns the layout starting direction. |
||
799 | */ |
||
800 | public function getLayoutStartingDirection() { |
||
803 | |||
804 | /** |
||
805 | * Get the level is constant. |
||
806 | * |
||
807 | * @return boolean Returns the level is constant. |
||
808 | */ |
||
809 | public function getLevelIsConstant() { |
||
812 | |||
813 | /** |
||
814 | * Get the levels. |
||
815 | * |
||
816 | * @return array Returns the levels. |
||
817 | */ |
||
818 | public function getLevels() { |
||
821 | |||
822 | /** |
||
823 | * Get the linked to. |
||
824 | * |
||
825 | * @return string Returns the linked to. |
||
826 | */ |
||
827 | public function getLinkedTo() { |
||
830 | |||
831 | /** |
||
832 | * Get the max point width. |
||
833 | * |
||
834 | * @return integer Returns the max point width. |
||
835 | */ |
||
836 | public function getMaxPointWidth() { |
||
839 | |||
840 | /** |
||
841 | * Get the opacity. |
||
842 | * |
||
843 | * @return integer Returns the opacity. |
||
844 | */ |
||
845 | public function getOpacity() { |
||
848 | |||
849 | /** |
||
850 | * Get the point. |
||
851 | * |
||
852 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Treemap\HighchartsPoint Returns the point. |
||
853 | */ |
||
854 | public function getPoint() { |
||
857 | |||
858 | /** |
||
859 | * Get the point description formatter. |
||
860 | * |
||
861 | * @return string Returns the point description formatter. |
||
862 | */ |
||
863 | public function getPointDescriptionFormatter() { |
||
866 | |||
867 | /** |
||
868 | * Get the selected. |
||
869 | * |
||
870 | * @return boolean Returns the selected. |
||
871 | */ |
||
872 | public function getSelected() { |
||
875 | |||
876 | /** |
||
877 | * Get the shadow. |
||
878 | * |
||
879 | * @return boolean|array Returns the shadow. |
||
880 | */ |
||
881 | public function getShadow() { |
||
884 | |||
885 | /** |
||
886 | * Get the show checkbox. |
||
887 | * |
||
888 | * @return boolean Returns the show checkbox. |
||
889 | */ |
||
890 | public function getShowCheckbox() { |
||
893 | |||
894 | /** |
||
895 | * Get the show in legend. |
||
896 | * |
||
897 | * @return boolean Returns the show in legend. |
||
898 | */ |
||
899 | public function getShowInLegend() { |
||
902 | |||
903 | /** |
||
904 | * Get the skip keyboard navigation. |
||
905 | * |
||
906 | * @return boolean Returns the skip keyboard navigation. |
||
907 | */ |
||
908 | public function getSkipKeyboardNavigation() { |
||
911 | |||
912 | /** |
||
913 | * Get the sort index. |
||
914 | * |
||
915 | * @return integer Returns the sort index. |
||
916 | */ |
||
917 | public function getSortIndex() { |
||
920 | |||
921 | /** |
||
922 | * Get the states. |
||
923 | * |
||
924 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Treemap\HighchartsStates Returns the states. |
||
925 | */ |
||
926 | public function getStates() { |
||
929 | |||
930 | /** |
||
931 | * Get the sticky tracking. |
||
932 | * |
||
933 | * @return boolean Returns the sticky tracking. |
||
934 | */ |
||
935 | public function getStickyTracking() { |
||
938 | |||
939 | /** |
||
940 | * Get the tooltip. |
||
941 | * |
||
942 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Treemap\HighchartsTooltip Returns the tooltip. |
||
943 | */ |
||
944 | public function getTooltip() { |
||
947 | |||
948 | /** |
||
949 | * Get the turbo threshold. |
||
950 | * |
||
951 | * @return integer Returns the turbo threshold. |
||
952 | */ |
||
953 | public function getTurboThreshold() { |
||
956 | |||
957 | /** |
||
958 | * Get the visible. |
||
959 | * |
||
960 | * @return boolean Returns the visible. |
||
961 | */ |
||
962 | public function getVisible() { |
||
965 | |||
966 | /** |
||
967 | * Get the zone axis. |
||
968 | * |
||
969 | * @return string Returns the zone axis. |
||
970 | */ |
||
971 | public function getZoneAxis() { |
||
974 | |||
975 | /** |
||
976 | * Get the zones. |
||
977 | * |
||
978 | * @return array Returns the zones. |
||
979 | */ |
||
980 | public function getZones() { |
||
983 | |||
984 | /** |
||
985 | * Serialize this instance. |
||
986 | * |
||
987 | * @return array Returns an array representing this instance. |
||
988 | */ |
||
989 | public function jsonSerialize() { |
||
992 | |||
993 | /** |
||
994 | * Create a new data labels. |
||
995 | * |
||
996 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Treemap\HighchartsDataLabels Returns the data labels. |
||
997 | */ |
||
998 | public function newDataLabels() { |
||
1002 | |||
1003 | /** |
||
1004 | * Create a new events. |
||
1005 | * |
||
1006 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Treemap\HighchartsEvents Returns the events. |
||
1007 | */ |
||
1008 | public function newEvents() { |
||
1012 | |||
1013 | /** |
||
1014 | * Create a new point. |
||
1015 | * |
||
1016 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Treemap\HighchartsPoint Returns the point. |
||
1017 | */ |
||
1018 | public function newPoint() { |
||
1022 | |||
1023 | /** |
||
1024 | * Create a new states. |
||
1025 | * |
||
1026 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Treemap\HighchartsStates Returns the states. |
||
1027 | */ |
||
1028 | public function newStates() { |
||
1032 | |||
1033 | /** |
||
1034 | * Create a new tooltip. |
||
1035 | * |
||
1036 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Treemap\HighchartsTooltip Returns the tooltip. |
||
1037 | */ |
||
1038 | public function newTooltip() { |
||
1042 | |||
1043 | /** |
||
1044 | * Set the allow drill to node. |
||
1045 | * |
||
1046 | * @param boolean $allowDrillToNode The allow drill to node. |
||
1047 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsTreemap Returns the highcharts treemap. |
||
1048 | */ |
||
1049 | public function setAllowDrillToNode($allowDrillToNode) { |
||
1058 | |||
1059 | /** |
||
1060 | * Set the allow point select. |
||
1061 | * |
||
1062 | * @param boolean $allowPointSelect The allow point select. |
||
1063 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsTreemap Returns the highcharts treemap. |
||
1064 | */ |
||
1065 | public function setAllowPointSelect($allowPointSelect) { |
||
1069 | |||
1070 | /** |
||
1071 | * Set the alternate starting direction. |
||
1072 | * |
||
1073 | * @param boolean $alternateStartingDirection The alternate starting direction. |
||
1074 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsTreemap Returns the highcharts treemap. |
||
1075 | */ |
||
1076 | public function setAlternateStartingDirection($alternateStartingDirection) { |
||
1080 | |||
1081 | /** |
||
1082 | * Set the animation. |
||
1083 | * |
||
1084 | * @param boolean $animation The animation. |
||
1085 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsTreemap Returns the highcharts treemap. |
||
1086 | */ |
||
1087 | public function setAnimation($animation) { |
||
1091 | |||
1092 | /** |
||
1093 | * Set the animation limit. |
||
1094 | * |
||
1095 | * @param integer $animationLimit The animation limit. |
||
1096 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsTreemap Returns the highcharts treemap. |
||
1097 | */ |
||
1098 | public function setAnimationLimit($animationLimit) { |
||
1102 | |||
1103 | /** |
||
1104 | * Set the border color. |
||
1105 | * |
||
1106 | * @param string $borderColor The border color. |
||
1107 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsTreemap Returns the highcharts treemap. |
||
1108 | */ |
||
1109 | public function setBorderColor($borderColor) { |
||
1113 | |||
1114 | /** |
||
1115 | * Set the border width. |
||
1116 | * |
||
1117 | * @param integer $borderWidth The border width. |
||
1118 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsTreemap Returns the highcharts treemap. |
||
1119 | */ |
||
1120 | public function setBorderWidth($borderWidth) { |
||
1124 | |||
1125 | /** |
||
1126 | * Set the class name. |
||
1127 | * |
||
1128 | * @param string $className The class name. |
||
1129 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsTreemap Returns the highcharts treemap. |
||
1130 | */ |
||
1131 | public function setClassName($className) { |
||
1135 | |||
1136 | /** |
||
1137 | * Set the color. |
||
1138 | * |
||
1139 | * @param string $color The color. |
||
1140 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsTreemap Returns the highcharts treemap. |
||
1141 | */ |
||
1142 | public function setColor($color) { |
||
1146 | |||
1147 | /** |
||
1148 | * Set the color by point. |
||
1149 | * |
||
1150 | * @param boolean $colorByPoint The color by point. |
||
1151 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsTreemap Returns the highcharts treemap. |
||
1152 | */ |
||
1153 | public function setColorByPoint($colorByPoint) { |
||
1157 | |||
1158 | /** |
||
1159 | * Set the color index. |
||
1160 | * |
||
1161 | * @param integer $colorIndex The color index. |
||
1162 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsTreemap Returns the highcharts treemap. |
||
1163 | */ |
||
1164 | public function setColorIndex($colorIndex) { |
||
1168 | |||
1169 | /** |
||
1170 | * Set the colors. |
||
1171 | * |
||
1172 | * @param array $colors The colors. |
||
1173 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsTreemap Returns the highcharts treemap. |
||
1174 | */ |
||
1175 | public function setColors(array $colors = null) { |
||
1179 | |||
1180 | /** |
||
1181 | * Set the crisp. |
||
1182 | * |
||
1183 | * @param boolean $crisp The crisp. |
||
1184 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsTreemap Returns the highcharts treemap. |
||
1185 | */ |
||
1186 | public function setCrisp($crisp) { |
||
1190 | |||
1191 | /** |
||
1192 | * Set the crop threshold. |
||
1193 | * |
||
1194 | * @param integer $cropThreshold The crop threshold. |
||
1195 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsTreemap Returns the highcharts treemap. |
||
1196 | */ |
||
1197 | public function setCropThreshold($cropThreshold) { |
||
1201 | |||
1202 | /** |
||
1203 | * Set the cursor. |
||
1204 | * |
||
1205 | * @param string $cursor The cursor. |
||
1206 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsTreemap Returns the highcharts treemap. |
||
1207 | */ |
||
1208 | public function setCursor($cursor) { |
||
1221 | |||
1222 | /** |
||
1223 | * Set the data labels. |
||
1224 | * |
||
1225 | * @param \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Treemap\HighchartsDataLabels $dataLabels The data labels. |
||
1226 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsTreemap Returns the highcharts treemap. |
||
1227 | */ |
||
1228 | public function setDataLabels(\WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Treemap\HighchartsDataLabels $dataLabels = null) { |
||
1232 | |||
1233 | /** |
||
1234 | * Set the description. |
||
1235 | * |
||
1236 | * @param string $description The description. |
||
1237 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsTreemap Returns the highcharts treemap. |
||
1238 | */ |
||
1239 | public function setDescription($description) { |
||
1243 | |||
1244 | /** |
||
1245 | * Set the enable mouse tracking. |
||
1246 | * |
||
1247 | * @param boolean $enableMouseTracking The enable mouse tracking. |
||
1248 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsTreemap Returns the highcharts treemap. |
||
1249 | */ |
||
1250 | public function setEnableMouseTracking($enableMouseTracking) { |
||
1254 | |||
1255 | /** |
||
1256 | * Set the events. |
||
1257 | * |
||
1258 | * @param \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Treemap\HighchartsEvents $events The events. |
||
1259 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsTreemap Returns the highcharts treemap. |
||
1260 | */ |
||
1261 | public function setEvents(\WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Treemap\HighchartsEvents $events = null) { |
||
1265 | |||
1266 | /** |
||
1267 | * Set the expose element to a11y. |
||
1268 | * |
||
1269 | * @param boolean $exposeElementToA11y The expose element to a11y. |
||
1270 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsTreemap Returns the highcharts treemap. |
||
1271 | */ |
||
1272 | public function setExposeElementToA11y($exposeElementToA11y) { |
||
1276 | |||
1277 | /** |
||
1278 | * Set the find nearest point by. |
||
1279 | * |
||
1280 | * @param string $findNearestPointBy The find nearest point by. |
||
1281 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsTreemap Returns the highcharts treemap. |
||
1282 | */ |
||
1283 | public function setFindNearestPointBy($findNearestPointBy) { |
||
1292 | |||
1293 | /** |
||
1294 | * Set the get extremes from all. |
||
1295 | * |
||
1296 | * @param boolean $getExtremesFromAll The get extremes from all. |
||
1297 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsTreemap Returns the highcharts treemap. |
||
1298 | */ |
||
1299 | public function setGetExtremesFromAll($getExtremesFromAll) { |
||
1303 | |||
1304 | /** |
||
1305 | * Set the ignore hidden point. |
||
1306 | * |
||
1307 | * @param boolean $ignoreHiddenPoint The ignore hidden point. |
||
1308 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsTreemap Returns the highcharts treemap. |
||
1309 | */ |
||
1310 | public function setIgnoreHiddenPoint($ignoreHiddenPoint) { |
||
1314 | |||
1315 | /** |
||
1316 | * Set the interact by leaf. |
||
1317 | * |
||
1318 | * @param boolean $interactByLeaf The interact by leaf. |
||
1319 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsTreemap Returns the highcharts treemap. |
||
1320 | */ |
||
1321 | public function setInteractByLeaf($interactByLeaf) { |
||
1330 | |||
1331 | /** |
||
1332 | * Set the keys. |
||
1333 | * |
||
1334 | * @param array $keys The keys. |
||
1335 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsTreemap Returns the highcharts treemap. |
||
1336 | */ |
||
1337 | public function setKeys(array $keys = null) { |
||
1341 | |||
1342 | /** |
||
1343 | * Set the layout algorithm. |
||
1344 | * |
||
1345 | * @param string $layoutAlgorithm The layout algorithm. |
||
1346 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsTreemap Returns the highcharts treemap. |
||
1347 | */ |
||
1348 | public function setLayoutAlgorithm($layoutAlgorithm) { |
||
1359 | |||
1360 | /** |
||
1361 | * Set the layout starting direction. |
||
1362 | * |
||
1363 | * @param string $layoutStartingDirection The layout starting direction. |
||
1364 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsTreemap Returns the highcharts treemap. |
||
1365 | */ |
||
1366 | public function setLayoutStartingDirection($layoutStartingDirection) { |
||
1375 | |||
1376 | /** |
||
1377 | * Set the level is constant. |
||
1378 | * |
||
1379 | * @param boolean $levelIsConstant The level is constant. |
||
1380 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsTreemap Returns the highcharts treemap. |
||
1381 | */ |
||
1382 | public function setLevelIsConstant($levelIsConstant) { |
||
1391 | |||
1392 | /** |
||
1393 | * Set the levels. |
||
1394 | * |
||
1395 | * @param array $levels The levels. |
||
1396 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsTreemap Returns the highcharts treemap. |
||
1397 | */ |
||
1398 | public function setLevels(array $levels = null) { |
||
1402 | |||
1403 | /** |
||
1404 | * Set the linked to. |
||
1405 | * |
||
1406 | * @param string $linkedTo The linked to. |
||
1407 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsTreemap Returns the highcharts treemap. |
||
1408 | */ |
||
1409 | public function setLinkedTo($linkedTo) { |
||
1413 | |||
1414 | /** |
||
1415 | * Set the max point width. |
||
1416 | * |
||
1417 | * @param integer $maxPointWidth The max point width. |
||
1418 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsTreemap Returns the highcharts treemap. |
||
1419 | */ |
||
1420 | public function setMaxPointWidth($maxPointWidth) { |
||
1424 | |||
1425 | /** |
||
1426 | * Set the opacity. |
||
1427 | * |
||
1428 | * @param integer $opacity The opacity. |
||
1429 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsTreemap Returns the highcharts treemap. |
||
1430 | */ |
||
1431 | public function setOpacity($opacity) { |
||
1435 | |||
1436 | /** |
||
1437 | * Set the point. |
||
1438 | * |
||
1439 | * @param \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Treemap\HighchartsPoint $point The point. |
||
1440 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsTreemap Returns the highcharts treemap. |
||
1441 | */ |
||
1442 | public function setPoint(\WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Treemap\HighchartsPoint $point = null) { |
||
1446 | |||
1447 | /** |
||
1448 | * Set the point description formatter. |
||
1449 | * |
||
1450 | * @param string $pointDescriptionFormatter The point description formatter. |
||
1451 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsTreemap Returns the highcharts treemap. |
||
1452 | */ |
||
1453 | public function setPointDescriptionFormatter($pointDescriptionFormatter) { |
||
1457 | |||
1458 | /** |
||
1459 | * Set the selected. |
||
1460 | * |
||
1461 | * @param boolean $selected The selected. |
||
1462 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsTreemap Returns the highcharts treemap. |
||
1463 | */ |
||
1464 | public function setSelected($selected) { |
||
1468 | |||
1469 | /** |
||
1470 | * Set the shadow. |
||
1471 | * |
||
1472 | * @param boolean|array $shadow The shadow. |
||
1473 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsTreemap Returns the highcharts treemap. |
||
1474 | */ |
||
1475 | public function setShadow($shadow) { |
||
1479 | |||
1480 | /** |
||
1481 | * Set the show checkbox. |
||
1482 | * |
||
1483 | * @param boolean $showCheckbox The show checkbox. |
||
1484 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsTreemap Returns the highcharts treemap. |
||
1485 | */ |
||
1486 | public function setShowCheckbox($showCheckbox) { |
||
1490 | |||
1491 | /** |
||
1492 | * Set the show in legend. |
||
1493 | * |
||
1494 | * @param boolean $showInLegend The show in legend. |
||
1495 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsTreemap Returns the highcharts treemap. |
||
1496 | */ |
||
1497 | public function setShowInLegend($showInLegend) { |
||
1501 | |||
1502 | /** |
||
1503 | * Set the skip keyboard navigation. |
||
1504 | * |
||
1505 | * @param boolean $skipKeyboardNavigation The skip keyboard navigation. |
||
1506 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsTreemap Returns the highcharts treemap. |
||
1507 | */ |
||
1508 | public function setSkipKeyboardNavigation($skipKeyboardNavigation) { |
||
1512 | |||
1513 | /** |
||
1514 | * Set the sort index. |
||
1515 | * |
||
1516 | * @param integer $sortIndex The sort index. |
||
1517 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsTreemap Returns the highcharts treemap. |
||
1518 | */ |
||
1519 | public function setSortIndex($sortIndex) { |
||
1523 | |||
1524 | /** |
||
1525 | * Set the states. |
||
1526 | * |
||
1527 | * @param \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Treemap\HighchartsStates $states The states. |
||
1528 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsTreemap Returns the highcharts treemap. |
||
1529 | */ |
||
1530 | public function setStates(\WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Treemap\HighchartsStates $states = null) { |
||
1534 | |||
1535 | /** |
||
1536 | * Set the sticky tracking. |
||
1537 | * |
||
1538 | * @param boolean $stickyTracking The sticky tracking. |
||
1539 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsTreemap Returns the highcharts treemap. |
||
1540 | */ |
||
1541 | public function setStickyTracking($stickyTracking) { |
||
1545 | |||
1546 | /** |
||
1547 | * Set the tooltip. |
||
1548 | * |
||
1549 | * @param \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Treemap\HighchartsTooltip $tooltip The tooltip. |
||
1550 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsTreemap Returns the highcharts treemap. |
||
1551 | */ |
||
1552 | public function setTooltip(\WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Treemap\HighchartsTooltip $tooltip = null) { |
||
1556 | |||
1557 | /** |
||
1558 | * Set the turbo threshold. |
||
1559 | * |
||
1560 | * @param integer $turboThreshold The turbo threshold. |
||
1561 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsTreemap Returns the highcharts treemap. |
||
1562 | */ |
||
1563 | public function setTurboThreshold($turboThreshold) { |
||
1567 | |||
1568 | /** |
||
1569 | * Set the visible. |
||
1570 | * |
||
1571 | * @param boolean $visible The visible. |
||
1572 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsTreemap Returns the highcharts treemap. |
||
1573 | */ |
||
1574 | public function setVisible($visible) { |
||
1578 | |||
1579 | /** |
||
1580 | * Set the zone axis. |
||
1581 | * |
||
1582 | * @param string $zoneAxis The zone axis. |
||
1583 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsTreemap Returns the highcharts treemap. |
||
1584 | */ |
||
1585 | public function setZoneAxis($zoneAxis) { |
||
1589 | |||
1590 | /** |
||
1591 | * Set the zones. |
||
1592 | * |
||
1593 | * @param array $zones The zones. |
||
1594 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsTreemap Returns the highcharts treemap. |
||
1595 | */ |
||
1596 | public function setZones(array $zones = null) { |
||
1600 | |||
1601 | /** |
||
1602 | * Convert into an array representing this instance. |
||
1603 | * |
||
1604 | * @return array Returns an array representing this instance. |
||
1605 | */ |
||
1606 | public function toArray() { |
||
1765 | |||
1766 | } |
||
1767 |
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..