1
|
|
|
<?php |
2
|
|
|
|
3
|
|
|
/** |
4
|
|
|
* This file is part of the highcharts-bundle package. |
5
|
|
|
* |
6
|
|
|
* (c) 2017 WEBEWEB |
7
|
|
|
* |
8
|
|
|
* For the full copyright and license information, please view the LICENSE |
9
|
|
|
* file that was distributed with this source code. |
10
|
|
|
*/ |
11
|
|
|
|
12
|
|
|
namespace WBW\Bundle\HighchartsBundle\API\Chart\Series; |
13
|
|
|
|
14
|
|
|
use JsonSerializable; |
15
|
|
|
use WBW\Library\Core\Utility\Argument\ArrayUtility; |
16
|
|
|
|
17
|
|
|
/** |
18
|
|
|
* Highcharts bubble. |
19
|
|
|
* |
20
|
|
|
* @author webeweb <https://github.com/webeweb/> |
21
|
|
|
* @package WBW\Bundle\HighchartsBundle\API\Chart\Series |
22
|
|
|
* @version 5.0.14 |
23
|
|
|
* @final |
24
|
|
|
*/ |
25
|
|
|
final class HighchartsBubble 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\Bubble\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
|
|
|
* Display negative. |
119
|
|
|
* |
120
|
|
|
* @var boolean |
121
|
|
|
* @since 3.0 |
122
|
|
|
*/ |
123
|
|
|
private $displayNegative = true; |
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\Bubble\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
|
|
|
* Find nearest point by. |
149
|
|
|
* |
150
|
|
|
* @var string |
151
|
|
|
* @since 5.0.10 |
152
|
|
|
*/ |
153
|
|
|
private $findNearestPointBy; |
154
|
|
|
|
155
|
|
|
/** |
156
|
|
|
* Get extremes from all. |
157
|
|
|
* |
158
|
|
|
* @var boolean |
159
|
|
|
* @since 4.1.6 |
160
|
|
|
*/ |
161
|
|
|
private $getExtremesFromAll = false; |
162
|
|
|
|
163
|
|
|
/** |
164
|
|
|
* Id. |
165
|
|
|
* |
166
|
|
|
* @var string |
167
|
|
|
* @since 1.2.0 |
168
|
|
|
*/ |
169
|
|
|
private $id; |
170
|
|
|
|
171
|
|
|
/** |
172
|
|
|
* Index. |
173
|
|
|
* |
174
|
|
|
* @var integer |
175
|
|
|
* @since 2.3.0 |
176
|
|
|
*/ |
177
|
|
|
private $index; |
178
|
|
|
|
179
|
|
|
/** |
180
|
|
|
* Keys. |
181
|
|
|
* |
182
|
|
|
* @var array |
183
|
|
|
* @since 4.1.6 |
184
|
|
|
*/ |
185
|
|
|
private $keys; |
186
|
|
|
|
187
|
|
|
/** |
188
|
|
|
* Legend index. |
189
|
|
|
* |
190
|
|
|
* @var integer |
191
|
|
|
*/ |
192
|
|
|
private $legendIndex; |
193
|
|
|
|
194
|
|
|
/** |
195
|
|
|
* Line width. |
196
|
|
|
* |
197
|
|
|
* @var integer |
198
|
|
|
*/ |
199
|
|
|
private $lineWidth = 0; |
200
|
|
|
|
201
|
|
|
/** |
202
|
|
|
* Linked to. |
203
|
|
|
* |
204
|
|
|
* @var string |
205
|
|
|
* @since 3.0 |
206
|
|
|
*/ |
207
|
|
|
private $linkedTo; |
208
|
|
|
|
209
|
|
|
/** |
210
|
|
|
* Marker. |
211
|
|
|
* |
212
|
|
|
* @var array |
213
|
|
|
*/ |
214
|
|
|
private $marker; |
215
|
|
|
|
216
|
|
|
/** |
217
|
|
|
* Max size. |
218
|
|
|
* |
219
|
|
|
* @var string |
220
|
|
|
* @since 3.0 |
221
|
|
|
*/ |
222
|
|
|
private $maxSize = "20%"; |
223
|
|
|
|
224
|
|
|
/** |
225
|
|
|
* Min size. |
226
|
|
|
* |
227
|
|
|
* @var string |
228
|
|
|
* @since 3.0 |
229
|
|
|
*/ |
230
|
|
|
private $minSize = "8"; |
231
|
|
|
|
232
|
|
|
/** |
233
|
|
|
* Name. |
234
|
|
|
* |
235
|
|
|
* @var string |
236
|
|
|
*/ |
237
|
|
|
private $name; |
238
|
|
|
|
239
|
|
|
/** |
240
|
|
|
* Negative color. |
241
|
|
|
* |
242
|
|
|
* @var string |
243
|
|
|
* @since 3.0 |
244
|
|
|
*/ |
245
|
|
|
private $negativeColor; |
246
|
|
|
|
247
|
|
|
/** |
248
|
|
|
* Point. |
249
|
|
|
* |
250
|
|
|
* @var \WBW\Bundle\HighchartsBundle\API\Chart\Series\Bubble\HighchartsPoint |
251
|
|
|
*/ |
252
|
|
|
private $point; |
253
|
|
|
|
254
|
|
|
/** |
255
|
|
|
* Point description formatter. |
256
|
|
|
* |
257
|
|
|
* @var string |
258
|
|
|
* @since 5.0.12 |
259
|
|
|
*/ |
260
|
|
|
private $pointDescriptionFormatter; |
261
|
|
|
|
262
|
|
|
/** |
263
|
|
|
* Point interval. |
264
|
|
|
* |
265
|
|
|
* @var integer |
266
|
|
|
*/ |
267
|
|
|
private $pointInterval = 1; |
268
|
|
|
|
269
|
|
|
/** |
270
|
|
|
* Point interval unit. |
271
|
|
|
* |
272
|
|
|
* @var string |
273
|
|
|
* @since 4.1.0 |
274
|
|
|
*/ |
275
|
|
|
private $pointIntervalUnit; |
276
|
|
|
|
277
|
|
|
/** |
278
|
|
|
* Point start. |
279
|
|
|
* |
280
|
|
|
* @var integer |
281
|
|
|
*/ |
282
|
|
|
private $pointStart = 0; |
283
|
|
|
|
284
|
|
|
/** |
285
|
|
|
* Selected. |
286
|
|
|
* |
287
|
|
|
* @var boolean |
288
|
|
|
* @since 1.2.0 |
289
|
|
|
*/ |
290
|
|
|
private $selected = false; |
291
|
|
|
|
292
|
|
|
/** |
293
|
|
|
* Shadow. |
294
|
|
|
* |
295
|
|
|
* @var boolean|array |
296
|
|
|
*/ |
297
|
|
|
private $shadow = false; |
298
|
|
|
|
299
|
|
|
/** |
300
|
|
|
* Show checkbox. |
301
|
|
|
* |
302
|
|
|
* @var boolean |
303
|
|
|
* @since 1.2.0 |
304
|
|
|
*/ |
305
|
|
|
private $showCheckbox = false; |
306
|
|
|
|
307
|
|
|
/** |
308
|
|
|
* Show in legend. |
309
|
|
|
* |
310
|
|
|
* @var boolean |
311
|
|
|
*/ |
312
|
|
|
private $showInLegend = true; |
313
|
|
|
|
314
|
|
|
/** |
315
|
|
|
* Size by. |
316
|
|
|
* |
317
|
|
|
* @var string |
318
|
|
|
* @since 3.0.7 |
319
|
|
|
*/ |
320
|
|
|
private $sizeBy = "area"; |
321
|
|
|
|
322
|
|
|
/** |
323
|
|
|
* Size by absolute value. |
324
|
|
|
* |
325
|
|
|
* @var boolean |
326
|
|
|
* @since 4.1.9 |
327
|
|
|
*/ |
328
|
|
|
private $sizeByAbsoluteValue = false; |
329
|
|
|
|
330
|
|
|
/** |
331
|
|
|
* Skip keyboard navigation. |
332
|
|
|
* |
333
|
|
|
* @var boolean |
334
|
|
|
* @since 5.0.12 |
335
|
|
|
*/ |
336
|
|
|
private $skipKeyboardNavigation; |
337
|
|
|
|
338
|
|
|
/** |
339
|
|
|
* Soft threshold. |
340
|
|
|
* |
341
|
|
|
* @var boolean |
342
|
|
|
* @since 4.1.9 |
343
|
|
|
*/ |
344
|
|
|
private $softThreshold = false; |
345
|
|
|
|
346
|
|
|
/** |
347
|
|
|
* States. |
348
|
|
|
* |
349
|
|
|
* @var \WBW\Bundle\HighchartsBundle\API\Chart\Series\Bubble\HighchartsStates |
350
|
|
|
*/ |
351
|
|
|
private $states; |
352
|
|
|
|
353
|
|
|
/** |
354
|
|
|
* Sticky tracking. |
355
|
|
|
* |
356
|
|
|
* @var boolean |
357
|
|
|
*/ |
358
|
|
|
private $stickyTracking = false; |
359
|
|
|
|
360
|
|
|
/** |
361
|
|
|
* Threshold. |
362
|
|
|
* |
363
|
|
|
* @var integer |
364
|
|
|
* @since 3.0 |
365
|
|
|
*/ |
366
|
|
|
private $threshold = 0; |
367
|
|
|
|
368
|
|
|
/** |
369
|
|
|
* Tooltip. |
370
|
|
|
* |
371
|
|
|
* @var array |
372
|
|
|
* @since 2.3 |
373
|
|
|
*/ |
374
|
|
|
private $tooltip; |
375
|
|
|
|
376
|
|
|
/** |
377
|
|
|
* Type. |
378
|
|
|
* |
379
|
|
|
* @var string |
380
|
|
|
*/ |
381
|
|
|
private $type; |
382
|
|
|
|
383
|
|
|
/** |
384
|
|
|
* Visible. |
385
|
|
|
* |
386
|
|
|
* @var boolean |
387
|
|
|
*/ |
388
|
|
|
private $visible = true; |
389
|
|
|
|
390
|
|
|
/** |
391
|
|
|
* X axis. |
392
|
|
|
* |
393
|
|
|
* @var integer|string |
394
|
|
|
*/ |
395
|
|
|
private $xAxis = "0"; |
396
|
|
|
|
397
|
|
|
/** |
398
|
|
|
* Y axis. |
399
|
|
|
* |
400
|
|
|
* @var integer|string |
401
|
|
|
*/ |
402
|
|
|
private $yAxis = "0"; |
403
|
|
|
|
404
|
|
|
/** |
405
|
|
|
* Z index. |
406
|
|
|
* |
407
|
|
|
* @var integer |
408
|
|
|
*/ |
409
|
|
|
private $zIndex; |
410
|
|
|
|
411
|
|
|
/** |
412
|
|
|
* Z max. |
413
|
|
|
* |
414
|
|
|
* @var integer |
415
|
|
|
* @since 4.0.3 |
416
|
|
|
*/ |
417
|
|
|
private $zMax; |
418
|
|
|
|
419
|
|
|
/** |
420
|
|
|
* Z min. |
421
|
|
|
* |
422
|
|
|
* @var integer |
423
|
|
|
* @since 4.0.3 |
424
|
|
|
*/ |
425
|
|
|
private $zMin; |
426
|
|
|
|
427
|
|
|
/** |
428
|
|
|
* Z threshold. |
429
|
|
|
* |
430
|
|
|
* @var integer |
431
|
|
|
* @since 3.0 |
432
|
|
|
*/ |
433
|
|
|
private $zThreshold = 0; |
434
|
|
|
|
435
|
|
|
/** |
436
|
|
|
* Zone axis. |
437
|
|
|
* |
438
|
|
|
* @var string |
439
|
|
|
* @since 4.1.0 |
440
|
|
|
*/ |
441
|
|
|
private $zoneAxis = "y"; |
442
|
|
|
|
443
|
|
|
/** |
444
|
|
|
* Zones. |
445
|
|
|
* |
446
|
|
|
* @var array |
447
|
|
|
* @since 4.1.0 |
448
|
|
|
*/ |
449
|
|
|
private $zones; |
450
|
|
|
|
451
|
|
|
/** |
452
|
|
|
* Constructor. |
453
|
|
|
* |
454
|
|
|
* @param boolean $ignoreDefaultValues Ignore the default values. |
455
|
|
|
*/ |
456
|
|
|
public function __construct($ignoreDefaultValues = true) { |
457
|
|
|
if (true === $ignoreDefaultValues) { |
458
|
|
|
$this->clear(); |
459
|
|
|
} |
460
|
|
|
} |
461
|
|
|
|
462
|
|
|
/** |
463
|
|
|
* Clear. |
464
|
|
|
* |
465
|
|
|
* @return void |
466
|
|
|
*/ |
467
|
|
|
public function clear() { |
468
|
|
|
|
469
|
|
|
// Clear the allow point select. |
470
|
|
|
$this->allowPointSelect = null; |
471
|
|
|
|
472
|
|
|
// Clear the animation. |
473
|
|
|
$this->animation = null; |
474
|
|
|
|
475
|
|
|
// Clear the animation limit. |
476
|
|
|
$this->animationLimit = null; |
477
|
|
|
|
478
|
|
|
// Clear the class name. |
479
|
|
|
$this->className = null; |
480
|
|
|
|
481
|
|
|
// Clear the color. |
482
|
|
|
$this->color = null; |
483
|
|
|
|
484
|
|
|
// Clear the color index. |
485
|
|
|
$this->colorIndex = null; |
486
|
|
|
|
487
|
|
|
// Clear the crop threshold. |
488
|
|
|
$this->cropThreshold = null; |
489
|
|
|
|
490
|
|
|
// Clear the cursor. |
491
|
|
|
$this->cursor = null; |
492
|
|
|
|
493
|
|
|
// Clear the dash style. |
494
|
|
|
$this->dashStyle = null; |
495
|
|
|
|
496
|
|
|
// Clear the data. |
497
|
|
|
$this->data = null; |
|
|
|
|
498
|
|
|
|
499
|
|
|
// Clear the data labels. |
500
|
|
|
if (null !== $this->dataLabels) { |
501
|
|
|
$this->dataLabels->clear(); |
502
|
|
|
} |
503
|
|
|
|
504
|
|
|
// Clear the description. |
505
|
|
|
$this->description = null; |
506
|
|
|
|
507
|
|
|
// Clear the display negative. |
508
|
|
|
$this->displayNegative = null; |
509
|
|
|
|
510
|
|
|
// Clear the enable mouse tracking. |
511
|
|
|
$this->enableMouseTracking = null; |
512
|
|
|
|
513
|
|
|
// Clear the events. |
514
|
|
|
if (null !== $this->events) { |
515
|
|
|
$this->events->clear(); |
516
|
|
|
} |
517
|
|
|
|
518
|
|
|
// Clear the expose element to a11y. |
519
|
|
|
$this->exposeElementToA11y = null; |
520
|
|
|
|
521
|
|
|
// Clear the find nearest point by. |
522
|
|
|
$this->findNearestPointBy = null; |
523
|
|
|
|
524
|
|
|
// Clear the get extremes from all. |
525
|
|
|
$this->getExtremesFromAll = null; |
526
|
|
|
|
527
|
|
|
// Clear the id. |
528
|
|
|
$this->id = null; |
529
|
|
|
|
530
|
|
|
// Clear the index. |
531
|
|
|
$this->index = null; |
532
|
|
|
|
533
|
|
|
// Clear the keys. |
534
|
|
|
$this->keys = null; |
|
|
|
|
535
|
|
|
|
536
|
|
|
// Clear the legend index. |
537
|
|
|
$this->legendIndex = null; |
538
|
|
|
|
539
|
|
|
// Clear the line width. |
540
|
|
|
$this->lineWidth = null; |
541
|
|
|
|
542
|
|
|
// Clear the linked to. |
543
|
|
|
$this->linkedTo = null; |
544
|
|
|
|
545
|
|
|
// Clear the marker. |
546
|
|
|
$this->marker = null; |
|
|
|
|
547
|
|
|
|
548
|
|
|
// Clear the max size. |
549
|
|
|
$this->maxSize = null; |
550
|
|
|
|
551
|
|
|
// Clear the min size. |
552
|
|
|
$this->minSize = null; |
553
|
|
|
|
554
|
|
|
// Clear the name. |
555
|
|
|
$this->name = null; |
556
|
|
|
|
557
|
|
|
// Clear the negative color. |
558
|
|
|
$this->negativeColor = null; |
559
|
|
|
|
560
|
|
|
// Clear the point. |
561
|
|
|
if (null !== $this->point) { |
562
|
|
|
$this->point->clear(); |
563
|
|
|
} |
564
|
|
|
|
565
|
|
|
// Clear the point description formatter. |
566
|
|
|
$this->pointDescriptionFormatter = null; |
567
|
|
|
|
568
|
|
|
// Clear the point interval. |
569
|
|
|
$this->pointInterval = null; |
570
|
|
|
|
571
|
|
|
// Clear the point interval unit. |
572
|
|
|
$this->pointIntervalUnit = null; |
573
|
|
|
|
574
|
|
|
// Clear the point start. |
575
|
|
|
$this->pointStart = null; |
576
|
|
|
|
577
|
|
|
// Clear the selected. |
578
|
|
|
$this->selected = null; |
579
|
|
|
|
580
|
|
|
// Clear the shadow. |
581
|
|
|
$this->shadow = null; |
582
|
|
|
|
583
|
|
|
// Clear the show checkbox. |
584
|
|
|
$this->showCheckbox = null; |
585
|
|
|
|
586
|
|
|
// Clear the show in legend. |
587
|
|
|
$this->showInLegend = null; |
588
|
|
|
|
589
|
|
|
// Clear the size by. |
590
|
|
|
$this->sizeBy = null; |
591
|
|
|
|
592
|
|
|
// Clear the size by absolute value. |
593
|
|
|
$this->sizeByAbsoluteValue = null; |
594
|
|
|
|
595
|
|
|
// Clear the skip keyboard navigation. |
596
|
|
|
$this->skipKeyboardNavigation = null; |
597
|
|
|
|
598
|
|
|
// Clear the soft threshold. |
599
|
|
|
$this->softThreshold = null; |
600
|
|
|
|
601
|
|
|
// Clear the states. |
602
|
|
|
if (null !== $this->states) { |
603
|
|
|
$this->states->clear(); |
604
|
|
|
} |
605
|
|
|
|
606
|
|
|
// Clear the sticky tracking. |
607
|
|
|
$this->stickyTracking = null; |
608
|
|
|
|
609
|
|
|
// Clear the threshold. |
610
|
|
|
$this->threshold = null; |
611
|
|
|
|
612
|
|
|
// Clear the tooltip. |
613
|
|
|
$this->tooltip = null; |
|
|
|
|
614
|
|
|
|
615
|
|
|
// Clear the type. |
616
|
|
|
$this->type = null; |
617
|
|
|
|
618
|
|
|
// Clear the visible. |
619
|
|
|
$this->visible = null; |
620
|
|
|
|
621
|
|
|
// Clear the x axis. |
622
|
|
|
$this->xAxis = null; |
623
|
|
|
|
624
|
|
|
// Clear the y axis. |
625
|
|
|
$this->yAxis = null; |
626
|
|
|
|
627
|
|
|
// Clear the z index. |
628
|
|
|
$this->zIndex = null; |
629
|
|
|
|
630
|
|
|
// Clear the z max. |
631
|
|
|
$this->zMax = null; |
632
|
|
|
|
633
|
|
|
// Clear the z min. |
634
|
|
|
$this->zMin = null; |
635
|
|
|
|
636
|
|
|
// Clear the z threshold. |
637
|
|
|
$this->zThreshold = null; |
638
|
|
|
|
639
|
|
|
// Clear the zone axis. |
640
|
|
|
$this->zoneAxis = null; |
641
|
|
|
|
642
|
|
|
// Clear the zones. |
643
|
|
|
$this->zones = null; |
|
|
|
|
644
|
|
|
} |
645
|
|
|
|
646
|
|
|
/** |
647
|
|
|
* Get the allow point select. |
648
|
|
|
* |
649
|
|
|
* @return boolean Returns the allow point select. |
650
|
|
|
*/ |
651
|
|
|
public function getAllowPointSelect() { |
652
|
|
|
return $this->allowPointSelect; |
653
|
|
|
} |
654
|
|
|
|
655
|
|
|
/** |
656
|
|
|
* Get the animation. |
657
|
|
|
* |
658
|
|
|
* @return boolean Returns the animation. |
659
|
|
|
*/ |
660
|
|
|
public function getAnimation() { |
661
|
|
|
return $this->animation; |
662
|
|
|
} |
663
|
|
|
|
664
|
|
|
/** |
665
|
|
|
* Get the animation limit. |
666
|
|
|
* |
667
|
|
|
* @return integer Returns the animation limit. |
668
|
|
|
*/ |
669
|
|
|
public function getAnimationLimit() { |
670
|
|
|
return $this->animationLimit; |
671
|
|
|
} |
672
|
|
|
|
673
|
|
|
/** |
674
|
|
|
* Get the class name. |
675
|
|
|
* |
676
|
|
|
* @return string Returns the class name. |
677
|
|
|
*/ |
678
|
|
|
public function getClassName() { |
679
|
|
|
return $this->className; |
680
|
|
|
} |
681
|
|
|
|
682
|
|
|
/** |
683
|
|
|
* Get the color. |
684
|
|
|
* |
685
|
|
|
* @return string Returns the color. |
686
|
|
|
*/ |
687
|
|
|
public function getColor() { |
688
|
|
|
return $this->color; |
689
|
|
|
} |
690
|
|
|
|
691
|
|
|
/** |
692
|
|
|
* Get the color index. |
693
|
|
|
* |
694
|
|
|
* @return integer Returns the color index. |
695
|
|
|
*/ |
696
|
|
|
public function getColorIndex() { |
697
|
|
|
return $this->colorIndex; |
698
|
|
|
} |
699
|
|
|
|
700
|
|
|
/** |
701
|
|
|
* Get the crop threshold. |
702
|
|
|
* |
703
|
|
|
* @return integer Returns the crop threshold. |
704
|
|
|
*/ |
705
|
|
|
public function getCropThreshold() { |
706
|
|
|
return $this->cropThreshold; |
707
|
|
|
} |
708
|
|
|
|
709
|
|
|
/** |
710
|
|
|
* Get the cursor. |
711
|
|
|
* |
712
|
|
|
* @return string Returns the cursor. |
713
|
|
|
*/ |
714
|
|
|
public function getCursor() { |
715
|
|
|
return $this->cursor; |
716
|
|
|
} |
717
|
|
|
|
718
|
|
|
/** |
719
|
|
|
* Get the dash style. |
720
|
|
|
* |
721
|
|
|
* @return string Returns the dash style. |
722
|
|
|
*/ |
723
|
|
|
public function getDashStyle() { |
724
|
|
|
return $this->dashStyle; |
725
|
|
|
} |
726
|
|
|
|
727
|
|
|
/** |
728
|
|
|
* Get the data. |
729
|
|
|
* |
730
|
|
|
* @return array Returns the data. |
731
|
|
|
*/ |
732
|
|
|
public function getData() { |
733
|
|
|
return $this->data; |
734
|
|
|
} |
735
|
|
|
|
736
|
|
|
/** |
737
|
|
|
* Get the data labels. |
738
|
|
|
* |
739
|
|
|
* @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\Bubble\HighchartsDataLabels Returns the data labels. |
740
|
|
|
*/ |
741
|
|
|
public function getDataLabels() { |
742
|
|
|
return $this->dataLabels; |
743
|
|
|
} |
744
|
|
|
|
745
|
|
|
/** |
746
|
|
|
* Get the description. |
747
|
|
|
* |
748
|
|
|
* @return string Returns the description. |
749
|
|
|
*/ |
750
|
|
|
public function getDescription() { |
751
|
|
|
return $this->description; |
752
|
|
|
} |
753
|
|
|
|
754
|
|
|
/** |
755
|
|
|
* Get the display negative. |
756
|
|
|
* |
757
|
|
|
* @return boolean Returns the display negative. |
758
|
|
|
*/ |
759
|
|
|
public function getDisplayNegative() { |
760
|
|
|
return $this->displayNegative; |
761
|
|
|
} |
762
|
|
|
|
763
|
|
|
/** |
764
|
|
|
* Get the enable mouse tracking. |
765
|
|
|
* |
766
|
|
|
* @return boolean Returns the enable mouse tracking. |
767
|
|
|
*/ |
768
|
|
|
public function getEnableMouseTracking() { |
769
|
|
|
return $this->enableMouseTracking; |
770
|
|
|
} |
771
|
|
|
|
772
|
|
|
/** |
773
|
|
|
* Get the events. |
774
|
|
|
* |
775
|
|
|
* @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\Bubble\HighchartsEvents Returns the events. |
776
|
|
|
*/ |
777
|
|
|
public function getEvents() { |
778
|
|
|
return $this->events; |
779
|
|
|
} |
780
|
|
|
|
781
|
|
|
/** |
782
|
|
|
* Get the expose element to a11y. |
783
|
|
|
* |
784
|
|
|
* @return boolean Returns the expose element to a11y. |
785
|
|
|
*/ |
786
|
|
|
public function getExposeElementToA11y() { |
787
|
|
|
return $this->exposeElementToA11y; |
788
|
|
|
} |
789
|
|
|
|
790
|
|
|
/** |
791
|
|
|
* Get the find nearest point by. |
792
|
|
|
* |
793
|
|
|
* @return string Returns the find nearest point by. |
794
|
|
|
*/ |
795
|
|
|
public function getFindNearestPointBy() { |
796
|
|
|
return $this->findNearestPointBy; |
797
|
|
|
} |
798
|
|
|
|
799
|
|
|
/** |
800
|
|
|
* Get the get extremes from all. |
801
|
|
|
* |
802
|
|
|
* @return boolean Returns the get extremes from all. |
803
|
|
|
*/ |
804
|
|
|
public function getGetExtremesFromAll() { |
805
|
|
|
return $this->getExtremesFromAll; |
806
|
|
|
} |
807
|
|
|
|
808
|
|
|
/** |
809
|
|
|
* Get the id. |
810
|
|
|
* |
811
|
|
|
* @return string Returns the id. |
812
|
|
|
*/ |
813
|
|
|
public function getId() { |
814
|
|
|
return $this->id; |
815
|
|
|
} |
816
|
|
|
|
817
|
|
|
/** |
818
|
|
|
* Get the index. |
819
|
|
|
* |
820
|
|
|
* @return integer Returns the index. |
821
|
|
|
*/ |
822
|
|
|
public function getIndex() { |
823
|
|
|
return $this->index; |
824
|
|
|
} |
825
|
|
|
|
826
|
|
|
/** |
827
|
|
|
* Get the keys. |
828
|
|
|
* |
829
|
|
|
* @return array Returns the keys. |
830
|
|
|
*/ |
831
|
|
|
public function getKeys() { |
832
|
|
|
return $this->keys; |
833
|
|
|
} |
834
|
|
|
|
835
|
|
|
/** |
836
|
|
|
* Get the legend index. |
837
|
|
|
* |
838
|
|
|
* @return integer Returns the legend index. |
839
|
|
|
*/ |
840
|
|
|
public function getLegendIndex() { |
841
|
|
|
return $this->legendIndex; |
842
|
|
|
} |
843
|
|
|
|
844
|
|
|
/** |
845
|
|
|
* Get the line width. |
846
|
|
|
* |
847
|
|
|
* @return integer Returns the line width. |
848
|
|
|
*/ |
849
|
|
|
public function getLineWidth() { |
850
|
|
|
return $this->lineWidth; |
851
|
|
|
} |
852
|
|
|
|
853
|
|
|
/** |
854
|
|
|
* Get the linked to. |
855
|
|
|
* |
856
|
|
|
* @return string Returns the linked to. |
857
|
|
|
*/ |
858
|
|
|
public function getLinkedTo() { |
859
|
|
|
return $this->linkedTo; |
860
|
|
|
} |
861
|
|
|
|
862
|
|
|
/** |
863
|
|
|
* Get the marker. |
864
|
|
|
* |
865
|
|
|
* @return array Returns the marker. |
866
|
|
|
*/ |
867
|
|
|
public function getMarker() { |
868
|
|
|
return $this->marker; |
869
|
|
|
} |
870
|
|
|
|
871
|
|
|
/** |
872
|
|
|
* Get the max size. |
873
|
|
|
* |
874
|
|
|
* @return string Returns the max size. |
875
|
|
|
*/ |
876
|
|
|
public function getMaxSize() { |
877
|
|
|
return $this->maxSize; |
878
|
|
|
} |
879
|
|
|
|
880
|
|
|
/** |
881
|
|
|
* Get the min size. |
882
|
|
|
* |
883
|
|
|
* @return string Returns the min size. |
884
|
|
|
*/ |
885
|
|
|
public function getMinSize() { |
886
|
|
|
return $this->minSize; |
887
|
|
|
} |
888
|
|
|
|
889
|
|
|
/** |
890
|
|
|
* Get the name. |
891
|
|
|
* |
892
|
|
|
* @return string Returns the name. |
893
|
|
|
*/ |
894
|
|
|
public function getName() { |
895
|
|
|
return $this->name; |
896
|
|
|
} |
897
|
|
|
|
898
|
|
|
/** |
899
|
|
|
* Get the negative color. |
900
|
|
|
* |
901
|
|
|
* @return string Returns the negative color. |
902
|
|
|
*/ |
903
|
|
|
public function getNegativeColor() { |
904
|
|
|
return $this->negativeColor; |
905
|
|
|
} |
906
|
|
|
|
907
|
|
|
/** |
908
|
|
|
* Get the point. |
909
|
|
|
* |
910
|
|
|
* @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\Bubble\HighchartsPoint Returns the point. |
911
|
|
|
*/ |
912
|
|
|
public function getPoint() { |
913
|
|
|
return $this->point; |
914
|
|
|
} |
915
|
|
|
|
916
|
|
|
/** |
917
|
|
|
* Get the point description formatter. |
918
|
|
|
* |
919
|
|
|
* @return string Returns the point description formatter. |
920
|
|
|
*/ |
921
|
|
|
public function getPointDescriptionFormatter() { |
922
|
|
|
return $this->pointDescriptionFormatter; |
923
|
|
|
} |
924
|
|
|
|
925
|
|
|
/** |
926
|
|
|
* Get the point interval. |
927
|
|
|
* |
928
|
|
|
* @return integer Returns the point interval. |
929
|
|
|
*/ |
930
|
|
|
public function getPointInterval() { |
931
|
|
|
return $this->pointInterval; |
932
|
|
|
} |
933
|
|
|
|
934
|
|
|
/** |
935
|
|
|
* Get the point interval unit. |
936
|
|
|
* |
937
|
|
|
* @return string Returns the point interval unit. |
938
|
|
|
*/ |
939
|
|
|
public function getPointIntervalUnit() { |
940
|
|
|
return $this->pointIntervalUnit; |
941
|
|
|
} |
942
|
|
|
|
943
|
|
|
/** |
944
|
|
|
* Get the point start. |
945
|
|
|
* |
946
|
|
|
* @return integer Returns the point start. |
947
|
|
|
*/ |
948
|
|
|
public function getPointStart() { |
949
|
|
|
return $this->pointStart; |
950
|
|
|
} |
951
|
|
|
|
952
|
|
|
/** |
953
|
|
|
* Get the selected. |
954
|
|
|
* |
955
|
|
|
* @return boolean Returns the selected. |
956
|
|
|
*/ |
957
|
|
|
public function getSelected() { |
958
|
|
|
return $this->selected; |
959
|
|
|
} |
960
|
|
|
|
961
|
|
|
/** |
962
|
|
|
* Get the shadow. |
963
|
|
|
* |
964
|
|
|
* @return boolean|array Returns the shadow. |
965
|
|
|
*/ |
966
|
|
|
public function getShadow() { |
967
|
|
|
return $this->shadow; |
968
|
|
|
} |
969
|
|
|
|
970
|
|
|
/** |
971
|
|
|
* Get the show checkbox. |
972
|
|
|
* |
973
|
|
|
* @return boolean Returns the show checkbox. |
974
|
|
|
*/ |
975
|
|
|
public function getShowCheckbox() { |
976
|
|
|
return $this->showCheckbox; |
977
|
|
|
} |
978
|
|
|
|
979
|
|
|
/** |
980
|
|
|
* Get the show in legend. |
981
|
|
|
* |
982
|
|
|
* @return boolean Returns the show in legend. |
983
|
|
|
*/ |
984
|
|
|
public function getShowInLegend() { |
985
|
|
|
return $this->showInLegend; |
986
|
|
|
} |
987
|
|
|
|
988
|
|
|
/** |
989
|
|
|
* Get the size by. |
990
|
|
|
* |
991
|
|
|
* @return string Returns the size by. |
992
|
|
|
*/ |
993
|
|
|
public function getSizeBy() { |
994
|
|
|
return $this->sizeBy; |
995
|
|
|
} |
996
|
|
|
|
997
|
|
|
/** |
998
|
|
|
* Get the size by absolute value. |
999
|
|
|
* |
1000
|
|
|
* @return boolean Returns the size by absolute value. |
1001
|
|
|
*/ |
1002
|
|
|
public function getSizeByAbsoluteValue() { |
1003
|
|
|
return $this->sizeByAbsoluteValue; |
1004
|
|
|
} |
1005
|
|
|
|
1006
|
|
|
/** |
1007
|
|
|
* Get the skip keyboard navigation. |
1008
|
|
|
* |
1009
|
|
|
* @return boolean Returns the skip keyboard navigation. |
1010
|
|
|
*/ |
1011
|
|
|
public function getSkipKeyboardNavigation() { |
1012
|
|
|
return $this->skipKeyboardNavigation; |
1013
|
|
|
} |
1014
|
|
|
|
1015
|
|
|
/** |
1016
|
|
|
* Get the soft threshold. |
1017
|
|
|
* |
1018
|
|
|
* @return boolean Returns the soft threshold. |
1019
|
|
|
*/ |
1020
|
|
|
public function getSoftThreshold() { |
1021
|
|
|
return $this->softThreshold; |
1022
|
|
|
} |
1023
|
|
|
|
1024
|
|
|
/** |
1025
|
|
|
* Get the states. |
1026
|
|
|
* |
1027
|
|
|
* @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\Bubble\HighchartsStates Returns the states. |
1028
|
|
|
*/ |
1029
|
|
|
public function getStates() { |
1030
|
|
|
return $this->states; |
1031
|
|
|
} |
1032
|
|
|
|
1033
|
|
|
/** |
1034
|
|
|
* Get the sticky tracking. |
1035
|
|
|
* |
1036
|
|
|
* @return boolean Returns the sticky tracking. |
1037
|
|
|
*/ |
1038
|
|
|
public function getStickyTracking() { |
1039
|
|
|
return $this->stickyTracking; |
1040
|
|
|
} |
1041
|
|
|
|
1042
|
|
|
/** |
1043
|
|
|
* Get the threshold. |
1044
|
|
|
* |
1045
|
|
|
* @return integer Returns the threshold. |
1046
|
|
|
*/ |
1047
|
|
|
public function getThreshold() { |
1048
|
|
|
return $this->threshold; |
1049
|
|
|
} |
1050
|
|
|
|
1051
|
|
|
/** |
1052
|
|
|
* Get the tooltip. |
1053
|
|
|
* |
1054
|
|
|
* @return array Returns the tooltip. |
1055
|
|
|
*/ |
1056
|
|
|
public function getTooltip() { |
1057
|
|
|
return $this->tooltip; |
1058
|
|
|
} |
1059
|
|
|
|
1060
|
|
|
/** |
1061
|
|
|
* Get the type. |
1062
|
|
|
* |
1063
|
|
|
* @return string Returns the type. |
1064
|
|
|
*/ |
1065
|
|
|
public function getType() { |
1066
|
|
|
return $this->type; |
1067
|
|
|
} |
1068
|
|
|
|
1069
|
|
|
/** |
1070
|
|
|
* Get the visible. |
1071
|
|
|
* |
1072
|
|
|
* @return boolean Returns the visible. |
1073
|
|
|
*/ |
1074
|
|
|
public function getVisible() { |
1075
|
|
|
return $this->visible; |
1076
|
|
|
} |
1077
|
|
|
|
1078
|
|
|
/** |
1079
|
|
|
* Get the x axis. |
1080
|
|
|
* |
1081
|
|
|
* @return integer|string Returns the x axis. |
1082
|
|
|
*/ |
1083
|
|
|
public function getXAxis() { |
1084
|
|
|
return $this->xAxis; |
1085
|
|
|
} |
1086
|
|
|
|
1087
|
|
|
/** |
1088
|
|
|
* Get the y axis. |
1089
|
|
|
* |
1090
|
|
|
* @return integer|string Returns the y axis. |
1091
|
|
|
*/ |
1092
|
|
|
public function getYAxis() { |
1093
|
|
|
return $this->yAxis; |
1094
|
|
|
} |
1095
|
|
|
|
1096
|
|
|
/** |
1097
|
|
|
* Get the z index. |
1098
|
|
|
* |
1099
|
|
|
* @return integer Returns the z index. |
1100
|
|
|
*/ |
1101
|
|
|
public function getZIndex() { |
1102
|
|
|
return $this->zIndex; |
1103
|
|
|
} |
1104
|
|
|
|
1105
|
|
|
/** |
1106
|
|
|
* Get the z max. |
1107
|
|
|
* |
1108
|
|
|
* @return integer Returns the z max. |
1109
|
|
|
*/ |
1110
|
|
|
public function getZMax() { |
1111
|
|
|
return $this->zMax; |
1112
|
|
|
} |
1113
|
|
|
|
1114
|
|
|
/** |
1115
|
|
|
* Get the z min. |
1116
|
|
|
* |
1117
|
|
|
* @return integer Returns the z min. |
1118
|
|
|
*/ |
1119
|
|
|
public function getZMin() { |
1120
|
|
|
return $this->zMin; |
1121
|
|
|
} |
1122
|
|
|
|
1123
|
|
|
/** |
1124
|
|
|
* Get the z threshold. |
1125
|
|
|
* |
1126
|
|
|
* @return integer Returns the z threshold. |
1127
|
|
|
*/ |
1128
|
|
|
public function getZThreshold() { |
1129
|
|
|
return $this->zThreshold; |
1130
|
|
|
} |
1131
|
|
|
|
1132
|
|
|
/** |
1133
|
|
|
* Get the zone axis. |
1134
|
|
|
* |
1135
|
|
|
* @return string Returns the zone axis. |
1136
|
|
|
*/ |
1137
|
|
|
public function getZoneAxis() { |
1138
|
|
|
return $this->zoneAxis; |
1139
|
|
|
} |
1140
|
|
|
|
1141
|
|
|
/** |
1142
|
|
|
* Get the zones. |
1143
|
|
|
* |
1144
|
|
|
* @return array Returns the zones. |
1145
|
|
|
*/ |
1146
|
|
|
public function getZones() { |
1147
|
|
|
return $this->zones; |
1148
|
|
|
} |
1149
|
|
|
|
1150
|
|
|
/** |
1151
|
|
|
* Serialize this instance. |
1152
|
|
|
* |
1153
|
|
|
* @return array Returns an array representing this instance. |
1154
|
|
|
*/ |
1155
|
|
|
public function jsonSerialize() { |
1156
|
|
|
return $this->toArray(); |
1157
|
|
|
} |
1158
|
|
|
|
1159
|
|
|
/** |
1160
|
|
|
* Create a new data labels. |
1161
|
|
|
* |
1162
|
|
|
* @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\Bubble\HighchartsDataLabels Returns the data labels. |
1163
|
|
|
*/ |
1164
|
|
|
public function newDataLabels() { |
1165
|
|
|
$this->dataLabels = new \WBW\Bundle\HighchartsBundle\API\Chart\Series\Bubble\HighchartsDataLabels(); |
1166
|
|
|
return $this->dataLabels; |
1167
|
|
|
} |
1168
|
|
|
|
1169
|
|
|
/** |
1170
|
|
|
* Create a new events. |
1171
|
|
|
* |
1172
|
|
|
* @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\Bubble\HighchartsEvents Returns the events. |
1173
|
|
|
*/ |
1174
|
|
|
public function newEvents() { |
1175
|
|
|
$this->events = new \WBW\Bundle\HighchartsBundle\API\Chart\Series\Bubble\HighchartsEvents(); |
1176
|
|
|
return $this->events; |
1177
|
|
|
} |
1178
|
|
|
|
1179
|
|
|
/** |
1180
|
|
|
* Create a new point. |
1181
|
|
|
* |
1182
|
|
|
* @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\Bubble\HighchartsPoint Returns the point. |
1183
|
|
|
*/ |
1184
|
|
|
public function newPoint() { |
1185
|
|
|
$this->point = new \WBW\Bundle\HighchartsBundle\API\Chart\Series\Bubble\HighchartsPoint(); |
1186
|
|
|
return $this->point; |
1187
|
|
|
} |
1188
|
|
|
|
1189
|
|
|
/** |
1190
|
|
|
* Create a new states. |
1191
|
|
|
* |
1192
|
|
|
* @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\Bubble\HighchartsStates Returns the states. |
1193
|
|
|
*/ |
1194
|
|
|
public function newStates() { |
1195
|
|
|
$this->states = new \WBW\Bundle\HighchartsBundle\API\Chart\Series\Bubble\HighchartsStates(); |
1196
|
|
|
return $this->states; |
1197
|
|
|
} |
1198
|
|
|
|
1199
|
|
|
/** |
1200
|
|
|
* Set the allow point select. |
1201
|
|
|
* |
1202
|
|
|
* @param boolean $allowPointSelect The allow point select. |
1203
|
|
|
* @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBubble Returns the highcharts bubble. |
1204
|
|
|
*/ |
1205
|
|
|
public function setAllowPointSelect($allowPointSelect) { |
1206
|
|
|
$this->allowPointSelect = $allowPointSelect; |
1207
|
|
|
return $this; |
1208
|
|
|
} |
1209
|
|
|
|
1210
|
|
|
/** |
1211
|
|
|
* Set the animation. |
1212
|
|
|
* |
1213
|
|
|
* @param boolean $animation The animation. |
1214
|
|
|
* @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBubble Returns the highcharts bubble. |
1215
|
|
|
*/ |
1216
|
|
|
public function setAnimation($animation) { |
1217
|
|
|
$this->animation = $animation; |
1218
|
|
|
return $this; |
1219
|
|
|
} |
1220
|
|
|
|
1221
|
|
|
/** |
1222
|
|
|
* Set the animation limit. |
1223
|
|
|
* |
1224
|
|
|
* @param integer $animationLimit The animation limit. |
1225
|
|
|
* @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBubble Returns the highcharts bubble. |
1226
|
|
|
*/ |
1227
|
|
|
public function setAnimationLimit($animationLimit) { |
1228
|
|
|
$this->animationLimit = $animationLimit; |
1229
|
|
|
return $this; |
1230
|
|
|
} |
1231
|
|
|
|
1232
|
|
|
/** |
1233
|
|
|
* Set the class name. |
1234
|
|
|
* |
1235
|
|
|
* @param string $className The class name. |
1236
|
|
|
* @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBubble Returns the highcharts bubble. |
1237
|
|
|
*/ |
1238
|
|
|
public function setClassName($className) { |
1239
|
|
|
$this->className = $className; |
1240
|
|
|
return $this; |
1241
|
|
|
} |
1242
|
|
|
|
1243
|
|
|
/** |
1244
|
|
|
* Set the color. |
1245
|
|
|
* |
1246
|
|
|
* @param string $color The color. |
1247
|
|
|
* @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBubble Returns the highcharts bubble. |
1248
|
|
|
*/ |
1249
|
|
|
public function setColor($color) { |
1250
|
|
|
$this->color = $color; |
1251
|
|
|
return $this; |
1252
|
|
|
} |
1253
|
|
|
|
1254
|
|
|
/** |
1255
|
|
|
* Set the color index. |
1256
|
|
|
* |
1257
|
|
|
* @param integer $colorIndex The color index. |
1258
|
|
|
* @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBubble Returns the highcharts bubble. |
1259
|
|
|
*/ |
1260
|
|
|
public function setColorIndex($colorIndex) { |
1261
|
|
|
$this->colorIndex = $colorIndex; |
1262
|
|
|
return $this; |
1263
|
|
|
} |
1264
|
|
|
|
1265
|
|
|
/** |
1266
|
|
|
* Set the crop threshold. |
1267
|
|
|
* |
1268
|
|
|
* @param integer $cropThreshold The crop threshold. |
1269
|
|
|
* @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBubble Returns the highcharts bubble. |
1270
|
|
|
*/ |
1271
|
|
|
public function setCropThreshold($cropThreshold) { |
1272
|
|
|
$this->cropThreshold = $cropThreshold; |
1273
|
|
|
return $this; |
1274
|
|
|
} |
1275
|
|
|
|
1276
|
|
|
/** |
1277
|
|
|
* Set the cursor. |
1278
|
|
|
* |
1279
|
|
|
* @param string $cursor The cursor. |
1280
|
|
|
* @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBubble Returns the highcharts bubble. |
1281
|
|
|
*/ |
1282
|
|
|
public function setCursor($cursor) { |
1283
|
|
|
switch ($cursor) { |
1284
|
|
|
case null: |
1285
|
|
|
case "crosshair": |
1286
|
|
|
case "default": |
1287
|
|
|
case "help": |
1288
|
|
|
case "none": |
1289
|
|
|
case "pointer": |
1290
|
|
|
$this->cursor = $cursor; |
1291
|
|
|
break; |
1292
|
|
|
} |
1293
|
|
|
return $this; |
1294
|
|
|
} |
1295
|
|
|
|
1296
|
|
|
/** |
1297
|
|
|
* Set the dash style. |
1298
|
|
|
* |
1299
|
|
|
* @param string $dashStyle The dash style. |
1300
|
|
|
* @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBubble Returns the highcharts bubble. |
1301
|
|
|
*/ |
1302
|
|
|
public function setDashStyle($dashStyle) { |
1303
|
|
|
switch ($dashStyle) { |
1304
|
|
|
case "Dash": |
1305
|
|
|
case "DashDot": |
1306
|
|
|
case "Dot": |
1307
|
|
|
case "LongDash": |
1308
|
|
|
case "LongDashDot": |
1309
|
|
|
case "LongDashDotDot": |
1310
|
|
|
case "ShortDash": |
1311
|
|
|
case "ShortDashDot": |
1312
|
|
|
case "ShortDashDotDot": |
1313
|
|
|
case "ShortDot": |
1314
|
|
|
case "Solid": |
1315
|
|
|
$this->dashStyle = $dashStyle; |
1316
|
|
|
break; |
1317
|
|
|
} |
1318
|
|
|
return $this; |
1319
|
|
|
} |
1320
|
|
|
|
1321
|
|
|
/** |
1322
|
|
|
* Set the data. |
1323
|
|
|
* |
1324
|
|
|
* @param array $data The data. |
1325
|
|
|
* @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBubble Returns the highcharts bubble. |
1326
|
|
|
*/ |
1327
|
|
|
public function setData(array $data = null) { |
1328
|
|
|
$this->data = $data; |
|
|
|
|
1329
|
|
|
return $this; |
1330
|
|
|
} |
1331
|
|
|
|
1332
|
|
|
/** |
1333
|
|
|
* Set the data labels. |
1334
|
|
|
* |
1335
|
|
|
* @param \WBW\Bundle\HighchartsBundle\API\Chart\Series\Bubble\HighchartsDataLabels $dataLabels The data labels. |
1336
|
|
|
* @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBubble Returns the highcharts bubble. |
1337
|
|
|
*/ |
1338
|
|
|
public function setDataLabels(\WBW\Bundle\HighchartsBundle\API\Chart\Series\Bubble\HighchartsDataLabels $dataLabels = null) { |
1339
|
|
|
$this->dataLabels = $dataLabels; |
1340
|
|
|
return $this; |
1341
|
|
|
} |
1342
|
|
|
|
1343
|
|
|
/** |
1344
|
|
|
* Set the description. |
1345
|
|
|
* |
1346
|
|
|
* @param string $description The description. |
1347
|
|
|
* @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBubble Returns the highcharts bubble. |
1348
|
|
|
*/ |
1349
|
|
|
public function setDescription($description) { |
1350
|
|
|
$this->description = $description; |
1351
|
|
|
return $this; |
1352
|
|
|
} |
1353
|
|
|
|
1354
|
|
|
/** |
1355
|
|
|
* Set the display negative. |
1356
|
|
|
* |
1357
|
|
|
* @param boolean $displayNegative The display negative. |
1358
|
|
|
* @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBubble Returns the highcharts bubble. |
1359
|
|
|
*/ |
1360
|
|
|
public function setDisplayNegative($displayNegative) { |
1361
|
|
|
$this->displayNegative = $displayNegative; |
1362
|
|
|
return $this; |
1363
|
|
|
} |
1364
|
|
|
|
1365
|
|
|
/** |
1366
|
|
|
* Set the enable mouse tracking. |
1367
|
|
|
* |
1368
|
|
|
* @param boolean $enableMouseTracking The enable mouse tracking. |
1369
|
|
|
* @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBubble Returns the highcharts bubble. |
1370
|
|
|
*/ |
1371
|
|
|
public function setEnableMouseTracking($enableMouseTracking) { |
1372
|
|
|
$this->enableMouseTracking = $enableMouseTracking; |
1373
|
|
|
return $this; |
1374
|
|
|
} |
1375
|
|
|
|
1376
|
|
|
/** |
1377
|
|
|
* Set the events. |
1378
|
|
|
* |
1379
|
|
|
* @param \WBW\Bundle\HighchartsBundle\API\Chart\Series\Bubble\HighchartsEvents $events The events. |
1380
|
|
|
* @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBubble Returns the highcharts bubble. |
1381
|
|
|
*/ |
1382
|
|
|
public function setEvents(\WBW\Bundle\HighchartsBundle\API\Chart\Series\Bubble\HighchartsEvents $events = null) { |
1383
|
|
|
$this->events = $events; |
1384
|
|
|
return $this; |
1385
|
|
|
} |
1386
|
|
|
|
1387
|
|
|
/** |
1388
|
|
|
* Set the expose element to a11y. |
1389
|
|
|
* |
1390
|
|
|
* @param boolean $exposeElementToA11y The expose element to a11y. |
1391
|
|
|
* @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBubble Returns the highcharts bubble. |
1392
|
|
|
*/ |
1393
|
|
|
public function setExposeElementToA11y($exposeElementToA11y) { |
1394
|
|
|
$this->exposeElementToA11y = $exposeElementToA11y; |
1395
|
|
|
return $this; |
1396
|
|
|
} |
1397
|
|
|
|
1398
|
|
|
/** |
1399
|
|
|
* Set the find nearest point by. |
1400
|
|
|
* |
1401
|
|
|
* @param string $findNearestPointBy The find nearest point by. |
1402
|
|
|
* @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBubble Returns the highcharts bubble. |
1403
|
|
|
*/ |
1404
|
|
|
public function setFindNearestPointBy($findNearestPointBy) { |
1405
|
|
|
switch ($findNearestPointBy) { |
1406
|
|
|
case "x": |
1407
|
|
|
case "xy": |
1408
|
|
|
$this->findNearestPointBy = $findNearestPointBy; |
1409
|
|
|
break; |
1410
|
|
|
} |
1411
|
|
|
return $this; |
1412
|
|
|
} |
1413
|
|
|
|
1414
|
|
|
/** |
1415
|
|
|
* Set the get extremes from all. |
1416
|
|
|
* |
1417
|
|
|
* @param boolean $getExtremesFromAll The get extremes from all. |
1418
|
|
|
* @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBubble Returns the highcharts bubble. |
1419
|
|
|
*/ |
1420
|
|
|
public function setGetExtremesFromAll($getExtremesFromAll) { |
1421
|
|
|
$this->getExtremesFromAll = $getExtremesFromAll; |
1422
|
|
|
return $this; |
1423
|
|
|
} |
1424
|
|
|
|
1425
|
|
|
/** |
1426
|
|
|
* Set the id. |
1427
|
|
|
* |
1428
|
|
|
* @param string $id The id. |
1429
|
|
|
* @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBubble Returns the highcharts bubble. |
1430
|
|
|
*/ |
1431
|
|
|
public function setId($id) { |
1432
|
|
|
$this->id = $id; |
1433
|
|
|
return $this; |
1434
|
|
|
} |
1435
|
|
|
|
1436
|
|
|
/** |
1437
|
|
|
* Set the index. |
1438
|
|
|
* |
1439
|
|
|
* @param integer $index The index. |
1440
|
|
|
* @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBubble Returns the highcharts bubble. |
1441
|
|
|
*/ |
1442
|
|
|
public function setIndex($index) { |
1443
|
|
|
$this->index = $index; |
1444
|
|
|
return $this; |
1445
|
|
|
} |
1446
|
|
|
|
1447
|
|
|
/** |
1448
|
|
|
* Set the keys. |
1449
|
|
|
* |
1450
|
|
|
* @param array $keys The keys. |
1451
|
|
|
* @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBubble Returns the highcharts bubble. |
1452
|
|
|
*/ |
1453
|
|
|
public function setKeys(array $keys = null) { |
1454
|
|
|
$this->keys = $keys; |
|
|
|
|
1455
|
|
|
return $this; |
1456
|
|
|
} |
1457
|
|
|
|
1458
|
|
|
/** |
1459
|
|
|
* Set the legend index. |
1460
|
|
|
* |
1461
|
|
|
* @param integer $legendIndex The legend index. |
1462
|
|
|
* @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBubble Returns the highcharts bubble. |
1463
|
|
|
*/ |
1464
|
|
|
public function setLegendIndex($legendIndex) { |
1465
|
|
|
$this->legendIndex = $legendIndex; |
1466
|
|
|
return $this; |
1467
|
|
|
} |
1468
|
|
|
|
1469
|
|
|
/** |
1470
|
|
|
* Set the line width. |
1471
|
|
|
* |
1472
|
|
|
* @param integer $lineWidth The line width. |
1473
|
|
|
* @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBubble Returns the highcharts bubble. |
1474
|
|
|
*/ |
1475
|
|
|
public function setLineWidth($lineWidth) { |
1476
|
|
|
$this->lineWidth = $lineWidth; |
1477
|
|
|
return $this; |
1478
|
|
|
} |
1479
|
|
|
|
1480
|
|
|
/** |
1481
|
|
|
* Set the linked to. |
1482
|
|
|
* |
1483
|
|
|
* @param string $linkedTo The linked to. |
1484
|
|
|
* @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBubble Returns the highcharts bubble. |
1485
|
|
|
*/ |
1486
|
|
|
public function setLinkedTo($linkedTo) { |
1487
|
|
|
$this->linkedTo = $linkedTo; |
1488
|
|
|
return $this; |
1489
|
|
|
} |
1490
|
|
|
|
1491
|
|
|
/** |
1492
|
|
|
* Set the marker. |
1493
|
|
|
* |
1494
|
|
|
* @param array $marker The marker. |
1495
|
|
|
* @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBubble Returns the highcharts bubble. |
1496
|
|
|
*/ |
1497
|
|
|
public function setMarker(array $marker = null) { |
1498
|
|
|
$this->marker = $marker; |
|
|
|
|
1499
|
|
|
return $this; |
1500
|
|
|
} |
1501
|
|
|
|
1502
|
|
|
/** |
1503
|
|
|
* Set the max size. |
1504
|
|
|
* |
1505
|
|
|
* @param string $maxSize The max size. |
1506
|
|
|
* @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBubble Returns the highcharts bubble. |
1507
|
|
|
*/ |
1508
|
|
|
public function setMaxSize($maxSize) { |
1509
|
|
|
$this->maxSize = $maxSize; |
1510
|
|
|
return $this; |
1511
|
|
|
} |
1512
|
|
|
|
1513
|
|
|
/** |
1514
|
|
|
* Set the min size. |
1515
|
|
|
* |
1516
|
|
|
* @param string $minSize The min size. |
1517
|
|
|
* @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBubble Returns the highcharts bubble. |
1518
|
|
|
*/ |
1519
|
|
|
public function setMinSize($minSize) { |
1520
|
|
|
$this->minSize = $minSize; |
1521
|
|
|
return $this; |
1522
|
|
|
} |
1523
|
|
|
|
1524
|
|
|
/** |
1525
|
|
|
* Set the name. |
1526
|
|
|
* |
1527
|
|
|
* @param string $name The name. |
1528
|
|
|
* @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBubble Returns the highcharts bubble. |
1529
|
|
|
*/ |
1530
|
|
|
public function setName($name) { |
1531
|
|
|
$this->name = $name; |
1532
|
|
|
return $this; |
1533
|
|
|
} |
1534
|
|
|
|
1535
|
|
|
/** |
1536
|
|
|
* Set the negative color. |
1537
|
|
|
* |
1538
|
|
|
* @param string $negativeColor The negative color. |
1539
|
|
|
* @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBubble Returns the highcharts bubble. |
1540
|
|
|
*/ |
1541
|
|
|
public function setNegativeColor($negativeColor) { |
1542
|
|
|
$this->negativeColor = $negativeColor; |
1543
|
|
|
return $this; |
1544
|
|
|
} |
1545
|
|
|
|
1546
|
|
|
/** |
1547
|
|
|
* Set the point. |
1548
|
|
|
* |
1549
|
|
|
* @param \WBW\Bundle\HighchartsBundle\API\Chart\Series\Bubble\HighchartsPoint $point The point. |
1550
|
|
|
* @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBubble Returns the highcharts bubble. |
1551
|
|
|
*/ |
1552
|
|
|
public function setPoint(\WBW\Bundle\HighchartsBundle\API\Chart\Series\Bubble\HighchartsPoint $point = null) { |
1553
|
|
|
$this->point = $point; |
1554
|
|
|
return $this; |
1555
|
|
|
} |
1556
|
|
|
|
1557
|
|
|
/** |
1558
|
|
|
* Set the point description formatter. |
1559
|
|
|
* |
1560
|
|
|
* @param string $pointDescriptionFormatter The point description formatter. |
1561
|
|
|
* @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBubble Returns the highcharts bubble. |
1562
|
|
|
*/ |
1563
|
|
|
public function setPointDescriptionFormatter($pointDescriptionFormatter) { |
1564
|
|
|
$this->pointDescriptionFormatter = $pointDescriptionFormatter; |
1565
|
|
|
return $this; |
1566
|
|
|
} |
1567
|
|
|
|
1568
|
|
|
/** |
1569
|
|
|
* Set the point interval. |
1570
|
|
|
* |
1571
|
|
|
* @param integer $pointInterval The point interval. |
1572
|
|
|
* @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBubble Returns the highcharts bubble. |
1573
|
|
|
*/ |
1574
|
|
|
public function setPointInterval($pointInterval) { |
1575
|
|
|
$this->pointInterval = $pointInterval; |
1576
|
|
|
return $this; |
1577
|
|
|
} |
1578
|
|
|
|
1579
|
|
|
/** |
1580
|
|
|
* Set the point interval unit. |
1581
|
|
|
* |
1582
|
|
|
* @param string $pointIntervalUnit The point interval unit. |
1583
|
|
|
* @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBubble Returns the highcharts bubble. |
1584
|
|
|
*/ |
1585
|
|
|
public function setPointIntervalUnit($pointIntervalUnit) { |
1586
|
|
|
switch ($pointIntervalUnit) { |
1587
|
|
|
case null: |
1588
|
|
|
case "day": |
1589
|
|
|
case "month": |
1590
|
|
|
case "year": |
1591
|
|
|
$this->pointIntervalUnit = $pointIntervalUnit; |
1592
|
|
|
break; |
1593
|
|
|
} |
1594
|
|
|
return $this; |
1595
|
|
|
} |
1596
|
|
|
|
1597
|
|
|
/** |
1598
|
|
|
* Set the point start. |
1599
|
|
|
* |
1600
|
|
|
* @param integer $pointStart The point start. |
1601
|
|
|
* @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBubble Returns the highcharts bubble. |
1602
|
|
|
*/ |
1603
|
|
|
public function setPointStart($pointStart) { |
1604
|
|
|
$this->pointStart = $pointStart; |
1605
|
|
|
return $this; |
1606
|
|
|
} |
1607
|
|
|
|
1608
|
|
|
/** |
1609
|
|
|
* Set the selected. |
1610
|
|
|
* |
1611
|
|
|
* @param boolean $selected The selected. |
1612
|
|
|
* @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBubble Returns the highcharts bubble. |
1613
|
|
|
*/ |
1614
|
|
|
public function setSelected($selected) { |
1615
|
|
|
$this->selected = $selected; |
1616
|
|
|
return $this; |
1617
|
|
|
} |
1618
|
|
|
|
1619
|
|
|
/** |
1620
|
|
|
* Set the shadow. |
1621
|
|
|
* |
1622
|
|
|
* @param boolean|array $shadow The shadow. |
1623
|
|
|
* @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBubble Returns the highcharts bubble. |
1624
|
|
|
*/ |
1625
|
|
|
public function setShadow($shadow) { |
1626
|
|
|
$this->shadow = $shadow; |
1627
|
|
|
return $this; |
1628
|
|
|
} |
1629
|
|
|
|
1630
|
|
|
/** |
1631
|
|
|
* Set the show checkbox. |
1632
|
|
|
* |
1633
|
|
|
* @param boolean $showCheckbox The show checkbox. |
1634
|
|
|
* @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBubble Returns the highcharts bubble. |
1635
|
|
|
*/ |
1636
|
|
|
public function setShowCheckbox($showCheckbox) { |
1637
|
|
|
$this->showCheckbox = $showCheckbox; |
1638
|
|
|
return $this; |
1639
|
|
|
} |
1640
|
|
|
|
1641
|
|
|
/** |
1642
|
|
|
* Set the show in legend. |
1643
|
|
|
* |
1644
|
|
|
* @param boolean $showInLegend The show in legend. |
1645
|
|
|
* @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBubble Returns the highcharts bubble. |
1646
|
|
|
*/ |
1647
|
|
|
public function setShowInLegend($showInLegend) { |
1648
|
|
|
$this->showInLegend = $showInLegend; |
1649
|
|
|
return $this; |
1650
|
|
|
} |
1651
|
|
|
|
1652
|
|
|
/** |
1653
|
|
|
* Set the size by. |
1654
|
|
|
* |
1655
|
|
|
* @param string $sizeBy The size by. |
1656
|
|
|
* @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBubble Returns the highcharts bubble. |
1657
|
|
|
*/ |
1658
|
|
|
public function setSizeBy($sizeBy) { |
1659
|
|
|
switch ($sizeBy) { |
1660
|
|
|
case "area": |
1661
|
|
|
case "width": |
1662
|
|
|
$this->sizeBy = $sizeBy; |
1663
|
|
|
break; |
1664
|
|
|
} |
1665
|
|
|
return $this; |
1666
|
|
|
} |
1667
|
|
|
|
1668
|
|
|
/** |
1669
|
|
|
* Set the size by absolute value. |
1670
|
|
|
* |
1671
|
|
|
* @param boolean $sizeByAbsoluteValue The size by absolute value. |
1672
|
|
|
* @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBubble Returns the highcharts bubble. |
1673
|
|
|
*/ |
1674
|
|
|
public function setSizeByAbsoluteValue($sizeByAbsoluteValue) { |
1675
|
|
|
$this->sizeByAbsoluteValue = $sizeByAbsoluteValue; |
1676
|
|
|
return $this; |
1677
|
|
|
} |
1678
|
|
|
|
1679
|
|
|
/** |
1680
|
|
|
* Set the skip keyboard navigation. |
1681
|
|
|
* |
1682
|
|
|
* @param boolean $skipKeyboardNavigation The skip keyboard navigation. |
1683
|
|
|
* @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBubble Returns the highcharts bubble. |
1684
|
|
|
*/ |
1685
|
|
|
public function setSkipKeyboardNavigation($skipKeyboardNavigation) { |
1686
|
|
|
$this->skipKeyboardNavigation = $skipKeyboardNavigation; |
1687
|
|
|
return $this; |
1688
|
|
|
} |
1689
|
|
|
|
1690
|
|
|
/** |
1691
|
|
|
* Set the soft threshold. |
1692
|
|
|
* |
1693
|
|
|
* @param boolean $softThreshold The soft threshold. |
1694
|
|
|
* @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBubble Returns the highcharts bubble. |
1695
|
|
|
*/ |
1696
|
|
|
public function setSoftThreshold($softThreshold) { |
1697
|
|
|
$this->softThreshold = $softThreshold; |
1698
|
|
|
return $this; |
1699
|
|
|
} |
1700
|
|
|
|
1701
|
|
|
/** |
1702
|
|
|
* Set the states. |
1703
|
|
|
* |
1704
|
|
|
* @param \WBW\Bundle\HighchartsBundle\API\Chart\Series\Bubble\HighchartsStates $states The states. |
1705
|
|
|
* @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBubble Returns the highcharts bubble. |
1706
|
|
|
*/ |
1707
|
|
|
public function setStates(\WBW\Bundle\HighchartsBundle\API\Chart\Series\Bubble\HighchartsStates $states = null) { |
1708
|
|
|
$this->states = $states; |
1709
|
|
|
return $this; |
1710
|
|
|
} |
1711
|
|
|
|
1712
|
|
|
/** |
1713
|
|
|
* Set the sticky tracking. |
1714
|
|
|
* |
1715
|
|
|
* @param boolean $stickyTracking The sticky tracking. |
1716
|
|
|
* @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBubble Returns the highcharts bubble. |
1717
|
|
|
*/ |
1718
|
|
|
public function setStickyTracking($stickyTracking) { |
1719
|
|
|
$this->stickyTracking = $stickyTracking; |
1720
|
|
|
return $this; |
1721
|
|
|
} |
1722
|
|
|
|
1723
|
|
|
/** |
1724
|
|
|
* Set the threshold. |
1725
|
|
|
* |
1726
|
|
|
* @param integer $threshold The threshold. |
1727
|
|
|
* @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBubble Returns the highcharts bubble. |
1728
|
|
|
*/ |
1729
|
|
|
public function setThreshold($threshold) { |
1730
|
|
|
$this->threshold = $threshold; |
1731
|
|
|
return $this; |
1732
|
|
|
} |
1733
|
|
|
|
1734
|
|
|
/** |
1735
|
|
|
* Set the tooltip. |
1736
|
|
|
* |
1737
|
|
|
* @param array $tooltip The tooltip. |
1738
|
|
|
* @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBubble Returns the highcharts bubble. |
1739
|
|
|
*/ |
1740
|
|
|
public function setTooltip(array $tooltip = null) { |
1741
|
|
|
$this->tooltip = $tooltip; |
|
|
|
|
1742
|
|
|
return $this; |
1743
|
|
|
} |
1744
|
|
|
|
1745
|
|
|
/** |
1746
|
|
|
* Set the type. |
1747
|
|
|
* |
1748
|
|
|
* @param string $type The type. |
1749
|
|
|
* @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBubble Returns the highcharts bubble. |
1750
|
|
|
*/ |
1751
|
|
|
public function setType($type) { |
1752
|
|
|
switch ($type) { |
1753
|
|
|
case null: |
1754
|
|
|
case "area": |
1755
|
|
|
case "arearange": |
1756
|
|
|
case "areaspline": |
1757
|
|
|
case "areasplinerange": |
1758
|
|
|
case "boxplot": |
1759
|
|
|
case "bubble": |
1760
|
|
|
case "column": |
1761
|
|
|
case "columnrange": |
1762
|
|
|
case "errorbar": |
1763
|
|
|
case "funnel": |
1764
|
|
|
case "gauge": |
1765
|
|
|
case "line": |
1766
|
|
|
case "pie": |
1767
|
|
|
case "scatter": |
1768
|
|
|
case "spline": |
1769
|
|
|
case "waterfall": |
1770
|
|
|
$this->type = $type; |
1771
|
|
|
break; |
1772
|
|
|
} |
1773
|
|
|
return $this; |
1774
|
|
|
} |
1775
|
|
|
|
1776
|
|
|
/** |
1777
|
|
|
* Set the visible. |
1778
|
|
|
* |
1779
|
|
|
* @param boolean $visible The visible. |
1780
|
|
|
* @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBubble Returns the highcharts bubble. |
1781
|
|
|
*/ |
1782
|
|
|
public function setVisible($visible) { |
1783
|
|
|
$this->visible = $visible; |
1784
|
|
|
return $this; |
1785
|
|
|
} |
1786
|
|
|
|
1787
|
|
|
/** |
1788
|
|
|
* Set the x axis. |
1789
|
|
|
* |
1790
|
|
|
* @param integer|string $xAxis The x axis. |
1791
|
|
|
* @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBubble Returns the highcharts bubble. |
1792
|
|
|
*/ |
1793
|
|
|
public function setXAxis($xAxis) { |
1794
|
|
|
$this->xAxis = $xAxis; |
1795
|
|
|
return $this; |
1796
|
|
|
} |
1797
|
|
|
|
1798
|
|
|
/** |
1799
|
|
|
* Set the y axis. |
1800
|
|
|
* |
1801
|
|
|
* @param integer|string $yAxis The y axis. |
1802
|
|
|
* @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBubble Returns the highcharts bubble. |
1803
|
|
|
*/ |
1804
|
|
|
public function setYAxis($yAxis) { |
1805
|
|
|
$this->yAxis = $yAxis; |
1806
|
|
|
return $this; |
1807
|
|
|
} |
1808
|
|
|
|
1809
|
|
|
/** |
1810
|
|
|
* Set the z index. |
1811
|
|
|
* |
1812
|
|
|
* @param integer $zIndex The z index. |
1813
|
|
|
* @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBubble Returns the highcharts bubble. |
1814
|
|
|
*/ |
1815
|
|
|
public function setZIndex($zIndex) { |
1816
|
|
|
$this->zIndex = $zIndex; |
1817
|
|
|
return $this; |
1818
|
|
|
} |
1819
|
|
|
|
1820
|
|
|
/** |
1821
|
|
|
* Set the z max. |
1822
|
|
|
* |
1823
|
|
|
* @param integer $zMax The z max. |
1824
|
|
|
* @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBubble Returns the highcharts bubble. |
1825
|
|
|
*/ |
1826
|
|
|
public function setZMax($zMax) { |
1827
|
|
|
$this->zMax = $zMax; |
1828
|
|
|
return $this; |
1829
|
|
|
} |
1830
|
|
|
|
1831
|
|
|
/** |
1832
|
|
|
* Set the z min. |
1833
|
|
|
* |
1834
|
|
|
* @param integer $zMin The z min. |
1835
|
|
|
* @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBubble Returns the highcharts bubble. |
1836
|
|
|
*/ |
1837
|
|
|
public function setZMin($zMin) { |
1838
|
|
|
$this->zMin = $zMin; |
1839
|
|
|
return $this; |
1840
|
|
|
} |
1841
|
|
|
|
1842
|
|
|
/** |
1843
|
|
|
* Set the z threshold. |
1844
|
|
|
* |
1845
|
|
|
* @param integer $zThreshold The z threshold. |
1846
|
|
|
* @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBubble Returns the highcharts bubble. |
1847
|
|
|
*/ |
1848
|
|
|
public function setZThreshold($zThreshold) { |
1849
|
|
|
$this->zThreshold = $zThreshold; |
1850
|
|
|
return $this; |
1851
|
|
|
} |
1852
|
|
|
|
1853
|
|
|
/** |
1854
|
|
|
* Set the zone axis. |
1855
|
|
|
* |
1856
|
|
|
* @param string $zoneAxis The zone axis. |
1857
|
|
|
* @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBubble Returns the highcharts bubble. |
1858
|
|
|
*/ |
1859
|
|
|
public function setZoneAxis($zoneAxis) { |
1860
|
|
|
$this->zoneAxis = $zoneAxis; |
1861
|
|
|
return $this; |
1862
|
|
|
} |
1863
|
|
|
|
1864
|
|
|
/** |
1865
|
|
|
* Set the zones. |
1866
|
|
|
* |
1867
|
|
|
* @param array $zones The zones. |
1868
|
|
|
* @return \WBW\Bundle\HighchartsBundle\API\Chart\Series\HighchartsBubble Returns the highcharts bubble. |
1869
|
|
|
*/ |
1870
|
|
|
public function setZones(array $zones = null) { |
1871
|
|
|
$this->zones = $zones; |
|
|
|
|
1872
|
|
|
return $this; |
1873
|
|
|
} |
1874
|
|
|
|
1875
|
|
|
/** |
1876
|
|
|
* Convert into an array representing this instance. |
1877
|
|
|
* |
1878
|
|
|
* @return array Returns an array representing this instance. |
1879
|
|
|
*/ |
1880
|
|
|
public function toArray() { |
1881
|
|
|
|
1882
|
|
|
// Initialize the output. |
1883
|
|
|
$output = []; |
1884
|
|
|
|
1885
|
|
|
// Set the allow point select. |
1886
|
|
|
ArrayUtility::set($output, "allowPointSelect", $this->allowPointSelect, [null]); |
1887
|
|
|
|
1888
|
|
|
// Set the animation. |
1889
|
|
|
ArrayUtility::set($output, "animation", $this->animation, [null]); |
1890
|
|
|
|
1891
|
|
|
// Set the animation limit. |
1892
|
|
|
ArrayUtility::set($output, "animationLimit", $this->animationLimit, [null]); |
1893
|
|
|
|
1894
|
|
|
// Set the class name. |
1895
|
|
|
ArrayUtility::set($output, "className", $this->className, [null]); |
1896
|
|
|
|
1897
|
|
|
// Set the color. |
1898
|
|
|
ArrayUtility::set($output, "color", $this->color, [null]); |
1899
|
|
|
|
1900
|
|
|
// Set the color index. |
1901
|
|
|
ArrayUtility::set($output, "colorIndex", $this->colorIndex, [null]); |
1902
|
|
|
|
1903
|
|
|
// Set the crop threshold. |
1904
|
|
|
ArrayUtility::set($output, "cropThreshold", $this->cropThreshold, [null]); |
1905
|
|
|
|
1906
|
|
|
// Set the cursor. |
1907
|
|
|
ArrayUtility::set($output, "cursor", $this->cursor, [null]); |
1908
|
|
|
|
1909
|
|
|
// Set the dash style. |
1910
|
|
|
ArrayUtility::set($output, "dashStyle", $this->dashStyle, [null]); |
1911
|
|
|
|
1912
|
|
|
// Set the data. |
1913
|
|
|
ArrayUtility::set($output, "data", $this->data, [null]); |
1914
|
|
|
|
1915
|
|
|
// Set the data labels. |
1916
|
|
|
if (null !== $this->dataLabels) { |
1917
|
|
|
ArrayUtility::set($output, "dataLabels", $this->dataLabels->toArray(), []); |
1918
|
|
|
} |
1919
|
|
|
|
1920
|
|
|
// Set the description. |
1921
|
|
|
ArrayUtility::set($output, "description", $this->description, [null]); |
1922
|
|
|
|
1923
|
|
|
// Set the display negative. |
1924
|
|
|
ArrayUtility::set($output, "displayNegative", $this->displayNegative, [null]); |
1925
|
|
|
|
1926
|
|
|
// Set the enable mouse tracking. |
1927
|
|
|
ArrayUtility::set($output, "enableMouseTracking", $this->enableMouseTracking, [null]); |
1928
|
|
|
|
1929
|
|
|
// Set the events. |
1930
|
|
|
if (null !== $this->events) { |
1931
|
|
|
ArrayUtility::set($output, "events", $this->events->toArray(), []); |
1932
|
|
|
} |
1933
|
|
|
|
1934
|
|
|
// Set the expose element to a11y. |
1935
|
|
|
ArrayUtility::set($output, "exposeElementToA11y", $this->exposeElementToA11y, [null]); |
1936
|
|
|
|
1937
|
|
|
// Set the find nearest point by. |
1938
|
|
|
ArrayUtility::set($output, "findNearestPointBy", $this->findNearestPointBy, [null]); |
1939
|
|
|
|
1940
|
|
|
// Set the get extremes from all. |
1941
|
|
|
ArrayUtility::set($output, "getExtremesFromAll", $this->getExtremesFromAll, [null]); |
1942
|
|
|
|
1943
|
|
|
// Set the id. |
1944
|
|
|
ArrayUtility::set($output, "id", $this->id, [null]); |
1945
|
|
|
|
1946
|
|
|
// Set the index. |
1947
|
|
|
ArrayUtility::set($output, "index", $this->index, [null]); |
1948
|
|
|
|
1949
|
|
|
// Set the keys. |
1950
|
|
|
ArrayUtility::set($output, "keys", $this->keys, [null]); |
1951
|
|
|
|
1952
|
|
|
// Set the legend index. |
1953
|
|
|
ArrayUtility::set($output, "legendIndex", $this->legendIndex, [null]); |
1954
|
|
|
|
1955
|
|
|
// Set the line width. |
1956
|
|
|
ArrayUtility::set($output, "lineWidth", $this->lineWidth, [null]); |
1957
|
|
|
|
1958
|
|
|
// Set the linked to. |
1959
|
|
|
ArrayUtility::set($output, "linkedTo", $this->linkedTo, [null]); |
1960
|
|
|
|
1961
|
|
|
// Set the marker. |
1962
|
|
|
ArrayUtility::set($output, "marker", $this->marker, [null]); |
1963
|
|
|
|
1964
|
|
|
// Set the max size. |
1965
|
|
|
ArrayUtility::set($output, "maxSize", $this->maxSize, [null]); |
1966
|
|
|
|
1967
|
|
|
// Set the min size. |
1968
|
|
|
ArrayUtility::set($output, "minSize", $this->minSize, [null]); |
1969
|
|
|
|
1970
|
|
|
// Set the name. |
1971
|
|
|
ArrayUtility::set($output, "name", $this->name, [null]); |
1972
|
|
|
|
1973
|
|
|
// Set the negative color. |
1974
|
|
|
ArrayUtility::set($output, "negativeColor", $this->negativeColor, [null]); |
1975
|
|
|
|
1976
|
|
|
// Set the point. |
1977
|
|
|
if (null !== $this->point) { |
1978
|
|
|
ArrayUtility::set($output, "point", $this->point->toArray(), []); |
1979
|
|
|
} |
1980
|
|
|
|
1981
|
|
|
// Set the point description formatter. |
1982
|
|
|
ArrayUtility::set($output, "pointDescriptionFormatter", $this->pointDescriptionFormatter, [null]); |
1983
|
|
|
|
1984
|
|
|
// Set the point interval. |
1985
|
|
|
ArrayUtility::set($output, "pointInterval", $this->pointInterval, [null]); |
1986
|
|
|
|
1987
|
|
|
// Set the point interval unit. |
1988
|
|
|
ArrayUtility::set($output, "pointIntervalUnit", $this->pointIntervalUnit, [null]); |
1989
|
|
|
|
1990
|
|
|
// Set the point start. |
1991
|
|
|
ArrayUtility::set($output, "pointStart", $this->pointStart, [null]); |
1992
|
|
|
|
1993
|
|
|
// Set the selected. |
1994
|
|
|
ArrayUtility::set($output, "selected", $this->selected, [null]); |
1995
|
|
|
|
1996
|
|
|
// Set the shadow. |
1997
|
|
|
ArrayUtility::set($output, "shadow", $this->shadow, [null]); |
1998
|
|
|
|
1999
|
|
|
// Set the show checkbox. |
2000
|
|
|
ArrayUtility::set($output, "showCheckbox", $this->showCheckbox, [null]); |
2001
|
|
|
|
2002
|
|
|
// Set the show in legend. |
2003
|
|
|
ArrayUtility::set($output, "showInLegend", $this->showInLegend, [null]); |
2004
|
|
|
|
2005
|
|
|
// Set the size by. |
2006
|
|
|
ArrayUtility::set($output, "sizeBy", $this->sizeBy, [null]); |
2007
|
|
|
|
2008
|
|
|
// Set the size by absolute value. |
2009
|
|
|
ArrayUtility::set($output, "sizeByAbsoluteValue", $this->sizeByAbsoluteValue, [null]); |
2010
|
|
|
|
2011
|
|
|
// Set the skip keyboard navigation. |
2012
|
|
|
ArrayUtility::set($output, "skipKeyboardNavigation", $this->skipKeyboardNavigation, [null]); |
2013
|
|
|
|
2014
|
|
|
// Set the soft threshold. |
2015
|
|
|
ArrayUtility::set($output, "softThreshold", $this->softThreshold, [null]); |
2016
|
|
|
|
2017
|
|
|
// Set the states. |
2018
|
|
|
if (null !== $this->states) { |
2019
|
|
|
ArrayUtility::set($output, "states", $this->states->toArray(), []); |
2020
|
|
|
} |
2021
|
|
|
|
2022
|
|
|
// Set the sticky tracking. |
2023
|
|
|
ArrayUtility::set($output, "stickyTracking", $this->stickyTracking, [null]); |
2024
|
|
|
|
2025
|
|
|
// Set the threshold. |
2026
|
|
|
ArrayUtility::set($output, "threshold", $this->threshold, [null]); |
2027
|
|
|
|
2028
|
|
|
// Set the tooltip. |
2029
|
|
|
ArrayUtility::set($output, "tooltip", $this->tooltip, [null]); |
2030
|
|
|
|
2031
|
|
|
// Set the type. |
2032
|
|
|
ArrayUtility::set($output, "type", $this->type, [null]); |
2033
|
|
|
|
2034
|
|
|
// Set the visible. |
2035
|
|
|
ArrayUtility::set($output, "visible", $this->visible, [null]); |
2036
|
|
|
|
2037
|
|
|
// Set the x axis. |
2038
|
|
|
ArrayUtility::set($output, "xAxis", $this->xAxis, [null]); |
2039
|
|
|
|
2040
|
|
|
// Set the y axis. |
2041
|
|
|
ArrayUtility::set($output, "yAxis", $this->yAxis, [null]); |
2042
|
|
|
|
2043
|
|
|
// Set the z index. |
2044
|
|
|
ArrayUtility::set($output, "zIndex", $this->zIndex, [null]); |
2045
|
|
|
|
2046
|
|
|
// Set the z max. |
2047
|
|
|
ArrayUtility::set($output, "zMax", $this->zMax, [null]); |
2048
|
|
|
|
2049
|
|
|
// Set the z min. |
2050
|
|
|
ArrayUtility::set($output, "zMin", $this->zMin, [null]); |
2051
|
|
|
|
2052
|
|
|
// Set the z threshold. |
2053
|
|
|
ArrayUtility::set($output, "zThreshold", $this->zThreshold, [null]); |
2054
|
|
|
|
2055
|
|
|
// Set the zone axis. |
2056
|
|
|
ArrayUtility::set($output, "zoneAxis", $this->zoneAxis, [null]); |
2057
|
|
|
|
2058
|
|
|
// Set the zones. |
2059
|
|
|
ArrayUtility::set($output, "zones", $this->zones, [null]); |
2060
|
|
|
|
2061
|
|
|
// Return the output. |
2062
|
|
|
return $output; |
2063
|
|
|
} |
2064
|
|
|
|
2065
|
|
|
} |
2066
|
|
|
|
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..