Complex classes like HighchartsAreasplinerange 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 HighchartsAreasplinerange, and based on these observations, apply Extract Interface, too.
1 | <?php |
||
25 | final class HighchartsAreasplinerange implements JsonSerializable { |
||
26 | |||
27 | /** |
||
28 | * Allow point select. |
||
29 | * |
||
30 | * @var boolean |
||
31 | * @since 1.2.0 |
||
32 | */ |
||
33 | private $allowPointSelect = false; |
||
34 | |||
35 | /** |
||
36 | * Animation. |
||
37 | * |
||
38 | * @var boolean |
||
39 | */ |
||
40 | private $animation = true; |
||
41 | |||
42 | /** |
||
43 | * Animation limit. |
||
44 | * |
||
45 | * @var integer |
||
46 | */ |
||
47 | private $animationLimit; |
||
48 | |||
49 | /** |
||
50 | * Class name. |
||
51 | * |
||
52 | * @var string |
||
53 | * @since 5.0.0 |
||
54 | */ |
||
55 | private $className; |
||
56 | |||
57 | /** |
||
58 | * Color. |
||
59 | * |
||
60 | * @var string |
||
61 | */ |
||
62 | private $color; |
||
63 | |||
64 | /** |
||
65 | * Color index. |
||
66 | * |
||
67 | * @var integer |
||
68 | * @since 5.0.0 |
||
69 | */ |
||
70 | private $colorIndex; |
||
71 | |||
72 | /** |
||
73 | * Connect nulls. |
||
74 | * |
||
75 | * @var boolean |
||
76 | */ |
||
77 | private $connectNulls = false; |
||
78 | |||
79 | /** |
||
80 | * Crop threshold. |
||
81 | * |
||
82 | * @var integer |
||
83 | * @since 2.2 |
||
84 | */ |
||
85 | private $cropThreshold = 300; |
||
86 | |||
87 | /** |
||
88 | * Cursor. |
||
89 | * |
||
90 | * @var string |
||
91 | */ |
||
92 | private $cursor; |
||
93 | |||
94 | /** |
||
95 | * Dash style. |
||
96 | * |
||
97 | * @var string |
||
98 | * @since 2.1 |
||
99 | */ |
||
100 | private $dashStyle = "Solid"; |
||
101 | |||
102 | /** |
||
103 | * Data. |
||
104 | * |
||
105 | * @var array |
||
106 | */ |
||
107 | private $data; |
||
108 | |||
109 | /** |
||
110 | * Data labels. |
||
111 | * |
||
112 | * @var array |
||
113 | * @since 2.3.0 |
||
114 | */ |
||
115 | private $dataLabels; |
||
116 | |||
117 | /** |
||
118 | * Description. |
||
119 | * |
||
120 | * @var string |
||
121 | * @since 5.0.0 |
||
122 | */ |
||
123 | private $description; |
||
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\Areasplinerange\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 | * Fill color. |
||
149 | * |
||
150 | * @var string |
||
151 | */ |
||
152 | private $fillColor; |
||
153 | |||
154 | /** |
||
155 | * Fill opacity. |
||
156 | * |
||
157 | * @var integer |
||
158 | */ |
||
159 | private $fillOpacity = 0.75; |
||
160 | |||
161 | /** |
||
162 | * Find nearest point by. |
||
163 | * |
||
164 | * @var string |
||
165 | * @since 5.0.10 |
||
166 | */ |
||
167 | private $findNearestPointBy; |
||
168 | |||
169 | /** |
||
170 | * Get extremes from all. |
||
171 | * |
||
172 | * @var boolean |
||
173 | * @since 4.1.6 |
||
174 | */ |
||
175 | private $getExtremesFromAll = false; |
||
176 | |||
177 | /** |
||
178 | * Id. |
||
179 | * |
||
180 | * @var string |
||
181 | * @since 1.2.0 |
||
182 | */ |
||
183 | private $id; |
||
184 | |||
185 | /** |
||
186 | * Index. |
||
187 | * |
||
188 | * @var integer |
||
189 | * @since 2.3.0 |
||
190 | */ |
||
191 | private $index; |
||
192 | |||
193 | /** |
||
194 | * Keys. |
||
195 | * |
||
196 | * @var array |
||
197 | * @since 4.1.6 |
||
198 | */ |
||
199 | private $keys; |
||
200 | |||
201 | /** |
||
202 | * Legend index. |
||
203 | * |
||
204 | * @var integer |
||
205 | */ |
||
206 | private $legendIndex; |
||
207 | |||
208 | /** |
||
209 | * Line color. |
||
210 | * |
||
211 | * @var string |
||
212 | */ |
||
213 | private $lineColor; |
||
214 | |||
215 | /** |
||
216 | * Line width. |
||
217 | * |
||
218 | * @var integer |
||
219 | * @since 2.3.0 |
||
220 | */ |
||
221 | private $lineWidth = 1; |
||
222 | |||
223 | /** |
||
224 | * Linecap. |
||
225 | * |
||
226 | * @var string |
||
227 | */ |
||
228 | private $linecap = "round"; |
||
229 | |||
230 | /** |
||
231 | * Linked to. |
||
232 | * |
||
233 | * @var string |
||
234 | * @since 3.0 |
||
235 | */ |
||
236 | private $linkedTo; |
||
237 | |||
238 | /** |
||
239 | * Name. |
||
240 | * |
||
241 | * @var string |
||
242 | */ |
||
243 | private $name; |
||
244 | |||
245 | /** |
||
246 | * Negative color. |
||
247 | * |
||
248 | * @var string |
||
249 | * @since 3.0 |
||
250 | */ |
||
251 | private $negativeColor; |
||
252 | |||
253 | /** |
||
254 | * Negative fill color. |
||
255 | * |
||
256 | * @var string |
||
257 | * @since 3.0 |
||
258 | */ |
||
259 | private $negativeFillColor; |
||
260 | |||
261 | /** |
||
262 | * Point. |
||
263 | * |
||
264 | * @var \WBW\Bundle\HighchartsBundle\API\Chart\Series\Areasplinerange\HighchartsPoint |
||
265 | */ |
||
266 | private $point; |
||
267 | |||
268 | /** |
||
269 | * Point description formatter. |
||
270 | * |
||
271 | * @var string |
||
272 | * @since 5.0.12 |
||
273 | */ |
||
274 | private $pointDescriptionFormatter; |
||
275 | |||
276 | /** |
||
277 | * Point interval. |
||
278 | * |
||
279 | * @var integer |
||
280 | */ |
||
281 | private $pointInterval = 1; |
||
282 | |||
283 | /** |
||
284 | * Point interval unit. |
||
285 | * |
||
286 | * @var string |
||
287 | * @since 4.1.0 |
||
288 | */ |
||
289 | private $pointIntervalUnit; |
||
290 | |||
291 | /** |
||
292 | * Point placement. |
||
293 | * |
||
294 | * @var string|integer |
||
295 | * @since 2.3.0 |
||
296 | */ |
||
297 | private $pointPlacement; |
||
298 | |||
299 | /** |
||
300 | * Point start. |
||
301 | * |
||
302 | * @var integer |
||
303 | */ |
||
304 | private $pointStart = 0; |
||
305 | |||
306 | /** |
||
307 | * Selected. |
||
308 | * |
||
309 | * @var boolean |
||
310 | * @since 1.2.0 |
||
311 | */ |
||
312 | private $selected = false; |
||
313 | |||
314 | /** |
||
315 | * Shadow. |
||
316 | * |
||
317 | * @var boolean|array |
||
318 | */ |
||
319 | private $shadow = false; |
||
320 | |||
321 | /** |
||
322 | * Show checkbox. |
||
323 | * |
||
324 | * @var boolean |
||
325 | * @since 1.2.0 |
||
326 | */ |
||
327 | private $showCheckbox = false; |
||
328 | |||
329 | /** |
||
330 | * Show in legend. |
||
331 | * |
||
332 | * @var boolean |
||
333 | */ |
||
334 | private $showInLegend = true; |
||
335 | |||
336 | /** |
||
337 | * Skip keyboard navigation. |
||
338 | * |
||
339 | * @var boolean |
||
340 | * @since 5.0.12 |
||
341 | */ |
||
342 | private $skipKeyboardNavigation; |
||
343 | |||
344 | /** |
||
345 | * States. |
||
346 | * |
||
347 | * @var \WBW\Bundle\HighchartsBundle\API\Chart\Series\Areasplinerange\HighchartsStates |
||
348 | */ |
||
349 | private $states; |
||
350 | |||
351 | /** |
||
352 | * Sticky tracking. |
||
353 | * |
||
354 | * @var boolean |
||
355 | * @since 2.0 |
||
356 | */ |
||
357 | private $stickyTracking = true; |
||
358 | |||
359 | /** |
||
360 | * Tooltip. |
||
361 | * |
||
362 | * @var array |
||
363 | * @since 2.3 |
||
364 | */ |
||
365 | private $tooltip; |
||
366 | |||
367 | /** |
||
368 | * Track by area. |
||
369 | * |
||
370 | * @var boolean |
||
371 | * @since 2.3.0 |
||
372 | */ |
||
373 | private $trackByArea = true; |
||
374 | |||
375 | /** |
||
376 | * Turbo threshold. |
||
377 | * |
||
378 | * @var integer |
||
379 | * @since 2.2 |
||
380 | */ |
||
381 | private $turboThreshold = 1000; |
||
382 | |||
383 | /** |
||
384 | * Type. |
||
385 | * |
||
386 | * @var string |
||
387 | */ |
||
388 | private $type; |
||
389 | |||
390 | /** |
||
391 | * Visible. |
||
392 | * |
||
393 | * @var boolean |
||
394 | */ |
||
395 | private $visible = true; |
||
396 | |||
397 | /** |
||
398 | * X axis. |
||
399 | * |
||
400 | * @var integer|string |
||
401 | */ |
||
402 | private $xAxis = "0"; |
||
403 | |||
404 | /** |
||
405 | * Y axis. |
||
406 | * |
||
407 | * @var integer|string |
||
408 | */ |
||
409 | private $yAxis = "0"; |
||
410 | |||
411 | /** |
||
412 | * Z index. |
||
413 | * |
||
414 | * @var integer |
||
415 | */ |
||
416 | private $zIndex; |
||
417 | |||
418 | /** |
||
419 | * Zone axis. |
||
420 | * |
||
421 | * @var string |
||
422 | * @since 4.1.0 |
||
423 | */ |
||
424 | private $zoneAxis = "y"; |
||
425 | |||
426 | /** |
||
427 | * Zones. |
||
428 | * |
||
429 | * @var array |
||
430 | * @since 4.1.0 |
||
431 | */ |
||
432 | private $zones; |
||
433 | |||
434 | /** |
||
435 | * Constructor. |
||
436 | * |
||
437 | * @param boolean $ignoreDefaultValues Ignore the default values. |
||
438 | */ |
||
439 | public function __construct($ignoreDefaultValues = true) { |
||
444 | |||
445 | /** |
||
446 | * Clear. |
||
447 | * |
||
448 | * @return void |
||
449 | */ |
||
450 | public function clear() { |
||
620 | |||
621 | /** |
||
622 | * Get the allow point select. |
||
623 | * |
||
624 | * @return boolean Returns the allow point select. |
||
625 | */ |
||
626 | public function getAllowPointSelect() { |
||
629 | |||
630 | /** |
||
631 | * Get the animation. |
||
632 | * |
||
633 | * @return boolean Returns the animation. |
||
634 | */ |
||
635 | public function getAnimation() { |
||
638 | |||
639 | /** |
||
640 | * Get the animation limit. |
||
641 | * |
||
642 | * @return integer Returns the animation limit. |
||
643 | */ |
||
644 | public function getAnimationLimit() { |
||
647 | |||
648 | /** |
||
649 | * Get the class name. |
||
650 | * |
||
651 | * @return string Returns the class name. |
||
652 | */ |
||
653 | public function getClassName() { |
||
656 | |||
657 | /** |
||
658 | * Get the color. |
||
659 | * |
||
660 | * @return string Returns the color. |
||
661 | */ |
||
662 | public function getColor() { |
||
665 | |||
666 | /** |
||
667 | * Get the color index. |
||
668 | * |
||
669 | * @return integer Returns the color index. |
||
670 | */ |
||
671 | public function getColorIndex() { |
||
674 | |||
675 | /** |
||
676 | * Get the connect nulls. |
||
677 | * |
||
678 | * @return boolean Returns the connect nulls. |
||
679 | */ |
||
680 | public function getConnectNulls() { |
||
683 | |||
684 | /** |
||
685 | * Get the crop threshold. |
||
686 | * |
||
687 | * @return integer Returns the crop threshold. |
||
688 | */ |
||
689 | public function getCropThreshold() { |
||
692 | |||
693 | /** |
||
694 | * Get the cursor. |
||
695 | * |
||
696 | * @return string Returns the cursor. |
||
697 | */ |
||
698 | public function getCursor() { |
||
701 | |||
702 | /** |
||
703 | * Get the dash style. |
||
704 | * |
||
705 | * @return string Returns the dash style. |
||
706 | */ |
||
707 | public function getDashStyle() { |
||
710 | |||
711 | /** |
||
712 | * Get the data. |
||
713 | * |
||
714 | * @return array Returns the data. |
||
715 | */ |
||
716 | public function getData() { |
||
719 | |||
720 | /** |
||
721 | * Get the data labels. |
||
722 | * |
||
723 | * @return array Returns the data labels. |
||
724 | */ |
||
725 | public function getDataLabels() { |
||
728 | |||
729 | /** |
||
730 | * Get the description. |
||
731 | * |
||
732 | * @return string Returns the description. |
||
733 | */ |
||
734 | public function getDescription() { |
||
737 | |||
738 | /** |
||
739 | * Get the enable mouse tracking. |
||
740 | * |
||
741 | * @return boolean Returns the enable mouse tracking. |
||
742 | */ |
||
743 | public function getEnableMouseTracking() { |
||
746 | |||
747 | /** |
||
748 | * Get the events. |
||
749 | * |
||
750 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\Areasplinerange\HighchartsEvents Returns the events. |
||
751 | */ |
||
752 | public function getEvents() { |
||
755 | |||
756 | /** |
||
757 | * Get the expose element to a11y. |
||
758 | * |
||
759 | * @return boolean Returns the expose element to a11y. |
||
760 | */ |
||
761 | public function getExposeElementToA11y() { |
||
764 | |||
765 | /** |
||
766 | * Get the fill color. |
||
767 | * |
||
768 | * @return string Returns the fill color. |
||
769 | */ |
||
770 | public function getFillColor() { |
||
773 | |||
774 | /** |
||
775 | * Get the fill opacity. |
||
776 | * |
||
777 | * @return integer Returns the fill opacity. |
||
778 | */ |
||
779 | public function getFillOpacity() { |
||
782 | |||
783 | /** |
||
784 | * Get the find nearest point by. |
||
785 | * |
||
786 | * @return string Returns the find nearest point by. |
||
787 | */ |
||
788 | public function getFindNearestPointBy() { |
||
791 | |||
792 | /** |
||
793 | * Get the get extremes from all. |
||
794 | * |
||
795 | * @return boolean Returns the get extremes from all. |
||
796 | */ |
||
797 | public function getGetExtremesFromAll() { |
||
800 | |||
801 | /** |
||
802 | * Get the id. |
||
803 | * |
||
804 | * @return string Returns the id. |
||
805 | */ |
||
806 | public function getId() { |
||
809 | |||
810 | /** |
||
811 | * Get the index. |
||
812 | * |
||
813 | * @return integer Returns the index. |
||
814 | */ |
||
815 | public function getIndex() { |
||
818 | |||
819 | /** |
||
820 | * Get the keys. |
||
821 | * |
||
822 | * @return array Returns the keys. |
||
823 | */ |
||
824 | public function getKeys() { |
||
827 | |||
828 | /** |
||
829 | * Get the legend index. |
||
830 | * |
||
831 | * @return integer Returns the legend index. |
||
832 | */ |
||
833 | public function getLegendIndex() { |
||
836 | |||
837 | /** |
||
838 | * Get the line color. |
||
839 | * |
||
840 | * @return string Returns the line color. |
||
841 | */ |
||
842 | public function getLineColor() { |
||
845 | |||
846 | /** |
||
847 | * Get the line width. |
||
848 | * |
||
849 | * @return integer Returns the line width. |
||
850 | */ |
||
851 | public function getLineWidth() { |
||
854 | |||
855 | /** |
||
856 | * Get the linecap. |
||
857 | * |
||
858 | * @return string Returns the linecap. |
||
859 | */ |
||
860 | public function getLinecap() { |
||
863 | |||
864 | /** |
||
865 | * Get the linked to. |
||
866 | * |
||
867 | * @return string Returns the linked to. |
||
868 | */ |
||
869 | public function getLinkedTo() { |
||
872 | |||
873 | /** |
||
874 | * Get the name. |
||
875 | * |
||
876 | * @return string Returns the name. |
||
877 | */ |
||
878 | public function getName() { |
||
881 | |||
882 | /** |
||
883 | * Get the negative color. |
||
884 | * |
||
885 | * @return string Returns the negative color. |
||
886 | */ |
||
887 | public function getNegativeColor() { |
||
890 | |||
891 | /** |
||
892 | * Get the negative fill color. |
||
893 | * |
||
894 | * @return string Returns the negative fill color. |
||
895 | */ |
||
896 | public function getNegativeFillColor() { |
||
899 | |||
900 | /** |
||
901 | * Get the point. |
||
902 | * |
||
903 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\Areasplinerange\HighchartsPoint Returns the point. |
||
904 | */ |
||
905 | public function getPoint() { |
||
908 | |||
909 | /** |
||
910 | * Get the point description formatter. |
||
911 | * |
||
912 | * @return string Returns the point description formatter. |
||
913 | */ |
||
914 | public function getPointDescriptionFormatter() { |
||
917 | |||
918 | /** |
||
919 | * Get the point interval. |
||
920 | * |
||
921 | * @return integer Returns the point interval. |
||
922 | */ |
||
923 | public function getPointInterval() { |
||
926 | |||
927 | /** |
||
928 | * Get the point interval unit. |
||
929 | * |
||
930 | * @return string Returns the point interval unit. |
||
931 | */ |
||
932 | public function getPointIntervalUnit() { |
||
935 | |||
936 | /** |
||
937 | * Get the point placement. |
||
938 | * |
||
939 | * @return string|integer Returns the point placement. |
||
940 | */ |
||
941 | public function getPointPlacement() { |
||
944 | |||
945 | /** |
||
946 | * Get the point start. |
||
947 | * |
||
948 | * @return integer Returns the point start. |
||
949 | */ |
||
950 | public function getPointStart() { |
||
953 | |||
954 | /** |
||
955 | * Get the selected. |
||
956 | * |
||
957 | * @return boolean Returns the selected. |
||
958 | */ |
||
959 | public function getSelected() { |
||
962 | |||
963 | /** |
||
964 | * Get the shadow. |
||
965 | * |
||
966 | * @return boolean|array Returns the shadow. |
||
967 | */ |
||
968 | public function getShadow() { |
||
971 | |||
972 | /** |
||
973 | * Get the show checkbox. |
||
974 | * |
||
975 | * @return boolean Returns the show checkbox. |
||
976 | */ |
||
977 | public function getShowCheckbox() { |
||
980 | |||
981 | /** |
||
982 | * Get the show in legend. |
||
983 | * |
||
984 | * @return boolean Returns the show in legend. |
||
985 | */ |
||
986 | public function getShowInLegend() { |
||
989 | |||
990 | /** |
||
991 | * Get the skip keyboard navigation. |
||
992 | * |
||
993 | * @return boolean Returns the skip keyboard navigation. |
||
994 | */ |
||
995 | public function getSkipKeyboardNavigation() { |
||
998 | |||
999 | /** |
||
1000 | * Get the states. |
||
1001 | * |
||
1002 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\Areasplinerange\HighchartsStates Returns the states. |
||
1003 | */ |
||
1004 | public function getStates() { |
||
1007 | |||
1008 | /** |
||
1009 | * Get the sticky tracking. |
||
1010 | * |
||
1011 | * @return boolean Returns the sticky tracking. |
||
1012 | */ |
||
1013 | public function getStickyTracking() { |
||
1016 | |||
1017 | /** |
||
1018 | * Get the tooltip. |
||
1019 | * |
||
1020 | * @return array Returns the tooltip. |
||
1021 | */ |
||
1022 | public function getTooltip() { |
||
1025 | |||
1026 | /** |
||
1027 | * Get the track by area. |
||
1028 | * |
||
1029 | * @return boolean Returns the track by area. |
||
1030 | */ |
||
1031 | public function getTrackByArea() { |
||
1034 | |||
1035 | /** |
||
1036 | * Get the turbo threshold. |
||
1037 | * |
||
1038 | * @return integer Returns the turbo threshold. |
||
1039 | */ |
||
1040 | public function getTurboThreshold() { |
||
1043 | |||
1044 | /** |
||
1045 | * Get the type. |
||
1046 | * |
||
1047 | * @return string Returns the type. |
||
1048 | */ |
||
1049 | public function getType() { |
||
1052 | |||
1053 | /** |
||
1054 | * Get the visible. |
||
1055 | * |
||
1056 | * @return boolean Returns the visible. |
||
1057 | */ |
||
1058 | public function getVisible() { |
||
1061 | |||
1062 | /** |
||
1063 | * Get the x axis. |
||
1064 | * |
||
1065 | * @return integer|string Returns the x axis. |
||
1066 | */ |
||
1067 | public function getXAxis() { |
||
1070 | |||
1071 | /** |
||
1072 | * Get the y axis. |
||
1073 | * |
||
1074 | * @return integer|string Returns the y axis. |
||
1075 | */ |
||
1076 | public function getYAxis() { |
||
1079 | |||
1080 | /** |
||
1081 | * Get the z index. |
||
1082 | * |
||
1083 | * @return integer Returns the z index. |
||
1084 | */ |
||
1085 | public function getZIndex() { |
||
1088 | |||
1089 | /** |
||
1090 | * Get the zone axis. |
||
1091 | * |
||
1092 | * @return string Returns the zone axis. |
||
1093 | */ |
||
1094 | public function getZoneAxis() { |
||
1097 | |||
1098 | /** |
||
1099 | * Get the zones. |
||
1100 | * |
||
1101 | * @return array Returns the zones. |
||
1102 | */ |
||
1103 | public function getZones() { |
||
1106 | |||
1107 | /** |
||
1108 | * Serialize this instance. |
||
1109 | * |
||
1110 | * @return array Returns an array representing this instance. |
||
1111 | */ |
||
1112 | public function jsonSerialize() { |
||
1115 | |||
1116 | /** |
||
1117 | * Create a new events. |
||
1118 | * |
||
1119 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\Areasplinerange\HighchartsEvents Returns the events. |
||
1120 | */ |
||
1121 | public function newEvents() { |
||
1125 | |||
1126 | /** |
||
1127 | * Create a new point. |
||
1128 | * |
||
1129 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\Areasplinerange\HighchartsPoint Returns the point. |
||
1130 | */ |
||
1131 | public function newPoint() { |
||
1135 | |||
1136 | /** |
||
1137 | * Create a new states. |
||
1138 | * |
||
1139 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\Areasplinerange\HighchartsStates Returns the states. |
||
1140 | */ |
||
1141 | public function newStates() { |
||
1145 | |||
1146 | /** |
||
1147 | * Set the allow point select. |
||
1148 | * |
||
1149 | * @param boolean $allowPointSelect The allow point select. |
||
1150 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsAreasplinerange Returns the highcharts areasplinerange. |
||
1151 | */ |
||
1152 | public function setAllowPointSelect($allowPointSelect) { |
||
1156 | |||
1157 | /** |
||
1158 | * Set the animation. |
||
1159 | * |
||
1160 | * @param boolean $animation The animation. |
||
1161 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsAreasplinerange Returns the highcharts areasplinerange. |
||
1162 | */ |
||
1163 | public function setAnimation($animation) { |
||
1167 | |||
1168 | /** |
||
1169 | * Set the animation limit. |
||
1170 | * |
||
1171 | * @param integer $animationLimit The animation limit. |
||
1172 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsAreasplinerange Returns the highcharts areasplinerange. |
||
1173 | */ |
||
1174 | public function setAnimationLimit($animationLimit) { |
||
1178 | |||
1179 | /** |
||
1180 | * Set the class name. |
||
1181 | * |
||
1182 | * @param string $className The class name. |
||
1183 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsAreasplinerange Returns the highcharts areasplinerange. |
||
1184 | */ |
||
1185 | public function setClassName($className) { |
||
1189 | |||
1190 | /** |
||
1191 | * Set the color. |
||
1192 | * |
||
1193 | * @param string $color The color. |
||
1194 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsAreasplinerange Returns the highcharts areasplinerange. |
||
1195 | */ |
||
1196 | public function setColor($color) { |
||
1200 | |||
1201 | /** |
||
1202 | * Set the color index. |
||
1203 | * |
||
1204 | * @param integer $colorIndex The color index. |
||
1205 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsAreasplinerange Returns the highcharts areasplinerange. |
||
1206 | */ |
||
1207 | public function setColorIndex($colorIndex) { |
||
1211 | |||
1212 | /** |
||
1213 | * Set the connect nulls. |
||
1214 | * |
||
1215 | * @param boolean $connectNulls The connect nulls. |
||
1216 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsAreasplinerange Returns the highcharts areasplinerange. |
||
1217 | */ |
||
1218 | public function setConnectNulls($connectNulls) { |
||
1222 | |||
1223 | /** |
||
1224 | * Set the crop threshold. |
||
1225 | * |
||
1226 | * @param integer $cropThreshold The crop threshold. |
||
1227 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsAreasplinerange Returns the highcharts areasplinerange. |
||
1228 | */ |
||
1229 | public function setCropThreshold($cropThreshold) { |
||
1233 | |||
1234 | /** |
||
1235 | * Set the cursor. |
||
1236 | * |
||
1237 | * @param string $cursor The cursor. |
||
1238 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsAreasplinerange Returns the highcharts areasplinerange. |
||
1239 | */ |
||
1240 | public function setCursor($cursor) { |
||
1253 | |||
1254 | /** |
||
1255 | * Set the dash style. |
||
1256 | * |
||
1257 | * @param string $dashStyle The dash style. |
||
1258 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsAreasplinerange Returns the highcharts areasplinerange. |
||
1259 | */ |
||
1260 | public function setDashStyle($dashStyle) { |
||
1278 | |||
1279 | /** |
||
1280 | * Set the data. |
||
1281 | * |
||
1282 | * @param array $data The data. |
||
1283 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsAreasplinerange Returns the highcharts areasplinerange. |
||
1284 | */ |
||
1285 | public function setData(array $data = null) { |
||
1289 | |||
1290 | /** |
||
1291 | * Set the data labels. |
||
1292 | * |
||
1293 | * @param array $dataLabels The data labels. |
||
1294 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsAreasplinerange Returns the highcharts areasplinerange. |
||
1295 | */ |
||
1296 | public function setDataLabels(array $dataLabels = null) { |
||
1300 | |||
1301 | /** |
||
1302 | * Set the description. |
||
1303 | * |
||
1304 | * @param string $description The description. |
||
1305 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsAreasplinerange Returns the highcharts areasplinerange. |
||
1306 | */ |
||
1307 | public function setDescription($description) { |
||
1311 | |||
1312 | /** |
||
1313 | * Set the enable mouse tracking. |
||
1314 | * |
||
1315 | * @param boolean $enableMouseTracking The enable mouse tracking. |
||
1316 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsAreasplinerange Returns the highcharts areasplinerange. |
||
1317 | */ |
||
1318 | public function setEnableMouseTracking($enableMouseTracking) { |
||
1322 | |||
1323 | /** |
||
1324 | * Set the events. |
||
1325 | * |
||
1326 | * @param \WBW\Bundle\HighchartsBundle\API\Chart\Series\Areasplinerange\HighchartsEvents $events The events. |
||
1327 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsAreasplinerange Returns the highcharts areasplinerange. |
||
1328 | */ |
||
1329 | public function setEvents(\WBW\Bundle\HighchartsBundle\API\Chart\Series\Areasplinerange\HighchartsEvents $events = null) { |
||
1333 | |||
1334 | /** |
||
1335 | * Set the expose element to a11y. |
||
1336 | * |
||
1337 | * @param boolean $exposeElementToA11y The expose element to a11y. |
||
1338 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsAreasplinerange Returns the highcharts areasplinerange. |
||
1339 | */ |
||
1340 | public function setExposeElementToA11y($exposeElementToA11y) { |
||
1344 | |||
1345 | /** |
||
1346 | * Set the fill color. |
||
1347 | * |
||
1348 | * @param string $fillColor The fill color. |
||
1349 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsAreasplinerange Returns the highcharts areasplinerange. |
||
1350 | */ |
||
1351 | public function setFillColor($fillColor) { |
||
1355 | |||
1356 | /** |
||
1357 | * Set the fill opacity. |
||
1358 | * |
||
1359 | * @param integer $fillOpacity The fill opacity. |
||
1360 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsAreasplinerange Returns the highcharts areasplinerange. |
||
1361 | */ |
||
1362 | public function setFillOpacity($fillOpacity) { |
||
1366 | |||
1367 | /** |
||
1368 | * Set the find nearest point by. |
||
1369 | * |
||
1370 | * @param string $findNearestPointBy The find nearest point by. |
||
1371 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsAreasplinerange Returns the highcharts areasplinerange. |
||
1372 | */ |
||
1373 | public function setFindNearestPointBy($findNearestPointBy) { |
||
1382 | |||
1383 | /** |
||
1384 | * Set the get extremes from all. |
||
1385 | * |
||
1386 | * @param boolean $getExtremesFromAll The get extremes from all. |
||
1387 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsAreasplinerange Returns the highcharts areasplinerange. |
||
1388 | */ |
||
1389 | public function setGetExtremesFromAll($getExtremesFromAll) { |
||
1393 | |||
1394 | /** |
||
1395 | * Set the id. |
||
1396 | * |
||
1397 | * @param string $id The id. |
||
1398 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsAreasplinerange Returns the highcharts areasplinerange. |
||
1399 | */ |
||
1400 | public function setId($id) { |
||
1404 | |||
1405 | /** |
||
1406 | * Set the index. |
||
1407 | * |
||
1408 | * @param integer $index The index. |
||
1409 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsAreasplinerange Returns the highcharts areasplinerange. |
||
1410 | */ |
||
1411 | public function setIndex($index) { |
||
1415 | |||
1416 | /** |
||
1417 | * Set the keys. |
||
1418 | * |
||
1419 | * @param array $keys The keys. |
||
1420 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsAreasplinerange Returns the highcharts areasplinerange. |
||
1421 | */ |
||
1422 | public function setKeys(array $keys = null) { |
||
1426 | |||
1427 | /** |
||
1428 | * Set the legend index. |
||
1429 | * |
||
1430 | * @param integer $legendIndex The legend index. |
||
1431 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsAreasplinerange Returns the highcharts areasplinerange. |
||
1432 | */ |
||
1433 | public function setLegendIndex($legendIndex) { |
||
1437 | |||
1438 | /** |
||
1439 | * Set the line color. |
||
1440 | * |
||
1441 | * @param string $lineColor The line color. |
||
1442 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsAreasplinerange Returns the highcharts areasplinerange. |
||
1443 | */ |
||
1444 | public function setLineColor($lineColor) { |
||
1448 | |||
1449 | /** |
||
1450 | * Set the line width. |
||
1451 | * |
||
1452 | * @param integer $lineWidth The line width. |
||
1453 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsAreasplinerange Returns the highcharts areasplinerange. |
||
1454 | */ |
||
1455 | public function setLineWidth($lineWidth) { |
||
1459 | |||
1460 | /** |
||
1461 | * Set the linecap. |
||
1462 | * |
||
1463 | * @param string $linecap The linecap. |
||
1464 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsAreasplinerange Returns the highcharts areasplinerange. |
||
1465 | */ |
||
1466 | public function setLinecap($linecap) { |
||
1475 | |||
1476 | /** |
||
1477 | * Set the linked to. |
||
1478 | * |
||
1479 | * @param string $linkedTo The linked to. |
||
1480 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsAreasplinerange Returns the highcharts areasplinerange. |
||
1481 | */ |
||
1482 | public function setLinkedTo($linkedTo) { |
||
1486 | |||
1487 | /** |
||
1488 | * Set the name. |
||
1489 | * |
||
1490 | * @param string $name The name. |
||
1491 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsAreasplinerange Returns the highcharts areasplinerange. |
||
1492 | */ |
||
1493 | public function setName($name) { |
||
1497 | |||
1498 | /** |
||
1499 | * Set the negative color. |
||
1500 | * |
||
1501 | * @param string $negativeColor The negative color. |
||
1502 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsAreasplinerange Returns the highcharts areasplinerange. |
||
1503 | */ |
||
1504 | public function setNegativeColor($negativeColor) { |
||
1508 | |||
1509 | /** |
||
1510 | * Set the negative fill color. |
||
1511 | * |
||
1512 | * @param string $negativeFillColor The negative fill color. |
||
1513 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsAreasplinerange Returns the highcharts areasplinerange. |
||
1514 | */ |
||
1515 | public function setNegativeFillColor($negativeFillColor) { |
||
1519 | |||
1520 | /** |
||
1521 | * Set the point. |
||
1522 | * |
||
1523 | * @param \WBW\Bundle\HighchartsBundle\API\Chart\Series\Areasplinerange\HighchartsPoint $point The point. |
||
1524 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsAreasplinerange Returns the highcharts areasplinerange. |
||
1525 | */ |
||
1526 | public function setPoint(\WBW\Bundle\HighchartsBundle\API\Chart\Series\Areasplinerange\HighchartsPoint $point = null) { |
||
1530 | |||
1531 | /** |
||
1532 | * Set the point description formatter. |
||
1533 | * |
||
1534 | * @param string $pointDescriptionFormatter The point description formatter. |
||
1535 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsAreasplinerange Returns the highcharts areasplinerange. |
||
1536 | */ |
||
1537 | public function setPointDescriptionFormatter($pointDescriptionFormatter) { |
||
1541 | |||
1542 | /** |
||
1543 | * Set the point interval. |
||
1544 | * |
||
1545 | * @param integer $pointInterval The point interval. |
||
1546 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsAreasplinerange Returns the highcharts areasplinerange. |
||
1547 | */ |
||
1548 | public function setPointInterval($pointInterval) { |
||
1552 | |||
1553 | /** |
||
1554 | * Set the point interval unit. |
||
1555 | * |
||
1556 | * @param string $pointIntervalUnit The point interval unit. |
||
1557 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsAreasplinerange Returns the highcharts areasplinerange. |
||
1558 | */ |
||
1559 | public function setPointIntervalUnit($pointIntervalUnit) { |
||
1570 | |||
1571 | /** |
||
1572 | * Set the point placement. |
||
1573 | * |
||
1574 | * @param string|integer $pointPlacement The point placement. |
||
1575 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsAreasplinerange Returns the highcharts areasplinerange. |
||
1576 | */ |
||
1577 | public function setPointPlacement($pointPlacement) { |
||
1587 | |||
1588 | /** |
||
1589 | * Set the point start. |
||
1590 | * |
||
1591 | * @param integer $pointStart The point start. |
||
1592 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsAreasplinerange Returns the highcharts areasplinerange. |
||
1593 | */ |
||
1594 | public function setPointStart($pointStart) { |
||
1598 | |||
1599 | /** |
||
1600 | * Set the selected. |
||
1601 | * |
||
1602 | * @param boolean $selected The selected. |
||
1603 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsAreasplinerange Returns the highcharts areasplinerange. |
||
1604 | */ |
||
1605 | public function setSelected($selected) { |
||
1609 | |||
1610 | /** |
||
1611 | * Set the shadow. |
||
1612 | * |
||
1613 | * @param boolean|array $shadow The shadow. |
||
1614 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsAreasplinerange Returns the highcharts areasplinerange. |
||
1615 | */ |
||
1616 | public function setShadow($shadow) { |
||
1620 | |||
1621 | /** |
||
1622 | * Set the show checkbox. |
||
1623 | * |
||
1624 | * @param boolean $showCheckbox The show checkbox. |
||
1625 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsAreasplinerange Returns the highcharts areasplinerange. |
||
1626 | */ |
||
1627 | public function setShowCheckbox($showCheckbox) { |
||
1631 | |||
1632 | /** |
||
1633 | * Set the show in legend. |
||
1634 | * |
||
1635 | * @param boolean $showInLegend The show in legend. |
||
1636 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsAreasplinerange Returns the highcharts areasplinerange. |
||
1637 | */ |
||
1638 | public function setShowInLegend($showInLegend) { |
||
1642 | |||
1643 | /** |
||
1644 | * Set the skip keyboard navigation. |
||
1645 | * |
||
1646 | * @param boolean $skipKeyboardNavigation The skip keyboard navigation. |
||
1647 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsAreasplinerange Returns the highcharts areasplinerange. |
||
1648 | */ |
||
1649 | public function setSkipKeyboardNavigation($skipKeyboardNavigation) { |
||
1653 | |||
1654 | /** |
||
1655 | * Set the states. |
||
1656 | * |
||
1657 | * @param \WBW\Bundle\HighchartsBundle\API\Chart\Series\Areasplinerange\HighchartsStates $states The states. |
||
1658 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsAreasplinerange Returns the highcharts areasplinerange. |
||
1659 | */ |
||
1660 | public function setStates(\WBW\Bundle\HighchartsBundle\API\Chart\Series\Areasplinerange\HighchartsStates $states = null) { |
||
1664 | |||
1665 | /** |
||
1666 | * Set the sticky tracking. |
||
1667 | * |
||
1668 | * @param boolean $stickyTracking The sticky tracking. |
||
1669 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsAreasplinerange Returns the highcharts areasplinerange. |
||
1670 | */ |
||
1671 | public function setStickyTracking($stickyTracking) { |
||
1675 | |||
1676 | /** |
||
1677 | * Set the tooltip. |
||
1678 | * |
||
1679 | * @param array $tooltip The tooltip. |
||
1680 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsAreasplinerange Returns the highcharts areasplinerange. |
||
1681 | */ |
||
1682 | public function setTooltip(array $tooltip = null) { |
||
1686 | |||
1687 | /** |
||
1688 | * Set the track by area. |
||
1689 | * |
||
1690 | * @param boolean $trackByArea The track by area. |
||
1691 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsAreasplinerange Returns the highcharts areasplinerange. |
||
1692 | */ |
||
1693 | public function setTrackByArea($trackByArea) { |
||
1697 | |||
1698 | /** |
||
1699 | * Set the turbo threshold. |
||
1700 | * |
||
1701 | * @param integer $turboThreshold The turbo threshold. |
||
1702 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsAreasplinerange Returns the highcharts areasplinerange. |
||
1703 | */ |
||
1704 | public function setTurboThreshold($turboThreshold) { |
||
1708 | |||
1709 | /** |
||
1710 | * Set the type. |
||
1711 | * |
||
1712 | * @param string $type The type. |
||
1713 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsAreasplinerange Returns the highcharts areasplinerange. |
||
1714 | */ |
||
1715 | public function setType($type) { |
||
1739 | |||
1740 | /** |
||
1741 | * Set the visible. |
||
1742 | * |
||
1743 | * @param boolean $visible The visible. |
||
1744 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsAreasplinerange Returns the highcharts areasplinerange. |
||
1745 | */ |
||
1746 | public function setVisible($visible) { |
||
1750 | |||
1751 | /** |
||
1752 | * Set the x axis. |
||
1753 | * |
||
1754 | * @param integer|string $xAxis The x axis. |
||
1755 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsAreasplinerange Returns the highcharts areasplinerange. |
||
1756 | */ |
||
1757 | public function setXAxis($xAxis) { |
||
1761 | |||
1762 | /** |
||
1763 | * Set the y axis. |
||
1764 | * |
||
1765 | * @param integer|string $yAxis The y axis. |
||
1766 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsAreasplinerange Returns the highcharts areasplinerange. |
||
1767 | */ |
||
1768 | public function setYAxis($yAxis) { |
||
1772 | |||
1773 | /** |
||
1774 | * Set the z index. |
||
1775 | * |
||
1776 | * @param integer $zIndex The z index. |
||
1777 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsAreasplinerange Returns the highcharts areasplinerange. |
||
1778 | */ |
||
1779 | public function setZIndex($zIndex) { |
||
1783 | |||
1784 | /** |
||
1785 | * Set the zone axis. |
||
1786 | * |
||
1787 | * @param string $zoneAxis The zone axis. |
||
1788 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsAreasplinerange Returns the highcharts areasplinerange. |
||
1789 | */ |
||
1790 | public function setZoneAxis($zoneAxis) { |
||
1794 | |||
1795 | /** |
||
1796 | * Set the zones. |
||
1797 | * |
||
1798 | * @param array $zones The zones. |
||
1799 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsAreasplinerange Returns the highcharts areasplinerange. |
||
1800 | */ |
||
1801 | public function setZones(array $zones = null) { |
||
1805 | |||
1806 | /** |
||
1807 | * Convert into an array representing this instance. |
||
1808 | * |
||
1809 | * @return array Returns an array representing this instance. |
||
1810 | */ |
||
1811 | public function toArray() { |
||
1987 | |||
1988 | } |
||
1989 |
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..