Complex classes like HighchartsBubble 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 HighchartsBubble, and based on these observations, apply Extract Interface, too.
1 | <?php |
||
25 | final class HighchartsBubble implements JsonSerializable { |
||
26 | |||
27 | /** |
||
28 | * Allow point select. |
||
29 | * |
||
30 | * @var boolean |
||
31 | * @since 1.2.0 |
||
32 | */ |
||
33 | private $allowPointSelect = false; |
||
34 | |||
35 | /** |
||
36 | * Animation. |
||
37 | * |
||
38 | * @var boolean |
||
39 | */ |
||
40 | private $animation = true; |
||
41 | |||
42 | /** |
||
43 | * Animation limit. |
||
44 | * |
||
45 | * @var integer |
||
46 | */ |
||
47 | private $animationLimit; |
||
48 | |||
49 | /** |
||
50 | * Class name. |
||
51 | * |
||
52 | * @var string |
||
53 | * @since 5.0.0 |
||
54 | */ |
||
55 | private $className; |
||
56 | |||
57 | /** |
||
58 | * Color. |
||
59 | * |
||
60 | * @var string |
||
61 | */ |
||
62 | private $color; |
||
63 | |||
64 | /** |
||
65 | * Color index. |
||
66 | * |
||
67 | * @var integer |
||
68 | * @since 5.0.0 |
||
69 | */ |
||
70 | private $colorIndex; |
||
71 | |||
72 | /** |
||
73 | * Crop threshold. |
||
74 | * |
||
75 | * @var integer |
||
76 | * @since 2.2 |
||
77 | */ |
||
78 | private $cropThreshold = 300; |
||
79 | |||
80 | /** |
||
81 | * Cursor. |
||
82 | * |
||
83 | * @var string |
||
84 | */ |
||
85 | private $cursor; |
||
86 | |||
87 | /** |
||
88 | * Dash style. |
||
89 | * |
||
90 | * @var string |
||
91 | * @since 2.1 |
||
92 | */ |
||
93 | private $dashStyle = "Solid"; |
||
94 | |||
95 | /** |
||
96 | * Data. |
||
97 | * |
||
98 | * @var array |
||
99 | */ |
||
100 | private $data; |
||
101 | |||
102 | /** |
||
103 | * Data labels. |
||
104 | * |
||
105 | * @var \WBW\Bundle\HighchartsBundle\API\Chart\Series\Bubble\HighchartsDataLabels |
||
106 | */ |
||
107 | private $dataLabels; |
||
108 | |||
109 | /** |
||
110 | * Description. |
||
111 | * |
||
112 | * @var string |
||
113 | * @since 5.0.0 |
||
114 | */ |
||
115 | private $description; |
||
116 | |||
117 | /** |
||
118 | * Display negative. |
||
119 | * |
||
120 | * @var boolean |
||
121 | * @since 3.0 |
||
122 | */ |
||
123 | private $displayNegative = true; |
||
124 | |||
125 | /** |
||
126 | * Enable mouse tracking. |
||
127 | * |
||
128 | * @var boolean |
||
129 | */ |
||
130 | private $enableMouseTracking = true; |
||
131 | |||
132 | /** |
||
133 | * Events. |
||
134 | * |
||
135 | * @var \WBW\Bundle\HighchartsBundle\API\Chart\Series\Bubble\HighchartsEvents |
||
136 | */ |
||
137 | private $events; |
||
138 | |||
139 | /** |
||
140 | * Expose element to a11y. |
||
141 | * |
||
142 | * @var boolean |
||
143 | * @since 5.0.12 |
||
144 | */ |
||
145 | private $exposeElementToA11y; |
||
146 | |||
147 | /** |
||
148 | * Find nearest point by. |
||
149 | * |
||
150 | * @var string |
||
151 | * @since 5.0.10 |
||
152 | */ |
||
153 | private $findNearestPointBy; |
||
154 | |||
155 | /** |
||
156 | * Get extremes from all. |
||
157 | * |
||
158 | * @var boolean |
||
159 | * @since 4.1.6 |
||
160 | */ |
||
161 | private $getExtremesFromAll = false; |
||
162 | |||
163 | /** |
||
164 | * Id. |
||
165 | * |
||
166 | * @var string |
||
167 | * @since 1.2.0 |
||
168 | */ |
||
169 | private $id; |
||
170 | |||
171 | /** |
||
172 | * Index. |
||
173 | * |
||
174 | * @var integer |
||
175 | * @since 2.3.0 |
||
176 | */ |
||
177 | private $index; |
||
178 | |||
179 | /** |
||
180 | * Keys. |
||
181 | * |
||
182 | * @var array |
||
183 | * @since 4.1.6 |
||
184 | */ |
||
185 | private $keys; |
||
186 | |||
187 | /** |
||
188 | * Legend index. |
||
189 | * |
||
190 | * @var integer |
||
191 | */ |
||
192 | private $legendIndex; |
||
193 | |||
194 | /** |
||
195 | * Line width. |
||
196 | * |
||
197 | * @var integer |
||
198 | */ |
||
199 | private $lineWidth = 0; |
||
200 | |||
201 | /** |
||
202 | * Linked to. |
||
203 | * |
||
204 | * @var string |
||
205 | * @since 3.0 |
||
206 | */ |
||
207 | private $linkedTo; |
||
208 | |||
209 | /** |
||
210 | * Marker. |
||
211 | * |
||
212 | * @var array |
||
213 | */ |
||
214 | private $marker; |
||
215 | |||
216 | /** |
||
217 | * Max size. |
||
218 | * |
||
219 | * @var string |
||
220 | * @since 3.0 |
||
221 | */ |
||
222 | private $maxSize = "20%"; |
||
223 | |||
224 | /** |
||
225 | * Min size. |
||
226 | * |
||
227 | * @var string |
||
228 | * @since 3.0 |
||
229 | */ |
||
230 | private $minSize = "8"; |
||
231 | |||
232 | /** |
||
233 | * Name. |
||
234 | * |
||
235 | * @var string |
||
236 | */ |
||
237 | private $name; |
||
238 | |||
239 | /** |
||
240 | * Negative color. |
||
241 | * |
||
242 | * @var string |
||
243 | * @since 3.0 |
||
244 | */ |
||
245 | private $negativeColor; |
||
246 | |||
247 | /** |
||
248 | * Point. |
||
249 | * |
||
250 | * @var \WBW\Bundle\HighchartsBundle\API\Chart\Series\Bubble\HighchartsPoint |
||
251 | */ |
||
252 | private $point; |
||
253 | |||
254 | /** |
||
255 | * Point description formatter. |
||
256 | * |
||
257 | * @var string |
||
258 | * @since 5.0.12 |
||
259 | */ |
||
260 | private $pointDescriptionFormatter; |
||
261 | |||
262 | /** |
||
263 | * Point interval. |
||
264 | * |
||
265 | * @var integer |
||
266 | */ |
||
267 | private $pointInterval = 1; |
||
268 | |||
269 | /** |
||
270 | * Point interval unit. |
||
271 | * |
||
272 | * @var string |
||
273 | * @since 4.1.0 |
||
274 | */ |
||
275 | private $pointIntervalUnit; |
||
276 | |||
277 | /** |
||
278 | * Point start. |
||
279 | * |
||
280 | * @var integer |
||
281 | */ |
||
282 | private $pointStart = 0; |
||
283 | |||
284 | /** |
||
285 | * Selected. |
||
286 | * |
||
287 | * @var boolean |
||
288 | * @since 1.2.0 |
||
289 | */ |
||
290 | private $selected = false; |
||
291 | |||
292 | /** |
||
293 | * Shadow. |
||
294 | * |
||
295 | * @var boolean|array |
||
296 | */ |
||
297 | private $shadow = false; |
||
298 | |||
299 | /** |
||
300 | * Show checkbox. |
||
301 | * |
||
302 | * @var boolean |
||
303 | * @since 1.2.0 |
||
304 | */ |
||
305 | private $showCheckbox = false; |
||
306 | |||
307 | /** |
||
308 | * Show in legend. |
||
309 | * |
||
310 | * @var boolean |
||
311 | */ |
||
312 | private $showInLegend = true; |
||
313 | |||
314 | /** |
||
315 | * Size by. |
||
316 | * |
||
317 | * @var string |
||
318 | * @since 3.0.7 |
||
319 | */ |
||
320 | private $sizeBy = "area"; |
||
321 | |||
322 | /** |
||
323 | * Size by absolute value. |
||
324 | * |
||
325 | * @var boolean |
||
326 | * @since 4.1.9 |
||
327 | */ |
||
328 | private $sizeByAbsoluteValue = false; |
||
329 | |||
330 | /** |
||
331 | * Skip keyboard navigation. |
||
332 | * |
||
333 | * @var boolean |
||
334 | * @since 5.0.12 |
||
335 | */ |
||
336 | private $skipKeyboardNavigation; |
||
337 | |||
338 | /** |
||
339 | * Soft threshold. |
||
340 | * |
||
341 | * @var boolean |
||
342 | * @since 4.1.9 |
||
343 | */ |
||
344 | private $softThreshold = false; |
||
345 | |||
346 | /** |
||
347 | * States. |
||
348 | * |
||
349 | * @var \WBW\Bundle\HighchartsBundle\API\Chart\Series\Bubble\HighchartsStates |
||
350 | */ |
||
351 | private $states; |
||
352 | |||
353 | /** |
||
354 | * Sticky tracking. |
||
355 | * |
||
356 | * @var boolean |
||
357 | */ |
||
358 | private $stickyTracking = false; |
||
359 | |||
360 | /** |
||
361 | * Threshold. |
||
362 | * |
||
363 | * @var integer |
||
364 | * @since 3.0 |
||
365 | */ |
||
366 | private $threshold = 0; |
||
367 | |||
368 | /** |
||
369 | * Tooltip. |
||
370 | * |
||
371 | * @var array |
||
372 | * @since 2.3 |
||
373 | */ |
||
374 | private $tooltip; |
||
375 | |||
376 | /** |
||
377 | * Type. |
||
378 | * |
||
379 | * @var string |
||
380 | */ |
||
381 | private $type; |
||
382 | |||
383 | /** |
||
384 | * Visible. |
||
385 | * |
||
386 | * @var boolean |
||
387 | */ |
||
388 | private $visible = true; |
||
389 | |||
390 | /** |
||
391 | * X axis. |
||
392 | * |
||
393 | * @var integer|string |
||
394 | */ |
||
395 | private $xAxis = "0"; |
||
396 | |||
397 | /** |
||
398 | * Y axis. |
||
399 | * |
||
400 | * @var integer|string |
||
401 | */ |
||
402 | private $yAxis = "0"; |
||
403 | |||
404 | /** |
||
405 | * Z index. |
||
406 | * |
||
407 | * @var integer |
||
408 | */ |
||
409 | private $zIndex; |
||
410 | |||
411 | /** |
||
412 | * Z max. |
||
413 | * |
||
414 | * @var integer |
||
415 | * @since 4.0.3 |
||
416 | */ |
||
417 | private $zMax; |
||
418 | |||
419 | /** |
||
420 | * Z min. |
||
421 | * |
||
422 | * @var integer |
||
423 | * @since 4.0.3 |
||
424 | */ |
||
425 | private $zMin; |
||
426 | |||
427 | /** |
||
428 | * Z threshold. |
||
429 | * |
||
430 | * @var integer |
||
431 | * @since 3.0 |
||
432 | */ |
||
433 | private $zThreshold = 0; |
||
434 | |||
435 | /** |
||
436 | * Zone axis. |
||
437 | * |
||
438 | * @var string |
||
439 | * @since 4.1.0 |
||
440 | */ |
||
441 | private $zoneAxis = "y"; |
||
442 | |||
443 | /** |
||
444 | * Zones. |
||
445 | * |
||
446 | * @var array |
||
447 | * @since 4.1.0 |
||
448 | */ |
||
449 | private $zones; |
||
450 | |||
451 | /** |
||
452 | * Constructor. |
||
453 | * |
||
454 | * @param boolean $ignoreDefaultValues Ignore the default values. |
||
455 | */ |
||
456 | public function __construct($ignoreDefaultValues = true) { |
||
461 | |||
462 | /** |
||
463 | * Clear. |
||
464 | * |
||
465 | * @return void |
||
466 | */ |
||
467 | public function clear() { |
||
645 | |||
646 | /** |
||
647 | * Get the allow point select. |
||
648 | * |
||
649 | * @return boolean Returns the allow point select. |
||
650 | */ |
||
651 | public function getAllowPointSelect() { |
||
654 | |||
655 | /** |
||
656 | * Get the animation. |
||
657 | * |
||
658 | * @return boolean Returns the animation. |
||
659 | */ |
||
660 | public function getAnimation() { |
||
663 | |||
664 | /** |
||
665 | * Get the animation limit. |
||
666 | * |
||
667 | * @return integer Returns the animation limit. |
||
668 | */ |
||
669 | public function getAnimationLimit() { |
||
672 | |||
673 | /** |
||
674 | * Get the class name. |
||
675 | * |
||
676 | * @return string Returns the class name. |
||
677 | */ |
||
678 | public function getClassName() { |
||
681 | |||
682 | /** |
||
683 | * Get the color. |
||
684 | * |
||
685 | * @return string Returns the color. |
||
686 | */ |
||
687 | public function getColor() { |
||
690 | |||
691 | /** |
||
692 | * Get the color index. |
||
693 | * |
||
694 | * @return integer Returns the color index. |
||
695 | */ |
||
696 | public function getColorIndex() { |
||
699 | |||
700 | /** |
||
701 | * Get the crop threshold. |
||
702 | * |
||
703 | * @return integer Returns the crop threshold. |
||
704 | */ |
||
705 | public function getCropThreshold() { |
||
708 | |||
709 | /** |
||
710 | * Get the cursor. |
||
711 | * |
||
712 | * @return string Returns the cursor. |
||
713 | */ |
||
714 | public function getCursor() { |
||
717 | |||
718 | /** |
||
719 | * Get the dash style. |
||
720 | * |
||
721 | * @return string Returns the dash style. |
||
722 | */ |
||
723 | public function getDashStyle() { |
||
726 | |||
727 | /** |
||
728 | * Get the data. |
||
729 | * |
||
730 | * @return array Returns the data. |
||
731 | */ |
||
732 | public function getData() { |
||
735 | |||
736 | /** |
||
737 | * Get the data labels. |
||
738 | * |
||
739 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\Bubble\HighchartsDataLabels Returns the data labels. |
||
740 | */ |
||
741 | public function getDataLabels() { |
||
744 | |||
745 | /** |
||
746 | * Get the description. |
||
747 | * |
||
748 | * @return string Returns the description. |
||
749 | */ |
||
750 | public function getDescription() { |
||
753 | |||
754 | /** |
||
755 | * Get the display negative. |
||
756 | * |
||
757 | * @return boolean Returns the display negative. |
||
758 | */ |
||
759 | public function getDisplayNegative() { |
||
762 | |||
763 | /** |
||
764 | * Get the enable mouse tracking. |
||
765 | * |
||
766 | * @return boolean Returns the enable mouse tracking. |
||
767 | */ |
||
768 | public function getEnableMouseTracking() { |
||
771 | |||
772 | /** |
||
773 | * Get the events. |
||
774 | * |
||
775 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\Bubble\HighchartsEvents Returns the events. |
||
776 | */ |
||
777 | public function getEvents() { |
||
780 | |||
781 | /** |
||
782 | * Get the expose element to a11y. |
||
783 | * |
||
784 | * @return boolean Returns the expose element to a11y. |
||
785 | */ |
||
786 | public function getExposeElementToA11y() { |
||
789 | |||
790 | /** |
||
791 | * Get the find nearest point by. |
||
792 | * |
||
793 | * @return string Returns the find nearest point by. |
||
794 | */ |
||
795 | public function getFindNearestPointBy() { |
||
798 | |||
799 | /** |
||
800 | * Get the get extremes from all. |
||
801 | * |
||
802 | * @return boolean Returns the get extremes from all. |
||
803 | */ |
||
804 | public function getGetExtremesFromAll() { |
||
807 | |||
808 | /** |
||
809 | * Get the id. |
||
810 | * |
||
811 | * @return string Returns the id. |
||
812 | */ |
||
813 | public function getId() { |
||
816 | |||
817 | /** |
||
818 | * Get the index. |
||
819 | * |
||
820 | * @return integer Returns the index. |
||
821 | */ |
||
822 | public function getIndex() { |
||
825 | |||
826 | /** |
||
827 | * Get the keys. |
||
828 | * |
||
829 | * @return array Returns the keys. |
||
830 | */ |
||
831 | public function getKeys() { |
||
834 | |||
835 | /** |
||
836 | * Get the legend index. |
||
837 | * |
||
838 | * @return integer Returns the legend index. |
||
839 | */ |
||
840 | public function getLegendIndex() { |
||
843 | |||
844 | /** |
||
845 | * Get the line width. |
||
846 | * |
||
847 | * @return integer Returns the line width. |
||
848 | */ |
||
849 | public function getLineWidth() { |
||
852 | |||
853 | /** |
||
854 | * Get the linked to. |
||
855 | * |
||
856 | * @return string Returns the linked to. |
||
857 | */ |
||
858 | public function getLinkedTo() { |
||
861 | |||
862 | /** |
||
863 | * Get the marker. |
||
864 | * |
||
865 | * @return array Returns the marker. |
||
866 | */ |
||
867 | public function getMarker() { |
||
870 | |||
871 | /** |
||
872 | * Get the max size. |
||
873 | * |
||
874 | * @return string Returns the max size. |
||
875 | */ |
||
876 | public function getMaxSize() { |
||
879 | |||
880 | /** |
||
881 | * Get the min size. |
||
882 | * |
||
883 | * @return string Returns the min size. |
||
884 | */ |
||
885 | public function getMinSize() { |
||
888 | |||
889 | /** |
||
890 | * Get the name. |
||
891 | * |
||
892 | * @return string Returns the name. |
||
893 | */ |
||
894 | public function getName() { |
||
897 | |||
898 | /** |
||
899 | * Get the negative color. |
||
900 | * |
||
901 | * @return string Returns the negative color. |
||
902 | */ |
||
903 | public function getNegativeColor() { |
||
906 | |||
907 | /** |
||
908 | * Get the point. |
||
909 | * |
||
910 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\Bubble\HighchartsPoint Returns the point. |
||
911 | */ |
||
912 | public function getPoint() { |
||
915 | |||
916 | /** |
||
917 | * Get the point description formatter. |
||
918 | * |
||
919 | * @return string Returns the point description formatter. |
||
920 | */ |
||
921 | public function getPointDescriptionFormatter() { |
||
924 | |||
925 | /** |
||
926 | * Get the point interval. |
||
927 | * |
||
928 | * @return integer Returns the point interval. |
||
929 | */ |
||
930 | public function getPointInterval() { |
||
933 | |||
934 | /** |
||
935 | * Get the point interval unit. |
||
936 | * |
||
937 | * @return string Returns the point interval unit. |
||
938 | */ |
||
939 | public function getPointIntervalUnit() { |
||
942 | |||
943 | /** |
||
944 | * Get the point start. |
||
945 | * |
||
946 | * @return integer Returns the point start. |
||
947 | */ |
||
948 | public function getPointStart() { |
||
951 | |||
952 | /** |
||
953 | * Get the selected. |
||
954 | * |
||
955 | * @return boolean Returns the selected. |
||
956 | */ |
||
957 | public function getSelected() { |
||
960 | |||
961 | /** |
||
962 | * Get the shadow. |
||
963 | * |
||
964 | * @return boolean|array Returns the shadow. |
||
965 | */ |
||
966 | public function getShadow() { |
||
969 | |||
970 | /** |
||
971 | * Get the show checkbox. |
||
972 | * |
||
973 | * @return boolean Returns the show checkbox. |
||
974 | */ |
||
975 | public function getShowCheckbox() { |
||
978 | |||
979 | /** |
||
980 | * Get the show in legend. |
||
981 | * |
||
982 | * @return boolean Returns the show in legend. |
||
983 | */ |
||
984 | public function getShowInLegend() { |
||
987 | |||
988 | /** |
||
989 | * Get the size by. |
||
990 | * |
||
991 | * @return string Returns the size by. |
||
992 | */ |
||
993 | public function getSizeBy() { |
||
996 | |||
997 | /** |
||
998 | * Get the size by absolute value. |
||
999 | * |
||
1000 | * @return boolean Returns the size by absolute value. |
||
1001 | */ |
||
1002 | public function getSizeByAbsoluteValue() { |
||
1005 | |||
1006 | /** |
||
1007 | * Get the skip keyboard navigation. |
||
1008 | * |
||
1009 | * @return boolean Returns the skip keyboard navigation. |
||
1010 | */ |
||
1011 | public function getSkipKeyboardNavigation() { |
||
1014 | |||
1015 | /** |
||
1016 | * Get the soft threshold. |
||
1017 | * |
||
1018 | * @return boolean Returns the soft threshold. |
||
1019 | */ |
||
1020 | public function getSoftThreshold() { |
||
1023 | |||
1024 | /** |
||
1025 | * Get the states. |
||
1026 | * |
||
1027 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\Bubble\HighchartsStates Returns the states. |
||
1028 | */ |
||
1029 | public function getStates() { |
||
1032 | |||
1033 | /** |
||
1034 | * Get the sticky tracking. |
||
1035 | * |
||
1036 | * @return boolean Returns the sticky tracking. |
||
1037 | */ |
||
1038 | public function getStickyTracking() { |
||
1041 | |||
1042 | /** |
||
1043 | * Get the threshold. |
||
1044 | * |
||
1045 | * @return integer Returns the threshold. |
||
1046 | */ |
||
1047 | public function getThreshold() { |
||
1050 | |||
1051 | /** |
||
1052 | * Get the tooltip. |
||
1053 | * |
||
1054 | * @return array Returns the tooltip. |
||
1055 | */ |
||
1056 | public function getTooltip() { |
||
1059 | |||
1060 | /** |
||
1061 | * Get the type. |
||
1062 | * |
||
1063 | * @return string Returns the type. |
||
1064 | */ |
||
1065 | public function getType() { |
||
1068 | |||
1069 | /** |
||
1070 | * Get the visible. |
||
1071 | * |
||
1072 | * @return boolean Returns the visible. |
||
1073 | */ |
||
1074 | public function getVisible() { |
||
1077 | |||
1078 | /** |
||
1079 | * Get the x axis. |
||
1080 | * |
||
1081 | * @return integer|string Returns the x axis. |
||
1082 | */ |
||
1083 | public function getXAxis() { |
||
1086 | |||
1087 | /** |
||
1088 | * Get the y axis. |
||
1089 | * |
||
1090 | * @return integer|string Returns the y axis. |
||
1091 | */ |
||
1092 | public function getYAxis() { |
||
1095 | |||
1096 | /** |
||
1097 | * Get the z index. |
||
1098 | * |
||
1099 | * @return integer Returns the z index. |
||
1100 | */ |
||
1101 | public function getZIndex() { |
||
1104 | |||
1105 | /** |
||
1106 | * Get the z max. |
||
1107 | * |
||
1108 | * @return integer Returns the z max. |
||
1109 | */ |
||
1110 | public function getZMax() { |
||
1113 | |||
1114 | /** |
||
1115 | * Get the z min. |
||
1116 | * |
||
1117 | * @return integer Returns the z min. |
||
1118 | */ |
||
1119 | public function getZMin() { |
||
1122 | |||
1123 | /** |
||
1124 | * Get the z threshold. |
||
1125 | * |
||
1126 | * @return integer Returns the z threshold. |
||
1127 | */ |
||
1128 | public function getZThreshold() { |
||
1131 | |||
1132 | /** |
||
1133 | * Get the zone axis. |
||
1134 | * |
||
1135 | * @return string Returns the zone axis. |
||
1136 | */ |
||
1137 | public function getZoneAxis() { |
||
1140 | |||
1141 | /** |
||
1142 | * Get the zones. |
||
1143 | * |
||
1144 | * @return array Returns the zones. |
||
1145 | */ |
||
1146 | public function getZones() { |
||
1149 | |||
1150 | /** |
||
1151 | * Serialize this instance. |
||
1152 | * |
||
1153 | * @return array Returns an array representing this instance. |
||
1154 | */ |
||
1155 | public function jsonSerialize() { |
||
1158 | |||
1159 | /** |
||
1160 | * Create a new data labels. |
||
1161 | * |
||
1162 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\Bubble\HighchartsDataLabels Returns the data labels. |
||
1163 | */ |
||
1164 | public function newDataLabels() { |
||
1168 | |||
1169 | /** |
||
1170 | * Create a new events. |
||
1171 | * |
||
1172 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\Bubble\HighchartsEvents Returns the events. |
||
1173 | */ |
||
1174 | public function newEvents() { |
||
1178 | |||
1179 | /** |
||
1180 | * Create a new point. |
||
1181 | * |
||
1182 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\Bubble\HighchartsPoint Returns the point. |
||
1183 | */ |
||
1184 | public function newPoint() { |
||
1188 | |||
1189 | /** |
||
1190 | * Create a new states. |
||
1191 | * |
||
1192 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\Bubble\HighchartsStates Returns the states. |
||
1193 | */ |
||
1194 | public function newStates() { |
||
1198 | |||
1199 | /** |
||
1200 | * Set the allow point select. |
||
1201 | * |
||
1202 | * @param boolean $allowPointSelect The allow point select. |
||
1203 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBubble Returns the highcharts bubble. |
||
1204 | */ |
||
1205 | public function setAllowPointSelect($allowPointSelect) { |
||
1209 | |||
1210 | /** |
||
1211 | * Set the animation. |
||
1212 | * |
||
1213 | * @param boolean $animation The animation. |
||
1214 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBubble Returns the highcharts bubble. |
||
1215 | */ |
||
1216 | public function setAnimation($animation) { |
||
1220 | |||
1221 | /** |
||
1222 | * Set the animation limit. |
||
1223 | * |
||
1224 | * @param integer $animationLimit The animation limit. |
||
1225 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBubble Returns the highcharts bubble. |
||
1226 | */ |
||
1227 | public function setAnimationLimit($animationLimit) { |
||
1231 | |||
1232 | /** |
||
1233 | * Set the class name. |
||
1234 | * |
||
1235 | * @param string $className The class name. |
||
1236 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBubble Returns the highcharts bubble. |
||
1237 | */ |
||
1238 | public function setClassName($className) { |
||
1242 | |||
1243 | /** |
||
1244 | * Set the color. |
||
1245 | * |
||
1246 | * @param string $color The color. |
||
1247 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBubble Returns the highcharts bubble. |
||
1248 | */ |
||
1249 | public function setColor($color) { |
||
1253 | |||
1254 | /** |
||
1255 | * Set the color index. |
||
1256 | * |
||
1257 | * @param integer $colorIndex The color index. |
||
1258 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBubble Returns the highcharts bubble. |
||
1259 | */ |
||
1260 | public function setColorIndex($colorIndex) { |
||
1264 | |||
1265 | /** |
||
1266 | * Set the crop threshold. |
||
1267 | * |
||
1268 | * @param integer $cropThreshold The crop threshold. |
||
1269 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBubble Returns the highcharts bubble. |
||
1270 | */ |
||
1271 | public function setCropThreshold($cropThreshold) { |
||
1275 | |||
1276 | /** |
||
1277 | * Set the cursor. |
||
1278 | * |
||
1279 | * @param string $cursor The cursor. |
||
1280 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBubble Returns the highcharts bubble. |
||
1281 | */ |
||
1282 | public function setCursor($cursor) { |
||
1295 | |||
1296 | /** |
||
1297 | * Set the dash style. |
||
1298 | * |
||
1299 | * @param string $dashStyle The dash style. |
||
1300 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBubble Returns the highcharts bubble. |
||
1301 | */ |
||
1302 | public function setDashStyle($dashStyle) { |
||
1320 | |||
1321 | /** |
||
1322 | * Set the data. |
||
1323 | * |
||
1324 | * @param array $data The data. |
||
1325 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBubble Returns the highcharts bubble. |
||
1326 | */ |
||
1327 | public function setData(array $data = null) { |
||
1331 | |||
1332 | /** |
||
1333 | * Set the data labels. |
||
1334 | * |
||
1335 | * @param \WBW\Bundle\HighchartsBundle\API\Chart\Series\Bubble\HighchartsDataLabels $dataLabels The data labels. |
||
1336 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBubble Returns the highcharts bubble. |
||
1337 | */ |
||
1338 | public function setDataLabels(\WBW\Bundle\HighchartsBundle\API\Chart\Series\Bubble\HighchartsDataLabels $dataLabels = null) { |
||
1342 | |||
1343 | /** |
||
1344 | * Set the description. |
||
1345 | * |
||
1346 | * @param string $description The description. |
||
1347 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBubble Returns the highcharts bubble. |
||
1348 | */ |
||
1349 | public function setDescription($description) { |
||
1353 | |||
1354 | /** |
||
1355 | * Set the display negative. |
||
1356 | * |
||
1357 | * @param boolean $displayNegative The display negative. |
||
1358 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBubble Returns the highcharts bubble. |
||
1359 | */ |
||
1360 | public function setDisplayNegative($displayNegative) { |
||
1364 | |||
1365 | /** |
||
1366 | * Set the enable mouse tracking. |
||
1367 | * |
||
1368 | * @param boolean $enableMouseTracking The enable mouse tracking. |
||
1369 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBubble Returns the highcharts bubble. |
||
1370 | */ |
||
1371 | public function setEnableMouseTracking($enableMouseTracking) { |
||
1375 | |||
1376 | /** |
||
1377 | * Set the events. |
||
1378 | * |
||
1379 | * @param \WBW\Bundle\HighchartsBundle\API\Chart\Series\Bubble\HighchartsEvents $events The events. |
||
1380 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBubble Returns the highcharts bubble. |
||
1381 | */ |
||
1382 | public function setEvents(\WBW\Bundle\HighchartsBundle\API\Chart\Series\Bubble\HighchartsEvents $events = null) { |
||
1386 | |||
1387 | /** |
||
1388 | * Set the expose element to a11y. |
||
1389 | * |
||
1390 | * @param boolean $exposeElementToA11y The expose element to a11y. |
||
1391 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBubble Returns the highcharts bubble. |
||
1392 | */ |
||
1393 | public function setExposeElementToA11y($exposeElementToA11y) { |
||
1397 | |||
1398 | /** |
||
1399 | * Set the find nearest point by. |
||
1400 | * |
||
1401 | * @param string $findNearestPointBy The find nearest point by. |
||
1402 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBubble Returns the highcharts bubble. |
||
1403 | */ |
||
1404 | public function setFindNearestPointBy($findNearestPointBy) { |
||
1413 | |||
1414 | /** |
||
1415 | * Set the get extremes from all. |
||
1416 | * |
||
1417 | * @param boolean $getExtremesFromAll The get extremes from all. |
||
1418 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBubble Returns the highcharts bubble. |
||
1419 | */ |
||
1420 | public function setGetExtremesFromAll($getExtremesFromAll) { |
||
1424 | |||
1425 | /** |
||
1426 | * Set the id. |
||
1427 | * |
||
1428 | * @param string $id The id. |
||
1429 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBubble Returns the highcharts bubble. |
||
1430 | */ |
||
1431 | public function setId($id) { |
||
1435 | |||
1436 | /** |
||
1437 | * Set the index. |
||
1438 | * |
||
1439 | * @param integer $index The index. |
||
1440 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBubble Returns the highcharts bubble. |
||
1441 | */ |
||
1442 | public function setIndex($index) { |
||
1446 | |||
1447 | /** |
||
1448 | * Set the keys. |
||
1449 | * |
||
1450 | * @param array $keys The keys. |
||
1451 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBubble Returns the highcharts bubble. |
||
1452 | */ |
||
1453 | public function setKeys(array $keys = null) { |
||
1457 | |||
1458 | /** |
||
1459 | * Set the legend index. |
||
1460 | * |
||
1461 | * @param integer $legendIndex The legend index. |
||
1462 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBubble Returns the highcharts bubble. |
||
1463 | */ |
||
1464 | public function setLegendIndex($legendIndex) { |
||
1468 | |||
1469 | /** |
||
1470 | * Set the line width. |
||
1471 | * |
||
1472 | * @param integer $lineWidth The line width. |
||
1473 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBubble Returns the highcharts bubble. |
||
1474 | */ |
||
1475 | public function setLineWidth($lineWidth) { |
||
1479 | |||
1480 | /** |
||
1481 | * Set the linked to. |
||
1482 | * |
||
1483 | * @param string $linkedTo The linked to. |
||
1484 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBubble Returns the highcharts bubble. |
||
1485 | */ |
||
1486 | public function setLinkedTo($linkedTo) { |
||
1490 | |||
1491 | /** |
||
1492 | * Set the marker. |
||
1493 | * |
||
1494 | * @param array $marker The marker. |
||
1495 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBubble Returns the highcharts bubble. |
||
1496 | */ |
||
1497 | public function setMarker(array $marker = null) { |
||
1501 | |||
1502 | /** |
||
1503 | * Set the max size. |
||
1504 | * |
||
1505 | * @param string $maxSize The max size. |
||
1506 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBubble Returns the highcharts bubble. |
||
1507 | */ |
||
1508 | public function setMaxSize($maxSize) { |
||
1512 | |||
1513 | /** |
||
1514 | * Set the min size. |
||
1515 | * |
||
1516 | * @param string $minSize The min size. |
||
1517 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBubble Returns the highcharts bubble. |
||
1518 | */ |
||
1519 | public function setMinSize($minSize) { |
||
1523 | |||
1524 | /** |
||
1525 | * Set the name. |
||
1526 | * |
||
1527 | * @param string $name The name. |
||
1528 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBubble Returns the highcharts bubble. |
||
1529 | */ |
||
1530 | public function setName($name) { |
||
1534 | |||
1535 | /** |
||
1536 | * Set the negative color. |
||
1537 | * |
||
1538 | * @param string $negativeColor The negative color. |
||
1539 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBubble Returns the highcharts bubble. |
||
1540 | */ |
||
1541 | public function setNegativeColor($negativeColor) { |
||
1545 | |||
1546 | /** |
||
1547 | * Set the point. |
||
1548 | * |
||
1549 | * @param \WBW\Bundle\HighchartsBundle\API\Chart\Series\Bubble\HighchartsPoint $point The point. |
||
1550 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBubble Returns the highcharts bubble. |
||
1551 | */ |
||
1552 | public function setPoint(\WBW\Bundle\HighchartsBundle\API\Chart\Series\Bubble\HighchartsPoint $point = null) { |
||
1556 | |||
1557 | /** |
||
1558 | * Set the point description formatter. |
||
1559 | * |
||
1560 | * @param string $pointDescriptionFormatter The point description formatter. |
||
1561 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBubble Returns the highcharts bubble. |
||
1562 | */ |
||
1563 | public function setPointDescriptionFormatter($pointDescriptionFormatter) { |
||
1567 | |||
1568 | /** |
||
1569 | * Set the point interval. |
||
1570 | * |
||
1571 | * @param integer $pointInterval The point interval. |
||
1572 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBubble Returns the highcharts bubble. |
||
1573 | */ |
||
1574 | public function setPointInterval($pointInterval) { |
||
1578 | |||
1579 | /** |
||
1580 | * Set the point interval unit. |
||
1581 | * |
||
1582 | * @param string $pointIntervalUnit The point interval unit. |
||
1583 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBubble Returns the highcharts bubble. |
||
1584 | */ |
||
1585 | public function setPointIntervalUnit($pointIntervalUnit) { |
||
1596 | |||
1597 | /** |
||
1598 | * Set the point start. |
||
1599 | * |
||
1600 | * @param integer $pointStart The point start. |
||
1601 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBubble Returns the highcharts bubble. |
||
1602 | */ |
||
1603 | public function setPointStart($pointStart) { |
||
1607 | |||
1608 | /** |
||
1609 | * Set the selected. |
||
1610 | * |
||
1611 | * @param boolean $selected The selected. |
||
1612 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBubble Returns the highcharts bubble. |
||
1613 | */ |
||
1614 | public function setSelected($selected) { |
||
1618 | |||
1619 | /** |
||
1620 | * Set the shadow. |
||
1621 | * |
||
1622 | * @param boolean|array $shadow The shadow. |
||
1623 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBubble Returns the highcharts bubble. |
||
1624 | */ |
||
1625 | public function setShadow($shadow) { |
||
1629 | |||
1630 | /** |
||
1631 | * Set the show checkbox. |
||
1632 | * |
||
1633 | * @param boolean $showCheckbox The show checkbox. |
||
1634 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBubble Returns the highcharts bubble. |
||
1635 | */ |
||
1636 | public function setShowCheckbox($showCheckbox) { |
||
1640 | |||
1641 | /** |
||
1642 | * Set the show in legend. |
||
1643 | * |
||
1644 | * @param boolean $showInLegend The show in legend. |
||
1645 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBubble Returns the highcharts bubble. |
||
1646 | */ |
||
1647 | public function setShowInLegend($showInLegend) { |
||
1651 | |||
1652 | /** |
||
1653 | * Set the size by. |
||
1654 | * |
||
1655 | * @param string $sizeBy The size by. |
||
1656 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBubble Returns the highcharts bubble. |
||
1657 | */ |
||
1658 | public function setSizeBy($sizeBy) { |
||
1667 | |||
1668 | /** |
||
1669 | * Set the size by absolute value. |
||
1670 | * |
||
1671 | * @param boolean $sizeByAbsoluteValue The size by absolute value. |
||
1672 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBubble Returns the highcharts bubble. |
||
1673 | */ |
||
1674 | public function setSizeByAbsoluteValue($sizeByAbsoluteValue) { |
||
1678 | |||
1679 | /** |
||
1680 | * Set the skip keyboard navigation. |
||
1681 | * |
||
1682 | * @param boolean $skipKeyboardNavigation The skip keyboard navigation. |
||
1683 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBubble Returns the highcharts bubble. |
||
1684 | */ |
||
1685 | public function setSkipKeyboardNavigation($skipKeyboardNavigation) { |
||
1689 | |||
1690 | /** |
||
1691 | * Set the soft threshold. |
||
1692 | * |
||
1693 | * @param boolean $softThreshold The soft threshold. |
||
1694 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBubble Returns the highcharts bubble. |
||
1695 | */ |
||
1696 | public function setSoftThreshold($softThreshold) { |
||
1700 | |||
1701 | /** |
||
1702 | * Set the states. |
||
1703 | * |
||
1704 | * @param \WBW\Bundle\HighchartsBundle\API\Chart\Series\Bubble\HighchartsStates $states The states. |
||
1705 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBubble Returns the highcharts bubble. |
||
1706 | */ |
||
1707 | public function setStates(\WBW\Bundle\HighchartsBundle\API\Chart\Series\Bubble\HighchartsStates $states = null) { |
||
1711 | |||
1712 | /** |
||
1713 | * Set the sticky tracking. |
||
1714 | * |
||
1715 | * @param boolean $stickyTracking The sticky tracking. |
||
1716 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBubble Returns the highcharts bubble. |
||
1717 | */ |
||
1718 | public function setStickyTracking($stickyTracking) { |
||
1722 | |||
1723 | /** |
||
1724 | * Set the threshold. |
||
1725 | * |
||
1726 | * @param integer $threshold The threshold. |
||
1727 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBubble Returns the highcharts bubble. |
||
1728 | */ |
||
1729 | public function setThreshold($threshold) { |
||
1733 | |||
1734 | /** |
||
1735 | * Set the tooltip. |
||
1736 | * |
||
1737 | * @param array $tooltip The tooltip. |
||
1738 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBubble Returns the highcharts bubble. |
||
1739 | */ |
||
1740 | public function setTooltip(array $tooltip = null) { |
||
1744 | |||
1745 | /** |
||
1746 | * Set the type. |
||
1747 | * |
||
1748 | * @param string $type The type. |
||
1749 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBubble Returns the highcharts bubble. |
||
1750 | */ |
||
1751 | public function setType($type) { |
||
1775 | |||
1776 | /** |
||
1777 | * Set the visible. |
||
1778 | * |
||
1779 | * @param boolean $visible The visible. |
||
1780 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBubble Returns the highcharts bubble. |
||
1781 | */ |
||
1782 | public function setVisible($visible) { |
||
1786 | |||
1787 | /** |
||
1788 | * Set the x axis. |
||
1789 | * |
||
1790 | * @param integer|string $xAxis The x axis. |
||
1791 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBubble Returns the highcharts bubble. |
||
1792 | */ |
||
1793 | public function setXAxis($xAxis) { |
||
1797 | |||
1798 | /** |
||
1799 | * Set the y axis. |
||
1800 | * |
||
1801 | * @param integer|string $yAxis The y axis. |
||
1802 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBubble Returns the highcharts bubble. |
||
1803 | */ |
||
1804 | public function setYAxis($yAxis) { |
||
1808 | |||
1809 | /** |
||
1810 | * Set the z index. |
||
1811 | * |
||
1812 | * @param integer $zIndex The z index. |
||
1813 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBubble Returns the highcharts bubble. |
||
1814 | */ |
||
1815 | public function setZIndex($zIndex) { |
||
1819 | |||
1820 | /** |
||
1821 | * Set the z max. |
||
1822 | * |
||
1823 | * @param integer $zMax The z max. |
||
1824 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBubble Returns the highcharts bubble. |
||
1825 | */ |
||
1826 | public function setZMax($zMax) { |
||
1830 | |||
1831 | /** |
||
1832 | * Set the z min. |
||
1833 | * |
||
1834 | * @param integer $zMin The z min. |
||
1835 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBubble Returns the highcharts bubble. |
||
1836 | */ |
||
1837 | public function setZMin($zMin) { |
||
1841 | |||
1842 | /** |
||
1843 | * Set the z threshold. |
||
1844 | * |
||
1845 | * @param integer $zThreshold The z threshold. |
||
1846 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBubble Returns the highcharts bubble. |
||
1847 | */ |
||
1848 | public function setZThreshold($zThreshold) { |
||
1852 | |||
1853 | /** |
||
1854 | * Set the zone axis. |
||
1855 | * |
||
1856 | * @param string $zoneAxis The zone axis. |
||
1857 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBubble Returns the highcharts bubble. |
||
1858 | */ |
||
1859 | public function setZoneAxis($zoneAxis) { |
||
1863 | |||
1864 | /** |
||
1865 | * Set the zones. |
||
1866 | * |
||
1867 | * @param array $zones The zones. |
||
1868 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBubble Returns the highcharts bubble. |
||
1869 | */ |
||
1870 | public function setZones(array $zones = null) { |
||
1874 | |||
1875 | /** |
||
1876 | * Convert into an array representing this instance. |
||
1877 | * |
||
1878 | * @return array Returns an array representing this instance. |
||
1879 | */ |
||
1880 | public function toArray() { |
||
2064 | |||
2065 | } |
||
2066 |
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..