Complex classes like HighchartsSpline 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 HighchartsSpline, and based on these observations, apply Extract Interface, too.
1 | <?php |
||
25 | final class HighchartsSpline 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 ends. |
||
74 | * |
||
75 | * @var boolean |
||
76 | * @since 2.3.0 |
||
77 | */ |
||
78 | private $connectEnds = true; |
||
79 | |||
80 | /** |
||
81 | * Connect nulls. |
||
82 | * |
||
83 | * @var boolean |
||
84 | */ |
||
85 | private $connectNulls = false; |
||
86 | |||
87 | /** |
||
88 | * Crop threshold. |
||
89 | * |
||
90 | * @var integer |
||
91 | * @since 2.2 |
||
92 | */ |
||
93 | private $cropThreshold = 300; |
||
94 | |||
95 | /** |
||
96 | * Cursor. |
||
97 | * |
||
98 | * @var string |
||
99 | */ |
||
100 | private $cursor; |
||
101 | |||
102 | /** |
||
103 | * Dash style. |
||
104 | * |
||
105 | * @var string |
||
106 | * @since 2.1 |
||
107 | */ |
||
108 | private $dashStyle = "Solid"; |
||
109 | |||
110 | /** |
||
111 | * Data. |
||
112 | * |
||
113 | * @var array |
||
114 | */ |
||
115 | private $data; |
||
116 | |||
117 | /** |
||
118 | * Data labels. |
||
119 | * |
||
120 | * @var \WBW\Bundle\HighchartsBundle\API\Chart\Series\Spline\HighchartsDataLabels |
||
121 | */ |
||
122 | private $dataLabels; |
||
123 | |||
124 | /** |
||
125 | * Description. |
||
126 | * |
||
127 | * @var string |
||
128 | * @since 5.0.0 |
||
129 | */ |
||
130 | private $description; |
||
131 | |||
132 | /** |
||
133 | * Enable mouse tracking. |
||
134 | * |
||
135 | * @var boolean |
||
136 | */ |
||
137 | private $enableMouseTracking = true; |
||
138 | |||
139 | /** |
||
140 | * Events. |
||
141 | * |
||
142 | * @var \WBW\Bundle\HighchartsBundle\API\Chart\Series\Spline\HighchartsEvents |
||
143 | */ |
||
144 | private $events; |
||
145 | |||
146 | /** |
||
147 | * Expose element to a11y. |
||
148 | * |
||
149 | * @var boolean |
||
150 | * @since 5.0.12 |
||
151 | */ |
||
152 | private $exposeElementToA11y; |
||
153 | |||
154 | /** |
||
155 | * Find nearest point by. |
||
156 | * |
||
157 | * @var string |
||
158 | * @since 5.0.10 |
||
159 | */ |
||
160 | private $findNearestPointBy; |
||
161 | |||
162 | /** |
||
163 | * Get extremes from all. |
||
164 | * |
||
165 | * @var boolean |
||
166 | * @since 4.1.6 |
||
167 | */ |
||
168 | private $getExtremesFromAll = false; |
||
169 | |||
170 | /** |
||
171 | * Id. |
||
172 | * |
||
173 | * @var string |
||
174 | * @since 1.2.0 |
||
175 | */ |
||
176 | private $id; |
||
177 | |||
178 | /** |
||
179 | * Index. |
||
180 | * |
||
181 | * @var integer |
||
182 | * @since 2.3.0 |
||
183 | */ |
||
184 | private $index; |
||
185 | |||
186 | /** |
||
187 | * Keys. |
||
188 | * |
||
189 | * @var array |
||
190 | * @since 4.1.6 |
||
191 | */ |
||
192 | private $keys; |
||
193 | |||
194 | /** |
||
195 | * Legend index. |
||
196 | * |
||
197 | * @var integer |
||
198 | */ |
||
199 | private $legendIndex; |
||
200 | |||
201 | /** |
||
202 | * Line width. |
||
203 | * |
||
204 | * @var integer |
||
205 | */ |
||
206 | private $lineWidth = 2; |
||
207 | |||
208 | /** |
||
209 | * Linecap. |
||
210 | * |
||
211 | * @var string |
||
212 | */ |
||
213 | private $linecap = "round"; |
||
214 | |||
215 | /** |
||
216 | * Linked to. |
||
217 | * |
||
218 | * @var string |
||
219 | * @since 3.0 |
||
220 | */ |
||
221 | private $linkedTo; |
||
222 | |||
223 | /** |
||
224 | * Marker. |
||
225 | * |
||
226 | * @var \WBW\Bundle\HighchartsBundle\API\Chart\Series\Spline\HighchartsMarker |
||
227 | */ |
||
228 | private $marker; |
||
229 | |||
230 | /** |
||
231 | * Name. |
||
232 | * |
||
233 | * @var string |
||
234 | */ |
||
235 | private $name; |
||
236 | |||
237 | /** |
||
238 | * Negative color. |
||
239 | * |
||
240 | * @var string |
||
241 | * @since 3.0 |
||
242 | */ |
||
243 | private $negativeColor; |
||
244 | |||
245 | /** |
||
246 | * Point. |
||
247 | * |
||
248 | * @var \WBW\Bundle\HighchartsBundle\API\Chart\Series\Spline\HighchartsPoint |
||
249 | */ |
||
250 | private $point; |
||
251 | |||
252 | /** |
||
253 | * Point description formatter. |
||
254 | * |
||
255 | * @var string |
||
256 | * @since 5.0.12 |
||
257 | */ |
||
258 | private $pointDescriptionFormatter; |
||
259 | |||
260 | /** |
||
261 | * Point interval. |
||
262 | * |
||
263 | * @var integer |
||
264 | */ |
||
265 | private $pointInterval = 1; |
||
266 | |||
267 | /** |
||
268 | * Point interval unit. |
||
269 | * |
||
270 | * @var string |
||
271 | * @since 4.1.0 |
||
272 | */ |
||
273 | private $pointIntervalUnit; |
||
274 | |||
275 | /** |
||
276 | * Point placement. |
||
277 | * |
||
278 | * @var string|integer |
||
279 | * @since 2.3.0 |
||
280 | */ |
||
281 | private $pointPlacement; |
||
282 | |||
283 | /** |
||
284 | * Point start. |
||
285 | * |
||
286 | * @var integer |
||
287 | */ |
||
288 | private $pointStart = 0; |
||
289 | |||
290 | /** |
||
291 | * Selected. |
||
292 | * |
||
293 | * @var boolean |
||
294 | * @since 1.2.0 |
||
295 | */ |
||
296 | private $selected = false; |
||
297 | |||
298 | /** |
||
299 | * Shadow. |
||
300 | * |
||
301 | * @var boolean|array |
||
302 | */ |
||
303 | private $shadow = false; |
||
304 | |||
305 | /** |
||
306 | * Show checkbox. |
||
307 | * |
||
308 | * @var boolean |
||
309 | * @since 1.2.0 |
||
310 | */ |
||
311 | private $showCheckbox = false; |
||
312 | |||
313 | /** |
||
314 | * Show in legend. |
||
315 | * |
||
316 | * @var boolean |
||
317 | */ |
||
318 | private $showInLegend = true; |
||
319 | |||
320 | /** |
||
321 | * Skip keyboard navigation. |
||
322 | * |
||
323 | * @var boolean |
||
324 | * @since 5.0.12 |
||
325 | */ |
||
326 | private $skipKeyboardNavigation; |
||
327 | |||
328 | /** |
||
329 | * Soft threshold. |
||
330 | * |
||
331 | * @var boolean |
||
332 | * @since 4.1.9 |
||
333 | */ |
||
334 | private $softThreshold = true; |
||
335 | |||
336 | /** |
||
337 | * Stack. |
||
338 | * |
||
339 | * @var string |
||
340 | * @since 2.1 |
||
341 | */ |
||
342 | private $stack; |
||
343 | |||
344 | /** |
||
345 | * Stacking. |
||
346 | * |
||
347 | * @var string |
||
348 | */ |
||
349 | private $stacking; |
||
350 | |||
351 | /** |
||
352 | * States. |
||
353 | * |
||
354 | * @var \WBW\Bundle\HighchartsBundle\API\Chart\Series\Spline\HighchartsStates |
||
355 | */ |
||
356 | private $states; |
||
357 | |||
358 | /** |
||
359 | * Sticky tracking. |
||
360 | * |
||
361 | * @var boolean |
||
362 | * @since 2.0 |
||
363 | */ |
||
364 | private $stickyTracking = true; |
||
365 | |||
366 | /** |
||
367 | * Threshold. |
||
368 | * |
||
369 | * @var integer |
||
370 | * @since 3.0 |
||
371 | */ |
||
372 | private $threshold = 0; |
||
373 | |||
374 | /** |
||
375 | * Tooltip. |
||
376 | * |
||
377 | * @var array |
||
378 | * @since 2.3 |
||
379 | */ |
||
380 | private $tooltip; |
||
381 | |||
382 | /** |
||
383 | * Turbo threshold. |
||
384 | * |
||
385 | * @var integer |
||
386 | * @since 2.2 |
||
387 | */ |
||
388 | private $turboThreshold = 1000; |
||
389 | |||
390 | /** |
||
391 | * Type. |
||
392 | * |
||
393 | * @var string |
||
394 | */ |
||
395 | private $type; |
||
396 | |||
397 | /** |
||
398 | * Visible. |
||
399 | * |
||
400 | * @var boolean |
||
401 | */ |
||
402 | private $visible = true; |
||
403 | |||
404 | /** |
||
405 | * X axis. |
||
406 | * |
||
407 | * @var integer|string |
||
408 | */ |
||
409 | private $xAxis = "0"; |
||
410 | |||
411 | /** |
||
412 | * Y axis. |
||
413 | * |
||
414 | * @var integer|string |
||
415 | */ |
||
416 | private $yAxis = "0"; |
||
417 | |||
418 | /** |
||
419 | * Z index. |
||
420 | * |
||
421 | * @var integer |
||
422 | */ |
||
423 | private $zIndex; |
||
424 | |||
425 | /** |
||
426 | * Zone axis. |
||
427 | * |
||
428 | * @var string |
||
429 | * @since 4.1.0 |
||
430 | */ |
||
431 | private $zoneAxis = "y"; |
||
432 | |||
433 | /** |
||
434 | * Zones. |
||
435 | * |
||
436 | * @var array |
||
437 | * @since 4.1.0 |
||
438 | */ |
||
439 | private $zones; |
||
440 | |||
441 | /** |
||
442 | * Constructor. |
||
443 | * |
||
444 | * @param boolean $ignoreDefaultValues Ignore the default values. |
||
445 | */ |
||
446 | public function __construct($ignoreDefaultValues = true) { |
||
451 | |||
452 | /** |
||
453 | * Clear. |
||
454 | * |
||
455 | * @return void |
||
456 | */ |
||
457 | public function clear() { |
||
634 | |||
635 | /** |
||
636 | * Get the allow point select. |
||
637 | * |
||
638 | * @return boolean Returns the allow point select. |
||
639 | */ |
||
640 | public function getAllowPointSelect() { |
||
643 | |||
644 | /** |
||
645 | * Get the animation. |
||
646 | * |
||
647 | * @return boolean Returns the animation. |
||
648 | */ |
||
649 | public function getAnimation() { |
||
652 | |||
653 | /** |
||
654 | * Get the animation limit. |
||
655 | * |
||
656 | * @return integer Returns the animation limit. |
||
657 | */ |
||
658 | public function getAnimationLimit() { |
||
661 | |||
662 | /** |
||
663 | * Get the class name. |
||
664 | * |
||
665 | * @return string Returns the class name. |
||
666 | */ |
||
667 | public function getClassName() { |
||
670 | |||
671 | /** |
||
672 | * Get the color. |
||
673 | * |
||
674 | * @return string Returns the color. |
||
675 | */ |
||
676 | public function getColor() { |
||
679 | |||
680 | /** |
||
681 | * Get the color index. |
||
682 | * |
||
683 | * @return integer Returns the color index. |
||
684 | */ |
||
685 | public function getColorIndex() { |
||
688 | |||
689 | /** |
||
690 | * Get the connect ends. |
||
691 | * |
||
692 | * @return boolean Returns the connect ends. |
||
693 | */ |
||
694 | public function getConnectEnds() { |
||
697 | |||
698 | /** |
||
699 | * Get the connect nulls. |
||
700 | * |
||
701 | * @return boolean Returns the connect nulls. |
||
702 | */ |
||
703 | public function getConnectNulls() { |
||
706 | |||
707 | /** |
||
708 | * Get the crop threshold. |
||
709 | * |
||
710 | * @return integer Returns the crop threshold. |
||
711 | */ |
||
712 | public function getCropThreshold() { |
||
715 | |||
716 | /** |
||
717 | * Get the cursor. |
||
718 | * |
||
719 | * @return string Returns the cursor. |
||
720 | */ |
||
721 | public function getCursor() { |
||
724 | |||
725 | /** |
||
726 | * Get the dash style. |
||
727 | * |
||
728 | * @return string Returns the dash style. |
||
729 | */ |
||
730 | public function getDashStyle() { |
||
733 | |||
734 | /** |
||
735 | * Get the data. |
||
736 | * |
||
737 | * @return array Returns the data. |
||
738 | */ |
||
739 | public function getData() { |
||
742 | |||
743 | /** |
||
744 | * Get the data labels. |
||
745 | * |
||
746 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\Spline\HighchartsDataLabels Returns the data labels. |
||
747 | */ |
||
748 | public function getDataLabels() { |
||
751 | |||
752 | /** |
||
753 | * Get the description. |
||
754 | * |
||
755 | * @return string Returns the description. |
||
756 | */ |
||
757 | public function getDescription() { |
||
760 | |||
761 | /** |
||
762 | * Get the enable mouse tracking. |
||
763 | * |
||
764 | * @return boolean Returns the enable mouse tracking. |
||
765 | */ |
||
766 | public function getEnableMouseTracking() { |
||
769 | |||
770 | /** |
||
771 | * Get the events. |
||
772 | * |
||
773 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\Spline\HighchartsEvents Returns the events. |
||
774 | */ |
||
775 | public function getEvents() { |
||
778 | |||
779 | /** |
||
780 | * Get the expose element to a11y. |
||
781 | * |
||
782 | * @return boolean Returns the expose element to a11y. |
||
783 | */ |
||
784 | public function getExposeElementToA11y() { |
||
787 | |||
788 | /** |
||
789 | * Get the find nearest point by. |
||
790 | * |
||
791 | * @return string Returns the find nearest point by. |
||
792 | */ |
||
793 | public function getFindNearestPointBy() { |
||
796 | |||
797 | /** |
||
798 | * Get the get extremes from all. |
||
799 | * |
||
800 | * @return boolean Returns the get extremes from all. |
||
801 | */ |
||
802 | public function getGetExtremesFromAll() { |
||
805 | |||
806 | /** |
||
807 | * Get the id. |
||
808 | * |
||
809 | * @return string Returns the id. |
||
810 | */ |
||
811 | public function getId() { |
||
814 | |||
815 | /** |
||
816 | * Get the index. |
||
817 | * |
||
818 | * @return integer Returns the index. |
||
819 | */ |
||
820 | public function getIndex() { |
||
823 | |||
824 | /** |
||
825 | * Get the keys. |
||
826 | * |
||
827 | * @return array Returns the keys. |
||
828 | */ |
||
829 | public function getKeys() { |
||
832 | |||
833 | /** |
||
834 | * Get the legend index. |
||
835 | * |
||
836 | * @return integer Returns the legend index. |
||
837 | */ |
||
838 | public function getLegendIndex() { |
||
841 | |||
842 | /** |
||
843 | * Get the line width. |
||
844 | * |
||
845 | * @return integer Returns the line width. |
||
846 | */ |
||
847 | public function getLineWidth() { |
||
850 | |||
851 | /** |
||
852 | * Get the linecap. |
||
853 | * |
||
854 | * @return string Returns the linecap. |
||
855 | */ |
||
856 | public function getLinecap() { |
||
859 | |||
860 | /** |
||
861 | * Get the linked to. |
||
862 | * |
||
863 | * @return string Returns the linked to. |
||
864 | */ |
||
865 | public function getLinkedTo() { |
||
868 | |||
869 | /** |
||
870 | * Get the marker. |
||
871 | * |
||
872 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\Spline\HighchartsMarker Returns the marker. |
||
873 | */ |
||
874 | public function getMarker() { |
||
877 | |||
878 | /** |
||
879 | * Get the name. |
||
880 | * |
||
881 | * @return string Returns the name. |
||
882 | */ |
||
883 | public function getName() { |
||
886 | |||
887 | /** |
||
888 | * Get the negative color. |
||
889 | * |
||
890 | * @return string Returns the negative color. |
||
891 | */ |
||
892 | public function getNegativeColor() { |
||
895 | |||
896 | /** |
||
897 | * Get the point. |
||
898 | * |
||
899 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\Spline\HighchartsPoint Returns the point. |
||
900 | */ |
||
901 | public function getPoint() { |
||
904 | |||
905 | /** |
||
906 | * Get the point description formatter. |
||
907 | * |
||
908 | * @return string Returns the point description formatter. |
||
909 | */ |
||
910 | public function getPointDescriptionFormatter() { |
||
913 | |||
914 | /** |
||
915 | * Get the point interval. |
||
916 | * |
||
917 | * @return integer Returns the point interval. |
||
918 | */ |
||
919 | public function getPointInterval() { |
||
922 | |||
923 | /** |
||
924 | * Get the point interval unit. |
||
925 | * |
||
926 | * @return string Returns the point interval unit. |
||
927 | */ |
||
928 | public function getPointIntervalUnit() { |
||
931 | |||
932 | /** |
||
933 | * Get the point placement. |
||
934 | * |
||
935 | * @return string|integer Returns the point placement. |
||
936 | */ |
||
937 | public function getPointPlacement() { |
||
940 | |||
941 | /** |
||
942 | * Get the point start. |
||
943 | * |
||
944 | * @return integer Returns the point start. |
||
945 | */ |
||
946 | public function getPointStart() { |
||
949 | |||
950 | /** |
||
951 | * Get the selected. |
||
952 | * |
||
953 | * @return boolean Returns the selected. |
||
954 | */ |
||
955 | public function getSelected() { |
||
958 | |||
959 | /** |
||
960 | * Get the shadow. |
||
961 | * |
||
962 | * @return boolean|array Returns the shadow. |
||
963 | */ |
||
964 | public function getShadow() { |
||
967 | |||
968 | /** |
||
969 | * Get the show checkbox. |
||
970 | * |
||
971 | * @return boolean Returns the show checkbox. |
||
972 | */ |
||
973 | public function getShowCheckbox() { |
||
976 | |||
977 | /** |
||
978 | * Get the show in legend. |
||
979 | * |
||
980 | * @return boolean Returns the show in legend. |
||
981 | */ |
||
982 | public function getShowInLegend() { |
||
985 | |||
986 | /** |
||
987 | * Get the skip keyboard navigation. |
||
988 | * |
||
989 | * @return boolean Returns the skip keyboard navigation. |
||
990 | */ |
||
991 | public function getSkipKeyboardNavigation() { |
||
994 | |||
995 | /** |
||
996 | * Get the soft threshold. |
||
997 | * |
||
998 | * @return boolean Returns the soft threshold. |
||
999 | */ |
||
1000 | public function getSoftThreshold() { |
||
1003 | |||
1004 | /** |
||
1005 | * Get the stack. |
||
1006 | * |
||
1007 | * @return string Returns the stack. |
||
1008 | */ |
||
1009 | public function getStack() { |
||
1012 | |||
1013 | /** |
||
1014 | * Get the stacking. |
||
1015 | * |
||
1016 | * @return string Returns the stacking. |
||
1017 | */ |
||
1018 | public function getStacking() { |
||
1021 | |||
1022 | /** |
||
1023 | * Get the states. |
||
1024 | * |
||
1025 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\Spline\HighchartsStates Returns the states. |
||
1026 | */ |
||
1027 | public function getStates() { |
||
1030 | |||
1031 | /** |
||
1032 | * Get the sticky tracking. |
||
1033 | * |
||
1034 | * @return boolean Returns the sticky tracking. |
||
1035 | */ |
||
1036 | public function getStickyTracking() { |
||
1039 | |||
1040 | /** |
||
1041 | * Get the threshold. |
||
1042 | * |
||
1043 | * @return integer Returns the threshold. |
||
1044 | */ |
||
1045 | public function getThreshold() { |
||
1048 | |||
1049 | /** |
||
1050 | * Get the tooltip. |
||
1051 | * |
||
1052 | * @return array Returns the tooltip. |
||
1053 | */ |
||
1054 | public function getTooltip() { |
||
1057 | |||
1058 | /** |
||
1059 | * Get the turbo threshold. |
||
1060 | * |
||
1061 | * @return integer Returns the turbo threshold. |
||
1062 | */ |
||
1063 | public function getTurboThreshold() { |
||
1066 | |||
1067 | /** |
||
1068 | * Get the type. |
||
1069 | * |
||
1070 | * @return string Returns the type. |
||
1071 | */ |
||
1072 | public function getType() { |
||
1075 | |||
1076 | /** |
||
1077 | * Get the visible. |
||
1078 | * |
||
1079 | * @return boolean Returns the visible. |
||
1080 | */ |
||
1081 | public function getVisible() { |
||
1084 | |||
1085 | /** |
||
1086 | * Get the x axis. |
||
1087 | * |
||
1088 | * @return integer|string Returns the x axis. |
||
1089 | */ |
||
1090 | public function getXAxis() { |
||
1093 | |||
1094 | /** |
||
1095 | * Get the y axis. |
||
1096 | * |
||
1097 | * @return integer|string Returns the y axis. |
||
1098 | */ |
||
1099 | public function getYAxis() { |
||
1102 | |||
1103 | /** |
||
1104 | * Get the z index. |
||
1105 | * |
||
1106 | * @return integer Returns the z index. |
||
1107 | */ |
||
1108 | public function getZIndex() { |
||
1111 | |||
1112 | /** |
||
1113 | * Get the zone axis. |
||
1114 | * |
||
1115 | * @return string Returns the zone axis. |
||
1116 | */ |
||
1117 | public function getZoneAxis() { |
||
1120 | |||
1121 | /** |
||
1122 | * Get the zones. |
||
1123 | * |
||
1124 | * @return array Returns the zones. |
||
1125 | */ |
||
1126 | public function getZones() { |
||
1129 | |||
1130 | /** |
||
1131 | * Serialize this instance. |
||
1132 | * |
||
1133 | * @return array Returns an array representing this instance. |
||
1134 | */ |
||
1135 | public function jsonSerialize() { |
||
1138 | |||
1139 | /** |
||
1140 | * Create a new data labels. |
||
1141 | * |
||
1142 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\Spline\HighchartsDataLabels Returns the data labels. |
||
1143 | */ |
||
1144 | public function newDataLabels() { |
||
1148 | |||
1149 | /** |
||
1150 | * Create a new events. |
||
1151 | * |
||
1152 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\Spline\HighchartsEvents Returns the events. |
||
1153 | */ |
||
1154 | public function newEvents() { |
||
1158 | |||
1159 | /** |
||
1160 | * Create a new marker. |
||
1161 | * |
||
1162 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\Spline\HighchartsMarker Returns the marker. |
||
1163 | */ |
||
1164 | public function newMarker() { |
||
1168 | |||
1169 | /** |
||
1170 | * Create a new point. |
||
1171 | * |
||
1172 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\Spline\HighchartsPoint Returns the point. |
||
1173 | */ |
||
1174 | public function newPoint() { |
||
1178 | |||
1179 | /** |
||
1180 | * Create a new states. |
||
1181 | * |
||
1182 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\Spline\HighchartsStates Returns the states. |
||
1183 | */ |
||
1184 | public function newStates() { |
||
1188 | |||
1189 | /** |
||
1190 | * Set the allow point select. |
||
1191 | * |
||
1192 | * @param boolean $allowPointSelect The allow point select. |
||
1193 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsSpline Returns the highcharts spline. |
||
1194 | */ |
||
1195 | public function setAllowPointSelect($allowPointSelect) { |
||
1199 | |||
1200 | /** |
||
1201 | * Set the animation. |
||
1202 | * |
||
1203 | * @param boolean $animation The animation. |
||
1204 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsSpline Returns the highcharts spline. |
||
1205 | */ |
||
1206 | public function setAnimation($animation) { |
||
1210 | |||
1211 | /** |
||
1212 | * Set the animation limit. |
||
1213 | * |
||
1214 | * @param integer $animationLimit The animation limit. |
||
1215 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsSpline Returns the highcharts spline. |
||
1216 | */ |
||
1217 | public function setAnimationLimit($animationLimit) { |
||
1221 | |||
1222 | /** |
||
1223 | * Set the class name. |
||
1224 | * |
||
1225 | * @param string $className The class name. |
||
1226 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsSpline Returns the highcharts spline. |
||
1227 | */ |
||
1228 | public function setClassName($className) { |
||
1232 | |||
1233 | /** |
||
1234 | * Set the color. |
||
1235 | * |
||
1236 | * @param string $color The color. |
||
1237 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsSpline Returns the highcharts spline. |
||
1238 | */ |
||
1239 | public function setColor($color) { |
||
1243 | |||
1244 | /** |
||
1245 | * Set the color index. |
||
1246 | * |
||
1247 | * @param integer $colorIndex The color index. |
||
1248 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsSpline Returns the highcharts spline. |
||
1249 | */ |
||
1250 | public function setColorIndex($colorIndex) { |
||
1254 | |||
1255 | /** |
||
1256 | * Set the connect ends. |
||
1257 | * |
||
1258 | * @param boolean $connectEnds The connect ends. |
||
1259 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsSpline Returns the highcharts spline. |
||
1260 | */ |
||
1261 | public function setConnectEnds($connectEnds) { |
||
1265 | |||
1266 | /** |
||
1267 | * Set the connect nulls. |
||
1268 | * |
||
1269 | * @param boolean $connectNulls The connect nulls. |
||
1270 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsSpline Returns the highcharts spline. |
||
1271 | */ |
||
1272 | public function setConnectNulls($connectNulls) { |
||
1276 | |||
1277 | /** |
||
1278 | * Set the crop threshold. |
||
1279 | * |
||
1280 | * @param integer $cropThreshold The crop threshold. |
||
1281 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsSpline Returns the highcharts spline. |
||
1282 | */ |
||
1283 | public function setCropThreshold($cropThreshold) { |
||
1287 | |||
1288 | /** |
||
1289 | * Set the cursor. |
||
1290 | * |
||
1291 | * @param string $cursor The cursor. |
||
1292 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsSpline Returns the highcharts spline. |
||
1293 | */ |
||
1294 | public function setCursor($cursor) { |
||
1307 | |||
1308 | /** |
||
1309 | * Set the dash style. |
||
1310 | * |
||
1311 | * @param string $dashStyle The dash style. |
||
1312 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsSpline Returns the highcharts spline. |
||
1313 | */ |
||
1314 | public function setDashStyle($dashStyle) { |
||
1332 | |||
1333 | /** |
||
1334 | * Set the data. |
||
1335 | * |
||
1336 | * @param array $data The data. |
||
1337 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsSpline Returns the highcharts spline. |
||
1338 | */ |
||
1339 | public function setData(array $data = null) { |
||
1343 | |||
1344 | /** |
||
1345 | * Set the data labels. |
||
1346 | * |
||
1347 | * @param \WBW\Bundle\HighchartsBundle\API\Chart\Series\Spline\HighchartsDataLabels $dataLabels The data labels. |
||
1348 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsSpline Returns the highcharts spline. |
||
1349 | */ |
||
1350 | public function setDataLabels(\WBW\Bundle\HighchartsBundle\API\Chart\Series\Spline\HighchartsDataLabels $dataLabels = null) { |
||
1354 | |||
1355 | /** |
||
1356 | * Set the description. |
||
1357 | * |
||
1358 | * @param string $description The description. |
||
1359 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsSpline Returns the highcharts spline. |
||
1360 | */ |
||
1361 | public function setDescription($description) { |
||
1365 | |||
1366 | /** |
||
1367 | * Set the enable mouse tracking. |
||
1368 | * |
||
1369 | * @param boolean $enableMouseTracking The enable mouse tracking. |
||
1370 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsSpline Returns the highcharts spline. |
||
1371 | */ |
||
1372 | public function setEnableMouseTracking($enableMouseTracking) { |
||
1376 | |||
1377 | /** |
||
1378 | * Set the events. |
||
1379 | * |
||
1380 | * @param \WBW\Bundle\HighchartsBundle\API\Chart\Series\Spline\HighchartsEvents $events The events. |
||
1381 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsSpline Returns the highcharts spline. |
||
1382 | */ |
||
1383 | public function setEvents(\WBW\Bundle\HighchartsBundle\API\Chart\Series\Spline\HighchartsEvents $events = null) { |
||
1387 | |||
1388 | /** |
||
1389 | * Set the expose element to a11y. |
||
1390 | * |
||
1391 | * @param boolean $exposeElementToA11y The expose element to a11y. |
||
1392 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsSpline Returns the highcharts spline. |
||
1393 | */ |
||
1394 | public function setExposeElementToA11y($exposeElementToA11y) { |
||
1398 | |||
1399 | /** |
||
1400 | * Set the find nearest point by. |
||
1401 | * |
||
1402 | * @param string $findNearestPointBy The find nearest point by. |
||
1403 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsSpline Returns the highcharts spline. |
||
1404 | */ |
||
1405 | public function setFindNearestPointBy($findNearestPointBy) { |
||
1414 | |||
1415 | /** |
||
1416 | * Set the get extremes from all. |
||
1417 | * |
||
1418 | * @param boolean $getExtremesFromAll The get extremes from all. |
||
1419 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsSpline Returns the highcharts spline. |
||
1420 | */ |
||
1421 | public function setGetExtremesFromAll($getExtremesFromAll) { |
||
1425 | |||
1426 | /** |
||
1427 | * Set the id. |
||
1428 | * |
||
1429 | * @param string $id The id. |
||
1430 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsSpline Returns the highcharts spline. |
||
1431 | */ |
||
1432 | public function setId($id) { |
||
1436 | |||
1437 | /** |
||
1438 | * Set the index. |
||
1439 | * |
||
1440 | * @param integer $index The index. |
||
1441 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsSpline Returns the highcharts spline. |
||
1442 | */ |
||
1443 | public function setIndex($index) { |
||
1447 | |||
1448 | /** |
||
1449 | * Set the keys. |
||
1450 | * |
||
1451 | * @param array $keys The keys. |
||
1452 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsSpline Returns the highcharts spline. |
||
1453 | */ |
||
1454 | public function setKeys(array $keys = null) { |
||
1458 | |||
1459 | /** |
||
1460 | * Set the legend index. |
||
1461 | * |
||
1462 | * @param integer $legendIndex The legend index. |
||
1463 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsSpline Returns the highcharts spline. |
||
1464 | */ |
||
1465 | public function setLegendIndex($legendIndex) { |
||
1469 | |||
1470 | /** |
||
1471 | * Set the line width. |
||
1472 | * |
||
1473 | * @param integer $lineWidth The line width. |
||
1474 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsSpline Returns the highcharts spline. |
||
1475 | */ |
||
1476 | public function setLineWidth($lineWidth) { |
||
1480 | |||
1481 | /** |
||
1482 | * Set the linecap. |
||
1483 | * |
||
1484 | * @param string $linecap The linecap. |
||
1485 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsSpline Returns the highcharts spline. |
||
1486 | */ |
||
1487 | public function setLinecap($linecap) { |
||
1496 | |||
1497 | /** |
||
1498 | * Set the linked to. |
||
1499 | * |
||
1500 | * @param string $linkedTo The linked to. |
||
1501 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsSpline Returns the highcharts spline. |
||
1502 | */ |
||
1503 | public function setLinkedTo($linkedTo) { |
||
1507 | |||
1508 | /** |
||
1509 | * Set the marker. |
||
1510 | * |
||
1511 | * @param \WBW\Bundle\HighchartsBundle\API\Chart\Series\Spline\HighchartsMarker $marker The marker. |
||
1512 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsSpline Returns the highcharts spline. |
||
1513 | */ |
||
1514 | public function setMarker(\WBW\Bundle\HighchartsBundle\API\Chart\Series\Spline\HighchartsMarker $marker = null) { |
||
1518 | |||
1519 | /** |
||
1520 | * Set the name. |
||
1521 | * |
||
1522 | * @param string $name The name. |
||
1523 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsSpline Returns the highcharts spline. |
||
1524 | */ |
||
1525 | public function setName($name) { |
||
1529 | |||
1530 | /** |
||
1531 | * Set the negative color. |
||
1532 | * |
||
1533 | * @param string $negativeColor The negative color. |
||
1534 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsSpline Returns the highcharts spline. |
||
1535 | */ |
||
1536 | public function setNegativeColor($negativeColor) { |
||
1540 | |||
1541 | /** |
||
1542 | * Set the point. |
||
1543 | * |
||
1544 | * @param \WBW\Bundle\HighchartsBundle\API\Chart\Series\Spline\HighchartsPoint $point The point. |
||
1545 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsSpline Returns the highcharts spline. |
||
1546 | */ |
||
1547 | public function setPoint(\WBW\Bundle\HighchartsBundle\API\Chart\Series\Spline\HighchartsPoint $point = null) { |
||
1551 | |||
1552 | /** |
||
1553 | * Set the point description formatter. |
||
1554 | * |
||
1555 | * @param string $pointDescriptionFormatter The point description formatter. |
||
1556 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsSpline Returns the highcharts spline. |
||
1557 | */ |
||
1558 | public function setPointDescriptionFormatter($pointDescriptionFormatter) { |
||
1562 | |||
1563 | /** |
||
1564 | * Set the point interval. |
||
1565 | * |
||
1566 | * @param integer $pointInterval The point interval. |
||
1567 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsSpline Returns the highcharts spline. |
||
1568 | */ |
||
1569 | public function setPointInterval($pointInterval) { |
||
1573 | |||
1574 | /** |
||
1575 | * Set the point interval unit. |
||
1576 | * |
||
1577 | * @param string $pointIntervalUnit The point interval unit. |
||
1578 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsSpline Returns the highcharts spline. |
||
1579 | */ |
||
1580 | public function setPointIntervalUnit($pointIntervalUnit) { |
||
1591 | |||
1592 | /** |
||
1593 | * Set the point placement. |
||
1594 | * |
||
1595 | * @param string|integer $pointPlacement The point placement. |
||
1596 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsSpline Returns the highcharts spline. |
||
1597 | */ |
||
1598 | public function setPointPlacement($pointPlacement) { |
||
1608 | |||
1609 | /** |
||
1610 | * Set the point start. |
||
1611 | * |
||
1612 | * @param integer $pointStart The point start. |
||
1613 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsSpline Returns the highcharts spline. |
||
1614 | */ |
||
1615 | public function setPointStart($pointStart) { |
||
1619 | |||
1620 | /** |
||
1621 | * Set the selected. |
||
1622 | * |
||
1623 | * @param boolean $selected The selected. |
||
1624 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsSpline Returns the highcharts spline. |
||
1625 | */ |
||
1626 | public function setSelected($selected) { |
||
1630 | |||
1631 | /** |
||
1632 | * Set the shadow. |
||
1633 | * |
||
1634 | * @param boolean|array $shadow The shadow. |
||
1635 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsSpline Returns the highcharts spline. |
||
1636 | */ |
||
1637 | public function setShadow($shadow) { |
||
1641 | |||
1642 | /** |
||
1643 | * Set the show checkbox. |
||
1644 | * |
||
1645 | * @param boolean $showCheckbox The show checkbox. |
||
1646 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsSpline Returns the highcharts spline. |
||
1647 | */ |
||
1648 | public function setShowCheckbox($showCheckbox) { |
||
1652 | |||
1653 | /** |
||
1654 | * Set the show in legend. |
||
1655 | * |
||
1656 | * @param boolean $showInLegend The show in legend. |
||
1657 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsSpline Returns the highcharts spline. |
||
1658 | */ |
||
1659 | public function setShowInLegend($showInLegend) { |
||
1663 | |||
1664 | /** |
||
1665 | * Set the skip keyboard navigation. |
||
1666 | * |
||
1667 | * @param boolean $skipKeyboardNavigation The skip keyboard navigation. |
||
1668 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsSpline Returns the highcharts spline. |
||
1669 | */ |
||
1670 | public function setSkipKeyboardNavigation($skipKeyboardNavigation) { |
||
1674 | |||
1675 | /** |
||
1676 | * Set the soft threshold. |
||
1677 | * |
||
1678 | * @param boolean $softThreshold The soft threshold. |
||
1679 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsSpline Returns the highcharts spline. |
||
1680 | */ |
||
1681 | public function setSoftThreshold($softThreshold) { |
||
1685 | |||
1686 | /** |
||
1687 | * Set the stack. |
||
1688 | * |
||
1689 | * @param string $stack The stack. |
||
1690 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsSpline Returns the highcharts spline. |
||
1691 | */ |
||
1692 | public function setStack($stack) { |
||
1696 | |||
1697 | /** |
||
1698 | * Set the stacking. |
||
1699 | * |
||
1700 | * @param string $stacking The stacking. |
||
1701 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsSpline Returns the highcharts spline. |
||
1702 | */ |
||
1703 | public function setStacking($stacking) { |
||
1713 | |||
1714 | /** |
||
1715 | * Set the states. |
||
1716 | * |
||
1717 | * @param \WBW\Bundle\HighchartsBundle\API\Chart\Series\Spline\HighchartsStates $states The states. |
||
1718 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsSpline Returns the highcharts spline. |
||
1719 | */ |
||
1720 | public function setStates(\WBW\Bundle\HighchartsBundle\API\Chart\Series\Spline\HighchartsStates $states = null) { |
||
1724 | |||
1725 | /** |
||
1726 | * Set the sticky tracking. |
||
1727 | * |
||
1728 | * @param boolean $stickyTracking The sticky tracking. |
||
1729 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsSpline Returns the highcharts spline. |
||
1730 | */ |
||
1731 | public function setStickyTracking($stickyTracking) { |
||
1735 | |||
1736 | /** |
||
1737 | * Set the threshold. |
||
1738 | * |
||
1739 | * @param integer $threshold The threshold. |
||
1740 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsSpline Returns the highcharts spline. |
||
1741 | */ |
||
1742 | public function setThreshold($threshold) { |
||
1746 | |||
1747 | /** |
||
1748 | * Set the tooltip. |
||
1749 | * |
||
1750 | * @param array $tooltip The tooltip. |
||
1751 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsSpline Returns the highcharts spline. |
||
1752 | */ |
||
1753 | public function setTooltip(array $tooltip = null) { |
||
1757 | |||
1758 | /** |
||
1759 | * Set the turbo threshold. |
||
1760 | * |
||
1761 | * @param integer $turboThreshold The turbo threshold. |
||
1762 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsSpline Returns the highcharts spline. |
||
1763 | */ |
||
1764 | public function setTurboThreshold($turboThreshold) { |
||
1768 | |||
1769 | /** |
||
1770 | * Set the type. |
||
1771 | * |
||
1772 | * @param string $type The type. |
||
1773 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsSpline Returns the highcharts spline. |
||
1774 | */ |
||
1775 | public function setType($type) { |
||
1799 | |||
1800 | /** |
||
1801 | * Set the visible. |
||
1802 | * |
||
1803 | * @param boolean $visible The visible. |
||
1804 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsSpline Returns the highcharts spline. |
||
1805 | */ |
||
1806 | public function setVisible($visible) { |
||
1810 | |||
1811 | /** |
||
1812 | * Set the x axis. |
||
1813 | * |
||
1814 | * @param integer|string $xAxis The x axis. |
||
1815 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsSpline Returns the highcharts spline. |
||
1816 | */ |
||
1817 | public function setXAxis($xAxis) { |
||
1821 | |||
1822 | /** |
||
1823 | * Set the y axis. |
||
1824 | * |
||
1825 | * @param integer|string $yAxis The y axis. |
||
1826 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsSpline Returns the highcharts spline. |
||
1827 | */ |
||
1828 | public function setYAxis($yAxis) { |
||
1832 | |||
1833 | /** |
||
1834 | * Set the z index. |
||
1835 | * |
||
1836 | * @param integer $zIndex The z index. |
||
1837 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsSpline Returns the highcharts spline. |
||
1838 | */ |
||
1839 | public function setZIndex($zIndex) { |
||
1843 | |||
1844 | /** |
||
1845 | * Set the zone axis. |
||
1846 | * |
||
1847 | * @param string $zoneAxis The zone axis. |
||
1848 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsSpline Returns the highcharts spline. |
||
1849 | */ |
||
1850 | public function setZoneAxis($zoneAxis) { |
||
1854 | |||
1855 | /** |
||
1856 | * Set the zones. |
||
1857 | * |
||
1858 | * @param array $zones The zones. |
||
1859 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsSpline Returns the highcharts spline. |
||
1860 | */ |
||
1861 | public function setZones(array $zones = null) { |
||
1865 | |||
1866 | /** |
||
1867 | * Convert into an array representing this instance. |
||
1868 | * |
||
1869 | * @return array Returns an array representing this instance. |
||
1870 | */ |
||
1871 | public function toArray() { |
||
2054 | |||
2055 | } |
||
2056 |
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..