1 | <?php |
||
25 | final class HighchartsTitle implements JsonSerializable { |
||
26 | |||
27 | /** |
||
28 | * Align. |
||
29 | * |
||
30 | * @var string |
||
31 | */ |
||
32 | private $align = "middle"; |
||
33 | |||
34 | /** |
||
35 | * Enabled. |
||
36 | * |
||
37 | * @var string |
||
38 | * @deprecated |
||
39 | */ |
||
40 | private $enabled = "middle"; |
||
41 | |||
42 | /** |
||
43 | * Margin. |
||
44 | * |
||
45 | * @var integer |
||
46 | */ |
||
47 | private $margin; |
||
48 | |||
49 | /** |
||
50 | * Offset. |
||
51 | * |
||
52 | * @var integer |
||
53 | * @since 2.2.0 |
||
54 | */ |
||
55 | private $offset; |
||
56 | |||
57 | /** |
||
58 | * Reserve space. |
||
59 | * |
||
60 | * @var boolean |
||
61 | * @since 5.0.11 |
||
62 | */ |
||
63 | private $reserveSpace = true; |
||
64 | |||
65 | /** |
||
66 | * Rotation. |
||
67 | * |
||
68 | * @var integer |
||
69 | */ |
||
70 | private $rotation = 0; |
||
71 | |||
72 | /** |
||
73 | * Style. |
||
74 | * |
||
75 | * @var array |
||
76 | */ |
||
77 | private $style = ["color" => "#666666"]; |
||
78 | |||
79 | /** |
||
80 | * Text. |
||
81 | * |
||
82 | * @var string |
||
83 | */ |
||
84 | private $text; |
||
85 | |||
86 | /** |
||
87 | * X. |
||
88 | * |
||
89 | * @var integer |
||
90 | * @since 4.1.6 |
||
91 | */ |
||
92 | private $x = 0; |
||
93 | |||
94 | /** |
||
95 | * Y. |
||
96 | * |
||
97 | * @var integer |
||
98 | */ |
||
99 | private $y; |
||
100 | |||
101 | /** |
||
102 | * Constructor. |
||
103 | * |
||
104 | * @param boolean $ignoreDefaultValues Ignore the default values. |
||
105 | */ |
||
106 | public function __construct($ignoreDefaultValues = true) { |
||
111 | |||
112 | /** |
||
113 | * Clear. |
||
114 | * |
||
115 | * @return void |
||
116 | */ |
||
117 | public function clear() { |
||
149 | |||
150 | /** |
||
151 | * Get the align. |
||
152 | * |
||
153 | * @return string Returns the align. |
||
154 | */ |
||
155 | public function getAlign() { |
||
158 | |||
159 | /** |
||
160 | * Get the enabled. |
||
161 | * |
||
162 | * @return string Returns the enabled. |
||
163 | * @deprecated |
||
164 | */ |
||
165 | public function getEnabled() { |
||
168 | |||
169 | /** |
||
170 | * Get the margin. |
||
171 | * |
||
172 | * @return integer Returns the margin. |
||
173 | */ |
||
174 | public function getMargin() { |
||
177 | |||
178 | /** |
||
179 | * Get the offset. |
||
180 | * |
||
181 | * @return integer Returns the offset. |
||
182 | */ |
||
183 | public function getOffset() { |
||
186 | |||
187 | /** |
||
188 | * Get the reserve space. |
||
189 | * |
||
190 | * @return boolean Returns the reserve space. |
||
191 | */ |
||
192 | public function getReserveSpace() { |
||
195 | |||
196 | /** |
||
197 | * Get the rotation. |
||
198 | * |
||
199 | * @return integer Returns the rotation. |
||
200 | */ |
||
201 | public function getRotation() { |
||
204 | |||
205 | /** |
||
206 | * Get the style. |
||
207 | * |
||
208 | * @return array Returns the style. |
||
209 | */ |
||
210 | public function getStyle() { |
||
213 | |||
214 | /** |
||
215 | * Get the text. |
||
216 | * |
||
217 | * @return string Returns the text. |
||
218 | */ |
||
219 | public function getText() { |
||
222 | |||
223 | /** |
||
224 | * Get the x. |
||
225 | * |
||
226 | * @return integer Returns the x. |
||
227 | */ |
||
228 | public function getX() { |
||
231 | |||
232 | /** |
||
233 | * Get the y. |
||
234 | * |
||
235 | * @return integer Returns the y. |
||
236 | */ |
||
237 | public function getY() { |
||
240 | |||
241 | /** |
||
242 | * Serialize this instance. |
||
243 | * |
||
244 | * @return array Returns an array representing this instance. |
||
245 | */ |
||
246 | public function jsonSerialize() { |
||
249 | |||
250 | /** |
||
251 | * Set the align. |
||
252 | * |
||
253 | * @param string $align The align. |
||
254 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\ZAxis\HighchartsTitle Returns the highcharts title. |
||
255 | */ |
||
256 | public function setAlign($align) { |
||
266 | |||
267 | /** |
||
268 | * Set the enabled. |
||
269 | * |
||
270 | * @param string $enabled The enabled. |
||
271 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\ZAxis\HighchartsTitle Returns the highcharts title. |
||
272 | * @deprecated |
||
273 | */ |
||
274 | public function setEnabled($enabled) { |
||
278 | |||
279 | /** |
||
280 | * Set the margin. |
||
281 | * |
||
282 | * @param integer $margin The margin. |
||
283 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\ZAxis\HighchartsTitle Returns the highcharts title. |
||
284 | */ |
||
285 | public function setMargin($margin) { |
||
289 | |||
290 | /** |
||
291 | * Set the offset. |
||
292 | * |
||
293 | * @param integer $offset The offset. |
||
294 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\ZAxis\HighchartsTitle Returns the highcharts title. |
||
295 | */ |
||
296 | public function setOffset($offset) { |
||
300 | |||
301 | /** |
||
302 | * Set the reserve space. |
||
303 | * |
||
304 | * @param boolean $reserveSpace The reserve space. |
||
305 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\ZAxis\HighchartsTitle Returns the highcharts title. |
||
306 | */ |
||
307 | public function setReserveSpace($reserveSpace) { |
||
311 | |||
312 | /** |
||
313 | * Set the rotation. |
||
314 | * |
||
315 | * @param integer $rotation The rotation. |
||
316 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\ZAxis\HighchartsTitle Returns the highcharts title. |
||
317 | */ |
||
318 | public function setRotation($rotation) { |
||
322 | |||
323 | /** |
||
324 | * Set the style. |
||
325 | * |
||
326 | * @param array $style The style. |
||
327 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\ZAxis\HighchartsTitle Returns the highcharts title. |
||
328 | */ |
||
329 | public function setStyle(array $style = null) { |
||
333 | |||
334 | /** |
||
335 | * Set the text. |
||
336 | * |
||
337 | * @param string $text The text. |
||
338 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\ZAxis\HighchartsTitle Returns the highcharts title. |
||
339 | */ |
||
340 | public function setText($text) { |
||
344 | |||
345 | /** |
||
346 | * Set the x. |
||
347 | * |
||
348 | * @param integer $x The x. |
||
349 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\ZAxis\HighchartsTitle Returns the highcharts title. |
||
350 | */ |
||
351 | public function setX($x) { |
||
355 | |||
356 | /** |
||
357 | * Set the y. |
||
358 | * |
||
359 | * @param integer $y The y. |
||
360 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\ZAxis\HighchartsTitle Returns the highcharts title. |
||
361 | */ |
||
362 | public function setY($y) { |
||
366 | |||
367 | /** |
||
368 | * Convert into an array representing this instance. |
||
369 | * |
||
370 | * @return array Returns an array representing this instance. |
||
371 | */ |
||
372 | public function toArray() { |
||
410 | |||
411 | } |
||
412 |
This property has been deprecated. The supplier of the class has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the property will be removed from the class and what other property to use instead.