Complex classes like HighchartsArearange 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 HighchartsArearange, and based on these observations, apply Extract Interface, too.
1 | <?php |
||
25 | final class HighchartsArearange 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\Arearange\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\Arearange\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\Arearange\HighchartsStates |
||
348 | */ |
||
349 | private $states; |
||
350 | |||
351 | /** |
||
352 | * Step. |
||
353 | * |
||
354 | * @var string |
||
355 | * @since 1.2.5 |
||
356 | */ |
||
357 | private $step = "false"; |
||
358 | |||
359 | /** |
||
360 | * Sticky tracking. |
||
361 | * |
||
362 | * @var boolean |
||
363 | * @since 2.0 |
||
364 | */ |
||
365 | private $stickyTracking = true; |
||
366 | |||
367 | /** |
||
368 | * Tooltip. |
||
369 | * |
||
370 | * @var array |
||
371 | * @since 2.3 |
||
372 | */ |
||
373 | private $tooltip; |
||
374 | |||
375 | /** |
||
376 | * Track by area. |
||
377 | * |
||
378 | * @var boolean |
||
379 | * @since 2.3.0 |
||
380 | */ |
||
381 | private $trackByArea = true; |
||
382 | |||
383 | /** |
||
384 | * Turbo threshold. |
||
385 | * |
||
386 | * @var integer |
||
387 | * @since 2.2 |
||
388 | */ |
||
389 | private $turboThreshold = 1000; |
||
390 | |||
391 | /** |
||
392 | * Type. |
||
393 | * |
||
394 | * @var string |
||
395 | */ |
||
396 | private $type; |
||
397 | |||
398 | /** |
||
399 | * Visible. |
||
400 | * |
||
401 | * @var boolean |
||
402 | */ |
||
403 | private $visible = true; |
||
404 | |||
405 | /** |
||
406 | * X axis. |
||
407 | * |
||
408 | * @var integer|string |
||
409 | */ |
||
410 | private $xAxis = "0"; |
||
411 | |||
412 | /** |
||
413 | * Y axis. |
||
414 | * |
||
415 | * @var integer|string |
||
416 | */ |
||
417 | private $yAxis = "0"; |
||
418 | |||
419 | /** |
||
420 | * Z index. |
||
421 | * |
||
422 | * @var integer |
||
423 | */ |
||
424 | private $zIndex; |
||
425 | |||
426 | /** |
||
427 | * Zone axis. |
||
428 | * |
||
429 | * @var string |
||
430 | * @since 4.1.0 |
||
431 | */ |
||
432 | private $zoneAxis = "y"; |
||
433 | |||
434 | /** |
||
435 | * Zones. |
||
436 | * |
||
437 | * @var array |
||
438 | * @since 4.1.0 |
||
439 | */ |
||
440 | private $zones; |
||
441 | |||
442 | /** |
||
443 | * Constructor. |
||
444 | * |
||
445 | * @param boolean $ignoreDefaultValues Ignore the default values. |
||
446 | */ |
||
447 | public function __construct($ignoreDefaultValues = true) { |
||
452 | |||
453 | /** |
||
454 | * Clear. |
||
455 | * |
||
456 | * @return void |
||
457 | */ |
||
458 | public function clear() { |
||
631 | |||
632 | /** |
||
633 | * Get the allow point select. |
||
634 | * |
||
635 | * @return boolean Returns the allow point select. |
||
636 | */ |
||
637 | public function getAllowPointSelect() { |
||
640 | |||
641 | /** |
||
642 | * Get the animation. |
||
643 | * |
||
644 | * @return boolean Returns the animation. |
||
645 | */ |
||
646 | public function getAnimation() { |
||
649 | |||
650 | /** |
||
651 | * Get the animation limit. |
||
652 | * |
||
653 | * @return integer Returns the animation limit. |
||
654 | */ |
||
655 | public function getAnimationLimit() { |
||
658 | |||
659 | /** |
||
660 | * Get the class name. |
||
661 | * |
||
662 | * @return string Returns the class name. |
||
663 | */ |
||
664 | public function getClassName() { |
||
667 | |||
668 | /** |
||
669 | * Get the color. |
||
670 | * |
||
671 | * @return string Returns the color. |
||
672 | */ |
||
673 | public function getColor() { |
||
676 | |||
677 | /** |
||
678 | * Get the color index. |
||
679 | * |
||
680 | * @return integer Returns the color index. |
||
681 | */ |
||
682 | public function getColorIndex() { |
||
685 | |||
686 | /** |
||
687 | * Get the connect nulls. |
||
688 | * |
||
689 | * @return boolean Returns the connect nulls. |
||
690 | */ |
||
691 | public function getConnectNulls() { |
||
694 | |||
695 | /** |
||
696 | * Get the crop threshold. |
||
697 | * |
||
698 | * @return integer Returns the crop threshold. |
||
699 | */ |
||
700 | public function getCropThreshold() { |
||
703 | |||
704 | /** |
||
705 | * Get the cursor. |
||
706 | * |
||
707 | * @return string Returns the cursor. |
||
708 | */ |
||
709 | public function getCursor() { |
||
712 | |||
713 | /** |
||
714 | * Get the dash style. |
||
715 | * |
||
716 | * @return string Returns the dash style. |
||
717 | */ |
||
718 | public function getDashStyle() { |
||
721 | |||
722 | /** |
||
723 | * Get the data. |
||
724 | * |
||
725 | * @return array Returns the data. |
||
726 | */ |
||
727 | public function getData() { |
||
730 | |||
731 | /** |
||
732 | * Get the data labels. |
||
733 | * |
||
734 | * @return array Returns the data labels. |
||
735 | */ |
||
736 | public function getDataLabels() { |
||
739 | |||
740 | /** |
||
741 | * Get the description. |
||
742 | * |
||
743 | * @return string Returns the description. |
||
744 | */ |
||
745 | public function getDescription() { |
||
748 | |||
749 | /** |
||
750 | * Get the enable mouse tracking. |
||
751 | * |
||
752 | * @return boolean Returns the enable mouse tracking. |
||
753 | */ |
||
754 | public function getEnableMouseTracking() { |
||
757 | |||
758 | /** |
||
759 | * Get the events. |
||
760 | * |
||
761 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\Arearange\HighchartsEvents Returns the events. |
||
762 | */ |
||
763 | public function getEvents() { |
||
766 | |||
767 | /** |
||
768 | * Get the expose element to a11y. |
||
769 | * |
||
770 | * @return boolean Returns the expose element to a11y. |
||
771 | */ |
||
772 | public function getExposeElementToA11y() { |
||
775 | |||
776 | /** |
||
777 | * Get the fill color. |
||
778 | * |
||
779 | * @return string Returns the fill color. |
||
780 | */ |
||
781 | public function getFillColor() { |
||
784 | |||
785 | /** |
||
786 | * Get the fill opacity. |
||
787 | * |
||
788 | * @return integer Returns the fill opacity. |
||
789 | */ |
||
790 | public function getFillOpacity() { |
||
793 | |||
794 | /** |
||
795 | * Get the find nearest point by. |
||
796 | * |
||
797 | * @return string Returns the find nearest point by. |
||
798 | */ |
||
799 | public function getFindNearestPointBy() { |
||
802 | |||
803 | /** |
||
804 | * Get the get extremes from all. |
||
805 | * |
||
806 | * @return boolean Returns the get extremes from all. |
||
807 | */ |
||
808 | public function getGetExtremesFromAll() { |
||
811 | |||
812 | /** |
||
813 | * Get the id. |
||
814 | * |
||
815 | * @return string Returns the id. |
||
816 | */ |
||
817 | public function getId() { |
||
820 | |||
821 | /** |
||
822 | * Get the index. |
||
823 | * |
||
824 | * @return integer Returns the index. |
||
825 | */ |
||
826 | public function getIndex() { |
||
829 | |||
830 | /** |
||
831 | * Get the keys. |
||
832 | * |
||
833 | * @return array Returns the keys. |
||
834 | */ |
||
835 | public function getKeys() { |
||
838 | |||
839 | /** |
||
840 | * Get the legend index. |
||
841 | * |
||
842 | * @return integer Returns the legend index. |
||
843 | */ |
||
844 | public function getLegendIndex() { |
||
847 | |||
848 | /** |
||
849 | * Get the line color. |
||
850 | * |
||
851 | * @return string Returns the line color. |
||
852 | */ |
||
853 | public function getLineColor() { |
||
856 | |||
857 | /** |
||
858 | * Get the line width. |
||
859 | * |
||
860 | * @return integer Returns the line width. |
||
861 | */ |
||
862 | public function getLineWidth() { |
||
865 | |||
866 | /** |
||
867 | * Get the linecap. |
||
868 | * |
||
869 | * @return string Returns the linecap. |
||
870 | */ |
||
871 | public function getLinecap() { |
||
874 | |||
875 | /** |
||
876 | * Get the linked to. |
||
877 | * |
||
878 | * @return string Returns the linked to. |
||
879 | */ |
||
880 | public function getLinkedTo() { |
||
883 | |||
884 | /** |
||
885 | * Get the name. |
||
886 | * |
||
887 | * @return string Returns the name. |
||
888 | */ |
||
889 | public function getName() { |
||
892 | |||
893 | /** |
||
894 | * Get the negative color. |
||
895 | * |
||
896 | * @return string Returns the negative color. |
||
897 | */ |
||
898 | public function getNegativeColor() { |
||
901 | |||
902 | /** |
||
903 | * Get the negative fill color. |
||
904 | * |
||
905 | * @return string Returns the negative fill color. |
||
906 | */ |
||
907 | public function getNegativeFillColor() { |
||
910 | |||
911 | /** |
||
912 | * Get the point. |
||
913 | * |
||
914 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\Arearange\HighchartsPoint Returns the point. |
||
915 | */ |
||
916 | public function getPoint() { |
||
919 | |||
920 | /** |
||
921 | * Get the point description formatter. |
||
922 | * |
||
923 | * @return string Returns the point description formatter. |
||
924 | */ |
||
925 | public function getPointDescriptionFormatter() { |
||
928 | |||
929 | /** |
||
930 | * Get the point interval. |
||
931 | * |
||
932 | * @return integer Returns the point interval. |
||
933 | */ |
||
934 | public function getPointInterval() { |
||
937 | |||
938 | /** |
||
939 | * Get the point interval unit. |
||
940 | * |
||
941 | * @return string Returns the point interval unit. |
||
942 | */ |
||
943 | public function getPointIntervalUnit() { |
||
946 | |||
947 | /** |
||
948 | * Get the point placement. |
||
949 | * |
||
950 | * @return string|integer Returns the point placement. |
||
951 | */ |
||
952 | public function getPointPlacement() { |
||
955 | |||
956 | /** |
||
957 | * Get the point start. |
||
958 | * |
||
959 | * @return integer Returns the point start. |
||
960 | */ |
||
961 | public function getPointStart() { |
||
964 | |||
965 | /** |
||
966 | * Get the selected. |
||
967 | * |
||
968 | * @return boolean Returns the selected. |
||
969 | */ |
||
970 | public function getSelected() { |
||
973 | |||
974 | /** |
||
975 | * Get the shadow. |
||
976 | * |
||
977 | * @return boolean|array Returns the shadow. |
||
978 | */ |
||
979 | public function getShadow() { |
||
982 | |||
983 | /** |
||
984 | * Get the show checkbox. |
||
985 | * |
||
986 | * @return boolean Returns the show checkbox. |
||
987 | */ |
||
988 | public function getShowCheckbox() { |
||
991 | |||
992 | /** |
||
993 | * Get the show in legend. |
||
994 | * |
||
995 | * @return boolean Returns the show in legend. |
||
996 | */ |
||
997 | public function getShowInLegend() { |
||
1000 | |||
1001 | /** |
||
1002 | * Get the skip keyboard navigation. |
||
1003 | * |
||
1004 | * @return boolean Returns the skip keyboard navigation. |
||
1005 | */ |
||
1006 | public function getSkipKeyboardNavigation() { |
||
1009 | |||
1010 | /** |
||
1011 | * Get the states. |
||
1012 | * |
||
1013 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\Arearange\HighchartsStates Returns the states. |
||
1014 | */ |
||
1015 | public function getStates() { |
||
1018 | |||
1019 | /** |
||
1020 | * Get the step. |
||
1021 | * |
||
1022 | * @return string Returns the step. |
||
1023 | */ |
||
1024 | public function getStep() { |
||
1027 | |||
1028 | /** |
||
1029 | * Get the sticky tracking. |
||
1030 | * |
||
1031 | * @return boolean Returns the sticky tracking. |
||
1032 | */ |
||
1033 | public function getStickyTracking() { |
||
1036 | |||
1037 | /** |
||
1038 | * Get the tooltip. |
||
1039 | * |
||
1040 | * @return array Returns the tooltip. |
||
1041 | */ |
||
1042 | public function getTooltip() { |
||
1045 | |||
1046 | /** |
||
1047 | * Get the track by area. |
||
1048 | * |
||
1049 | * @return boolean Returns the track by area. |
||
1050 | */ |
||
1051 | public function getTrackByArea() { |
||
1054 | |||
1055 | /** |
||
1056 | * Get the turbo threshold. |
||
1057 | * |
||
1058 | * @return integer Returns the turbo threshold. |
||
1059 | */ |
||
1060 | public function getTurboThreshold() { |
||
1063 | |||
1064 | /** |
||
1065 | * Get the type. |
||
1066 | * |
||
1067 | * @return string Returns the type. |
||
1068 | */ |
||
1069 | public function getType() { |
||
1072 | |||
1073 | /** |
||
1074 | * Get the visible. |
||
1075 | * |
||
1076 | * @return boolean Returns the visible. |
||
1077 | */ |
||
1078 | public function getVisible() { |
||
1081 | |||
1082 | /** |
||
1083 | * Get the x axis. |
||
1084 | * |
||
1085 | * @return integer|string Returns the x axis. |
||
1086 | */ |
||
1087 | public function getXAxis() { |
||
1090 | |||
1091 | /** |
||
1092 | * Get the y axis. |
||
1093 | * |
||
1094 | * @return integer|string Returns the y axis. |
||
1095 | */ |
||
1096 | public function getYAxis() { |
||
1099 | |||
1100 | /** |
||
1101 | * Get the z index. |
||
1102 | * |
||
1103 | * @return integer Returns the z index. |
||
1104 | */ |
||
1105 | public function getZIndex() { |
||
1108 | |||
1109 | /** |
||
1110 | * Get the zone axis. |
||
1111 | * |
||
1112 | * @return string Returns the zone axis. |
||
1113 | */ |
||
1114 | public function getZoneAxis() { |
||
1117 | |||
1118 | /** |
||
1119 | * Get the zones. |
||
1120 | * |
||
1121 | * @return array Returns the zones. |
||
1122 | */ |
||
1123 | public function getZones() { |
||
1126 | |||
1127 | /** |
||
1128 | * Serialize this instance. |
||
1129 | * |
||
1130 | * @return array Returns an array representing this instance. |
||
1131 | */ |
||
1132 | public function jsonSerialize() { |
||
1135 | |||
1136 | /** |
||
1137 | * Create a new events. |
||
1138 | * |
||
1139 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\Arearange\HighchartsEvents Returns the events. |
||
1140 | */ |
||
1141 | public function newEvents() { |
||
1145 | |||
1146 | /** |
||
1147 | * Create a new point. |
||
1148 | * |
||
1149 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\Arearange\HighchartsPoint Returns the point. |
||
1150 | */ |
||
1151 | public function newPoint() { |
||
1155 | |||
1156 | /** |
||
1157 | * Create a new states. |
||
1158 | * |
||
1159 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\Arearange\HighchartsStates Returns the states. |
||
1160 | */ |
||
1161 | public function newStates() { |
||
1165 | |||
1166 | /** |
||
1167 | * Set the allow point select. |
||
1168 | * |
||
1169 | * @param boolean $allowPointSelect The allow point select. |
||
1170 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsArearange Returns the highcharts arearange. |
||
1171 | */ |
||
1172 | public function setAllowPointSelect($allowPointSelect) { |
||
1176 | |||
1177 | /** |
||
1178 | * Set the animation. |
||
1179 | * |
||
1180 | * @param boolean $animation The animation. |
||
1181 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsArearange Returns the highcharts arearange. |
||
1182 | */ |
||
1183 | public function setAnimation($animation) { |
||
1187 | |||
1188 | /** |
||
1189 | * Set the animation limit. |
||
1190 | * |
||
1191 | * @param integer $animationLimit The animation limit. |
||
1192 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsArearange Returns the highcharts arearange. |
||
1193 | */ |
||
1194 | public function setAnimationLimit($animationLimit) { |
||
1198 | |||
1199 | /** |
||
1200 | * Set the class name. |
||
1201 | * |
||
1202 | * @param string $className The class name. |
||
1203 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsArearange Returns the highcharts arearange. |
||
1204 | */ |
||
1205 | public function setClassName($className) { |
||
1209 | |||
1210 | /** |
||
1211 | * Set the color. |
||
1212 | * |
||
1213 | * @param string $color The color. |
||
1214 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsArearange Returns the highcharts arearange. |
||
1215 | */ |
||
1216 | public function setColor($color) { |
||
1220 | |||
1221 | /** |
||
1222 | * Set the color index. |
||
1223 | * |
||
1224 | * @param integer $colorIndex The color index. |
||
1225 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsArearange Returns the highcharts arearange. |
||
1226 | */ |
||
1227 | public function setColorIndex($colorIndex) { |
||
1231 | |||
1232 | /** |
||
1233 | * Set the connect nulls. |
||
1234 | * |
||
1235 | * @param boolean $connectNulls The connect nulls. |
||
1236 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsArearange Returns the highcharts arearange. |
||
1237 | */ |
||
1238 | public function setConnectNulls($connectNulls) { |
||
1242 | |||
1243 | /** |
||
1244 | * Set the crop threshold. |
||
1245 | * |
||
1246 | * @param integer $cropThreshold The crop threshold. |
||
1247 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsArearange Returns the highcharts arearange. |
||
1248 | */ |
||
1249 | public function setCropThreshold($cropThreshold) { |
||
1253 | |||
1254 | /** |
||
1255 | * Set the cursor. |
||
1256 | * |
||
1257 | * @param string $cursor The cursor. |
||
1258 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsArearange Returns the highcharts arearange. |
||
1259 | */ |
||
1260 | public function setCursor($cursor) { |
||
1273 | |||
1274 | /** |
||
1275 | * Set the dash style. |
||
1276 | * |
||
1277 | * @param string $dashStyle The dash style. |
||
1278 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsArearange Returns the highcharts arearange. |
||
1279 | */ |
||
1280 | public function setDashStyle($dashStyle) { |
||
1298 | |||
1299 | /** |
||
1300 | * Set the data. |
||
1301 | * |
||
1302 | * @param array $data The data. |
||
1303 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsArearange Returns the highcharts arearange. |
||
1304 | */ |
||
1305 | public function setData(array $data = null) { |
||
1309 | |||
1310 | /** |
||
1311 | * Set the data labels. |
||
1312 | * |
||
1313 | * @param array $dataLabels The data labels. |
||
1314 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsArearange Returns the highcharts arearange. |
||
1315 | */ |
||
1316 | public function setDataLabels(array $dataLabels = null) { |
||
1320 | |||
1321 | /** |
||
1322 | * Set the description. |
||
1323 | * |
||
1324 | * @param string $description The description. |
||
1325 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsArearange Returns the highcharts arearange. |
||
1326 | */ |
||
1327 | public function setDescription($description) { |
||
1331 | |||
1332 | /** |
||
1333 | * Set the enable mouse tracking. |
||
1334 | * |
||
1335 | * @param boolean $enableMouseTracking The enable mouse tracking. |
||
1336 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsArearange Returns the highcharts arearange. |
||
1337 | */ |
||
1338 | public function setEnableMouseTracking($enableMouseTracking) { |
||
1342 | |||
1343 | /** |
||
1344 | * Set the events. |
||
1345 | * |
||
1346 | * @param \WBW\Bundle\HighchartsBundle\API\Chart\Series\Arearange\HighchartsEvents $events The events. |
||
1347 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsArearange Returns the highcharts arearange. |
||
1348 | */ |
||
1349 | public function setEvents(\WBW\Bundle\HighchartsBundle\API\Chart\Series\Arearange\HighchartsEvents $events = null) { |
||
1353 | |||
1354 | /** |
||
1355 | * Set the expose element to a11y. |
||
1356 | * |
||
1357 | * @param boolean $exposeElementToA11y The expose element to a11y. |
||
1358 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsArearange Returns the highcharts arearange. |
||
1359 | */ |
||
1360 | public function setExposeElementToA11y($exposeElementToA11y) { |
||
1364 | |||
1365 | /** |
||
1366 | * Set the fill color. |
||
1367 | * |
||
1368 | * @param string $fillColor The fill color. |
||
1369 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsArearange Returns the highcharts arearange. |
||
1370 | */ |
||
1371 | public function setFillColor($fillColor) { |
||
1375 | |||
1376 | /** |
||
1377 | * Set the fill opacity. |
||
1378 | * |
||
1379 | * @param integer $fillOpacity The fill opacity. |
||
1380 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsArearange Returns the highcharts arearange. |
||
1381 | */ |
||
1382 | public function setFillOpacity($fillOpacity) { |
||
1386 | |||
1387 | /** |
||
1388 | * Set the find nearest point by. |
||
1389 | * |
||
1390 | * @param string $findNearestPointBy The find nearest point by. |
||
1391 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsArearange Returns the highcharts arearange. |
||
1392 | */ |
||
1393 | public function setFindNearestPointBy($findNearestPointBy) { |
||
1402 | |||
1403 | /** |
||
1404 | * Set the get extremes from all. |
||
1405 | * |
||
1406 | * @param boolean $getExtremesFromAll The get extremes from all. |
||
1407 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsArearange Returns the highcharts arearange. |
||
1408 | */ |
||
1409 | public function setGetExtremesFromAll($getExtremesFromAll) { |
||
1413 | |||
1414 | /** |
||
1415 | * Set the id. |
||
1416 | * |
||
1417 | * @param string $id The id. |
||
1418 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsArearange Returns the highcharts arearange. |
||
1419 | */ |
||
1420 | public function setId($id) { |
||
1424 | |||
1425 | /** |
||
1426 | * Set the index. |
||
1427 | * |
||
1428 | * @param integer $index The index. |
||
1429 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsArearange Returns the highcharts arearange. |
||
1430 | */ |
||
1431 | public function setIndex($index) { |
||
1435 | |||
1436 | /** |
||
1437 | * Set the keys. |
||
1438 | * |
||
1439 | * @param array $keys The keys. |
||
1440 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsArearange Returns the highcharts arearange. |
||
1441 | */ |
||
1442 | public function setKeys(array $keys = null) { |
||
1446 | |||
1447 | /** |
||
1448 | * Set the legend index. |
||
1449 | * |
||
1450 | * @param integer $legendIndex The legend index. |
||
1451 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsArearange Returns the highcharts arearange. |
||
1452 | */ |
||
1453 | public function setLegendIndex($legendIndex) { |
||
1457 | |||
1458 | /** |
||
1459 | * Set the line color. |
||
1460 | * |
||
1461 | * @param string $lineColor The line color. |
||
1462 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsArearange Returns the highcharts arearange. |
||
1463 | */ |
||
1464 | public function setLineColor($lineColor) { |
||
1468 | |||
1469 | /** |
||
1470 | * Set the line width. |
||
1471 | * |
||
1472 | * @param integer $lineWidth The line width. |
||
1473 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsArearange Returns the highcharts arearange. |
||
1474 | */ |
||
1475 | public function setLineWidth($lineWidth) { |
||
1479 | |||
1480 | /** |
||
1481 | * Set the linecap. |
||
1482 | * |
||
1483 | * @param string $linecap The linecap. |
||
1484 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsArearange Returns the highcharts arearange. |
||
1485 | */ |
||
1486 | public function setLinecap($linecap) { |
||
1495 | |||
1496 | /** |
||
1497 | * Set the linked to. |
||
1498 | * |
||
1499 | * @param string $linkedTo The linked to. |
||
1500 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsArearange Returns the highcharts arearange. |
||
1501 | */ |
||
1502 | public function setLinkedTo($linkedTo) { |
||
1506 | |||
1507 | /** |
||
1508 | * Set the name. |
||
1509 | * |
||
1510 | * @param string $name The name. |
||
1511 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsArearange Returns the highcharts arearange. |
||
1512 | */ |
||
1513 | public function setName($name) { |
||
1517 | |||
1518 | /** |
||
1519 | * Set the negative color. |
||
1520 | * |
||
1521 | * @param string $negativeColor The negative color. |
||
1522 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsArearange Returns the highcharts arearange. |
||
1523 | */ |
||
1524 | public function setNegativeColor($negativeColor) { |
||
1528 | |||
1529 | /** |
||
1530 | * Set the negative fill color. |
||
1531 | * |
||
1532 | * @param string $negativeFillColor The negative fill color. |
||
1533 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsArearange Returns the highcharts arearange. |
||
1534 | */ |
||
1535 | public function setNegativeFillColor($negativeFillColor) { |
||
1539 | |||
1540 | /** |
||
1541 | * Set the point. |
||
1542 | * |
||
1543 | * @param \WBW\Bundle\HighchartsBundle\API\Chart\Series\Arearange\HighchartsPoint $point The point. |
||
1544 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsArearange Returns the highcharts arearange. |
||
1545 | */ |
||
1546 | public function setPoint(\WBW\Bundle\HighchartsBundle\API\Chart\Series\Arearange\HighchartsPoint $point = null) { |
||
1550 | |||
1551 | /** |
||
1552 | * Set the point description formatter. |
||
1553 | * |
||
1554 | * @param string $pointDescriptionFormatter The point description formatter. |
||
1555 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsArearange Returns the highcharts arearange. |
||
1556 | */ |
||
1557 | public function setPointDescriptionFormatter($pointDescriptionFormatter) { |
||
1561 | |||
1562 | /** |
||
1563 | * Set the point interval. |
||
1564 | * |
||
1565 | * @param integer $pointInterval The point interval. |
||
1566 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsArearange Returns the highcharts arearange. |
||
1567 | */ |
||
1568 | public function setPointInterval($pointInterval) { |
||
1572 | |||
1573 | /** |
||
1574 | * Set the point interval unit. |
||
1575 | * |
||
1576 | * @param string $pointIntervalUnit The point interval unit. |
||
1577 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsArearange Returns the highcharts arearange. |
||
1578 | */ |
||
1579 | public function setPointIntervalUnit($pointIntervalUnit) { |
||
1590 | |||
1591 | /** |
||
1592 | * Set the point placement. |
||
1593 | * |
||
1594 | * @param string|integer $pointPlacement The point placement. |
||
1595 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsArearange Returns the highcharts arearange. |
||
1596 | */ |
||
1597 | public function setPointPlacement($pointPlacement) { |
||
1607 | |||
1608 | /** |
||
1609 | * Set the point start. |
||
1610 | * |
||
1611 | * @param integer $pointStart The point start. |
||
1612 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsArearange Returns the highcharts arearange. |
||
1613 | */ |
||
1614 | public function setPointStart($pointStart) { |
||
1618 | |||
1619 | /** |
||
1620 | * Set the selected. |
||
1621 | * |
||
1622 | * @param boolean $selected The selected. |
||
1623 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsArearange Returns the highcharts arearange. |
||
1624 | */ |
||
1625 | public function setSelected($selected) { |
||
1629 | |||
1630 | /** |
||
1631 | * Set the shadow. |
||
1632 | * |
||
1633 | * @param boolean|array $shadow The shadow. |
||
1634 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsArearange Returns the highcharts arearange. |
||
1635 | */ |
||
1636 | public function setShadow($shadow) { |
||
1640 | |||
1641 | /** |
||
1642 | * Set the show checkbox. |
||
1643 | * |
||
1644 | * @param boolean $showCheckbox The show checkbox. |
||
1645 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsArearange Returns the highcharts arearange. |
||
1646 | */ |
||
1647 | public function setShowCheckbox($showCheckbox) { |
||
1651 | |||
1652 | /** |
||
1653 | * Set the show in legend. |
||
1654 | * |
||
1655 | * @param boolean $showInLegend The show in legend. |
||
1656 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsArearange Returns the highcharts arearange. |
||
1657 | */ |
||
1658 | public function setShowInLegend($showInLegend) { |
||
1662 | |||
1663 | /** |
||
1664 | * Set the skip keyboard navigation. |
||
1665 | * |
||
1666 | * @param boolean $skipKeyboardNavigation The skip keyboard navigation. |
||
1667 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsArearange Returns the highcharts arearange. |
||
1668 | */ |
||
1669 | public function setSkipKeyboardNavigation($skipKeyboardNavigation) { |
||
1673 | |||
1674 | /** |
||
1675 | * Set the states. |
||
1676 | * |
||
1677 | * @param \WBW\Bundle\HighchartsBundle\API\Chart\Series\Arearange\HighchartsStates $states The states. |
||
1678 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsArearange Returns the highcharts arearange. |
||
1679 | */ |
||
1680 | public function setStates(\WBW\Bundle\HighchartsBundle\API\Chart\Series\Arearange\HighchartsStates $states = null) { |
||
1684 | |||
1685 | /** |
||
1686 | * Set the step. |
||
1687 | * |
||
1688 | * @param string $step The step. |
||
1689 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsArearange Returns the highcharts arearange. |
||
1690 | */ |
||
1691 | public function setStep($step) { |
||
1701 | |||
1702 | /** |
||
1703 | * Set the sticky tracking. |
||
1704 | * |
||
1705 | * @param boolean $stickyTracking The sticky tracking. |
||
1706 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsArearange Returns the highcharts arearange. |
||
1707 | */ |
||
1708 | public function setStickyTracking($stickyTracking) { |
||
1712 | |||
1713 | /** |
||
1714 | * Set the tooltip. |
||
1715 | * |
||
1716 | * @param array $tooltip The tooltip. |
||
1717 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsArearange Returns the highcharts arearange. |
||
1718 | */ |
||
1719 | public function setTooltip(array $tooltip = null) { |
||
1723 | |||
1724 | /** |
||
1725 | * Set the track by area. |
||
1726 | * |
||
1727 | * @param boolean $trackByArea The track by area. |
||
1728 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsArearange Returns the highcharts arearange. |
||
1729 | */ |
||
1730 | public function setTrackByArea($trackByArea) { |
||
1734 | |||
1735 | /** |
||
1736 | * Set the turbo threshold. |
||
1737 | * |
||
1738 | * @param integer $turboThreshold The turbo threshold. |
||
1739 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsArearange Returns the highcharts arearange. |
||
1740 | */ |
||
1741 | public function setTurboThreshold($turboThreshold) { |
||
1745 | |||
1746 | /** |
||
1747 | * Set the type. |
||
1748 | * |
||
1749 | * @param string $type The type. |
||
1750 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsArearange Returns the highcharts arearange. |
||
1751 | */ |
||
1752 | public function setType($type) { |
||
1776 | |||
1777 | /** |
||
1778 | * Set the visible. |
||
1779 | * |
||
1780 | * @param boolean $visible The visible. |
||
1781 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsArearange Returns the highcharts arearange. |
||
1782 | */ |
||
1783 | public function setVisible($visible) { |
||
1787 | |||
1788 | /** |
||
1789 | * Set the x axis. |
||
1790 | * |
||
1791 | * @param integer|string $xAxis The x axis. |
||
1792 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsArearange Returns the highcharts arearange. |
||
1793 | */ |
||
1794 | public function setXAxis($xAxis) { |
||
1798 | |||
1799 | /** |
||
1800 | * Set the y axis. |
||
1801 | * |
||
1802 | * @param integer|string $yAxis The y axis. |
||
1803 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsArearange Returns the highcharts arearange. |
||
1804 | */ |
||
1805 | public function setYAxis($yAxis) { |
||
1809 | |||
1810 | /** |
||
1811 | * Set the z index. |
||
1812 | * |
||
1813 | * @param integer $zIndex The z index. |
||
1814 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsArearange Returns the highcharts arearange. |
||
1815 | */ |
||
1816 | public function setZIndex($zIndex) { |
||
1820 | |||
1821 | /** |
||
1822 | * Set the zone axis. |
||
1823 | * |
||
1824 | * @param string $zoneAxis The zone axis. |
||
1825 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsArearange Returns the highcharts arearange. |
||
1826 | */ |
||
1827 | public function setZoneAxis($zoneAxis) { |
||
1831 | |||
1832 | /** |
||
1833 | * Set the zones. |
||
1834 | * |
||
1835 | * @param array $zones The zones. |
||
1836 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsArearange Returns the highcharts arearange. |
||
1837 | */ |
||
1838 | public function setZones(array $zones = null) { |
||
1842 | |||
1843 | /** |
||
1844 | * Convert into an array representing this instance. |
||
1845 | * |
||
1846 | * @return array Returns an array representing this instance. |
||
1847 | */ |
||
1848 | public function toArray() { |
||
2027 | |||
2028 | } |
||
2029 |
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..