Complex classes like HighchartsBoxplot 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 HighchartsBoxplot, and based on these observations, apply Extract Interface, too.
1 | <?php |
||
25 | final class HighchartsBoxplot 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 limit. |
||
37 | * |
||
38 | * @var integer |
||
39 | */ |
||
40 | private $animationLimit; |
||
41 | |||
42 | /** |
||
43 | * Class name. |
||
44 | * |
||
45 | * @var string |
||
46 | * @since 5.0.0 |
||
47 | */ |
||
48 | private $className; |
||
49 | |||
50 | /** |
||
51 | * Color. |
||
52 | * |
||
53 | * @var string |
||
54 | */ |
||
55 | private $color; |
||
56 | |||
57 | /** |
||
58 | * Color by point. |
||
59 | * |
||
60 | * @var boolean |
||
61 | * @since 2.0 |
||
62 | */ |
||
63 | private $colorByPoint = false; |
||
64 | |||
65 | /** |
||
66 | * Color index. |
||
67 | * |
||
68 | * @var integer |
||
69 | * @since 5.0.0 |
||
70 | */ |
||
71 | private $colorIndex; |
||
72 | |||
73 | /** |
||
74 | * Colors. |
||
75 | * |
||
76 | * @var array |
||
77 | * @since 3.0 |
||
78 | */ |
||
79 | private $colors; |
||
80 | |||
81 | /** |
||
82 | * Crisp. |
||
83 | * |
||
84 | * @var boolean |
||
85 | * @since 5.0.10 |
||
86 | */ |
||
87 | private $crisp = true; |
||
88 | |||
89 | /** |
||
90 | * Cursor. |
||
91 | * |
||
92 | * @var string |
||
93 | */ |
||
94 | private $cursor; |
||
95 | |||
96 | /** |
||
97 | * Depth. |
||
98 | * |
||
99 | * @var integer |
||
100 | * @since 4.0 |
||
101 | */ |
||
102 | private $depth = 25; |
||
103 | |||
104 | /** |
||
105 | * Description. |
||
106 | * |
||
107 | * @var string |
||
108 | * @since 5.0.0 |
||
109 | */ |
||
110 | private $description; |
||
111 | |||
112 | /** |
||
113 | * Edge color. |
||
114 | * |
||
115 | * @var string |
||
116 | */ |
||
117 | private $edgeColor; |
||
118 | |||
119 | /** |
||
120 | * Edge width. |
||
121 | * |
||
122 | * @var integer |
||
123 | */ |
||
124 | private $edgeWidth = 1; |
||
125 | |||
126 | /** |
||
127 | * Enable mouse tracking. |
||
128 | * |
||
129 | * @var boolean |
||
130 | */ |
||
131 | private $enableMouseTracking = true; |
||
132 | |||
133 | /** |
||
134 | * Events. |
||
135 | * |
||
136 | * @var \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Boxplot\HighchartsEvents |
||
137 | */ |
||
138 | private $events; |
||
139 | |||
140 | /** |
||
141 | * Expose element to a11y. |
||
142 | * |
||
143 | * @var boolean |
||
144 | * @since 5.0.12 |
||
145 | */ |
||
146 | private $exposeElementToA11y; |
||
147 | |||
148 | /** |
||
149 | * Fill color. |
||
150 | * |
||
151 | * @var string |
||
152 | * @since 3.0 |
||
153 | */ |
||
154 | private $fillColor = "#ffffff"; |
||
155 | |||
156 | /** |
||
157 | * Find nearest point by. |
||
158 | * |
||
159 | * @var string |
||
160 | * @since 5.0.10 |
||
161 | */ |
||
162 | private $findNearestPointBy; |
||
163 | |||
164 | /** |
||
165 | * Get extremes from all. |
||
166 | * |
||
167 | * @var boolean |
||
168 | * @since 4.1.6 |
||
169 | */ |
||
170 | private $getExtremesFromAll = false; |
||
171 | |||
172 | /** |
||
173 | * Group padding. |
||
174 | * |
||
175 | * @var integer |
||
176 | */ |
||
177 | private $groupPadding = 0.2; |
||
178 | |||
179 | /** |
||
180 | * Group z padding. |
||
181 | * |
||
182 | * @var integer |
||
183 | * @since 4.0 |
||
184 | */ |
||
185 | private $groupZPadding = 1; |
||
186 | |||
187 | /** |
||
188 | * Grouping. |
||
189 | * |
||
190 | * @var boolean |
||
191 | * @since 2.3.0 |
||
192 | */ |
||
193 | private $grouping = true; |
||
194 | |||
195 | /** |
||
196 | * Keys. |
||
197 | * |
||
198 | * @var array |
||
199 | * @since 4.1.6 |
||
200 | */ |
||
201 | private $keys; |
||
202 | |||
203 | /** |
||
204 | * Line width. |
||
205 | * |
||
206 | * @var integer |
||
207 | * @since 3.0 |
||
208 | */ |
||
209 | private $lineWidth = 1; |
||
210 | |||
211 | /** |
||
212 | * Linked to. |
||
213 | * |
||
214 | * @var string |
||
215 | * @since 3.0 |
||
216 | */ |
||
217 | private $linkedTo; |
||
218 | |||
219 | /** |
||
220 | * Max point width. |
||
221 | * |
||
222 | * @var integer |
||
223 | * @since 4.1.8 |
||
224 | */ |
||
225 | private $maxPointWidth; |
||
226 | |||
227 | /** |
||
228 | * Median color. |
||
229 | * |
||
230 | * @var string |
||
231 | * @since 3.0 |
||
232 | */ |
||
233 | private $medianColor; |
||
234 | |||
235 | /** |
||
236 | * Median width. |
||
237 | * |
||
238 | * @var integer |
||
239 | * @since 3.0 |
||
240 | */ |
||
241 | private $medianWidth = 2; |
||
242 | |||
243 | /** |
||
244 | * Negative color. |
||
245 | * |
||
246 | * @var string |
||
247 | * @since 3.0 |
||
248 | */ |
||
249 | private $negativeColor; |
||
250 | |||
251 | /** |
||
252 | * Point. |
||
253 | * |
||
254 | * @var \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Boxplot\HighchartsPoint |
||
255 | */ |
||
256 | private $point; |
||
257 | |||
258 | /** |
||
259 | * Point description formatter. |
||
260 | * |
||
261 | * @var string |
||
262 | * @since 5.0.12 |
||
263 | */ |
||
264 | private $pointDescriptionFormatter; |
||
265 | |||
266 | /** |
||
267 | * Point interval. |
||
268 | * |
||
269 | * @var integer |
||
270 | */ |
||
271 | private $pointInterval = 1; |
||
272 | |||
273 | /** |
||
274 | * Point interval unit. |
||
275 | * |
||
276 | * @var string |
||
277 | * @since 4.1.0 |
||
278 | */ |
||
279 | private $pointIntervalUnit; |
||
280 | |||
281 | /** |
||
282 | * Point padding. |
||
283 | * |
||
284 | * @var integer |
||
285 | */ |
||
286 | private $pointPadding = 0.1; |
||
287 | |||
288 | /** |
||
289 | * Point placement. |
||
290 | * |
||
291 | * @var string|integer |
||
292 | * @since 2.3.0 |
||
293 | */ |
||
294 | private $pointPlacement; |
||
295 | |||
296 | /** |
||
297 | * Point range. |
||
298 | * |
||
299 | * @var integer |
||
300 | * @since 2.3 |
||
301 | */ |
||
302 | private $pointRange; |
||
303 | |||
304 | /** |
||
305 | * Point start. |
||
306 | * |
||
307 | * @var integer |
||
308 | */ |
||
309 | private $pointStart = 0; |
||
310 | |||
311 | /** |
||
312 | * Point width. |
||
313 | * |
||
314 | * @var integer |
||
315 | * @since 1.2.5 |
||
316 | */ |
||
317 | private $pointWidth; |
||
318 | |||
319 | /** |
||
320 | * Selected. |
||
321 | * |
||
322 | * @var boolean |
||
323 | * @since 1.2.0 |
||
324 | */ |
||
325 | private $selected = false; |
||
326 | |||
327 | /** |
||
328 | * Show checkbox. |
||
329 | * |
||
330 | * @var boolean |
||
331 | * @since 1.2.0 |
||
332 | */ |
||
333 | private $showCheckbox = false; |
||
334 | |||
335 | /** |
||
336 | * Show in legend. |
||
337 | * |
||
338 | * @var boolean |
||
339 | */ |
||
340 | private $showInLegend = true; |
||
341 | |||
342 | /** |
||
343 | * Skip keyboard navigation. |
||
344 | * |
||
345 | * @var boolean |
||
346 | * @since 5.0.12 |
||
347 | */ |
||
348 | private $skipKeyboardNavigation; |
||
349 | |||
350 | /** |
||
351 | * States. |
||
352 | * |
||
353 | * @var \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Boxplot\HighchartsStates |
||
354 | */ |
||
355 | private $states; |
||
356 | |||
357 | /** |
||
358 | * Stem color. |
||
359 | * |
||
360 | * @var string |
||
361 | * @since 3.0 |
||
362 | */ |
||
363 | private $stemColor; |
||
364 | |||
365 | /** |
||
366 | * Stem dash style. |
||
367 | * |
||
368 | * @var string |
||
369 | * @since 3.0 |
||
370 | */ |
||
371 | private $stemDashStyle = "Solid"; |
||
372 | |||
373 | /** |
||
374 | * Stem width. |
||
375 | * |
||
376 | * @var integer |
||
377 | * @since 3.0 |
||
378 | */ |
||
379 | private $stemWidth; |
||
380 | |||
381 | /** |
||
382 | * Sticky tracking. |
||
383 | * |
||
384 | * @var boolean |
||
385 | * @since 2.0 |
||
386 | */ |
||
387 | private $stickyTracking = true; |
||
388 | |||
389 | /** |
||
390 | * Tooltip. |
||
391 | * |
||
392 | * @var array |
||
393 | * @since 2.3 |
||
394 | */ |
||
395 | private $tooltip; |
||
396 | |||
397 | /** |
||
398 | * Turbo threshold. |
||
399 | * |
||
400 | * @var integer |
||
401 | * @since 2.2 |
||
402 | */ |
||
403 | private $turboThreshold = 1000; |
||
404 | |||
405 | /** |
||
406 | * Visible. |
||
407 | * |
||
408 | * @var boolean |
||
409 | */ |
||
410 | private $visible = true; |
||
411 | |||
412 | /** |
||
413 | * Whisker color. |
||
414 | * |
||
415 | * @var string |
||
416 | * @since 3.0 |
||
417 | */ |
||
418 | private $whiskerColor; |
||
419 | |||
420 | /** |
||
421 | * Whisker length. |
||
422 | * |
||
423 | * @var integer|string |
||
424 | * @since 3.0 |
||
425 | */ |
||
426 | private $whiskerLength = "50%"; |
||
427 | |||
428 | /** |
||
429 | * Whisker width. |
||
430 | * |
||
431 | * @var integer |
||
432 | * @since 3.0 |
||
433 | */ |
||
434 | private $whiskerWidth = 2; |
||
435 | |||
436 | /** |
||
437 | * Zone axis. |
||
438 | * |
||
439 | * @var string |
||
440 | * @since 4.1.0 |
||
441 | */ |
||
442 | private $zoneAxis = "y"; |
||
443 | |||
444 | /** |
||
445 | * Zones. |
||
446 | * |
||
447 | * @var array |
||
448 | * @since 4.1.0 |
||
449 | */ |
||
450 | private $zones; |
||
451 | |||
452 | /** |
||
453 | * Constructor. |
||
454 | * |
||
455 | * @param boolean $ignoreDefaultValues Ignore the default values. |
||
456 | */ |
||
457 | public function __construct($ignoreDefaultValues = true) { |
||
462 | |||
463 | /** |
||
464 | * Clear. |
||
465 | * |
||
466 | * @return void |
||
467 | */ |
||
468 | public function clear() { |
||
641 | |||
642 | /** |
||
643 | * Get the allow point select. |
||
644 | * |
||
645 | * @return boolean Returns the allow point select. |
||
646 | */ |
||
647 | public function getAllowPointSelect() { |
||
650 | |||
651 | /** |
||
652 | * Get the animation limit. |
||
653 | * |
||
654 | * @return integer Returns the animation limit. |
||
655 | */ |
||
656 | public function getAnimationLimit() { |
||
659 | |||
660 | /** |
||
661 | * Get the class name. |
||
662 | * |
||
663 | * @return string Returns the class name. |
||
664 | */ |
||
665 | public function getClassName() { |
||
668 | |||
669 | /** |
||
670 | * Get the color. |
||
671 | * |
||
672 | * @return string Returns the color. |
||
673 | */ |
||
674 | public function getColor() { |
||
677 | |||
678 | /** |
||
679 | * Get the color by point. |
||
680 | * |
||
681 | * @return boolean Returns the color by point. |
||
682 | */ |
||
683 | public function getColorByPoint() { |
||
686 | |||
687 | /** |
||
688 | * Get the color index. |
||
689 | * |
||
690 | * @return integer Returns the color index. |
||
691 | */ |
||
692 | public function getColorIndex() { |
||
695 | |||
696 | /** |
||
697 | * Get the colors. |
||
698 | * |
||
699 | * @return array Returns the colors. |
||
700 | */ |
||
701 | public function getColors() { |
||
704 | |||
705 | /** |
||
706 | * Get the crisp. |
||
707 | * |
||
708 | * @return boolean Returns the crisp. |
||
709 | */ |
||
710 | public function getCrisp() { |
||
713 | |||
714 | /** |
||
715 | * Get the cursor. |
||
716 | * |
||
717 | * @return string Returns the cursor. |
||
718 | */ |
||
719 | public function getCursor() { |
||
722 | |||
723 | /** |
||
724 | * Get the depth. |
||
725 | * |
||
726 | * @return integer Returns the depth. |
||
727 | */ |
||
728 | public function getDepth() { |
||
731 | |||
732 | /** |
||
733 | * Get the description. |
||
734 | * |
||
735 | * @return string Returns the description. |
||
736 | */ |
||
737 | public function getDescription() { |
||
740 | |||
741 | /** |
||
742 | * Get the edge color. |
||
743 | * |
||
744 | * @return string Returns the edge color. |
||
745 | */ |
||
746 | public function getEdgeColor() { |
||
749 | |||
750 | /** |
||
751 | * Get the edge width. |
||
752 | * |
||
753 | * @return integer Returns the edge width. |
||
754 | */ |
||
755 | public function getEdgeWidth() { |
||
758 | |||
759 | /** |
||
760 | * Get the enable mouse tracking. |
||
761 | * |
||
762 | * @return boolean Returns the enable mouse tracking. |
||
763 | */ |
||
764 | public function getEnableMouseTracking() { |
||
767 | |||
768 | /** |
||
769 | * Get the events. |
||
770 | * |
||
771 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Boxplot\HighchartsEvents Returns the events. |
||
772 | */ |
||
773 | public function getEvents() { |
||
776 | |||
777 | /** |
||
778 | * Get the expose element to a11y. |
||
779 | * |
||
780 | * @return boolean Returns the expose element to a11y. |
||
781 | */ |
||
782 | public function getExposeElementToA11y() { |
||
785 | |||
786 | /** |
||
787 | * Get the fill color. |
||
788 | * |
||
789 | * @return string Returns the fill color. |
||
790 | */ |
||
791 | public function getFillColor() { |
||
794 | |||
795 | /** |
||
796 | * Get the find nearest point by. |
||
797 | * |
||
798 | * @return string Returns the find nearest point by. |
||
799 | */ |
||
800 | public function getFindNearestPointBy() { |
||
803 | |||
804 | /** |
||
805 | * Get the get extremes from all. |
||
806 | * |
||
807 | * @return boolean Returns the get extremes from all. |
||
808 | */ |
||
809 | public function getGetExtremesFromAll() { |
||
812 | |||
813 | /** |
||
814 | * Get the group padding. |
||
815 | * |
||
816 | * @return integer Returns the group padding. |
||
817 | */ |
||
818 | public function getGroupPadding() { |
||
821 | |||
822 | /** |
||
823 | * Get the group z padding. |
||
824 | * |
||
825 | * @return integer Returns the group z padding. |
||
826 | */ |
||
827 | public function getGroupZPadding() { |
||
830 | |||
831 | /** |
||
832 | * Get the grouping. |
||
833 | * |
||
834 | * @return boolean Returns the grouping. |
||
835 | */ |
||
836 | public function getGrouping() { |
||
839 | |||
840 | /** |
||
841 | * Get the keys. |
||
842 | * |
||
843 | * @return array Returns the keys. |
||
844 | */ |
||
845 | public function getKeys() { |
||
848 | |||
849 | /** |
||
850 | * Get the line width. |
||
851 | * |
||
852 | * @return integer Returns the line width. |
||
853 | */ |
||
854 | public function getLineWidth() { |
||
857 | |||
858 | /** |
||
859 | * Get the linked to. |
||
860 | * |
||
861 | * @return string Returns the linked to. |
||
862 | */ |
||
863 | public function getLinkedTo() { |
||
866 | |||
867 | /** |
||
868 | * Get the max point width. |
||
869 | * |
||
870 | * @return integer Returns the max point width. |
||
871 | */ |
||
872 | public function getMaxPointWidth() { |
||
875 | |||
876 | /** |
||
877 | * Get the median color. |
||
878 | * |
||
879 | * @return string Returns the median color. |
||
880 | */ |
||
881 | public function getMedianColor() { |
||
884 | |||
885 | /** |
||
886 | * Get the median width. |
||
887 | * |
||
888 | * @return integer Returns the median width. |
||
889 | */ |
||
890 | public function getMedianWidth() { |
||
893 | |||
894 | /** |
||
895 | * Get the negative color. |
||
896 | * |
||
897 | * @return string Returns the negative color. |
||
898 | */ |
||
899 | public function getNegativeColor() { |
||
902 | |||
903 | /** |
||
904 | * Get the point. |
||
905 | * |
||
906 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Boxplot\HighchartsPoint Returns the point. |
||
907 | */ |
||
908 | public function getPoint() { |
||
911 | |||
912 | /** |
||
913 | * Get the point description formatter. |
||
914 | * |
||
915 | * @return string Returns the point description formatter. |
||
916 | */ |
||
917 | public function getPointDescriptionFormatter() { |
||
920 | |||
921 | /** |
||
922 | * Get the point interval. |
||
923 | * |
||
924 | * @return integer Returns the point interval. |
||
925 | */ |
||
926 | public function getPointInterval() { |
||
929 | |||
930 | /** |
||
931 | * Get the point interval unit. |
||
932 | * |
||
933 | * @return string Returns the point interval unit. |
||
934 | */ |
||
935 | public function getPointIntervalUnit() { |
||
938 | |||
939 | /** |
||
940 | * Get the point padding. |
||
941 | * |
||
942 | * @return integer Returns the point padding. |
||
943 | */ |
||
944 | public function getPointPadding() { |
||
947 | |||
948 | /** |
||
949 | * Get the point placement. |
||
950 | * |
||
951 | * @return string|integer Returns the point placement. |
||
952 | */ |
||
953 | public function getPointPlacement() { |
||
956 | |||
957 | /** |
||
958 | * Get the point range. |
||
959 | * |
||
960 | * @return integer Returns the point range. |
||
961 | */ |
||
962 | public function getPointRange() { |
||
965 | |||
966 | /** |
||
967 | * Get the point start. |
||
968 | * |
||
969 | * @return integer Returns the point start. |
||
970 | */ |
||
971 | public function getPointStart() { |
||
974 | |||
975 | /** |
||
976 | * Get the point width. |
||
977 | * |
||
978 | * @return integer Returns the point width. |
||
979 | */ |
||
980 | public function getPointWidth() { |
||
983 | |||
984 | /** |
||
985 | * Get the selected. |
||
986 | * |
||
987 | * @return boolean Returns the selected. |
||
988 | */ |
||
989 | public function getSelected() { |
||
992 | |||
993 | /** |
||
994 | * Get the show checkbox. |
||
995 | * |
||
996 | * @return boolean Returns the show checkbox. |
||
997 | */ |
||
998 | public function getShowCheckbox() { |
||
1001 | |||
1002 | /** |
||
1003 | * Get the show in legend. |
||
1004 | * |
||
1005 | * @return boolean Returns the show in legend. |
||
1006 | */ |
||
1007 | public function getShowInLegend() { |
||
1010 | |||
1011 | /** |
||
1012 | * Get the skip keyboard navigation. |
||
1013 | * |
||
1014 | * @return boolean Returns the skip keyboard navigation. |
||
1015 | */ |
||
1016 | public function getSkipKeyboardNavigation() { |
||
1019 | |||
1020 | /** |
||
1021 | * Get the states. |
||
1022 | * |
||
1023 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Boxplot\HighchartsStates Returns the states. |
||
1024 | */ |
||
1025 | public function getStates() { |
||
1028 | |||
1029 | /** |
||
1030 | * Get the stem color. |
||
1031 | * |
||
1032 | * @return string Returns the stem color. |
||
1033 | */ |
||
1034 | public function getStemColor() { |
||
1037 | |||
1038 | /** |
||
1039 | * Get the stem dash style. |
||
1040 | * |
||
1041 | * @return string Returns the stem dash style. |
||
1042 | */ |
||
1043 | public function getStemDashStyle() { |
||
1046 | |||
1047 | /** |
||
1048 | * Get the stem width. |
||
1049 | * |
||
1050 | * @return integer Returns the stem width. |
||
1051 | */ |
||
1052 | public function getStemWidth() { |
||
1055 | |||
1056 | /** |
||
1057 | * Get the sticky tracking. |
||
1058 | * |
||
1059 | * @return boolean Returns the sticky tracking. |
||
1060 | */ |
||
1061 | public function getStickyTracking() { |
||
1064 | |||
1065 | /** |
||
1066 | * Get the tooltip. |
||
1067 | * |
||
1068 | * @return array Returns the tooltip. |
||
1069 | */ |
||
1070 | public function getTooltip() { |
||
1073 | |||
1074 | /** |
||
1075 | * Get the turbo threshold. |
||
1076 | * |
||
1077 | * @return integer Returns the turbo threshold. |
||
1078 | */ |
||
1079 | public function getTurboThreshold() { |
||
1082 | |||
1083 | /** |
||
1084 | * Get the visible. |
||
1085 | * |
||
1086 | * @return boolean Returns the visible. |
||
1087 | */ |
||
1088 | public function getVisible() { |
||
1091 | |||
1092 | /** |
||
1093 | * Get the whisker color. |
||
1094 | * |
||
1095 | * @return string Returns the whisker color. |
||
1096 | */ |
||
1097 | public function getWhiskerColor() { |
||
1100 | |||
1101 | /** |
||
1102 | * Get the whisker length. |
||
1103 | * |
||
1104 | * @return integer|string Returns the whisker length. |
||
1105 | */ |
||
1106 | public function getWhiskerLength() { |
||
1109 | |||
1110 | /** |
||
1111 | * Get the whisker width. |
||
1112 | * |
||
1113 | * @return integer Returns the whisker width. |
||
1114 | */ |
||
1115 | public function getWhiskerWidth() { |
||
1118 | |||
1119 | /** |
||
1120 | * Get the zone axis. |
||
1121 | * |
||
1122 | * @return string Returns the zone axis. |
||
1123 | */ |
||
1124 | public function getZoneAxis() { |
||
1127 | |||
1128 | /** |
||
1129 | * Get the zones. |
||
1130 | * |
||
1131 | * @return array Returns the zones. |
||
1132 | */ |
||
1133 | public function getZones() { |
||
1136 | |||
1137 | /** |
||
1138 | * Serialize this instance. |
||
1139 | * |
||
1140 | * @return array Returns an array representing this instance. |
||
1141 | */ |
||
1142 | public function jsonSerialize() { |
||
1145 | |||
1146 | /** |
||
1147 | * Create a new events. |
||
1148 | * |
||
1149 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Boxplot\HighchartsEvents Returns the events. |
||
1150 | */ |
||
1151 | public function newEvents() { |
||
1155 | |||
1156 | /** |
||
1157 | * Create a new point. |
||
1158 | * |
||
1159 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Boxplot\HighchartsPoint Returns the point. |
||
1160 | */ |
||
1161 | public function newPoint() { |
||
1165 | |||
1166 | /** |
||
1167 | * Create a new states. |
||
1168 | * |
||
1169 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Boxplot\HighchartsStates Returns the states. |
||
1170 | */ |
||
1171 | public function newStates() { |
||
1175 | |||
1176 | /** |
||
1177 | * Set the allow point select. |
||
1178 | * |
||
1179 | * @param boolean $allowPointSelect The allow point select. |
||
1180 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBoxplot Returns the highcharts boxplot. |
||
1181 | */ |
||
1182 | public function setAllowPointSelect($allowPointSelect) { |
||
1186 | |||
1187 | /** |
||
1188 | * Set the animation limit. |
||
1189 | * |
||
1190 | * @param integer $animationLimit The animation limit. |
||
1191 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBoxplot Returns the highcharts boxplot. |
||
1192 | */ |
||
1193 | public function setAnimationLimit($animationLimit) { |
||
1197 | |||
1198 | /** |
||
1199 | * Set the class name. |
||
1200 | * |
||
1201 | * @param string $className The class name. |
||
1202 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBoxplot Returns the highcharts boxplot. |
||
1203 | */ |
||
1204 | public function setClassName($className) { |
||
1208 | |||
1209 | /** |
||
1210 | * Set the color. |
||
1211 | * |
||
1212 | * @param string $color The color. |
||
1213 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBoxplot Returns the highcharts boxplot. |
||
1214 | */ |
||
1215 | public function setColor($color) { |
||
1219 | |||
1220 | /** |
||
1221 | * Set the color by point. |
||
1222 | * |
||
1223 | * @param boolean $colorByPoint The color by point. |
||
1224 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBoxplot Returns the highcharts boxplot. |
||
1225 | */ |
||
1226 | public function setColorByPoint($colorByPoint) { |
||
1230 | |||
1231 | /** |
||
1232 | * Set the color index. |
||
1233 | * |
||
1234 | * @param integer $colorIndex The color index. |
||
1235 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBoxplot Returns the highcharts boxplot. |
||
1236 | */ |
||
1237 | public function setColorIndex($colorIndex) { |
||
1241 | |||
1242 | /** |
||
1243 | * Set the colors. |
||
1244 | * |
||
1245 | * @param array $colors The colors. |
||
1246 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBoxplot Returns the highcharts boxplot. |
||
1247 | */ |
||
1248 | public function setColors(array $colors = null) { |
||
1252 | |||
1253 | /** |
||
1254 | * Set the crisp. |
||
1255 | * |
||
1256 | * @param boolean $crisp The crisp. |
||
1257 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBoxplot Returns the highcharts boxplot. |
||
1258 | */ |
||
1259 | public function setCrisp($crisp) { |
||
1263 | |||
1264 | /** |
||
1265 | * Set the cursor. |
||
1266 | * |
||
1267 | * @param string $cursor The cursor. |
||
1268 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBoxplot Returns the highcharts boxplot. |
||
1269 | */ |
||
1270 | public function setCursor($cursor) { |
||
1283 | |||
1284 | /** |
||
1285 | * Set the depth. |
||
1286 | * |
||
1287 | * @param integer $depth The depth. |
||
1288 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBoxplot Returns the highcharts boxplot. |
||
1289 | */ |
||
1290 | public function setDepth($depth) { |
||
1294 | |||
1295 | /** |
||
1296 | * Set the description. |
||
1297 | * |
||
1298 | * @param string $description The description. |
||
1299 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBoxplot Returns the highcharts boxplot. |
||
1300 | */ |
||
1301 | public function setDescription($description) { |
||
1305 | |||
1306 | /** |
||
1307 | * Set the edge color. |
||
1308 | * |
||
1309 | * @param string $edgeColor The edge color. |
||
1310 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBoxplot Returns the highcharts boxplot. |
||
1311 | */ |
||
1312 | public function setEdgeColor($edgeColor) { |
||
1316 | |||
1317 | /** |
||
1318 | * Set the edge width. |
||
1319 | * |
||
1320 | * @param integer $edgeWidth The edge width. |
||
1321 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBoxplot Returns the highcharts boxplot. |
||
1322 | */ |
||
1323 | public function setEdgeWidth($edgeWidth) { |
||
1327 | |||
1328 | /** |
||
1329 | * Set the enable mouse tracking. |
||
1330 | * |
||
1331 | * @param boolean $enableMouseTracking The enable mouse tracking. |
||
1332 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBoxplot Returns the highcharts boxplot. |
||
1333 | */ |
||
1334 | public function setEnableMouseTracking($enableMouseTracking) { |
||
1338 | |||
1339 | /** |
||
1340 | * Set the events. |
||
1341 | * |
||
1342 | * @param \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Boxplot\HighchartsEvents $events The events. |
||
1343 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBoxplot Returns the highcharts boxplot. |
||
1344 | */ |
||
1345 | public function setEvents(\WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Boxplot\HighchartsEvents $events = null) { |
||
1349 | |||
1350 | /** |
||
1351 | * Set the expose element to a11y. |
||
1352 | * |
||
1353 | * @param boolean $exposeElementToA11y The expose element to a11y. |
||
1354 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBoxplot Returns the highcharts boxplot. |
||
1355 | */ |
||
1356 | public function setExposeElementToA11y($exposeElementToA11y) { |
||
1360 | |||
1361 | /** |
||
1362 | * Set the fill color. |
||
1363 | * |
||
1364 | * @param string $fillColor The fill color. |
||
1365 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBoxplot Returns the highcharts boxplot. |
||
1366 | */ |
||
1367 | public function setFillColor($fillColor) { |
||
1371 | |||
1372 | /** |
||
1373 | * Set the find nearest point by. |
||
1374 | * |
||
1375 | * @param string $findNearestPointBy The find nearest point by. |
||
1376 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBoxplot Returns the highcharts boxplot. |
||
1377 | */ |
||
1378 | public function setFindNearestPointBy($findNearestPointBy) { |
||
1387 | |||
1388 | /** |
||
1389 | * Set the get extremes from all. |
||
1390 | * |
||
1391 | * @param boolean $getExtremesFromAll The get extremes from all. |
||
1392 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBoxplot Returns the highcharts boxplot. |
||
1393 | */ |
||
1394 | public function setGetExtremesFromAll($getExtremesFromAll) { |
||
1398 | |||
1399 | /** |
||
1400 | * Set the group padding. |
||
1401 | * |
||
1402 | * @param integer $groupPadding The group padding. |
||
1403 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBoxplot Returns the highcharts boxplot. |
||
1404 | */ |
||
1405 | public function setGroupPadding($groupPadding) { |
||
1409 | |||
1410 | /** |
||
1411 | * Set the group z padding. |
||
1412 | * |
||
1413 | * @param integer $groupZPadding The group z padding. |
||
1414 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBoxplot Returns the highcharts boxplot. |
||
1415 | */ |
||
1416 | public function setGroupZPadding($groupZPadding) { |
||
1420 | |||
1421 | /** |
||
1422 | * Set the grouping. |
||
1423 | * |
||
1424 | * @param boolean $grouping The grouping. |
||
1425 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBoxplot Returns the highcharts boxplot. |
||
1426 | */ |
||
1427 | public function setGrouping($grouping) { |
||
1431 | |||
1432 | /** |
||
1433 | * Set the keys. |
||
1434 | * |
||
1435 | * @param array $keys The keys. |
||
1436 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBoxplot Returns the highcharts boxplot. |
||
1437 | */ |
||
1438 | public function setKeys(array $keys = null) { |
||
1442 | |||
1443 | /** |
||
1444 | * Set the line width. |
||
1445 | * |
||
1446 | * @param integer $lineWidth The line width. |
||
1447 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBoxplot Returns the highcharts boxplot. |
||
1448 | */ |
||
1449 | public function setLineWidth($lineWidth) { |
||
1453 | |||
1454 | /** |
||
1455 | * Set the linked to. |
||
1456 | * |
||
1457 | * @param string $linkedTo The linked to. |
||
1458 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBoxplot Returns the highcharts boxplot. |
||
1459 | */ |
||
1460 | public function setLinkedTo($linkedTo) { |
||
1464 | |||
1465 | /** |
||
1466 | * Set the max point width. |
||
1467 | * |
||
1468 | * @param integer $maxPointWidth The max point width. |
||
1469 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBoxplot Returns the highcharts boxplot. |
||
1470 | */ |
||
1471 | public function setMaxPointWidth($maxPointWidth) { |
||
1475 | |||
1476 | /** |
||
1477 | * Set the median color. |
||
1478 | * |
||
1479 | * @param string $medianColor The median color. |
||
1480 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBoxplot Returns the highcharts boxplot. |
||
1481 | */ |
||
1482 | public function setMedianColor($medianColor) { |
||
1486 | |||
1487 | /** |
||
1488 | * Set the median width. |
||
1489 | * |
||
1490 | * @param integer $medianWidth The median width. |
||
1491 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBoxplot Returns the highcharts boxplot. |
||
1492 | */ |
||
1493 | public function setMedianWidth($medianWidth) { |
||
1497 | |||
1498 | /** |
||
1499 | * Set the negative color. |
||
1500 | * |
||
1501 | * @param string $negativeColor The negative color. |
||
1502 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBoxplot Returns the highcharts boxplot. |
||
1503 | */ |
||
1504 | public function setNegativeColor($negativeColor) { |
||
1508 | |||
1509 | /** |
||
1510 | * Set the point. |
||
1511 | * |
||
1512 | * @param \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Boxplot\HighchartsPoint $point The point. |
||
1513 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBoxplot Returns the highcharts boxplot. |
||
1514 | */ |
||
1515 | public function setPoint(\WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Boxplot\HighchartsPoint $point = null) { |
||
1519 | |||
1520 | /** |
||
1521 | * Set the point description formatter. |
||
1522 | * |
||
1523 | * @param string $pointDescriptionFormatter The point description formatter. |
||
1524 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBoxplot Returns the highcharts boxplot. |
||
1525 | */ |
||
1526 | public function setPointDescriptionFormatter($pointDescriptionFormatter) { |
||
1530 | |||
1531 | /** |
||
1532 | * Set the point interval. |
||
1533 | * |
||
1534 | * @param integer $pointInterval The point interval. |
||
1535 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBoxplot Returns the highcharts boxplot. |
||
1536 | */ |
||
1537 | public function setPointInterval($pointInterval) { |
||
1541 | |||
1542 | /** |
||
1543 | * Set the point interval unit. |
||
1544 | * |
||
1545 | * @param string $pointIntervalUnit The point interval unit. |
||
1546 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBoxplot Returns the highcharts boxplot. |
||
1547 | */ |
||
1548 | public function setPointIntervalUnit($pointIntervalUnit) { |
||
1559 | |||
1560 | /** |
||
1561 | * Set the point padding. |
||
1562 | * |
||
1563 | * @param integer $pointPadding The point padding. |
||
1564 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBoxplot Returns the highcharts boxplot. |
||
1565 | */ |
||
1566 | public function setPointPadding($pointPadding) { |
||
1570 | |||
1571 | /** |
||
1572 | * Set the point placement. |
||
1573 | * |
||
1574 | * @param string|integer $pointPlacement The point placement. |
||
1575 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBoxplot Returns the highcharts boxplot. |
||
1576 | */ |
||
1577 | public function setPointPlacement($pointPlacement) { |
||
1587 | |||
1588 | /** |
||
1589 | * Set the point range. |
||
1590 | * |
||
1591 | * @param integer $pointRange The point range. |
||
1592 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBoxplot Returns the highcharts boxplot. |
||
1593 | */ |
||
1594 | public function setPointRange($pointRange) { |
||
1598 | |||
1599 | /** |
||
1600 | * Set the point start. |
||
1601 | * |
||
1602 | * @param integer $pointStart The point start. |
||
1603 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBoxplot Returns the highcharts boxplot. |
||
1604 | */ |
||
1605 | public function setPointStart($pointStart) { |
||
1609 | |||
1610 | /** |
||
1611 | * Set the point width. |
||
1612 | * |
||
1613 | * @param integer $pointWidth The point width. |
||
1614 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBoxplot Returns the highcharts boxplot. |
||
1615 | */ |
||
1616 | public function setPointWidth($pointWidth) { |
||
1620 | |||
1621 | /** |
||
1622 | * Set the selected. |
||
1623 | * |
||
1624 | * @param boolean $selected The selected. |
||
1625 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBoxplot Returns the highcharts boxplot. |
||
1626 | */ |
||
1627 | public function setSelected($selected) { |
||
1631 | |||
1632 | /** |
||
1633 | * Set the show checkbox. |
||
1634 | * |
||
1635 | * @param boolean $showCheckbox The show checkbox. |
||
1636 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBoxplot Returns the highcharts boxplot. |
||
1637 | */ |
||
1638 | public function setShowCheckbox($showCheckbox) { |
||
1642 | |||
1643 | /** |
||
1644 | * Set the show in legend. |
||
1645 | * |
||
1646 | * @param boolean $showInLegend The show in legend. |
||
1647 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBoxplot Returns the highcharts boxplot. |
||
1648 | */ |
||
1649 | public function setShowInLegend($showInLegend) { |
||
1653 | |||
1654 | /** |
||
1655 | * Set the skip keyboard navigation. |
||
1656 | * |
||
1657 | * @param boolean $skipKeyboardNavigation The skip keyboard navigation. |
||
1658 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBoxplot Returns the highcharts boxplot. |
||
1659 | */ |
||
1660 | public function setSkipKeyboardNavigation($skipKeyboardNavigation) { |
||
1664 | |||
1665 | /** |
||
1666 | * Set the states. |
||
1667 | * |
||
1668 | * @param \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Boxplot\HighchartsStates $states The states. |
||
1669 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBoxplot Returns the highcharts boxplot. |
||
1670 | */ |
||
1671 | public function setStates(\WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Boxplot\HighchartsStates $states = null) { |
||
1675 | |||
1676 | /** |
||
1677 | * Set the stem color. |
||
1678 | * |
||
1679 | * @param string $stemColor The stem color. |
||
1680 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBoxplot Returns the highcharts boxplot. |
||
1681 | */ |
||
1682 | public function setStemColor($stemColor) { |
||
1686 | |||
1687 | /** |
||
1688 | * Set the stem dash style. |
||
1689 | * |
||
1690 | * @param string $stemDashStyle The stem dash style. |
||
1691 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBoxplot Returns the highcharts boxplot. |
||
1692 | */ |
||
1693 | public function setStemDashStyle($stemDashStyle) { |
||
1711 | |||
1712 | /** |
||
1713 | * Set the stem width. |
||
1714 | * |
||
1715 | * @param integer $stemWidth The stem width. |
||
1716 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBoxplot Returns the highcharts boxplot. |
||
1717 | */ |
||
1718 | public function setStemWidth($stemWidth) { |
||
1722 | |||
1723 | /** |
||
1724 | * Set the sticky tracking. |
||
1725 | * |
||
1726 | * @param boolean $stickyTracking The sticky tracking. |
||
1727 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBoxplot Returns the highcharts boxplot. |
||
1728 | */ |
||
1729 | public function setStickyTracking($stickyTracking) { |
||
1733 | |||
1734 | /** |
||
1735 | * Set the tooltip. |
||
1736 | * |
||
1737 | * @param array $tooltip The tooltip. |
||
1738 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBoxplot Returns the highcharts boxplot. |
||
1739 | */ |
||
1740 | public function setTooltip(array $tooltip = null) { |
||
1744 | |||
1745 | /** |
||
1746 | * Set the turbo threshold. |
||
1747 | * |
||
1748 | * @param integer $turboThreshold The turbo threshold. |
||
1749 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBoxplot Returns the highcharts boxplot. |
||
1750 | */ |
||
1751 | public function setTurboThreshold($turboThreshold) { |
||
1755 | |||
1756 | /** |
||
1757 | * Set the visible. |
||
1758 | * |
||
1759 | * @param boolean $visible The visible. |
||
1760 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBoxplot Returns the highcharts boxplot. |
||
1761 | */ |
||
1762 | public function setVisible($visible) { |
||
1766 | |||
1767 | /** |
||
1768 | * Set the whisker color. |
||
1769 | * |
||
1770 | * @param string $whiskerColor The whisker color. |
||
1771 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBoxplot Returns the highcharts boxplot. |
||
1772 | */ |
||
1773 | public function setWhiskerColor($whiskerColor) { |
||
1777 | |||
1778 | /** |
||
1779 | * Set the whisker length. |
||
1780 | * |
||
1781 | * @param integer|string $whiskerLength The whisker length. |
||
1782 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBoxplot Returns the highcharts boxplot. |
||
1783 | */ |
||
1784 | public function setWhiskerLength($whiskerLength) { |
||
1788 | |||
1789 | /** |
||
1790 | * Set the whisker width. |
||
1791 | * |
||
1792 | * @param integer $whiskerWidth The whisker width. |
||
1793 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBoxplot Returns the highcharts boxplot. |
||
1794 | */ |
||
1795 | public function setWhiskerWidth($whiskerWidth) { |
||
1799 | |||
1800 | /** |
||
1801 | * Set the zone axis. |
||
1802 | * |
||
1803 | * @param string $zoneAxis The zone axis. |
||
1804 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBoxplot Returns the highcharts boxplot. |
||
1805 | */ |
||
1806 | public function setZoneAxis($zoneAxis) { |
||
1810 | |||
1811 | /** |
||
1812 | * Set the zones. |
||
1813 | * |
||
1814 | * @param array $zones The zones. |
||
1815 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsBoxplot Returns the highcharts boxplot. |
||
1816 | */ |
||
1817 | public function setZones(array $zones = null) { |
||
1821 | |||
1822 | /** |
||
1823 | * Convert into an array representing this instance. |
||
1824 | * |
||
1825 | * @return array Returns an array representing this instance. |
||
1826 | */ |
||
1827 | public function toArray() { |
||
2006 | |||
2007 | } |
||
2008 |
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..