Complex classes like HighchartsSolidgauge 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 HighchartsSolidgauge, and based on these observations, apply Extract Interface, too.
1 | <?php |
||
25 | final class HighchartsSolidgauge implements JsonSerializable { |
||
26 | |||
27 | /** |
||
28 | * Animation. |
||
29 | * |
||
30 | * @var boolean |
||
31 | */ |
||
32 | private $animation = true; |
||
33 | |||
34 | /** |
||
35 | * Animation limit. |
||
36 | * |
||
37 | * @var integer |
||
38 | */ |
||
39 | private $animationLimit; |
||
40 | |||
41 | /** |
||
42 | * Class name. |
||
43 | * |
||
44 | * @var string |
||
45 | * @since 5.0.0 |
||
46 | */ |
||
47 | private $className; |
||
48 | |||
49 | /** |
||
50 | * Color index. |
||
51 | * |
||
52 | * @var integer |
||
53 | * @since 5.0.0 |
||
54 | */ |
||
55 | private $colorIndex; |
||
56 | |||
57 | /** |
||
58 | * Cursor. |
||
59 | * |
||
60 | * @var string |
||
61 | */ |
||
62 | private $cursor; |
||
63 | |||
64 | /** |
||
65 | * Data. |
||
66 | * |
||
67 | * @var array |
||
68 | */ |
||
69 | private $data; |
||
70 | |||
71 | /** |
||
72 | * Data labels. |
||
73 | * |
||
74 | * @var array |
||
75 | * @since 2.3.0 |
||
76 | */ |
||
77 | private $dataLabels; |
||
78 | |||
79 | /** |
||
80 | * Description. |
||
81 | * |
||
82 | * @var string |
||
83 | * @since 5.0.0 |
||
84 | */ |
||
85 | private $description; |
||
86 | |||
87 | /** |
||
88 | * Enable mouse tracking. |
||
89 | * |
||
90 | * @var boolean |
||
91 | */ |
||
92 | private $enableMouseTracking = true; |
||
93 | |||
94 | /** |
||
95 | * Events. |
||
96 | * |
||
97 | * @var \WBW\Bundle\HighchartsBundle\API\Chart\Series\Solidgauge\HighchartsEvents |
||
98 | */ |
||
99 | private $events; |
||
100 | |||
101 | /** |
||
102 | * Expose element to a11y. |
||
103 | * |
||
104 | * @var boolean |
||
105 | * @since 5.0.12 |
||
106 | */ |
||
107 | private $exposeElementToA11y; |
||
108 | |||
109 | /** |
||
110 | * Find nearest point by. |
||
111 | * |
||
112 | * @var string |
||
113 | * @since 5.0.10 |
||
114 | */ |
||
115 | private $findNearestPointBy; |
||
116 | |||
117 | /** |
||
118 | * Get extremes from all. |
||
119 | * |
||
120 | * @var boolean |
||
121 | * @since 4.1.6 |
||
122 | */ |
||
123 | private $getExtremesFromAll = false; |
||
124 | |||
125 | /** |
||
126 | * Id. |
||
127 | * |
||
128 | * @var string |
||
129 | * @since 1.2.0 |
||
130 | */ |
||
131 | private $id; |
||
132 | |||
133 | /** |
||
134 | * Index. |
||
135 | * |
||
136 | * @var integer |
||
137 | * @since 2.3.0 |
||
138 | */ |
||
139 | private $index; |
||
140 | |||
141 | /** |
||
142 | * Keys. |
||
143 | * |
||
144 | * @var array |
||
145 | * @since 4.1.6 |
||
146 | */ |
||
147 | private $keys; |
||
148 | |||
149 | /** |
||
150 | * Legend index. |
||
151 | * |
||
152 | * @var integer |
||
153 | */ |
||
154 | private $legendIndex; |
||
155 | |||
156 | /** |
||
157 | * Linecap. |
||
158 | * |
||
159 | * @var string |
||
160 | * @since 4.2.2 |
||
161 | */ |
||
162 | private $linecap = "round"; |
||
163 | |||
164 | /** |
||
165 | * Name. |
||
166 | * |
||
167 | * @var string |
||
168 | */ |
||
169 | private $name; |
||
170 | |||
171 | /** |
||
172 | * Overshoot. |
||
173 | * |
||
174 | * @var integer |
||
175 | * @since 3.0.10 |
||
176 | */ |
||
177 | private $overshoot = 0; |
||
178 | |||
179 | /** |
||
180 | * Point. |
||
181 | * |
||
182 | * @var \WBW\Bundle\HighchartsBundle\API\Chart\Series\Solidgauge\HighchartsPoint |
||
183 | */ |
||
184 | private $point; |
||
185 | |||
186 | /** |
||
187 | * Point description formatter. |
||
188 | * |
||
189 | * @var string |
||
190 | * @since 5.0.12 |
||
191 | */ |
||
192 | private $pointDescriptionFormatter; |
||
193 | |||
194 | /** |
||
195 | * Rounded. |
||
196 | * |
||
197 | * @var boolean |
||
198 | * @since 5.0.11 |
||
199 | */ |
||
200 | private $rounded = false; |
||
201 | |||
202 | /** |
||
203 | * Selected. |
||
204 | * |
||
205 | * @var boolean |
||
206 | * @since 1.2.0 |
||
207 | */ |
||
208 | private $selected = false; |
||
209 | |||
210 | /** |
||
211 | * Show checkbox. |
||
212 | * |
||
213 | * @var boolean |
||
214 | * @since 1.2.0 |
||
215 | */ |
||
216 | private $showCheckbox = false; |
||
217 | |||
218 | /** |
||
219 | * Show in legend. |
||
220 | * |
||
221 | * @var boolean |
||
222 | * @since 2.3.0 |
||
223 | */ |
||
224 | private $showInLegend; |
||
225 | |||
226 | /** |
||
227 | * Skip keyboard navigation. |
||
228 | * |
||
229 | * @var boolean |
||
230 | * @since 5.0.12 |
||
231 | */ |
||
232 | private $skipKeyboardNavigation; |
||
233 | |||
234 | /** |
||
235 | * Sticky tracking. |
||
236 | * |
||
237 | * @var boolean |
||
238 | * @since 2.0 |
||
239 | */ |
||
240 | private $stickyTracking = true; |
||
241 | |||
242 | /** |
||
243 | * Threshold. |
||
244 | * |
||
245 | * @var integer |
||
246 | * @since 5.0.3 |
||
247 | */ |
||
248 | private $threshold; |
||
249 | |||
250 | /** |
||
251 | * Tooltip. |
||
252 | * |
||
253 | * @var array |
||
254 | * @since 2.3 |
||
255 | */ |
||
256 | private $tooltip; |
||
257 | |||
258 | /** |
||
259 | * Type. |
||
260 | * |
||
261 | * @var string |
||
262 | */ |
||
263 | private $type; |
||
264 | |||
265 | /** |
||
266 | * Visible. |
||
267 | * |
||
268 | * @var boolean |
||
269 | */ |
||
270 | private $visible = true; |
||
271 | |||
272 | /** |
||
273 | * Wrap. |
||
274 | * |
||
275 | * @var boolean |
||
276 | * @since 3.0 |
||
277 | */ |
||
278 | private $wrap = true; |
||
279 | |||
280 | /** |
||
281 | * X axis. |
||
282 | * |
||
283 | * @var integer|string |
||
284 | */ |
||
285 | private $xAxis = "0"; |
||
286 | |||
287 | /** |
||
288 | * Y axis. |
||
289 | * |
||
290 | * @var integer|string |
||
291 | */ |
||
292 | private $yAxis = "0"; |
||
293 | |||
294 | /** |
||
295 | * Z index. |
||
296 | * |
||
297 | * @var integer |
||
298 | */ |
||
299 | private $zIndex; |
||
300 | |||
301 | /** |
||
302 | * Constructor. |
||
303 | * |
||
304 | * @param boolean $ignoreDefaultValues Ignore the default values. |
||
305 | */ |
||
306 | public function __construct($ignoreDefaultValues = true) { |
||
311 | |||
312 | /** |
||
313 | * Clear. |
||
314 | * |
||
315 | * @return void |
||
316 | */ |
||
317 | public function clear() { |
||
431 | |||
432 | /** |
||
433 | * Get the animation. |
||
434 | * |
||
435 | * @return boolean Returns the animation. |
||
436 | */ |
||
437 | public function getAnimation() { |
||
440 | |||
441 | /** |
||
442 | * Get the animation limit. |
||
443 | * |
||
444 | * @return integer Returns the animation limit. |
||
445 | */ |
||
446 | public function getAnimationLimit() { |
||
449 | |||
450 | /** |
||
451 | * Get the class name. |
||
452 | * |
||
453 | * @return string Returns the class name. |
||
454 | */ |
||
455 | public function getClassName() { |
||
458 | |||
459 | /** |
||
460 | * Get the color index. |
||
461 | * |
||
462 | * @return integer Returns the color index. |
||
463 | */ |
||
464 | public function getColorIndex() { |
||
467 | |||
468 | /** |
||
469 | * Get the cursor. |
||
470 | * |
||
471 | * @return string Returns the cursor. |
||
472 | */ |
||
473 | public function getCursor() { |
||
476 | |||
477 | /** |
||
478 | * Get the data. |
||
479 | * |
||
480 | * @return array Returns the data. |
||
481 | */ |
||
482 | public function getData() { |
||
485 | |||
486 | /** |
||
487 | * Get the data labels. |
||
488 | * |
||
489 | * @return array Returns the data labels. |
||
490 | */ |
||
491 | public function getDataLabels() { |
||
494 | |||
495 | /** |
||
496 | * Get the description. |
||
497 | * |
||
498 | * @return string Returns the description. |
||
499 | */ |
||
500 | public function getDescription() { |
||
503 | |||
504 | /** |
||
505 | * Get the enable mouse tracking. |
||
506 | * |
||
507 | * @return boolean Returns the enable mouse tracking. |
||
508 | */ |
||
509 | public function getEnableMouseTracking() { |
||
512 | |||
513 | /** |
||
514 | * Get the events. |
||
515 | * |
||
516 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\Solidgauge\HighchartsEvents Returns the events. |
||
517 | */ |
||
518 | public function getEvents() { |
||
521 | |||
522 | /** |
||
523 | * Get the expose element to a11y. |
||
524 | * |
||
525 | * @return boolean Returns the expose element to a11y. |
||
526 | */ |
||
527 | public function getExposeElementToA11y() { |
||
530 | |||
531 | /** |
||
532 | * Get the find nearest point by. |
||
533 | * |
||
534 | * @return string Returns the find nearest point by. |
||
535 | */ |
||
536 | public function getFindNearestPointBy() { |
||
539 | |||
540 | /** |
||
541 | * Get the get extremes from all. |
||
542 | * |
||
543 | * @return boolean Returns the get extremes from all. |
||
544 | */ |
||
545 | public function getGetExtremesFromAll() { |
||
548 | |||
549 | /** |
||
550 | * Get the id. |
||
551 | * |
||
552 | * @return string Returns the id. |
||
553 | */ |
||
554 | public function getId() { |
||
557 | |||
558 | /** |
||
559 | * Get the index. |
||
560 | * |
||
561 | * @return integer Returns the index. |
||
562 | */ |
||
563 | public function getIndex() { |
||
566 | |||
567 | /** |
||
568 | * Get the keys. |
||
569 | * |
||
570 | * @return array Returns the keys. |
||
571 | */ |
||
572 | public function getKeys() { |
||
575 | |||
576 | /** |
||
577 | * Get the legend index. |
||
578 | * |
||
579 | * @return integer Returns the legend index. |
||
580 | */ |
||
581 | public function getLegendIndex() { |
||
584 | |||
585 | /** |
||
586 | * Get the linecap. |
||
587 | * |
||
588 | * @return string Returns the linecap. |
||
589 | */ |
||
590 | public function getLinecap() { |
||
593 | |||
594 | /** |
||
595 | * Get the name. |
||
596 | * |
||
597 | * @return string Returns the name. |
||
598 | */ |
||
599 | public function getName() { |
||
602 | |||
603 | /** |
||
604 | * Get the overshoot. |
||
605 | * |
||
606 | * @return integer Returns the overshoot. |
||
607 | */ |
||
608 | public function getOvershoot() { |
||
611 | |||
612 | /** |
||
613 | * Get the point. |
||
614 | * |
||
615 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\Solidgauge\HighchartsPoint Returns the point. |
||
616 | */ |
||
617 | public function getPoint() { |
||
620 | |||
621 | /** |
||
622 | * Get the point description formatter. |
||
623 | * |
||
624 | * @return string Returns the point description formatter. |
||
625 | */ |
||
626 | public function getPointDescriptionFormatter() { |
||
629 | |||
630 | /** |
||
631 | * Get the rounded. |
||
632 | * |
||
633 | * @return boolean Returns the rounded. |
||
634 | */ |
||
635 | public function getRounded() { |
||
638 | |||
639 | /** |
||
640 | * Get the selected. |
||
641 | * |
||
642 | * @return boolean Returns the selected. |
||
643 | */ |
||
644 | public function getSelected() { |
||
647 | |||
648 | /** |
||
649 | * Get the show checkbox. |
||
650 | * |
||
651 | * @return boolean Returns the show checkbox. |
||
652 | */ |
||
653 | public function getShowCheckbox() { |
||
656 | |||
657 | /** |
||
658 | * Get the show in legend. |
||
659 | * |
||
660 | * @return boolean Returns the show in legend. |
||
661 | */ |
||
662 | public function getShowInLegend() { |
||
665 | |||
666 | /** |
||
667 | * Get the skip keyboard navigation. |
||
668 | * |
||
669 | * @return boolean Returns the skip keyboard navigation. |
||
670 | */ |
||
671 | public function getSkipKeyboardNavigation() { |
||
674 | |||
675 | /** |
||
676 | * Get the sticky tracking. |
||
677 | * |
||
678 | * @return boolean Returns the sticky tracking. |
||
679 | */ |
||
680 | public function getStickyTracking() { |
||
683 | |||
684 | /** |
||
685 | * Get the threshold. |
||
686 | * |
||
687 | * @return integer Returns the threshold. |
||
688 | */ |
||
689 | public function getThreshold() { |
||
692 | |||
693 | /** |
||
694 | * Get the tooltip. |
||
695 | * |
||
696 | * @return array Returns the tooltip. |
||
697 | */ |
||
698 | public function getTooltip() { |
||
701 | |||
702 | /** |
||
703 | * Get the type. |
||
704 | * |
||
705 | * @return string Returns the type. |
||
706 | */ |
||
707 | public function getType() { |
||
710 | |||
711 | /** |
||
712 | * Get the visible. |
||
713 | * |
||
714 | * @return boolean Returns the visible. |
||
715 | */ |
||
716 | public function getVisible() { |
||
719 | |||
720 | /** |
||
721 | * Get the wrap. |
||
722 | * |
||
723 | * @return boolean Returns the wrap. |
||
724 | */ |
||
725 | public function getWrap() { |
||
728 | |||
729 | /** |
||
730 | * Get the x axis. |
||
731 | * |
||
732 | * @return integer|string Returns the x axis. |
||
733 | */ |
||
734 | public function getXAxis() { |
||
737 | |||
738 | /** |
||
739 | * Get the y axis. |
||
740 | * |
||
741 | * @return integer|string Returns the y axis. |
||
742 | */ |
||
743 | public function getYAxis() { |
||
746 | |||
747 | /** |
||
748 | * Get the z index. |
||
749 | * |
||
750 | * @return integer Returns the z index. |
||
751 | */ |
||
752 | public function getZIndex() { |
||
755 | |||
756 | /** |
||
757 | * Serialize this instance. |
||
758 | * |
||
759 | * @return array Returns an array representing this instance. |
||
760 | */ |
||
761 | public function jsonSerialize() { |
||
764 | |||
765 | /** |
||
766 | * Create a new events. |
||
767 | * |
||
768 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\Solidgauge\HighchartsEvents Returns the events. |
||
769 | */ |
||
770 | public function newEvents() { |
||
774 | |||
775 | /** |
||
776 | * Create a new point. |
||
777 | * |
||
778 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\Solidgauge\HighchartsPoint Returns the point. |
||
779 | */ |
||
780 | public function newPoint() { |
||
784 | |||
785 | /** |
||
786 | * Set the animation. |
||
787 | * |
||
788 | * @param boolean $animation The animation. |
||
789 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsSolidgauge Returns the highcharts solidgauge. |
||
790 | */ |
||
791 | public function setAnimation($animation) { |
||
795 | |||
796 | /** |
||
797 | * Set the animation limit. |
||
798 | * |
||
799 | * @param integer $animationLimit The animation limit. |
||
800 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsSolidgauge Returns the highcharts solidgauge. |
||
801 | */ |
||
802 | public function setAnimationLimit($animationLimit) { |
||
806 | |||
807 | /** |
||
808 | * Set the class name. |
||
809 | * |
||
810 | * @param string $className The class name. |
||
811 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsSolidgauge Returns the highcharts solidgauge. |
||
812 | */ |
||
813 | public function setClassName($className) { |
||
817 | |||
818 | /** |
||
819 | * Set the color index. |
||
820 | * |
||
821 | * @param integer $colorIndex The color index. |
||
822 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsSolidgauge Returns the highcharts solidgauge. |
||
823 | */ |
||
824 | public function setColorIndex($colorIndex) { |
||
828 | |||
829 | /** |
||
830 | * Set the cursor. |
||
831 | * |
||
832 | * @param string $cursor The cursor. |
||
833 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsSolidgauge Returns the highcharts solidgauge. |
||
834 | */ |
||
835 | public function setCursor($cursor) { |
||
848 | |||
849 | /** |
||
850 | * Set the data. |
||
851 | * |
||
852 | * @param array $data The data. |
||
853 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsSolidgauge Returns the highcharts solidgauge. |
||
854 | */ |
||
855 | public function setData(array $data = null) { |
||
859 | |||
860 | /** |
||
861 | * Set the data labels. |
||
862 | * |
||
863 | * @param array $dataLabels The data labels. |
||
864 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsSolidgauge Returns the highcharts solidgauge. |
||
865 | */ |
||
866 | public function setDataLabels(array $dataLabels = null) { |
||
870 | |||
871 | /** |
||
872 | * Set the description. |
||
873 | * |
||
874 | * @param string $description The description. |
||
875 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsSolidgauge Returns the highcharts solidgauge. |
||
876 | */ |
||
877 | public function setDescription($description) { |
||
881 | |||
882 | /** |
||
883 | * Set the enable mouse tracking. |
||
884 | * |
||
885 | * @param boolean $enableMouseTracking The enable mouse tracking. |
||
886 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsSolidgauge Returns the highcharts solidgauge. |
||
887 | */ |
||
888 | public function setEnableMouseTracking($enableMouseTracking) { |
||
892 | |||
893 | /** |
||
894 | * Set the events. |
||
895 | * |
||
896 | * @param \WBW\Bundle\HighchartsBundle\API\Chart\Series\Solidgauge\HighchartsEvents $events The events. |
||
897 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsSolidgauge Returns the highcharts solidgauge. |
||
898 | */ |
||
899 | public function setEvents(\WBW\Bundle\HighchartsBundle\API\Chart\Series\Solidgauge\HighchartsEvents $events = null) { |
||
903 | |||
904 | /** |
||
905 | * Set the expose element to a11y. |
||
906 | * |
||
907 | * @param boolean $exposeElementToA11y The expose element to a11y. |
||
908 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsSolidgauge Returns the highcharts solidgauge. |
||
909 | */ |
||
910 | public function setExposeElementToA11y($exposeElementToA11y) { |
||
914 | |||
915 | /** |
||
916 | * Set the find nearest point by. |
||
917 | * |
||
918 | * @param string $findNearestPointBy The find nearest point by. |
||
919 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsSolidgauge Returns the highcharts solidgauge. |
||
920 | */ |
||
921 | public function setFindNearestPointBy($findNearestPointBy) { |
||
930 | |||
931 | /** |
||
932 | * Set the get extremes from all. |
||
933 | * |
||
934 | * @param boolean $getExtremesFromAll The get extremes from all. |
||
935 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsSolidgauge Returns the highcharts solidgauge. |
||
936 | */ |
||
937 | public function setGetExtremesFromAll($getExtremesFromAll) { |
||
941 | |||
942 | /** |
||
943 | * Set the id. |
||
944 | * |
||
945 | * @param string $id The id. |
||
946 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsSolidgauge Returns the highcharts solidgauge. |
||
947 | */ |
||
948 | public function setId($id) { |
||
952 | |||
953 | /** |
||
954 | * Set the index. |
||
955 | * |
||
956 | * @param integer $index The index. |
||
957 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsSolidgauge Returns the highcharts solidgauge. |
||
958 | */ |
||
959 | public function setIndex($index) { |
||
963 | |||
964 | /** |
||
965 | * Set the keys. |
||
966 | * |
||
967 | * @param array $keys The keys. |
||
968 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsSolidgauge Returns the highcharts solidgauge. |
||
969 | */ |
||
970 | public function setKeys(array $keys = null) { |
||
974 | |||
975 | /** |
||
976 | * Set the legend index. |
||
977 | * |
||
978 | * @param integer $legendIndex The legend index. |
||
979 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsSolidgauge Returns the highcharts solidgauge. |
||
980 | */ |
||
981 | public function setLegendIndex($legendIndex) { |
||
985 | |||
986 | /** |
||
987 | * Set the linecap. |
||
988 | * |
||
989 | * @param string $linecap The linecap. |
||
990 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsSolidgauge Returns the highcharts solidgauge. |
||
991 | */ |
||
992 | public function setLinecap($linecap) { |
||
1001 | |||
1002 | /** |
||
1003 | * Set the name. |
||
1004 | * |
||
1005 | * @param string $name The name. |
||
1006 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsSolidgauge Returns the highcharts solidgauge. |
||
1007 | */ |
||
1008 | public function setName($name) { |
||
1012 | |||
1013 | /** |
||
1014 | * Set the overshoot. |
||
1015 | * |
||
1016 | * @param integer $overshoot The overshoot. |
||
1017 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsSolidgauge Returns the highcharts solidgauge. |
||
1018 | */ |
||
1019 | public function setOvershoot($overshoot) { |
||
1023 | |||
1024 | /** |
||
1025 | * Set the point. |
||
1026 | * |
||
1027 | * @param \WBW\Bundle\HighchartsBundle\API\Chart\Series\Solidgauge\HighchartsPoint $point The point. |
||
1028 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsSolidgauge Returns the highcharts solidgauge. |
||
1029 | */ |
||
1030 | public function setPoint(\WBW\Bundle\HighchartsBundle\API\Chart\Series\Solidgauge\HighchartsPoint $point = null) { |
||
1034 | |||
1035 | /** |
||
1036 | * Set the point description formatter. |
||
1037 | * |
||
1038 | * @param string $pointDescriptionFormatter The point description formatter. |
||
1039 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsSolidgauge Returns the highcharts solidgauge. |
||
1040 | */ |
||
1041 | public function setPointDescriptionFormatter($pointDescriptionFormatter) { |
||
1045 | |||
1046 | /** |
||
1047 | * Set the rounded. |
||
1048 | * |
||
1049 | * @param boolean $rounded The rounded. |
||
1050 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsSolidgauge Returns the highcharts solidgauge. |
||
1051 | */ |
||
1052 | public function setRounded($rounded) { |
||
1061 | |||
1062 | /** |
||
1063 | * Set the selected. |
||
1064 | * |
||
1065 | * @param boolean $selected The selected. |
||
1066 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsSolidgauge Returns the highcharts solidgauge. |
||
1067 | */ |
||
1068 | public function setSelected($selected) { |
||
1072 | |||
1073 | /** |
||
1074 | * Set the show checkbox. |
||
1075 | * |
||
1076 | * @param boolean $showCheckbox The show checkbox. |
||
1077 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsSolidgauge Returns the highcharts solidgauge. |
||
1078 | */ |
||
1079 | public function setShowCheckbox($showCheckbox) { |
||
1083 | |||
1084 | /** |
||
1085 | * Set the show in legend. |
||
1086 | * |
||
1087 | * @param boolean $showInLegend The show in legend. |
||
1088 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsSolidgauge Returns the highcharts solidgauge. |
||
1089 | */ |
||
1090 | public function setShowInLegend($showInLegend) { |
||
1094 | |||
1095 | /** |
||
1096 | * Set the skip keyboard navigation. |
||
1097 | * |
||
1098 | * @param boolean $skipKeyboardNavigation The skip keyboard navigation. |
||
1099 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsSolidgauge Returns the highcharts solidgauge. |
||
1100 | */ |
||
1101 | public function setSkipKeyboardNavigation($skipKeyboardNavigation) { |
||
1105 | |||
1106 | /** |
||
1107 | * Set the sticky tracking. |
||
1108 | * |
||
1109 | * @param boolean $stickyTracking The sticky tracking. |
||
1110 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsSolidgauge Returns the highcharts solidgauge. |
||
1111 | */ |
||
1112 | public function setStickyTracking($stickyTracking) { |
||
1116 | |||
1117 | /** |
||
1118 | * Set the threshold. |
||
1119 | * |
||
1120 | * @param integer $threshold The threshold. |
||
1121 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsSolidgauge Returns the highcharts solidgauge. |
||
1122 | */ |
||
1123 | public function setThreshold($threshold) { |
||
1127 | |||
1128 | /** |
||
1129 | * Set the tooltip. |
||
1130 | * |
||
1131 | * @param array $tooltip The tooltip. |
||
1132 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsSolidgauge Returns the highcharts solidgauge. |
||
1133 | */ |
||
1134 | public function setTooltip(array $tooltip = null) { |
||
1138 | |||
1139 | /** |
||
1140 | * Set the type. |
||
1141 | * |
||
1142 | * @param string $type The type. |
||
1143 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsSolidgauge Returns the highcharts solidgauge. |
||
1144 | */ |
||
1145 | public function setType($type) { |
||
1169 | |||
1170 | /** |
||
1171 | * Set the visible. |
||
1172 | * |
||
1173 | * @param boolean $visible The visible. |
||
1174 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsSolidgauge Returns the highcharts solidgauge. |
||
1175 | */ |
||
1176 | public function setVisible($visible) { |
||
1180 | |||
1181 | /** |
||
1182 | * Set the wrap. |
||
1183 | * |
||
1184 | * @param boolean $wrap The wrap. |
||
1185 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsSolidgauge Returns the highcharts solidgauge. |
||
1186 | */ |
||
1187 | public function setWrap($wrap) { |
||
1191 | |||
1192 | /** |
||
1193 | * Set the x axis. |
||
1194 | * |
||
1195 | * @param integer|string $xAxis The x axis. |
||
1196 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsSolidgauge Returns the highcharts solidgauge. |
||
1197 | */ |
||
1198 | public function setXAxis($xAxis) { |
||
1202 | |||
1203 | /** |
||
1204 | * Set the y axis. |
||
1205 | * |
||
1206 | * @param integer|string $yAxis The y axis. |
||
1207 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsSolidgauge Returns the highcharts solidgauge. |
||
1208 | */ |
||
1209 | public function setYAxis($yAxis) { |
||
1213 | |||
1214 | /** |
||
1215 | * Set the z index. |
||
1216 | * |
||
1217 | * @param integer $zIndex The z index. |
||
1218 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsSolidgauge Returns the highcharts solidgauge. |
||
1219 | */ |
||
1220 | public function setZIndex($zIndex) { |
||
1224 | |||
1225 | /** |
||
1226 | * Convert into an array representing this instance. |
||
1227 | * |
||
1228 | * @return array Returns an array representing this instance. |
||
1229 | */ |
||
1230 | public function toArray() { |
||
1350 | |||
1351 | } |
||
1352 |
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..