Complex classes like HighchartsScatter 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 HighchartsScatter, and based on these observations, apply Extract Interface, too.
1 | <?php |
||
25 | final class HighchartsScatter 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 | * Crop threshold. |
||
74 | * |
||
75 | * @var integer |
||
76 | * @since 2.2 |
||
77 | */ |
||
78 | private $cropThreshold = 300; |
||
79 | |||
80 | /** |
||
81 | * Cursor. |
||
82 | * |
||
83 | * @var string |
||
84 | */ |
||
85 | private $cursor; |
||
86 | |||
87 | /** |
||
88 | * Dash style. |
||
89 | * |
||
90 | * @var string |
||
91 | * @since 2.1 |
||
92 | */ |
||
93 | private $dashStyle = "Solid"; |
||
94 | |||
95 | /** |
||
96 | * Data. |
||
97 | * |
||
98 | * @var array |
||
99 | */ |
||
100 | private $data; |
||
101 | |||
102 | /** |
||
103 | * Data labels. |
||
104 | * |
||
105 | * @var \WBW\Bundle\HighchartsBundle\API\Chart\Series\Scatter\HighchartsDataLabels |
||
106 | */ |
||
107 | private $dataLabels; |
||
108 | |||
109 | /** |
||
110 | * Description. |
||
111 | * |
||
112 | * @var string |
||
113 | * @since 5.0.0 |
||
114 | */ |
||
115 | private $description; |
||
116 | |||
117 | /** |
||
118 | * Enable mouse tracking. |
||
119 | * |
||
120 | * @var boolean |
||
121 | */ |
||
122 | private $enableMouseTracking = true; |
||
123 | |||
124 | /** |
||
125 | * Events. |
||
126 | * |
||
127 | * @var \WBW\Bundle\HighchartsBundle\API\Chart\Series\Scatter\HighchartsEvents |
||
128 | */ |
||
129 | private $events; |
||
130 | |||
131 | /** |
||
132 | * Expose element to a11y. |
||
133 | * |
||
134 | * @var boolean |
||
135 | * @since 5.0.12 |
||
136 | */ |
||
137 | private $exposeElementToA11y; |
||
138 | |||
139 | /** |
||
140 | * Find nearest point by. |
||
141 | * |
||
142 | * @var string |
||
143 | * @since 5.0.10 |
||
144 | */ |
||
145 | private $findNearestPointBy; |
||
146 | |||
147 | /** |
||
148 | * Get extremes from all. |
||
149 | * |
||
150 | * @var boolean |
||
151 | * @since 4.1.6 |
||
152 | */ |
||
153 | private $getExtremesFromAll = false; |
||
154 | |||
155 | /** |
||
156 | * Id. |
||
157 | * |
||
158 | * @var string |
||
159 | * @since 1.2.0 |
||
160 | */ |
||
161 | private $id; |
||
162 | |||
163 | /** |
||
164 | * Index. |
||
165 | * |
||
166 | * @var integer |
||
167 | * @since 2.3.0 |
||
168 | */ |
||
169 | private $index; |
||
170 | |||
171 | /** |
||
172 | * Keys. |
||
173 | * |
||
174 | * @var array |
||
175 | * @since 4.1.6 |
||
176 | */ |
||
177 | private $keys; |
||
178 | |||
179 | /** |
||
180 | * Legend index. |
||
181 | * |
||
182 | * @var integer |
||
183 | */ |
||
184 | private $legendIndex; |
||
185 | |||
186 | /** |
||
187 | * Line width. |
||
188 | * |
||
189 | * @var integer |
||
190 | */ |
||
191 | private $lineWidth = 0; |
||
192 | |||
193 | /** |
||
194 | * Linked to. |
||
195 | * |
||
196 | * @var string |
||
197 | * @since 3.0 |
||
198 | */ |
||
199 | private $linkedTo; |
||
200 | |||
201 | /** |
||
202 | * Marker. |
||
203 | * |
||
204 | * @var \WBW\Bundle\HighchartsBundle\API\Chart\Series\Scatter\HighchartsMarker |
||
205 | */ |
||
206 | private $marker; |
||
207 | |||
208 | /** |
||
209 | * Name. |
||
210 | * |
||
211 | * @var string |
||
212 | */ |
||
213 | private $name; |
||
214 | |||
215 | /** |
||
216 | * Negative color. |
||
217 | * |
||
218 | * @var string |
||
219 | * @since 3.0 |
||
220 | */ |
||
221 | private $negativeColor; |
||
222 | |||
223 | /** |
||
224 | * Point. |
||
225 | * |
||
226 | * @var \WBW\Bundle\HighchartsBundle\API\Chart\Series\Scatter\HighchartsPoint |
||
227 | */ |
||
228 | private $point; |
||
229 | |||
230 | /** |
||
231 | * Point description formatter. |
||
232 | * |
||
233 | * @var string |
||
234 | * @since 5.0.12 |
||
235 | */ |
||
236 | private $pointDescriptionFormatter; |
||
237 | |||
238 | /** |
||
239 | * Point interval. |
||
240 | * |
||
241 | * @var integer |
||
242 | */ |
||
243 | private $pointInterval = 1; |
||
244 | |||
245 | /** |
||
246 | * Point interval unit. |
||
247 | * |
||
248 | * @var string |
||
249 | * @since 4.1.0 |
||
250 | */ |
||
251 | private $pointIntervalUnit; |
||
252 | |||
253 | /** |
||
254 | * Point start. |
||
255 | * |
||
256 | * @var integer |
||
257 | */ |
||
258 | private $pointStart = 0; |
||
259 | |||
260 | /** |
||
261 | * Selected. |
||
262 | * |
||
263 | * @var boolean |
||
264 | * @since 1.2.0 |
||
265 | */ |
||
266 | private $selected = false; |
||
267 | |||
268 | /** |
||
269 | * Shadow. |
||
270 | * |
||
271 | * @var boolean|array |
||
272 | */ |
||
273 | private $shadow = false; |
||
274 | |||
275 | /** |
||
276 | * Show checkbox. |
||
277 | * |
||
278 | * @var boolean |
||
279 | * @since 1.2.0 |
||
280 | */ |
||
281 | private $showCheckbox = false; |
||
282 | |||
283 | /** |
||
284 | * Show in legend. |
||
285 | * |
||
286 | * @var boolean |
||
287 | */ |
||
288 | private $showInLegend = true; |
||
289 | |||
290 | /** |
||
291 | * Skip keyboard navigation. |
||
292 | * |
||
293 | * @var boolean |
||
294 | * @since 5.0.12 |
||
295 | */ |
||
296 | private $skipKeyboardNavigation; |
||
297 | |||
298 | /** |
||
299 | * Soft threshold. |
||
300 | * |
||
301 | * @var boolean |
||
302 | * @since 4.1.9 |
||
303 | */ |
||
304 | private $softThreshold = true; |
||
305 | |||
306 | /** |
||
307 | * States. |
||
308 | * |
||
309 | * @var \WBW\Bundle\HighchartsBundle\API\Chart\Series\Scatter\HighchartsStates |
||
310 | */ |
||
311 | private $states; |
||
312 | |||
313 | /** |
||
314 | * Sticky tracking. |
||
315 | * |
||
316 | * @var boolean |
||
317 | */ |
||
318 | private $stickyTracking = false; |
||
319 | |||
320 | /** |
||
321 | * Threshold. |
||
322 | * |
||
323 | * @var integer |
||
324 | * @since 3.0 |
||
325 | */ |
||
326 | private $threshold = 0; |
||
327 | |||
328 | /** |
||
329 | * Tooltip. |
||
330 | * |
||
331 | * @var array |
||
332 | * @since 2.3 |
||
333 | */ |
||
334 | private $tooltip; |
||
335 | |||
336 | /** |
||
337 | * Turbo threshold. |
||
338 | * |
||
339 | * @var integer |
||
340 | * @since 2.2 |
||
341 | */ |
||
342 | private $turboThreshold = 1000; |
||
343 | |||
344 | /** |
||
345 | * Type. |
||
346 | * |
||
347 | * @var string |
||
348 | */ |
||
349 | private $type; |
||
350 | |||
351 | /** |
||
352 | * Visible. |
||
353 | * |
||
354 | * @var boolean |
||
355 | */ |
||
356 | private $visible = true; |
||
357 | |||
358 | /** |
||
359 | * X axis. |
||
360 | * |
||
361 | * @var integer|string |
||
362 | */ |
||
363 | private $xAxis = "0"; |
||
364 | |||
365 | /** |
||
366 | * Y axis. |
||
367 | * |
||
368 | * @var integer|string |
||
369 | */ |
||
370 | private $yAxis = "0"; |
||
371 | |||
372 | /** |
||
373 | * Z index. |
||
374 | * |
||
375 | * @var integer |
||
376 | */ |
||
377 | private $zIndex; |
||
378 | |||
379 | /** |
||
380 | * Zone axis. |
||
381 | * |
||
382 | * @var string |
||
383 | * @since 4.1.0 |
||
384 | */ |
||
385 | private $zoneAxis = "y"; |
||
386 | |||
387 | /** |
||
388 | * Zones. |
||
389 | * |
||
390 | * @var array |
||
391 | * @since 4.1.0 |
||
392 | */ |
||
393 | private $zones; |
||
394 | |||
395 | /** |
||
396 | * Constructor. |
||
397 | * |
||
398 | * @param boolean $ignoreDefaultValues Ignore the default values. |
||
399 | */ |
||
400 | public function __construct($ignoreDefaultValues = true) { |
||
405 | |||
406 | /** |
||
407 | * Clear. |
||
408 | * |
||
409 | * @return void |
||
410 | */ |
||
411 | public function clear() { |
||
570 | |||
571 | /** |
||
572 | * Get the allow point select. |
||
573 | * |
||
574 | * @return boolean Returns the allow point select. |
||
575 | */ |
||
576 | public function getAllowPointSelect() { |
||
579 | |||
580 | /** |
||
581 | * Get the animation. |
||
582 | * |
||
583 | * @return boolean Returns the animation. |
||
584 | */ |
||
585 | public function getAnimation() { |
||
588 | |||
589 | /** |
||
590 | * Get the animation limit. |
||
591 | * |
||
592 | * @return integer Returns the animation limit. |
||
593 | */ |
||
594 | public function getAnimationLimit() { |
||
597 | |||
598 | /** |
||
599 | * Get the class name. |
||
600 | * |
||
601 | * @return string Returns the class name. |
||
602 | */ |
||
603 | public function getClassName() { |
||
606 | |||
607 | /** |
||
608 | * Get the color. |
||
609 | * |
||
610 | * @return string Returns the color. |
||
611 | */ |
||
612 | public function getColor() { |
||
615 | |||
616 | /** |
||
617 | * Get the color index. |
||
618 | * |
||
619 | * @return integer Returns the color index. |
||
620 | */ |
||
621 | public function getColorIndex() { |
||
624 | |||
625 | /** |
||
626 | * Get the crop threshold. |
||
627 | * |
||
628 | * @return integer Returns the crop threshold. |
||
629 | */ |
||
630 | public function getCropThreshold() { |
||
633 | |||
634 | /** |
||
635 | * Get the cursor. |
||
636 | * |
||
637 | * @return string Returns the cursor. |
||
638 | */ |
||
639 | public function getCursor() { |
||
642 | |||
643 | /** |
||
644 | * Get the dash style. |
||
645 | * |
||
646 | * @return string Returns the dash style. |
||
647 | */ |
||
648 | public function getDashStyle() { |
||
651 | |||
652 | /** |
||
653 | * Get the data. |
||
654 | * |
||
655 | * @return array Returns the data. |
||
656 | */ |
||
657 | public function getData() { |
||
660 | |||
661 | /** |
||
662 | * Get the data labels. |
||
663 | * |
||
664 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\Scatter\HighchartsDataLabels Returns the data labels. |
||
665 | */ |
||
666 | public function getDataLabels() { |
||
669 | |||
670 | /** |
||
671 | * Get the description. |
||
672 | * |
||
673 | * @return string Returns the description. |
||
674 | */ |
||
675 | public function getDescription() { |
||
678 | |||
679 | /** |
||
680 | * Get the enable mouse tracking. |
||
681 | * |
||
682 | * @return boolean Returns the enable mouse tracking. |
||
683 | */ |
||
684 | public function getEnableMouseTracking() { |
||
687 | |||
688 | /** |
||
689 | * Get the events. |
||
690 | * |
||
691 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\Scatter\HighchartsEvents Returns the events. |
||
692 | */ |
||
693 | public function getEvents() { |
||
696 | |||
697 | /** |
||
698 | * Get the expose element to a11y. |
||
699 | * |
||
700 | * @return boolean Returns the expose element to a11y. |
||
701 | */ |
||
702 | public function getExposeElementToA11y() { |
||
705 | |||
706 | /** |
||
707 | * Get the find nearest point by. |
||
708 | * |
||
709 | * @return string Returns the find nearest point by. |
||
710 | */ |
||
711 | public function getFindNearestPointBy() { |
||
714 | |||
715 | /** |
||
716 | * Get the get extremes from all. |
||
717 | * |
||
718 | * @return boolean Returns the get extremes from all. |
||
719 | */ |
||
720 | public function getGetExtremesFromAll() { |
||
723 | |||
724 | /** |
||
725 | * Get the id. |
||
726 | * |
||
727 | * @return string Returns the id. |
||
728 | */ |
||
729 | public function getId() { |
||
732 | |||
733 | /** |
||
734 | * Get the index. |
||
735 | * |
||
736 | * @return integer Returns the index. |
||
737 | */ |
||
738 | public function getIndex() { |
||
741 | |||
742 | /** |
||
743 | * Get the keys. |
||
744 | * |
||
745 | * @return array Returns the keys. |
||
746 | */ |
||
747 | public function getKeys() { |
||
750 | |||
751 | /** |
||
752 | * Get the legend index. |
||
753 | * |
||
754 | * @return integer Returns the legend index. |
||
755 | */ |
||
756 | public function getLegendIndex() { |
||
759 | |||
760 | /** |
||
761 | * Get the line width. |
||
762 | * |
||
763 | * @return integer Returns the line width. |
||
764 | */ |
||
765 | public function getLineWidth() { |
||
768 | |||
769 | /** |
||
770 | * Get the linked to. |
||
771 | * |
||
772 | * @return string Returns the linked to. |
||
773 | */ |
||
774 | public function getLinkedTo() { |
||
777 | |||
778 | /** |
||
779 | * Get the marker. |
||
780 | * |
||
781 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\Scatter\HighchartsMarker Returns the marker. |
||
782 | */ |
||
783 | public function getMarker() { |
||
786 | |||
787 | /** |
||
788 | * Get the name. |
||
789 | * |
||
790 | * @return string Returns the name. |
||
791 | */ |
||
792 | public function getName() { |
||
795 | |||
796 | /** |
||
797 | * Get the negative color. |
||
798 | * |
||
799 | * @return string Returns the negative color. |
||
800 | */ |
||
801 | public function getNegativeColor() { |
||
804 | |||
805 | /** |
||
806 | * Get the point. |
||
807 | * |
||
808 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\Scatter\HighchartsPoint Returns the point. |
||
809 | */ |
||
810 | public function getPoint() { |
||
813 | |||
814 | /** |
||
815 | * Get the point description formatter. |
||
816 | * |
||
817 | * @return string Returns the point description formatter. |
||
818 | */ |
||
819 | public function getPointDescriptionFormatter() { |
||
822 | |||
823 | /** |
||
824 | * Get the point interval. |
||
825 | * |
||
826 | * @return integer Returns the point interval. |
||
827 | */ |
||
828 | public function getPointInterval() { |
||
831 | |||
832 | /** |
||
833 | * Get the point interval unit. |
||
834 | * |
||
835 | * @return string Returns the point interval unit. |
||
836 | */ |
||
837 | public function getPointIntervalUnit() { |
||
840 | |||
841 | /** |
||
842 | * Get the point start. |
||
843 | * |
||
844 | * @return integer Returns the point start. |
||
845 | */ |
||
846 | public function getPointStart() { |
||
849 | |||
850 | /** |
||
851 | * Get the selected. |
||
852 | * |
||
853 | * @return boolean Returns the selected. |
||
854 | */ |
||
855 | public function getSelected() { |
||
858 | |||
859 | /** |
||
860 | * Get the shadow. |
||
861 | * |
||
862 | * @return boolean|array Returns the shadow. |
||
863 | */ |
||
864 | public function getShadow() { |
||
867 | |||
868 | /** |
||
869 | * Get the show checkbox. |
||
870 | * |
||
871 | * @return boolean Returns the show checkbox. |
||
872 | */ |
||
873 | public function getShowCheckbox() { |
||
876 | |||
877 | /** |
||
878 | * Get the show in legend. |
||
879 | * |
||
880 | * @return boolean Returns the show in legend. |
||
881 | */ |
||
882 | public function getShowInLegend() { |
||
885 | |||
886 | /** |
||
887 | * Get the skip keyboard navigation. |
||
888 | * |
||
889 | * @return boolean Returns the skip keyboard navigation. |
||
890 | */ |
||
891 | public function getSkipKeyboardNavigation() { |
||
894 | |||
895 | /** |
||
896 | * Get the soft threshold. |
||
897 | * |
||
898 | * @return boolean Returns the soft threshold. |
||
899 | */ |
||
900 | public function getSoftThreshold() { |
||
903 | |||
904 | /** |
||
905 | * Get the states. |
||
906 | * |
||
907 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\Scatter\HighchartsStates Returns the states. |
||
908 | */ |
||
909 | public function getStates() { |
||
912 | |||
913 | /** |
||
914 | * Get the sticky tracking. |
||
915 | * |
||
916 | * @return boolean Returns the sticky tracking. |
||
917 | */ |
||
918 | public function getStickyTracking() { |
||
921 | |||
922 | /** |
||
923 | * Get the threshold. |
||
924 | * |
||
925 | * @return integer Returns the threshold. |
||
926 | */ |
||
927 | public function getThreshold() { |
||
930 | |||
931 | /** |
||
932 | * Get the tooltip. |
||
933 | * |
||
934 | * @return array Returns the tooltip. |
||
935 | */ |
||
936 | public function getTooltip() { |
||
939 | |||
940 | /** |
||
941 | * Get the turbo threshold. |
||
942 | * |
||
943 | * @return integer Returns the turbo threshold. |
||
944 | */ |
||
945 | public function getTurboThreshold() { |
||
948 | |||
949 | /** |
||
950 | * Get the type. |
||
951 | * |
||
952 | * @return string Returns the type. |
||
953 | */ |
||
954 | public function getType() { |
||
957 | |||
958 | /** |
||
959 | * Get the visible. |
||
960 | * |
||
961 | * @return boolean Returns the visible. |
||
962 | */ |
||
963 | public function getVisible() { |
||
966 | |||
967 | /** |
||
968 | * Get the x axis. |
||
969 | * |
||
970 | * @return integer|string Returns the x axis. |
||
971 | */ |
||
972 | public function getXAxis() { |
||
975 | |||
976 | /** |
||
977 | * Get the y axis. |
||
978 | * |
||
979 | * @return integer|string Returns the y axis. |
||
980 | */ |
||
981 | public function getYAxis() { |
||
984 | |||
985 | /** |
||
986 | * Get the z index. |
||
987 | * |
||
988 | * @return integer Returns the z index. |
||
989 | */ |
||
990 | public function getZIndex() { |
||
993 | |||
994 | /** |
||
995 | * Get the zone axis. |
||
996 | * |
||
997 | * @return string Returns the zone axis. |
||
998 | */ |
||
999 | public function getZoneAxis() { |
||
1002 | |||
1003 | /** |
||
1004 | * Get the zones. |
||
1005 | * |
||
1006 | * @return array Returns the zones. |
||
1007 | */ |
||
1008 | public function getZones() { |
||
1011 | |||
1012 | /** |
||
1013 | * Serialize this instance. |
||
1014 | * |
||
1015 | * @return array Returns an array representing this instance. |
||
1016 | */ |
||
1017 | public function jsonSerialize() { |
||
1020 | |||
1021 | /** |
||
1022 | * Create a new data labels. |
||
1023 | * |
||
1024 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\Scatter\HighchartsDataLabels Returns the data labels. |
||
1025 | */ |
||
1026 | public function newDataLabels() { |
||
1030 | |||
1031 | /** |
||
1032 | * Create a new events. |
||
1033 | * |
||
1034 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\Scatter\HighchartsEvents Returns the events. |
||
1035 | */ |
||
1036 | public function newEvents() { |
||
1040 | |||
1041 | /** |
||
1042 | * Create a new marker. |
||
1043 | * |
||
1044 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\Scatter\HighchartsMarker Returns the marker. |
||
1045 | */ |
||
1046 | public function newMarker() { |
||
1050 | |||
1051 | /** |
||
1052 | * Create a new point. |
||
1053 | * |
||
1054 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\Scatter\HighchartsPoint Returns the point. |
||
1055 | */ |
||
1056 | public function newPoint() { |
||
1060 | |||
1061 | /** |
||
1062 | * Create a new states. |
||
1063 | * |
||
1064 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\Scatter\HighchartsStates Returns the states. |
||
1065 | */ |
||
1066 | public function newStates() { |
||
1070 | |||
1071 | /** |
||
1072 | * Set the allow point select. |
||
1073 | * |
||
1074 | * @param boolean $allowPointSelect The allow point select. |
||
1075 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsScatter Returns the highcharts scatter. |
||
1076 | */ |
||
1077 | public function setAllowPointSelect($allowPointSelect) { |
||
1081 | |||
1082 | /** |
||
1083 | * Set the animation. |
||
1084 | * |
||
1085 | * @param boolean $animation The animation. |
||
1086 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsScatter Returns the highcharts scatter. |
||
1087 | */ |
||
1088 | public function setAnimation($animation) { |
||
1092 | |||
1093 | /** |
||
1094 | * Set the animation limit. |
||
1095 | * |
||
1096 | * @param integer $animationLimit The animation limit. |
||
1097 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsScatter Returns the highcharts scatter. |
||
1098 | */ |
||
1099 | public function setAnimationLimit($animationLimit) { |
||
1103 | |||
1104 | /** |
||
1105 | * Set the class name. |
||
1106 | * |
||
1107 | * @param string $className The class name. |
||
1108 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsScatter Returns the highcharts scatter. |
||
1109 | */ |
||
1110 | public function setClassName($className) { |
||
1114 | |||
1115 | /** |
||
1116 | * Set the color. |
||
1117 | * |
||
1118 | * @param string $color The color. |
||
1119 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsScatter Returns the highcharts scatter. |
||
1120 | */ |
||
1121 | public function setColor($color) { |
||
1125 | |||
1126 | /** |
||
1127 | * Set the color index. |
||
1128 | * |
||
1129 | * @param integer $colorIndex The color index. |
||
1130 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsScatter Returns the highcharts scatter. |
||
1131 | */ |
||
1132 | public function setColorIndex($colorIndex) { |
||
1136 | |||
1137 | /** |
||
1138 | * Set the crop threshold. |
||
1139 | * |
||
1140 | * @param integer $cropThreshold The crop threshold. |
||
1141 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsScatter Returns the highcharts scatter. |
||
1142 | */ |
||
1143 | public function setCropThreshold($cropThreshold) { |
||
1147 | |||
1148 | /** |
||
1149 | * Set the cursor. |
||
1150 | * |
||
1151 | * @param string $cursor The cursor. |
||
1152 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsScatter Returns the highcharts scatter. |
||
1153 | */ |
||
1154 | public function setCursor($cursor) { |
||
1167 | |||
1168 | /** |
||
1169 | * Set the dash style. |
||
1170 | * |
||
1171 | * @param string $dashStyle The dash style. |
||
1172 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsScatter Returns the highcharts scatter. |
||
1173 | */ |
||
1174 | public function setDashStyle($dashStyle) { |
||
1192 | |||
1193 | /** |
||
1194 | * Set the data. |
||
1195 | * |
||
1196 | * @param array $data The data. |
||
1197 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsScatter Returns the highcharts scatter. |
||
1198 | */ |
||
1199 | public function setData(array $data = null) { |
||
1203 | |||
1204 | /** |
||
1205 | * Set the data labels. |
||
1206 | * |
||
1207 | * @param \WBW\Bundle\HighchartsBundle\API\Chart\Series\Scatter\HighchartsDataLabels $dataLabels The data labels. |
||
1208 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsScatter Returns the highcharts scatter. |
||
1209 | */ |
||
1210 | public function setDataLabels(\WBW\Bundle\HighchartsBundle\API\Chart\Series\Scatter\HighchartsDataLabels $dataLabels = null) { |
||
1214 | |||
1215 | /** |
||
1216 | * Set the description. |
||
1217 | * |
||
1218 | * @param string $description The description. |
||
1219 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsScatter Returns the highcharts scatter. |
||
1220 | */ |
||
1221 | public function setDescription($description) { |
||
1225 | |||
1226 | /** |
||
1227 | * Set the enable mouse tracking. |
||
1228 | * |
||
1229 | * @param boolean $enableMouseTracking The enable mouse tracking. |
||
1230 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsScatter Returns the highcharts scatter. |
||
1231 | */ |
||
1232 | public function setEnableMouseTracking($enableMouseTracking) { |
||
1236 | |||
1237 | /** |
||
1238 | * Set the events. |
||
1239 | * |
||
1240 | * @param \WBW\Bundle\HighchartsBundle\API\Chart\Series\Scatter\HighchartsEvents $events The events. |
||
1241 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsScatter Returns the highcharts scatter. |
||
1242 | */ |
||
1243 | public function setEvents(\WBW\Bundle\HighchartsBundle\API\Chart\Series\Scatter\HighchartsEvents $events = null) { |
||
1247 | |||
1248 | /** |
||
1249 | * Set the expose element to a11y. |
||
1250 | * |
||
1251 | * @param boolean $exposeElementToA11y The expose element to a11y. |
||
1252 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsScatter Returns the highcharts scatter. |
||
1253 | */ |
||
1254 | public function setExposeElementToA11y($exposeElementToA11y) { |
||
1258 | |||
1259 | /** |
||
1260 | * Set the find nearest point by. |
||
1261 | * |
||
1262 | * @param string $findNearestPointBy The find nearest point by. |
||
1263 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsScatter Returns the highcharts scatter. |
||
1264 | */ |
||
1265 | public function setFindNearestPointBy($findNearestPointBy) { |
||
1274 | |||
1275 | /** |
||
1276 | * Set the get extremes from all. |
||
1277 | * |
||
1278 | * @param boolean $getExtremesFromAll The get extremes from all. |
||
1279 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsScatter Returns the highcharts scatter. |
||
1280 | */ |
||
1281 | public function setGetExtremesFromAll($getExtremesFromAll) { |
||
1285 | |||
1286 | /** |
||
1287 | * Set the id. |
||
1288 | * |
||
1289 | * @param string $id The id. |
||
1290 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsScatter Returns the highcharts scatter. |
||
1291 | */ |
||
1292 | public function setId($id) { |
||
1296 | |||
1297 | /** |
||
1298 | * Set the index. |
||
1299 | * |
||
1300 | * @param integer $index The index. |
||
1301 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsScatter Returns the highcharts scatter. |
||
1302 | */ |
||
1303 | public function setIndex($index) { |
||
1307 | |||
1308 | /** |
||
1309 | * Set the keys. |
||
1310 | * |
||
1311 | * @param array $keys The keys. |
||
1312 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsScatter Returns the highcharts scatter. |
||
1313 | */ |
||
1314 | public function setKeys(array $keys = null) { |
||
1318 | |||
1319 | /** |
||
1320 | * Set the legend index. |
||
1321 | * |
||
1322 | * @param integer $legendIndex The legend index. |
||
1323 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsScatter Returns the highcharts scatter. |
||
1324 | */ |
||
1325 | public function setLegendIndex($legendIndex) { |
||
1329 | |||
1330 | /** |
||
1331 | * Set the line width. |
||
1332 | * |
||
1333 | * @param integer $lineWidth The line width. |
||
1334 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsScatter Returns the highcharts scatter. |
||
1335 | */ |
||
1336 | public function setLineWidth($lineWidth) { |
||
1340 | |||
1341 | /** |
||
1342 | * Set the linked to. |
||
1343 | * |
||
1344 | * @param string $linkedTo The linked to. |
||
1345 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsScatter Returns the highcharts scatter. |
||
1346 | */ |
||
1347 | public function setLinkedTo($linkedTo) { |
||
1351 | |||
1352 | /** |
||
1353 | * Set the marker. |
||
1354 | * |
||
1355 | * @param \WBW\Bundle\HighchartsBundle\API\Chart\Series\Scatter\HighchartsMarker $marker The marker. |
||
1356 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsScatter Returns the highcharts scatter. |
||
1357 | */ |
||
1358 | public function setMarker(\WBW\Bundle\HighchartsBundle\API\Chart\Series\Scatter\HighchartsMarker $marker = null) { |
||
1362 | |||
1363 | /** |
||
1364 | * Set the name. |
||
1365 | * |
||
1366 | * @param string $name The name. |
||
1367 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsScatter Returns the highcharts scatter. |
||
1368 | */ |
||
1369 | public function setName($name) { |
||
1373 | |||
1374 | /** |
||
1375 | * Set the negative color. |
||
1376 | * |
||
1377 | * @param string $negativeColor The negative color. |
||
1378 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsScatter Returns the highcharts scatter. |
||
1379 | */ |
||
1380 | public function setNegativeColor($negativeColor) { |
||
1384 | |||
1385 | /** |
||
1386 | * Set the point. |
||
1387 | * |
||
1388 | * @param \WBW\Bundle\HighchartsBundle\API\Chart\Series\Scatter\HighchartsPoint $point The point. |
||
1389 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsScatter Returns the highcharts scatter. |
||
1390 | */ |
||
1391 | public function setPoint(\WBW\Bundle\HighchartsBundle\API\Chart\Series\Scatter\HighchartsPoint $point = null) { |
||
1395 | |||
1396 | /** |
||
1397 | * Set the point description formatter. |
||
1398 | * |
||
1399 | * @param string $pointDescriptionFormatter The point description formatter. |
||
1400 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsScatter Returns the highcharts scatter. |
||
1401 | */ |
||
1402 | public function setPointDescriptionFormatter($pointDescriptionFormatter) { |
||
1406 | |||
1407 | /** |
||
1408 | * Set the point interval. |
||
1409 | * |
||
1410 | * @param integer $pointInterval The point interval. |
||
1411 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsScatter Returns the highcharts scatter. |
||
1412 | */ |
||
1413 | public function setPointInterval($pointInterval) { |
||
1417 | |||
1418 | /** |
||
1419 | * Set the point interval unit. |
||
1420 | * |
||
1421 | * @param string $pointIntervalUnit The point interval unit. |
||
1422 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsScatter Returns the highcharts scatter. |
||
1423 | */ |
||
1424 | public function setPointIntervalUnit($pointIntervalUnit) { |
||
1435 | |||
1436 | /** |
||
1437 | * Set the point start. |
||
1438 | * |
||
1439 | * @param integer $pointStart The point start. |
||
1440 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsScatter Returns the highcharts scatter. |
||
1441 | */ |
||
1442 | public function setPointStart($pointStart) { |
||
1446 | |||
1447 | /** |
||
1448 | * Set the selected. |
||
1449 | * |
||
1450 | * @param boolean $selected The selected. |
||
1451 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsScatter Returns the highcharts scatter. |
||
1452 | */ |
||
1453 | public function setSelected($selected) { |
||
1457 | |||
1458 | /** |
||
1459 | * Set the shadow. |
||
1460 | * |
||
1461 | * @param boolean|array $shadow The shadow. |
||
1462 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsScatter Returns the highcharts scatter. |
||
1463 | */ |
||
1464 | public function setShadow($shadow) { |
||
1468 | |||
1469 | /** |
||
1470 | * Set the show checkbox. |
||
1471 | * |
||
1472 | * @param boolean $showCheckbox The show checkbox. |
||
1473 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsScatter Returns the highcharts scatter. |
||
1474 | */ |
||
1475 | public function setShowCheckbox($showCheckbox) { |
||
1479 | |||
1480 | /** |
||
1481 | * Set the show in legend. |
||
1482 | * |
||
1483 | * @param boolean $showInLegend The show in legend. |
||
1484 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsScatter Returns the highcharts scatter. |
||
1485 | */ |
||
1486 | public function setShowInLegend($showInLegend) { |
||
1490 | |||
1491 | /** |
||
1492 | * Set the skip keyboard navigation. |
||
1493 | * |
||
1494 | * @param boolean $skipKeyboardNavigation The skip keyboard navigation. |
||
1495 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsScatter Returns the highcharts scatter. |
||
1496 | */ |
||
1497 | public function setSkipKeyboardNavigation($skipKeyboardNavigation) { |
||
1501 | |||
1502 | /** |
||
1503 | * Set the soft threshold. |
||
1504 | * |
||
1505 | * @param boolean $softThreshold The soft threshold. |
||
1506 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsScatter Returns the highcharts scatter. |
||
1507 | */ |
||
1508 | public function setSoftThreshold($softThreshold) { |
||
1512 | |||
1513 | /** |
||
1514 | * Set the states. |
||
1515 | * |
||
1516 | * @param \WBW\Bundle\HighchartsBundle\API\Chart\Series\Scatter\HighchartsStates $states The states. |
||
1517 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsScatter Returns the highcharts scatter. |
||
1518 | */ |
||
1519 | public function setStates(\WBW\Bundle\HighchartsBundle\API\Chart\Series\Scatter\HighchartsStates $states = null) { |
||
1523 | |||
1524 | /** |
||
1525 | * Set the sticky tracking. |
||
1526 | * |
||
1527 | * @param boolean $stickyTracking The sticky tracking. |
||
1528 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsScatter Returns the highcharts scatter. |
||
1529 | */ |
||
1530 | public function setStickyTracking($stickyTracking) { |
||
1534 | |||
1535 | /** |
||
1536 | * Set the threshold. |
||
1537 | * |
||
1538 | * @param integer $threshold The threshold. |
||
1539 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsScatter Returns the highcharts scatter. |
||
1540 | */ |
||
1541 | public function setThreshold($threshold) { |
||
1545 | |||
1546 | /** |
||
1547 | * Set the tooltip. |
||
1548 | * |
||
1549 | * @param array $tooltip The tooltip. |
||
1550 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsScatter Returns the highcharts scatter. |
||
1551 | */ |
||
1552 | public function setTooltip(array $tooltip = null) { |
||
1556 | |||
1557 | /** |
||
1558 | * Set the turbo threshold. |
||
1559 | * |
||
1560 | * @param integer $turboThreshold The turbo threshold. |
||
1561 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsScatter Returns the highcharts scatter. |
||
1562 | */ |
||
1563 | public function setTurboThreshold($turboThreshold) { |
||
1567 | |||
1568 | /** |
||
1569 | * Set the type. |
||
1570 | * |
||
1571 | * @param string $type The type. |
||
1572 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsScatter Returns the highcharts scatter. |
||
1573 | */ |
||
1574 | public function setType($type) { |
||
1598 | |||
1599 | /** |
||
1600 | * Set the visible. |
||
1601 | * |
||
1602 | * @param boolean $visible The visible. |
||
1603 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsScatter Returns the highcharts scatter. |
||
1604 | */ |
||
1605 | public function setVisible($visible) { |
||
1609 | |||
1610 | /** |
||
1611 | * Set the x axis. |
||
1612 | * |
||
1613 | * @param integer|string $xAxis The x axis. |
||
1614 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsScatter Returns the highcharts scatter. |
||
1615 | */ |
||
1616 | public function setXAxis($xAxis) { |
||
1620 | |||
1621 | /** |
||
1622 | * Set the y axis. |
||
1623 | * |
||
1624 | * @param integer|string $yAxis The y axis. |
||
1625 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsScatter Returns the highcharts scatter. |
||
1626 | */ |
||
1627 | public function setYAxis($yAxis) { |
||
1631 | |||
1632 | /** |
||
1633 | * Set the z index. |
||
1634 | * |
||
1635 | * @param integer $zIndex The z index. |
||
1636 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsScatter Returns the highcharts scatter. |
||
1637 | */ |
||
1638 | public function setZIndex($zIndex) { |
||
1642 | |||
1643 | /** |
||
1644 | * Set the zone axis. |
||
1645 | * |
||
1646 | * @param string $zoneAxis The zone axis. |
||
1647 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsScatter Returns the highcharts scatter. |
||
1648 | */ |
||
1649 | public function setZoneAxis($zoneAxis) { |
||
1653 | |||
1654 | /** |
||
1655 | * Set the zones. |
||
1656 | * |
||
1657 | * @param array $zones The zones. |
||
1658 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsScatter Returns the highcharts scatter. |
||
1659 | */ |
||
1660 | public function setZones(array $zones = null) { |
||
1664 | |||
1665 | /** |
||
1666 | * Convert into an array representing this instance. |
||
1667 | * |
||
1668 | * @return array Returns an array representing this instance. |
||
1669 | */ |
||
1670 | public function toArray() { |
||
1835 | |||
1836 | } |
||
1837 |
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..