Complex classes like HighchartsLine 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 HighchartsLine, and based on these observations, apply Extract Interface, too.
1 | <?php |
||
25 | final class HighchartsLine 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\Line\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\Line\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\Line\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\Line\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\Line\HighchartsStates |
||
355 | */ |
||
356 | private $states; |
||
357 | |||
358 | /** |
||
359 | * Step. |
||
360 | * |
||
361 | * @var string |
||
362 | * @since 1.2.5 |
||
363 | */ |
||
364 | private $step = "false"; |
||
365 | |||
366 | /** |
||
367 | * Sticky tracking. |
||
368 | * |
||
369 | * @var boolean |
||
370 | * @since 2.0 |
||
371 | */ |
||
372 | private $stickyTracking = true; |
||
373 | |||
374 | /** |
||
375 | * Threshold. |
||
376 | * |
||
377 | * @var integer |
||
378 | * @since 3.0 |
||
379 | */ |
||
380 | private $threshold = 0; |
||
381 | |||
382 | /** |
||
383 | * Tooltip. |
||
384 | * |
||
385 | * @var array |
||
386 | * @since 2.3 |
||
387 | */ |
||
388 | private $tooltip; |
||
389 | |||
390 | /** |
||
391 | * Turbo threshold. |
||
392 | * |
||
393 | * @var integer |
||
394 | * @since 2.2 |
||
395 | */ |
||
396 | private $turboThreshold = 1000; |
||
397 | |||
398 | /** |
||
399 | * Type. |
||
400 | * |
||
401 | * @var string |
||
402 | */ |
||
403 | private $type; |
||
404 | |||
405 | /** |
||
406 | * Visible. |
||
407 | * |
||
408 | * @var boolean |
||
409 | */ |
||
410 | private $visible = true; |
||
411 | |||
412 | /** |
||
413 | * X axis. |
||
414 | * |
||
415 | * @var integer|string |
||
416 | */ |
||
417 | private $xAxis = "0"; |
||
418 | |||
419 | /** |
||
420 | * Y axis. |
||
421 | * |
||
422 | * @var integer|string |
||
423 | */ |
||
424 | private $yAxis = "0"; |
||
425 | |||
426 | /** |
||
427 | * Z index. |
||
428 | * |
||
429 | * @var integer |
||
430 | */ |
||
431 | private $zIndex; |
||
432 | |||
433 | /** |
||
434 | * Zone axis. |
||
435 | * |
||
436 | * @var string |
||
437 | * @since 4.1.0 |
||
438 | */ |
||
439 | private $zoneAxis = "y"; |
||
440 | |||
441 | /** |
||
442 | * Zones. |
||
443 | * |
||
444 | * @var array |
||
445 | * @since 4.1.0 |
||
446 | */ |
||
447 | private $zones; |
||
448 | |||
449 | /** |
||
450 | * Constructor. |
||
451 | * |
||
452 | * @param boolean $ignoreDefaultValues Ignore the default values. |
||
453 | */ |
||
454 | public function __construct($ignoreDefaultValues = true) { |
||
459 | |||
460 | /** |
||
461 | * Clear. |
||
462 | * |
||
463 | * @return void |
||
464 | */ |
||
465 | public function clear() { |
||
645 | |||
646 | /** |
||
647 | * Get the allow point select. |
||
648 | * |
||
649 | * @return boolean Returns the allow point select. |
||
650 | */ |
||
651 | public function getAllowPointSelect() { |
||
654 | |||
655 | /** |
||
656 | * Get the animation. |
||
657 | * |
||
658 | * @return boolean Returns the animation. |
||
659 | */ |
||
660 | public function getAnimation() { |
||
663 | |||
664 | /** |
||
665 | * Get the animation limit. |
||
666 | * |
||
667 | * @return integer Returns the animation limit. |
||
668 | */ |
||
669 | public function getAnimationLimit() { |
||
672 | |||
673 | /** |
||
674 | * Get the class name. |
||
675 | * |
||
676 | * @return string Returns the class name. |
||
677 | */ |
||
678 | public function getClassName() { |
||
681 | |||
682 | /** |
||
683 | * Get the color. |
||
684 | * |
||
685 | * @return string Returns the color. |
||
686 | */ |
||
687 | public function getColor() { |
||
690 | |||
691 | /** |
||
692 | * Get the color index. |
||
693 | * |
||
694 | * @return integer Returns the color index. |
||
695 | */ |
||
696 | public function getColorIndex() { |
||
699 | |||
700 | /** |
||
701 | * Get the connect ends. |
||
702 | * |
||
703 | * @return boolean Returns the connect ends. |
||
704 | */ |
||
705 | public function getConnectEnds() { |
||
708 | |||
709 | /** |
||
710 | * Get the connect nulls. |
||
711 | * |
||
712 | * @return boolean Returns the connect nulls. |
||
713 | */ |
||
714 | public function getConnectNulls() { |
||
717 | |||
718 | /** |
||
719 | * Get the crop threshold. |
||
720 | * |
||
721 | * @return integer Returns the crop threshold. |
||
722 | */ |
||
723 | public function getCropThreshold() { |
||
726 | |||
727 | /** |
||
728 | * Get the cursor. |
||
729 | * |
||
730 | * @return string Returns the cursor. |
||
731 | */ |
||
732 | public function getCursor() { |
||
735 | |||
736 | /** |
||
737 | * Get the dash style. |
||
738 | * |
||
739 | * @return string Returns the dash style. |
||
740 | */ |
||
741 | public function getDashStyle() { |
||
744 | |||
745 | /** |
||
746 | * Get the data. |
||
747 | * |
||
748 | * @return array Returns the data. |
||
749 | */ |
||
750 | public function getData() { |
||
753 | |||
754 | /** |
||
755 | * Get the data labels. |
||
756 | * |
||
757 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\Line\HighchartsDataLabels Returns the data labels. |
||
758 | */ |
||
759 | public function getDataLabels() { |
||
762 | |||
763 | /** |
||
764 | * Get the description. |
||
765 | * |
||
766 | * @return string Returns the description. |
||
767 | */ |
||
768 | public function getDescription() { |
||
771 | |||
772 | /** |
||
773 | * Get the enable mouse tracking. |
||
774 | * |
||
775 | * @return boolean Returns the enable mouse tracking. |
||
776 | */ |
||
777 | public function getEnableMouseTracking() { |
||
780 | |||
781 | /** |
||
782 | * Get the events. |
||
783 | * |
||
784 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\Line\HighchartsEvents Returns the events. |
||
785 | */ |
||
786 | public function getEvents() { |
||
789 | |||
790 | /** |
||
791 | * Get the expose element to a11y. |
||
792 | * |
||
793 | * @return boolean Returns the expose element to a11y. |
||
794 | */ |
||
795 | public function getExposeElementToA11y() { |
||
798 | |||
799 | /** |
||
800 | * Get the find nearest point by. |
||
801 | * |
||
802 | * @return string Returns the find nearest point by. |
||
803 | */ |
||
804 | public function getFindNearestPointBy() { |
||
807 | |||
808 | /** |
||
809 | * Get the get extremes from all. |
||
810 | * |
||
811 | * @return boolean Returns the get extremes from all. |
||
812 | */ |
||
813 | public function getGetExtremesFromAll() { |
||
816 | |||
817 | /** |
||
818 | * Get the id. |
||
819 | * |
||
820 | * @return string Returns the id. |
||
821 | */ |
||
822 | public function getId() { |
||
825 | |||
826 | /** |
||
827 | * Get the index. |
||
828 | * |
||
829 | * @return integer Returns the index. |
||
830 | */ |
||
831 | public function getIndex() { |
||
834 | |||
835 | /** |
||
836 | * Get the keys. |
||
837 | * |
||
838 | * @return array Returns the keys. |
||
839 | */ |
||
840 | public function getKeys() { |
||
843 | |||
844 | /** |
||
845 | * Get the legend index. |
||
846 | * |
||
847 | * @return integer Returns the legend index. |
||
848 | */ |
||
849 | public function getLegendIndex() { |
||
852 | |||
853 | /** |
||
854 | * Get the line width. |
||
855 | * |
||
856 | * @return integer Returns the line width. |
||
857 | */ |
||
858 | public function getLineWidth() { |
||
861 | |||
862 | /** |
||
863 | * Get the linecap. |
||
864 | * |
||
865 | * @return string Returns the linecap. |
||
866 | */ |
||
867 | public function getLinecap() { |
||
870 | |||
871 | /** |
||
872 | * Get the linked to. |
||
873 | * |
||
874 | * @return string Returns the linked to. |
||
875 | */ |
||
876 | public function getLinkedTo() { |
||
879 | |||
880 | /** |
||
881 | * Get the marker. |
||
882 | * |
||
883 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\Line\HighchartsMarker Returns the marker. |
||
884 | */ |
||
885 | public function getMarker() { |
||
888 | |||
889 | /** |
||
890 | * Get the name. |
||
891 | * |
||
892 | * @return string Returns the name. |
||
893 | */ |
||
894 | public function getName() { |
||
897 | |||
898 | /** |
||
899 | * Get the negative color. |
||
900 | * |
||
901 | * @return string Returns the negative color. |
||
902 | */ |
||
903 | public function getNegativeColor() { |
||
906 | |||
907 | /** |
||
908 | * Get the point. |
||
909 | * |
||
910 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\Line\HighchartsPoint Returns the point. |
||
911 | */ |
||
912 | public function getPoint() { |
||
915 | |||
916 | /** |
||
917 | * Get the point description formatter. |
||
918 | * |
||
919 | * @return string Returns the point description formatter. |
||
920 | */ |
||
921 | public function getPointDescriptionFormatter() { |
||
924 | |||
925 | /** |
||
926 | * Get the point interval. |
||
927 | * |
||
928 | * @return integer Returns the point interval. |
||
929 | */ |
||
930 | public function getPointInterval() { |
||
933 | |||
934 | /** |
||
935 | * Get the point interval unit. |
||
936 | * |
||
937 | * @return string Returns the point interval unit. |
||
938 | */ |
||
939 | public function getPointIntervalUnit() { |
||
942 | |||
943 | /** |
||
944 | * Get the point placement. |
||
945 | * |
||
946 | * @return string|integer Returns the point placement. |
||
947 | */ |
||
948 | public function getPointPlacement() { |
||
951 | |||
952 | /** |
||
953 | * Get the point start. |
||
954 | * |
||
955 | * @return integer Returns the point start. |
||
956 | */ |
||
957 | public function getPointStart() { |
||
960 | |||
961 | /** |
||
962 | * Get the selected. |
||
963 | * |
||
964 | * @return boolean Returns the selected. |
||
965 | */ |
||
966 | public function getSelected() { |
||
969 | |||
970 | /** |
||
971 | * Get the shadow. |
||
972 | * |
||
973 | * @return boolean|array Returns the shadow. |
||
974 | */ |
||
975 | public function getShadow() { |
||
978 | |||
979 | /** |
||
980 | * Get the show checkbox. |
||
981 | * |
||
982 | * @return boolean Returns the show checkbox. |
||
983 | */ |
||
984 | public function getShowCheckbox() { |
||
987 | |||
988 | /** |
||
989 | * Get the show in legend. |
||
990 | * |
||
991 | * @return boolean Returns the show in legend. |
||
992 | */ |
||
993 | public function getShowInLegend() { |
||
996 | |||
997 | /** |
||
998 | * Get the skip keyboard navigation. |
||
999 | * |
||
1000 | * @return boolean Returns the skip keyboard navigation. |
||
1001 | */ |
||
1002 | public function getSkipKeyboardNavigation() { |
||
1005 | |||
1006 | /** |
||
1007 | * Get the soft threshold. |
||
1008 | * |
||
1009 | * @return boolean Returns the soft threshold. |
||
1010 | */ |
||
1011 | public function getSoftThreshold() { |
||
1014 | |||
1015 | /** |
||
1016 | * Get the stack. |
||
1017 | * |
||
1018 | * @return string Returns the stack. |
||
1019 | */ |
||
1020 | public function getStack() { |
||
1023 | |||
1024 | /** |
||
1025 | * Get the stacking. |
||
1026 | * |
||
1027 | * @return string Returns the stacking. |
||
1028 | */ |
||
1029 | public function getStacking() { |
||
1032 | |||
1033 | /** |
||
1034 | * Get the states. |
||
1035 | * |
||
1036 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\Line\HighchartsStates Returns the states. |
||
1037 | */ |
||
1038 | public function getStates() { |
||
1041 | |||
1042 | /** |
||
1043 | * Get the step. |
||
1044 | * |
||
1045 | * @return string Returns the step. |
||
1046 | */ |
||
1047 | public function getStep() { |
||
1050 | |||
1051 | /** |
||
1052 | * Get the sticky tracking. |
||
1053 | * |
||
1054 | * @return boolean Returns the sticky tracking. |
||
1055 | */ |
||
1056 | public function getStickyTracking() { |
||
1059 | |||
1060 | /** |
||
1061 | * Get the threshold. |
||
1062 | * |
||
1063 | * @return integer Returns the threshold. |
||
1064 | */ |
||
1065 | public function getThreshold() { |
||
1068 | |||
1069 | /** |
||
1070 | * Get the tooltip. |
||
1071 | * |
||
1072 | * @return array Returns the tooltip. |
||
1073 | */ |
||
1074 | public function getTooltip() { |
||
1077 | |||
1078 | /** |
||
1079 | * Get the turbo threshold. |
||
1080 | * |
||
1081 | * @return integer Returns the turbo threshold. |
||
1082 | */ |
||
1083 | public function getTurboThreshold() { |
||
1086 | |||
1087 | /** |
||
1088 | * Get the type. |
||
1089 | * |
||
1090 | * @return string Returns the type. |
||
1091 | */ |
||
1092 | public function getType() { |
||
1095 | |||
1096 | /** |
||
1097 | * Get the visible. |
||
1098 | * |
||
1099 | * @return boolean Returns the visible. |
||
1100 | */ |
||
1101 | public function getVisible() { |
||
1104 | |||
1105 | /** |
||
1106 | * Get the x axis. |
||
1107 | * |
||
1108 | * @return integer|string Returns the x axis. |
||
1109 | */ |
||
1110 | public function getXAxis() { |
||
1113 | |||
1114 | /** |
||
1115 | * Get the y axis. |
||
1116 | * |
||
1117 | * @return integer|string Returns the y axis. |
||
1118 | */ |
||
1119 | public function getYAxis() { |
||
1122 | |||
1123 | /** |
||
1124 | * Get the z index. |
||
1125 | * |
||
1126 | * @return integer Returns the z index. |
||
1127 | */ |
||
1128 | public function getZIndex() { |
||
1131 | |||
1132 | /** |
||
1133 | * Get the zone axis. |
||
1134 | * |
||
1135 | * @return string Returns the zone axis. |
||
1136 | */ |
||
1137 | public function getZoneAxis() { |
||
1140 | |||
1141 | /** |
||
1142 | * Get the zones. |
||
1143 | * |
||
1144 | * @return array Returns the zones. |
||
1145 | */ |
||
1146 | public function getZones() { |
||
1149 | |||
1150 | /** |
||
1151 | * Serialize this instance. |
||
1152 | * |
||
1153 | * @return array Returns an array representing this instance. |
||
1154 | */ |
||
1155 | public function jsonSerialize() { |
||
1158 | |||
1159 | /** |
||
1160 | * Create a new data labels. |
||
1161 | * |
||
1162 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\Line\HighchartsDataLabels Returns the data labels. |
||
1163 | */ |
||
1164 | public function newDataLabels() { |
||
1168 | |||
1169 | /** |
||
1170 | * Create a new events. |
||
1171 | * |
||
1172 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\Line\HighchartsEvents Returns the events. |
||
1173 | */ |
||
1174 | public function newEvents() { |
||
1178 | |||
1179 | /** |
||
1180 | * Create a new marker. |
||
1181 | * |
||
1182 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\Line\HighchartsMarker Returns the marker. |
||
1183 | */ |
||
1184 | public function newMarker() { |
||
1188 | |||
1189 | /** |
||
1190 | * Create a new point. |
||
1191 | * |
||
1192 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\Line\HighchartsPoint Returns the point. |
||
1193 | */ |
||
1194 | public function newPoint() { |
||
1198 | |||
1199 | /** |
||
1200 | * Create a new states. |
||
1201 | * |
||
1202 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\Line\HighchartsStates Returns the states. |
||
1203 | */ |
||
1204 | public function newStates() { |
||
1208 | |||
1209 | /** |
||
1210 | * Set the allow point select. |
||
1211 | * |
||
1212 | * @param boolean $allowPointSelect The allow point select. |
||
1213 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsLine Returns the highcharts line. |
||
1214 | */ |
||
1215 | public function setAllowPointSelect($allowPointSelect) { |
||
1219 | |||
1220 | /** |
||
1221 | * Set the animation. |
||
1222 | * |
||
1223 | * @param boolean $animation The animation. |
||
1224 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsLine Returns the highcharts line. |
||
1225 | */ |
||
1226 | public function setAnimation($animation) { |
||
1230 | |||
1231 | /** |
||
1232 | * Set the animation limit. |
||
1233 | * |
||
1234 | * @param integer $animationLimit The animation limit. |
||
1235 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsLine Returns the highcharts line. |
||
1236 | */ |
||
1237 | public function setAnimationLimit($animationLimit) { |
||
1241 | |||
1242 | /** |
||
1243 | * Set the class name. |
||
1244 | * |
||
1245 | * @param string $className The class name. |
||
1246 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsLine Returns the highcharts line. |
||
1247 | */ |
||
1248 | public function setClassName($className) { |
||
1252 | |||
1253 | /** |
||
1254 | * Set the color. |
||
1255 | * |
||
1256 | * @param string $color The color. |
||
1257 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsLine Returns the highcharts line. |
||
1258 | */ |
||
1259 | public function setColor($color) { |
||
1263 | |||
1264 | /** |
||
1265 | * Set the color index. |
||
1266 | * |
||
1267 | * @param integer $colorIndex The color index. |
||
1268 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsLine Returns the highcharts line. |
||
1269 | */ |
||
1270 | public function setColorIndex($colorIndex) { |
||
1274 | |||
1275 | /** |
||
1276 | * Set the connect ends. |
||
1277 | * |
||
1278 | * @param boolean $connectEnds The connect ends. |
||
1279 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsLine Returns the highcharts line. |
||
1280 | */ |
||
1281 | public function setConnectEnds($connectEnds) { |
||
1285 | |||
1286 | /** |
||
1287 | * Set the connect nulls. |
||
1288 | * |
||
1289 | * @param boolean $connectNulls The connect nulls. |
||
1290 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsLine Returns the highcharts line. |
||
1291 | */ |
||
1292 | public function setConnectNulls($connectNulls) { |
||
1296 | |||
1297 | /** |
||
1298 | * Set the crop threshold. |
||
1299 | * |
||
1300 | * @param integer $cropThreshold The crop threshold. |
||
1301 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsLine Returns the highcharts line. |
||
1302 | */ |
||
1303 | public function setCropThreshold($cropThreshold) { |
||
1307 | |||
1308 | /** |
||
1309 | * Set the cursor. |
||
1310 | * |
||
1311 | * @param string $cursor The cursor. |
||
1312 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsLine Returns the highcharts line. |
||
1313 | */ |
||
1314 | public function setCursor($cursor) { |
||
1327 | |||
1328 | /** |
||
1329 | * Set the dash style. |
||
1330 | * |
||
1331 | * @param string $dashStyle The dash style. |
||
1332 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsLine Returns the highcharts line. |
||
1333 | */ |
||
1334 | public function setDashStyle($dashStyle) { |
||
1352 | |||
1353 | /** |
||
1354 | * Set the data. |
||
1355 | * |
||
1356 | * @param array $data The data. |
||
1357 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsLine Returns the highcharts line. |
||
1358 | */ |
||
1359 | public function setData(array $data = null) { |
||
1363 | |||
1364 | /** |
||
1365 | * Set the data labels. |
||
1366 | * |
||
1367 | * @param \WBW\Bundle\HighchartsBundle\API\Chart\Series\Line\HighchartsDataLabels $dataLabels The data labels. |
||
1368 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsLine Returns the highcharts line. |
||
1369 | */ |
||
1370 | public function setDataLabels(\WBW\Bundle\HighchartsBundle\API\Chart\Series\Line\HighchartsDataLabels $dataLabels = null) { |
||
1374 | |||
1375 | /** |
||
1376 | * Set the description. |
||
1377 | * |
||
1378 | * @param string $description The description. |
||
1379 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsLine Returns the highcharts line. |
||
1380 | */ |
||
1381 | public function setDescription($description) { |
||
1385 | |||
1386 | /** |
||
1387 | * Set the enable mouse tracking. |
||
1388 | * |
||
1389 | * @param boolean $enableMouseTracking The enable mouse tracking. |
||
1390 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsLine Returns the highcharts line. |
||
1391 | */ |
||
1392 | public function setEnableMouseTracking($enableMouseTracking) { |
||
1396 | |||
1397 | /** |
||
1398 | * Set the events. |
||
1399 | * |
||
1400 | * @param \WBW\Bundle\HighchartsBundle\API\Chart\Series\Line\HighchartsEvents $events The events. |
||
1401 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsLine Returns the highcharts line. |
||
1402 | */ |
||
1403 | public function setEvents(\WBW\Bundle\HighchartsBundle\API\Chart\Series\Line\HighchartsEvents $events = null) { |
||
1407 | |||
1408 | /** |
||
1409 | * Set the expose element to a11y. |
||
1410 | * |
||
1411 | * @param boolean $exposeElementToA11y The expose element to a11y. |
||
1412 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsLine Returns the highcharts line. |
||
1413 | */ |
||
1414 | public function setExposeElementToA11y($exposeElementToA11y) { |
||
1418 | |||
1419 | /** |
||
1420 | * Set the find nearest point by. |
||
1421 | * |
||
1422 | * @param string $findNearestPointBy The find nearest point by. |
||
1423 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsLine Returns the highcharts line. |
||
1424 | */ |
||
1425 | public function setFindNearestPointBy($findNearestPointBy) { |
||
1434 | |||
1435 | /** |
||
1436 | * Set the get extremes from all. |
||
1437 | * |
||
1438 | * @param boolean $getExtremesFromAll The get extremes from all. |
||
1439 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsLine Returns the highcharts line. |
||
1440 | */ |
||
1441 | public function setGetExtremesFromAll($getExtremesFromAll) { |
||
1445 | |||
1446 | /** |
||
1447 | * Set the id. |
||
1448 | * |
||
1449 | * @param string $id The id. |
||
1450 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsLine Returns the highcharts line. |
||
1451 | */ |
||
1452 | public function setId($id) { |
||
1456 | |||
1457 | /** |
||
1458 | * Set the index. |
||
1459 | * |
||
1460 | * @param integer $index The index. |
||
1461 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsLine Returns the highcharts line. |
||
1462 | */ |
||
1463 | public function setIndex($index) { |
||
1467 | |||
1468 | /** |
||
1469 | * Set the keys. |
||
1470 | * |
||
1471 | * @param array $keys The keys. |
||
1472 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsLine Returns the highcharts line. |
||
1473 | */ |
||
1474 | public function setKeys(array $keys = null) { |
||
1478 | |||
1479 | /** |
||
1480 | * Set the legend index. |
||
1481 | * |
||
1482 | * @param integer $legendIndex The legend index. |
||
1483 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsLine Returns the highcharts line. |
||
1484 | */ |
||
1485 | public function setLegendIndex($legendIndex) { |
||
1489 | |||
1490 | /** |
||
1491 | * Set the line width. |
||
1492 | * |
||
1493 | * @param integer $lineWidth The line width. |
||
1494 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsLine Returns the highcharts line. |
||
1495 | */ |
||
1496 | public function setLineWidth($lineWidth) { |
||
1500 | |||
1501 | /** |
||
1502 | * Set the linecap. |
||
1503 | * |
||
1504 | * @param string $linecap The linecap. |
||
1505 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsLine Returns the highcharts line. |
||
1506 | */ |
||
1507 | public function setLinecap($linecap) { |
||
1516 | |||
1517 | /** |
||
1518 | * Set the linked to. |
||
1519 | * |
||
1520 | * @param string $linkedTo The linked to. |
||
1521 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsLine Returns the highcharts line. |
||
1522 | */ |
||
1523 | public function setLinkedTo($linkedTo) { |
||
1527 | |||
1528 | /** |
||
1529 | * Set the marker. |
||
1530 | * |
||
1531 | * @param \WBW\Bundle\HighchartsBundle\API\Chart\Series\Line\HighchartsMarker $marker The marker. |
||
1532 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsLine Returns the highcharts line. |
||
1533 | */ |
||
1534 | public function setMarker(\WBW\Bundle\HighchartsBundle\API\Chart\Series\Line\HighchartsMarker $marker = null) { |
||
1538 | |||
1539 | /** |
||
1540 | * Set the name. |
||
1541 | * |
||
1542 | * @param string $name The name. |
||
1543 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsLine Returns the highcharts line. |
||
1544 | */ |
||
1545 | public function setName($name) { |
||
1549 | |||
1550 | /** |
||
1551 | * Set the negative color. |
||
1552 | * |
||
1553 | * @param string $negativeColor The negative color. |
||
1554 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsLine Returns the highcharts line. |
||
1555 | */ |
||
1556 | public function setNegativeColor($negativeColor) { |
||
1560 | |||
1561 | /** |
||
1562 | * Set the point. |
||
1563 | * |
||
1564 | * @param \WBW\Bundle\HighchartsBundle\API\Chart\Series\Line\HighchartsPoint $point The point. |
||
1565 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsLine Returns the highcharts line. |
||
1566 | */ |
||
1567 | public function setPoint(\WBW\Bundle\HighchartsBundle\API\Chart\Series\Line\HighchartsPoint $point = null) { |
||
1571 | |||
1572 | /** |
||
1573 | * Set the point description formatter. |
||
1574 | * |
||
1575 | * @param string $pointDescriptionFormatter The point description formatter. |
||
1576 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsLine Returns the highcharts line. |
||
1577 | */ |
||
1578 | public function setPointDescriptionFormatter($pointDescriptionFormatter) { |
||
1582 | |||
1583 | /** |
||
1584 | * Set the point interval. |
||
1585 | * |
||
1586 | * @param integer $pointInterval The point interval. |
||
1587 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsLine Returns the highcharts line. |
||
1588 | */ |
||
1589 | public function setPointInterval($pointInterval) { |
||
1593 | |||
1594 | /** |
||
1595 | * Set the point interval unit. |
||
1596 | * |
||
1597 | * @param string $pointIntervalUnit The point interval unit. |
||
1598 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsLine Returns the highcharts line. |
||
1599 | */ |
||
1600 | public function setPointIntervalUnit($pointIntervalUnit) { |
||
1611 | |||
1612 | /** |
||
1613 | * Set the point placement. |
||
1614 | * |
||
1615 | * @param string|integer $pointPlacement The point placement. |
||
1616 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsLine Returns the highcharts line. |
||
1617 | */ |
||
1618 | public function setPointPlacement($pointPlacement) { |
||
1628 | |||
1629 | /** |
||
1630 | * Set the point start. |
||
1631 | * |
||
1632 | * @param integer $pointStart The point start. |
||
1633 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsLine Returns the highcharts line. |
||
1634 | */ |
||
1635 | public function setPointStart($pointStart) { |
||
1639 | |||
1640 | /** |
||
1641 | * Set the selected. |
||
1642 | * |
||
1643 | * @param boolean $selected The selected. |
||
1644 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsLine Returns the highcharts line. |
||
1645 | */ |
||
1646 | public function setSelected($selected) { |
||
1650 | |||
1651 | /** |
||
1652 | * Set the shadow. |
||
1653 | * |
||
1654 | * @param boolean|array $shadow The shadow. |
||
1655 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsLine Returns the highcharts line. |
||
1656 | */ |
||
1657 | public function setShadow($shadow) { |
||
1661 | |||
1662 | /** |
||
1663 | * Set the show checkbox. |
||
1664 | * |
||
1665 | * @param boolean $showCheckbox The show checkbox. |
||
1666 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsLine Returns the highcharts line. |
||
1667 | */ |
||
1668 | public function setShowCheckbox($showCheckbox) { |
||
1672 | |||
1673 | /** |
||
1674 | * Set the show in legend. |
||
1675 | * |
||
1676 | * @param boolean $showInLegend The show in legend. |
||
1677 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsLine Returns the highcharts line. |
||
1678 | */ |
||
1679 | public function setShowInLegend($showInLegend) { |
||
1683 | |||
1684 | /** |
||
1685 | * Set the skip keyboard navigation. |
||
1686 | * |
||
1687 | * @param boolean $skipKeyboardNavigation The skip keyboard navigation. |
||
1688 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsLine Returns the highcharts line. |
||
1689 | */ |
||
1690 | public function setSkipKeyboardNavigation($skipKeyboardNavigation) { |
||
1694 | |||
1695 | /** |
||
1696 | * Set the soft threshold. |
||
1697 | * |
||
1698 | * @param boolean $softThreshold The soft threshold. |
||
1699 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsLine Returns the highcharts line. |
||
1700 | */ |
||
1701 | public function setSoftThreshold($softThreshold) { |
||
1705 | |||
1706 | /** |
||
1707 | * Set the stack. |
||
1708 | * |
||
1709 | * @param string $stack The stack. |
||
1710 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsLine Returns the highcharts line. |
||
1711 | */ |
||
1712 | public function setStack($stack) { |
||
1716 | |||
1717 | /** |
||
1718 | * Set the stacking. |
||
1719 | * |
||
1720 | * @param string $stacking The stacking. |
||
1721 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsLine Returns the highcharts line. |
||
1722 | */ |
||
1723 | public function setStacking($stacking) { |
||
1733 | |||
1734 | /** |
||
1735 | * Set the states. |
||
1736 | * |
||
1737 | * @param \WBW\Bundle\HighchartsBundle\API\Chart\Series\Line\HighchartsStates $states The states. |
||
1738 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsLine Returns the highcharts line. |
||
1739 | */ |
||
1740 | public function setStates(\WBW\Bundle\HighchartsBundle\API\Chart\Series\Line\HighchartsStates $states = null) { |
||
1744 | |||
1745 | /** |
||
1746 | * Set the step. |
||
1747 | * |
||
1748 | * @param string $step The step. |
||
1749 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsLine Returns the highcharts line. |
||
1750 | */ |
||
1751 | public function setStep($step) { |
||
1761 | |||
1762 | /** |
||
1763 | * Set the sticky tracking. |
||
1764 | * |
||
1765 | * @param boolean $stickyTracking The sticky tracking. |
||
1766 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsLine Returns the highcharts line. |
||
1767 | */ |
||
1768 | public function setStickyTracking($stickyTracking) { |
||
1772 | |||
1773 | /** |
||
1774 | * Set the threshold. |
||
1775 | * |
||
1776 | * @param integer $threshold The threshold. |
||
1777 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsLine Returns the highcharts line. |
||
1778 | */ |
||
1779 | public function setThreshold($threshold) { |
||
1783 | |||
1784 | /** |
||
1785 | * Set the tooltip. |
||
1786 | * |
||
1787 | * @param array $tooltip The tooltip. |
||
1788 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsLine Returns the highcharts line. |
||
1789 | */ |
||
1790 | public function setTooltip(array $tooltip = null) { |
||
1794 | |||
1795 | /** |
||
1796 | * Set the turbo threshold. |
||
1797 | * |
||
1798 | * @param integer $turboThreshold The turbo threshold. |
||
1799 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsLine Returns the highcharts line. |
||
1800 | */ |
||
1801 | public function setTurboThreshold($turboThreshold) { |
||
1805 | |||
1806 | /** |
||
1807 | * Set the type. |
||
1808 | * |
||
1809 | * @param string $type The type. |
||
1810 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsLine Returns the highcharts line. |
||
1811 | */ |
||
1812 | public function setType($type) { |
||
1836 | |||
1837 | /** |
||
1838 | * Set the visible. |
||
1839 | * |
||
1840 | * @param boolean $visible The visible. |
||
1841 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsLine Returns the highcharts line. |
||
1842 | */ |
||
1843 | public function setVisible($visible) { |
||
1847 | |||
1848 | /** |
||
1849 | * Set the x axis. |
||
1850 | * |
||
1851 | * @param integer|string $xAxis The x axis. |
||
1852 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsLine Returns the highcharts line. |
||
1853 | */ |
||
1854 | public function setXAxis($xAxis) { |
||
1858 | |||
1859 | /** |
||
1860 | * Set the y axis. |
||
1861 | * |
||
1862 | * @param integer|string $yAxis The y axis. |
||
1863 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsLine Returns the highcharts line. |
||
1864 | */ |
||
1865 | public function setYAxis($yAxis) { |
||
1869 | |||
1870 | /** |
||
1871 | * Set the z index. |
||
1872 | * |
||
1873 | * @param integer $zIndex The z index. |
||
1874 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsLine Returns the highcharts line. |
||
1875 | */ |
||
1876 | public function setZIndex($zIndex) { |
||
1880 | |||
1881 | /** |
||
1882 | * Set the zone axis. |
||
1883 | * |
||
1884 | * @param string $zoneAxis The zone axis. |
||
1885 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsLine Returns the highcharts line. |
||
1886 | */ |
||
1887 | public function setZoneAxis($zoneAxis) { |
||
1891 | |||
1892 | /** |
||
1893 | * Set the zones. |
||
1894 | * |
||
1895 | * @param array $zones The zones. |
||
1896 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsLine Returns the highcharts line. |
||
1897 | */ |
||
1898 | public function setZones(array $zones = null) { |
||
1902 | |||
1903 | /** |
||
1904 | * Convert into an array representing this instance. |
||
1905 | * |
||
1906 | * @return array Returns an array representing this instance. |
||
1907 | */ |
||
1908 | public function toArray() { |
||
2094 | |||
2095 | } |
||
2096 |
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..