HighchartsArearange::getStep()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 3
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
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\PlotOptions;
13
14
use JsonSerializable;
15
use WBW\Library\Core\Utility\Argument\ArrayUtility;
16
17
/**
18
 * Highcharts arearange.
19
 *
20
 * @author webeweb <https://github.com/webeweb/>
21
 * @package WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions
22
 * @version 5.0.14
23
 * @final
24
 */
25
final class HighchartsArearange implements JsonSerializable {
26
27
    /**
28
     * Allow point select.
29
     *
30
     * @var boolean
31
     * @since 1.2.0
32
     */
33
    private $allowPointSelect = false;
34
35
    /**
36
     * Animation.
37
     *
38
     * @var boolean
39
     */
40
    private $animation = true;
41
42
    /**
43
     * Animation limit.
44
     *
45
     * @var integer
46
     */
47
    private $animationLimit;
48
49
    /**
50
     * Class name.
51
     *
52
     * @var string
53
     * @since 5.0.0
54
     */
55
    private $className;
56
57
    /**
58
     * Color.
59
     *
60
     * @var string
61
     */
62
    private $color;
63
64
    /**
65
     * Color index.
66
     *
67
     * @var integer
68
     * @since 5.0.0
69
     */
70
    private $colorIndex;
71
72
    /**
73
     * Connect nulls.
74
     *
75
     * @var boolean
76
     */
77
    private $connectNulls = false;
78
79
    /**
80
     * Crop threshold.
81
     *
82
     * @var integer
83
     * @since 2.2
84
     */
85
    private $cropThreshold = 300;
86
87
    /**
88
     * Cursor.
89
     *
90
     * @var string
91
     */
92
    private $cursor;
93
94
    /**
95
     * Dash style.
96
     *
97
     * @var string
98
     * @since 2.1
99
     */
100
    private $dashStyle = "Solid";
101
102
    /**
103
     * Data labels.
104
     *
105
     * @var array
106
     * @since 2.3.0
107
     */
108
    private $dataLabels;
109
110
    /**
111
     * Description.
112
     *
113
     * @var string
114
     * @since 5.0.0
115
     */
116
    private $description;
117
118
    /**
119
     * Enable mouse tracking.
120
     *
121
     * @var boolean
122
     */
123
    private $enableMouseTracking = true;
124
125
    /**
126
     * Events.
127
     *
128
     * @var \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Arearange\HighchartsEvents
129
     */
130
    private $events;
131
132
    /**
133
     * Expose element to a11y.
134
     *
135
     * @var boolean
136
     * @since 5.0.12
137
     */
138
    private $exposeElementToA11y;
139
140
    /**
141
     * Fill color.
142
     *
143
     * @var string
144
     */
145
    private $fillColor;
146
147
    /**
148
     * Fill opacity.
149
     *
150
     * @var integer
151
     */
152
    private $fillOpacity = 0.75;
153
154
    /**
155
     * Find nearest point by.
156
     *
157
     * @var string
158
     * @since 5.0.10
159
     */
160
    private $findNearestPointBy;
161
162
    /**
163
     * Get extremes from all.
164
     *
165
     * @var boolean
166
     * @since 4.1.6
167
     */
168
    private $getExtremesFromAll = false;
169
170
    /**
171
     * Keys.
172
     *
173
     * @var array
174
     * @since 4.1.6
175
     */
176
    private $keys;
177
178
    /**
179
     * Line color.
180
     *
181
     * @var string
182
     */
183
    private $lineColor;
184
185
    /**
186
     * Line width.
187
     *
188
     * @var integer
189
     * @since 2.3.0
190
     */
191
    private $lineWidth = 1;
192
193
    /**
194
     * Linecap.
195
     *
196
     * @var string
197
     */
198
    private $linecap = "round";
199
200
    /**
201
     * Linked to.
202
     *
203
     * @var string
204
     * @since 3.0
205
     */
206
    private $linkedTo;
207
208
    /**
209
     * Negative color.
210
     *
211
     * @var string
212
     * @since 3.0
213
     */
214
    private $negativeColor;
215
216
    /**
217
     * Negative fill color.
218
     *
219
     * @var string
220
     * @since 3.0
221
     */
222
    private $negativeFillColor;
223
224
    /**
225
     * Point.
226
     *
227
     * @var \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Arearange\HighchartsPoint
228
     */
229
    private $point;
230
231
    /**
232
     * Point description formatter.
233
     *
234
     * @var string
235
     * @since 5.0.12
236
     */
237
    private $pointDescriptionFormatter;
238
239
    /**
240
     * Point interval.
241
     *
242
     * @var integer
243
     */
244
    private $pointInterval = 1;
245
246
    /**
247
     * Point interval unit.
248
     *
249
     * @var string
250
     * @since 4.1.0
251
     */
252
    private $pointIntervalUnit;
253
254
    /**
255
     * Point placement.
256
     *
257
     * @var string|integer
258
     * @since 2.3.0
259
     */
260
    private $pointPlacement;
261
262
    /**
263
     * Point start.
264
     *
265
     * @var integer
266
     */
267
    private $pointStart = 0;
268
269
    /**
270
     * Selected.
271
     *
272
     * @var boolean
273
     * @since 1.2.0
274
     */
275
    private $selected = false;
276
277
    /**
278
     * Shadow.
279
     *
280
     * @var boolean|array
281
     */
282
    private $shadow = false;
283
284
    /**
285
     * Show checkbox.
286
     *
287
     * @var boolean
288
     * @since 1.2.0
289
     */
290
    private $showCheckbox = false;
291
292
    /**
293
     * Show in legend.
294
     *
295
     * @var boolean
296
     */
297
    private $showInLegend = true;
298
299
    /**
300
     * Skip keyboard navigation.
301
     *
302
     * @var boolean
303
     * @since 5.0.12
304
     */
305
    private $skipKeyboardNavigation;
306
307
    /**
308
     * States.
309
     *
310
     * @var \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Arearange\HighchartsStates
311
     */
312
    private $states;
313
314
    /**
315
     * Step.
316
     *
317
     * @var string
318
     * @since 1.2.5
319
     */
320
    private $step = "false";
321
322
    /**
323
     * Sticky tracking.
324
     *
325
     * @var boolean
326
     * @since 2.0
327
     */
328
    private $stickyTracking = true;
329
330
    /**
331
     * Tooltip.
332
     *
333
     * @var array
334
     * @since 2.3
335
     */
336
    private $tooltip;
337
338
    /**
339
     * Track by area.
340
     *
341
     * @var boolean
342
     * @since 2.3.0
343
     */
344
    private $trackByArea = true;
345
346
    /**
347
     * Turbo threshold.
348
     *
349
     * @var integer
350
     * @since 2.2
351
     */
352
    private $turboThreshold = 1000;
353
354
    /**
355
     * Visible.
356
     *
357
     * @var boolean
358
     */
359
    private $visible = true;
360
361
    /**
362
     * Zone axis.
363
     *
364
     * @var string
365
     * @since 4.1.0
366
     */
367
    private $zoneAxis = "y";
368
369
    /**
370
     * Zones.
371
     *
372
     * @var array
373
     * @since 4.1.0
374
     */
375
    private $zones;
376
377
    /**
378
     * Constructor.
379
     *
380
     * @param boolean $ignoreDefaultValues Ignore the default values.
381
     */
382
    public function __construct($ignoreDefaultValues = true) {
383
        if (true === $ignoreDefaultValues) {
384
            $this->clear();
385
        }
386
    }
387
388
    /**
389
     * Clear.
390
     *
391
     * @return void
392
     */
393
    public function clear() {
394
395
        // Clear the allow point select.
396
        $this->allowPointSelect = null;
397
398
        // Clear the animation.
399
        $this->animation = null;
400
401
        // Clear the animation limit.
402
        $this->animationLimit = null;
403
404
        // Clear the class name.
405
        $this->className = null;
406
407
        // Clear the color.
408
        $this->color = null;
409
410
        // Clear the color index.
411
        $this->colorIndex = null;
412
413
        // Clear the connect nulls.
414
        $this->connectNulls = null;
415
416
        // Clear the crop threshold.
417
        $this->cropThreshold = null;
418
419
        // Clear the cursor.
420
        $this->cursor = null;
421
422
        // Clear the dash style.
423
        $this->dashStyle = null;
424
425
        // Clear the data labels.
426
        $this->dataLabels = null;
0 ignored issues
show
Documentation Bug introduced by
It seems like null of type null is incompatible with the declared type array of property $dataLabels.

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..

Loading history...
427
428
        // Clear the description.
429
        $this->description = null;
430
431
        // Clear the enable mouse tracking.
432
        $this->enableMouseTracking = null;
433
434
        // Clear the events.
435
        if (null !== $this->events) {
436
            $this->events->clear();
437
        }
438
439
        // Clear the expose element to a11y.
440
        $this->exposeElementToA11y = null;
441
442
        // Clear the fill color.
443
        $this->fillColor = null;
444
445
        // Clear the fill opacity.
446
        $this->fillOpacity = null;
447
448
        // Clear the find nearest point by.
449
        $this->findNearestPointBy = null;
450
451
        // Clear the get extremes from all.
452
        $this->getExtremesFromAll = null;
453
454
        // Clear the keys.
455
        $this->keys = null;
0 ignored issues
show
Documentation Bug introduced by
It seems like null of type null is incompatible with the declared type array of property $keys.

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..

Loading history...
456
457
        // Clear the line color.
458
        $this->lineColor = null;
459
460
        // Clear the line width.
461
        $this->lineWidth = null;
462
463
        // Clear the linecap.
464
        $this->linecap = null;
465
466
        // Clear the linked to.
467
        $this->linkedTo = null;
468
469
        // Clear the negative color.
470
        $this->negativeColor = null;
471
472
        // Clear the negative fill color.
473
        $this->negativeFillColor = null;
474
475
        // Clear the point.
476
        if (null !== $this->point) {
477
            $this->point->clear();
478
        }
479
480
        // Clear the point description formatter.
481
        $this->pointDescriptionFormatter = null;
482
483
        // Clear the point interval.
484
        $this->pointInterval = null;
485
486
        // Clear the point interval unit.
487
        $this->pointIntervalUnit = null;
488
489
        // Clear the point placement.
490
        $this->pointPlacement = null;
491
492
        // Clear the point start.
493
        $this->pointStart = null;
494
495
        // Clear the selected.
496
        $this->selected = null;
497
498
        // Clear the shadow.
499
        $this->shadow = null;
500
501
        // Clear the show checkbox.
502
        $this->showCheckbox = null;
503
504
        // Clear the show in legend.
505
        $this->showInLegend = null;
506
507
        // Clear the skip keyboard navigation.
508
        $this->skipKeyboardNavigation = null;
509
510
        // Clear the states.
511
        if (null !== $this->states) {
512
            $this->states->clear();
513
        }
514
515
        // Clear the step.
516
        $this->step = null;
517
518
        // Clear the sticky tracking.
519
        $this->stickyTracking = null;
520
521
        // Clear the tooltip.
522
        $this->tooltip = null;
0 ignored issues
show
Documentation Bug introduced by
It seems like null of type null is incompatible with the declared type array of property $tooltip.

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..

Loading history...
523
524
        // Clear the track by area.
525
        $this->trackByArea = null;
526
527
        // Clear the turbo threshold.
528
        $this->turboThreshold = null;
529
530
        // Clear the visible.
531
        $this->visible = null;
532
533
        // Clear the zone axis.
534
        $this->zoneAxis = null;
535
536
        // Clear the zones.
537
        $this->zones = null;
0 ignored issues
show
Documentation Bug introduced by
It seems like null of type null is incompatible with the declared type array of property $zones.

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..

Loading history...
538
    }
539
540
    /**
541
     * Get the allow point select.
542
     *
543
     * @return boolean Returns the allow point select.
544
     */
545
    public function getAllowPointSelect() {
546
        return $this->allowPointSelect;
547
    }
548
549
    /**
550
     * Get the animation.
551
     *
552
     * @return boolean Returns the animation.
553
     */
554
    public function getAnimation() {
555
        return $this->animation;
556
    }
557
558
    /**
559
     * Get the animation limit.
560
     *
561
     * @return integer Returns the animation limit.
562
     */
563
    public function getAnimationLimit() {
564
        return $this->animationLimit;
565
    }
566
567
    /**
568
     * Get the class name.
569
     *
570
     * @return string Returns the class name.
571
     */
572
    public function getClassName() {
573
        return $this->className;
574
    }
575
576
    /**
577
     * Get the color.
578
     *
579
     * @return string Returns the color.
580
     */
581
    public function getColor() {
582
        return $this->color;
583
    }
584
585
    /**
586
     * Get the color index.
587
     *
588
     * @return integer Returns the color index.
589
     */
590
    public function getColorIndex() {
591
        return $this->colorIndex;
592
    }
593
594
    /**
595
     * Get the connect nulls.
596
     *
597
     * @return boolean Returns the connect nulls.
598
     */
599
    public function getConnectNulls() {
600
        return $this->connectNulls;
601
    }
602
603
    /**
604
     * Get the crop threshold.
605
     *
606
     * @return integer Returns the crop threshold.
607
     */
608
    public function getCropThreshold() {
609
        return $this->cropThreshold;
610
    }
611
612
    /**
613
     * Get the cursor.
614
     *
615
     * @return string Returns the cursor.
616
     */
617
    public function getCursor() {
618
        return $this->cursor;
619
    }
620
621
    /**
622
     * Get the dash style.
623
     *
624
     * @return string Returns the dash style.
625
     */
626
    public function getDashStyle() {
627
        return $this->dashStyle;
628
    }
629
630
    /**
631
     * Get the data labels.
632
     *
633
     * @return array Returns the data labels.
634
     */
635
    public function getDataLabels() {
636
        return $this->dataLabels;
637
    }
638
639
    /**
640
     * Get the description.
641
     *
642
     * @return string Returns the description.
643
     */
644
    public function getDescription() {
645
        return $this->description;
646
    }
647
648
    /**
649
     * Get the enable mouse tracking.
650
     *
651
     * @return boolean Returns the enable mouse tracking.
652
     */
653
    public function getEnableMouseTracking() {
654
        return $this->enableMouseTracking;
655
    }
656
657
    /**
658
     * Get the events.
659
     *
660
     * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Arearange\HighchartsEvents Returns the events.
661
     */
662
    public function getEvents() {
663
        return $this->events;
664
    }
665
666
    /**
667
     * Get the expose element to a11y.
668
     *
669
     * @return boolean Returns the expose element to a11y.
670
     */
671
    public function getExposeElementToA11y() {
672
        return $this->exposeElementToA11y;
673
    }
674
675
    /**
676
     * Get the fill color.
677
     *
678
     * @return string Returns the fill color.
679
     */
680
    public function getFillColor() {
681
        return $this->fillColor;
682
    }
683
684
    /**
685
     * Get the fill opacity.
686
     *
687
     * @return integer Returns the fill opacity.
688
     */
689
    public function getFillOpacity() {
690
        return $this->fillOpacity;
691
    }
692
693
    /**
694
     * Get the find nearest point by.
695
     *
696
     * @return string Returns the find nearest point by.
697
     */
698
    public function getFindNearestPointBy() {
699
        return $this->findNearestPointBy;
700
    }
701
702
    /**
703
     * Get the get extremes from all.
704
     *
705
     * @return boolean Returns the get extremes from all.
706
     */
707
    public function getGetExtremesFromAll() {
708
        return $this->getExtremesFromAll;
709
    }
710
711
    /**
712
     * Get the keys.
713
     *
714
     * @return array Returns the keys.
715
     */
716
    public function getKeys() {
717
        return $this->keys;
718
    }
719
720
    /**
721
     * Get the line color.
722
     *
723
     * @return string Returns the line color.
724
     */
725
    public function getLineColor() {
726
        return $this->lineColor;
727
    }
728
729
    /**
730
     * Get the line width.
731
     *
732
     * @return integer Returns the line width.
733
     */
734
    public function getLineWidth() {
735
        return $this->lineWidth;
736
    }
737
738
    /**
739
     * Get the linecap.
740
     *
741
     * @return string Returns the linecap.
742
     */
743
    public function getLinecap() {
744
        return $this->linecap;
745
    }
746
747
    /**
748
     * Get the linked to.
749
     *
750
     * @return string Returns the linked to.
751
     */
752
    public function getLinkedTo() {
753
        return $this->linkedTo;
754
    }
755
756
    /**
757
     * Get the negative color.
758
     *
759
     * @return string Returns the negative color.
760
     */
761
    public function getNegativeColor() {
762
        return $this->negativeColor;
763
    }
764
765
    /**
766
     * Get the negative fill color.
767
     *
768
     * @return string Returns the negative fill color.
769
     */
770
    public function getNegativeFillColor() {
771
        return $this->negativeFillColor;
772
    }
773
774
    /**
775
     * Get the point.
776
     *
777
     * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Arearange\HighchartsPoint Returns the point.
778
     */
779
    public function getPoint() {
780
        return $this->point;
781
    }
782
783
    /**
784
     * Get the point description formatter.
785
     *
786
     * @return string Returns the point description formatter.
787
     */
788
    public function getPointDescriptionFormatter() {
789
        return $this->pointDescriptionFormatter;
790
    }
791
792
    /**
793
     * Get the point interval.
794
     *
795
     * @return integer Returns the point interval.
796
     */
797
    public function getPointInterval() {
798
        return $this->pointInterval;
799
    }
800
801
    /**
802
     * Get the point interval unit.
803
     *
804
     * @return string Returns the point interval unit.
805
     */
806
    public function getPointIntervalUnit() {
807
        return $this->pointIntervalUnit;
808
    }
809
810
    /**
811
     * Get the point placement.
812
     *
813
     * @return string|integer Returns the point placement.
814
     */
815
    public function getPointPlacement() {
816
        return $this->pointPlacement;
817
    }
818
819
    /**
820
     * Get the point start.
821
     *
822
     * @return integer Returns the point start.
823
     */
824
    public function getPointStart() {
825
        return $this->pointStart;
826
    }
827
828
    /**
829
     * Get the selected.
830
     *
831
     * @return boolean Returns the selected.
832
     */
833
    public function getSelected() {
834
        return $this->selected;
835
    }
836
837
    /**
838
     * Get the shadow.
839
     *
840
     * @return boolean|array Returns the shadow.
841
     */
842
    public function getShadow() {
843
        return $this->shadow;
844
    }
845
846
    /**
847
     * Get the show checkbox.
848
     *
849
     * @return boolean Returns the show checkbox.
850
     */
851
    public function getShowCheckbox() {
852
        return $this->showCheckbox;
853
    }
854
855
    /**
856
     * Get the show in legend.
857
     *
858
     * @return boolean Returns the show in legend.
859
     */
860
    public function getShowInLegend() {
861
        return $this->showInLegend;
862
    }
863
864
    /**
865
     * Get the skip keyboard navigation.
866
     *
867
     * @return boolean Returns the skip keyboard navigation.
868
     */
869
    public function getSkipKeyboardNavigation() {
870
        return $this->skipKeyboardNavigation;
871
    }
872
873
    /**
874
     * Get the states.
875
     *
876
     * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Arearange\HighchartsStates Returns the states.
877
     */
878
    public function getStates() {
879
        return $this->states;
880
    }
881
882
    /**
883
     * Get the step.
884
     *
885
     * @return string Returns the step.
886
     */
887
    public function getStep() {
888
        return $this->step;
889
    }
890
891
    /**
892
     * Get the sticky tracking.
893
     *
894
     * @return boolean Returns the sticky tracking.
895
     */
896
    public function getStickyTracking() {
897
        return $this->stickyTracking;
898
    }
899
900
    /**
901
     * Get the tooltip.
902
     *
903
     * @return array Returns the tooltip.
904
     */
905
    public function getTooltip() {
906
        return $this->tooltip;
907
    }
908
909
    /**
910
     * Get the track by area.
911
     *
912
     * @return boolean Returns the track by area.
913
     */
914
    public function getTrackByArea() {
915
        return $this->trackByArea;
916
    }
917
918
    /**
919
     * Get the turbo threshold.
920
     *
921
     * @return integer Returns the turbo threshold.
922
     */
923
    public function getTurboThreshold() {
924
        return $this->turboThreshold;
925
    }
926
927
    /**
928
     * Get the visible.
929
     *
930
     * @return boolean Returns the visible.
931
     */
932
    public function getVisible() {
933
        return $this->visible;
934
    }
935
936
    /**
937
     * Get the zone axis.
938
     *
939
     * @return string Returns the zone axis.
940
     */
941
    public function getZoneAxis() {
942
        return $this->zoneAxis;
943
    }
944
945
    /**
946
     * Get the zones.
947
     *
948
     * @return array Returns the zones.
949
     */
950
    public function getZones() {
951
        return $this->zones;
952
    }
953
954
    /**
955
     * Serialize this instance.
956
     *
957
     * @return array Returns an array representing this instance.
958
     */
959
    public function jsonSerialize() {
960
        return $this->toArray();
961
    }
962
963
    /**
964
     * Create a new events.
965
     *
966
     * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Arearange\HighchartsEvents Returns the events.
967
     */
968
    public function newEvents() {
969
        $this->events = new \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Arearange\HighchartsEvents();
970
        return $this->events;
971
    }
972
973
    /**
974
     * Create a new point.
975
     *
976
     * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Arearange\HighchartsPoint Returns the point.
977
     */
978
    public function newPoint() {
979
        $this->point = new \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Arearange\HighchartsPoint();
980
        return $this->point;
981
    }
982
983
    /**
984
     * Create a new states.
985
     *
986
     * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Arearange\HighchartsStates Returns the states.
987
     */
988
    public function newStates() {
989
        $this->states = new \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Arearange\HighchartsStates();
990
        return $this->states;
991
    }
992
993
    /**
994
     * Set the allow point select.
995
     *
996
     * @param boolean $allowPointSelect The allow point select.
997
     * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsArearange Returns the highcharts arearange.
998
     */
999
    public function setAllowPointSelect($allowPointSelect) {
1000
        $this->allowPointSelect = $allowPointSelect;
1001
        return $this;
1002
    }
1003
1004
    /**
1005
     * Set the animation.
1006
     *
1007
     * @param boolean $animation The animation.
1008
     * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsArearange Returns the highcharts arearange.
1009
     */
1010
    public function setAnimation($animation) {
1011
        $this->animation = $animation;
1012
        return $this;
1013
    }
1014
1015
    /**
1016
     * Set the animation limit.
1017
     *
1018
     * @param integer $animationLimit The animation limit.
1019
     * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsArearange Returns the highcharts arearange.
1020
     */
1021
    public function setAnimationLimit($animationLimit) {
1022
        $this->animationLimit = $animationLimit;
1023
        return $this;
1024
    }
1025
1026
    /**
1027
     * Set the class name.
1028
     *
1029
     * @param string $className The class name.
1030
     * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsArearange Returns the highcharts arearange.
1031
     */
1032
    public function setClassName($className) {
1033
        $this->className = $className;
1034
        return $this;
1035
    }
1036
1037
    /**
1038
     * Set the color.
1039
     *
1040
     * @param string $color The color.
1041
     * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsArearange Returns the highcharts arearange.
1042
     */
1043
    public function setColor($color) {
1044
        $this->color = $color;
1045
        return $this;
1046
    }
1047
1048
    /**
1049
     * Set the color index.
1050
     *
1051
     * @param integer $colorIndex The color index.
1052
     * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsArearange Returns the highcharts arearange.
1053
     */
1054
    public function setColorIndex($colorIndex) {
1055
        $this->colorIndex = $colorIndex;
1056
        return $this;
1057
    }
1058
1059
    /**
1060
     * Set the connect nulls.
1061
     *
1062
     * @param boolean $connectNulls The connect nulls.
1063
     * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsArearange Returns the highcharts arearange.
1064
     */
1065
    public function setConnectNulls($connectNulls) {
1066
        $this->connectNulls = $connectNulls;
1067
        return $this;
1068
    }
1069
1070
    /**
1071
     * Set the crop threshold.
1072
     *
1073
     * @param integer $cropThreshold The crop threshold.
1074
     * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsArearange Returns the highcharts arearange.
1075
     */
1076
    public function setCropThreshold($cropThreshold) {
1077
        $this->cropThreshold = $cropThreshold;
1078
        return $this;
1079
    }
1080
1081
    /**
1082
     * Set the cursor.
1083
     *
1084
     * @param string $cursor The cursor.
1085
     * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsArearange Returns the highcharts arearange.
1086
     */
1087
    public function setCursor($cursor) {
1088
        switch ($cursor) {
1089
            case null:
1090
            case "crosshair":
1091
            case "default":
1092
            case "help":
1093
            case "none":
1094
            case "pointer":
1095
            $this->cursor = $cursor;
1096
            break;
1097
        }
1098
        return $this;
1099
    }
1100
1101
    /**
1102
     * Set the dash style.
1103
     *
1104
     * @param string $dashStyle The dash style.
1105
     * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsArearange Returns the highcharts arearange.
1106
     */
1107
    public function setDashStyle($dashStyle) {
1108
        switch ($dashStyle) {
1109
            case "Dash":
1110
            case "DashDot":
1111
            case "Dot":
1112
            case "LongDash":
1113
            case "LongDashDot":
1114
            case "LongDashDotDot":
1115
            case "ShortDash":
1116
            case "ShortDashDot":
1117
            case "ShortDashDotDot":
1118
            case "ShortDot":
1119
            case "Solid":
1120
            $this->dashStyle = $dashStyle;
1121
            break;
1122
        }
1123
        return $this;
1124
    }
1125
1126
    /**
1127
     * Set the data labels.
1128
     *
1129
     * @param array $dataLabels The data labels.
1130
     * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsArearange Returns the highcharts arearange.
1131
     */
1132
    public function setDataLabels(array $dataLabels = null) {
1133
        $this->dataLabels = $dataLabels;
0 ignored issues
show
Documentation Bug introduced by
It seems like $dataLabels can be null. However, the property $dataLabels is declared as array. Maybe change the type of the property to array|null or add a type check?

Our type inference engine has found an assignment of a scalar value (like a string, an integer or null) to a property which is an array.

Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property.

To type hint that a parameter can be either an array or null, you can set a type hint of array and a default value of null. The PHP interpreter will then accept both an array or null for that parameter.

function aContainsB(array $needle = null, array  $haystack) {
    if (!$needle) {
        return false;
    }

    return array_intersect($haystack, $needle) == $haystack;
}

The function can be called with either null or an array for the parameter $needle but will only accept an array as $haystack.

Loading history...
1134
        return $this;
1135
    }
1136
1137
    /**
1138
     * Set the description.
1139
     *
1140
     * @param string $description The description.
1141
     * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsArearange Returns the highcharts arearange.
1142
     */
1143
    public function setDescription($description) {
1144
        $this->description = $description;
1145
        return $this;
1146
    }
1147
1148
    /**
1149
     * Set the enable mouse tracking.
1150
     *
1151
     * @param boolean $enableMouseTracking The enable mouse tracking.
1152
     * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsArearange Returns the highcharts arearange.
1153
     */
1154
    public function setEnableMouseTracking($enableMouseTracking) {
1155
        $this->enableMouseTracking = $enableMouseTracking;
1156
        return $this;
1157
    }
1158
1159
    /**
1160
     * Set the events.
1161
     *
1162
     * @param \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Arearange\HighchartsEvents $events The events.
1163
     * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsArearange Returns the highcharts arearange.
1164
     */
1165
    public function setEvents(\WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Arearange\HighchartsEvents $events = null) {
1166
        $this->events = $events;
1167
        return $this;
1168
    }
1169
1170
    /**
1171
     * Set the expose element to a11y.
1172
     *
1173
     * @param boolean $exposeElementToA11y The expose element to a11y.
1174
     * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsArearange Returns the highcharts arearange.
1175
     */
1176
    public function setExposeElementToA11y($exposeElementToA11y) {
1177
        $this->exposeElementToA11y = $exposeElementToA11y;
1178
        return $this;
1179
    }
1180
1181
    /**
1182
     * Set the fill color.
1183
     *
1184
     * @param string $fillColor The fill color.
1185
     * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsArearange Returns the highcharts arearange.
1186
     */
1187
    public function setFillColor($fillColor) {
1188
        $this->fillColor = $fillColor;
1189
        return $this;
1190
    }
1191
1192
    /**
1193
     * Set the fill opacity.
1194
     *
1195
     * @param integer $fillOpacity The fill opacity.
1196
     * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsArearange Returns the highcharts arearange.
1197
     */
1198
    public function setFillOpacity($fillOpacity) {
1199
        $this->fillOpacity = $fillOpacity;
1200
        return $this;
1201
    }
1202
1203
    /**
1204
     * Set the find nearest point by.
1205
     *
1206
     * @param string $findNearestPointBy The find nearest point by.
1207
     * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsArearange Returns the highcharts arearange.
1208
     */
1209
    public function setFindNearestPointBy($findNearestPointBy) {
1210
        switch ($findNearestPointBy) {
1211
            case "x":
1212
            case "xy":
1213
            $this->findNearestPointBy = $findNearestPointBy;
1214
            break;
1215
        }
1216
        return $this;
1217
    }
1218
1219
    /**
1220
     * Set the get extremes from all.
1221
     *
1222
     * @param boolean $getExtremesFromAll The get extremes from all.
1223
     * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsArearange Returns the highcharts arearange.
1224
     */
1225
    public function setGetExtremesFromAll($getExtremesFromAll) {
1226
        $this->getExtremesFromAll = $getExtremesFromAll;
1227
        return $this;
1228
    }
1229
1230
    /**
1231
     * Set the keys.
1232
     *
1233
     * @param array $keys The keys.
1234
     * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsArearange Returns the highcharts arearange.
1235
     */
1236
    public function setKeys(array $keys = null) {
1237
        $this->keys = $keys;
0 ignored issues
show
Documentation Bug introduced by
It seems like $keys can be null. However, the property $keys is declared as array. Maybe change the type of the property to array|null or add a type check?

Our type inference engine has found an assignment of a scalar value (like a string, an integer or null) to a property which is an array.

Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property.

To type hint that a parameter can be either an array or null, you can set a type hint of array and a default value of null. The PHP interpreter will then accept both an array or null for that parameter.

function aContainsB(array $needle = null, array  $haystack) {
    if (!$needle) {
        return false;
    }

    return array_intersect($haystack, $needle) == $haystack;
}

The function can be called with either null or an array for the parameter $needle but will only accept an array as $haystack.

Loading history...
1238
        return $this;
1239
    }
1240
1241
    /**
1242
     * Set the line color.
1243
     *
1244
     * @param string $lineColor The line color.
1245
     * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsArearange Returns the highcharts arearange.
1246
     */
1247
    public function setLineColor($lineColor) {
1248
        $this->lineColor = $lineColor;
1249
        return $this;
1250
    }
1251
1252
    /**
1253
     * Set the line width.
1254
     *
1255
     * @param integer $lineWidth The line width.
1256
     * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsArearange Returns the highcharts arearange.
1257
     */
1258
    public function setLineWidth($lineWidth) {
1259
        $this->lineWidth = $lineWidth;
1260
        return $this;
1261
    }
1262
1263
    /**
1264
     * Set the linecap.
1265
     *
1266
     * @param string $linecap The linecap.
1267
     * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsArearange Returns the highcharts arearange.
1268
     */
1269
    public function setLinecap($linecap) {
1270
        switch ($linecap) {
1271
            case "round":
1272
            case "square":
1273
            $this->linecap = $linecap;
1274
            break;
1275
        }
1276
        return $this;
1277
    }
1278
1279
    /**
1280
     * Set the linked to.
1281
     *
1282
     * @param string $linkedTo The linked to.
1283
     * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsArearange Returns the highcharts arearange.
1284
     */
1285
    public function setLinkedTo($linkedTo) {
1286
        $this->linkedTo = $linkedTo;
1287
        return $this;
1288
    }
1289
1290
    /**
1291
     * Set the negative color.
1292
     *
1293
     * @param string $negativeColor The negative color.
1294
     * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsArearange Returns the highcharts arearange.
1295
     */
1296
    public function setNegativeColor($negativeColor) {
1297
        $this->negativeColor = $negativeColor;
1298
        return $this;
1299
    }
1300
1301
    /**
1302
     * Set the negative fill color.
1303
     *
1304
     * @param string $negativeFillColor The negative fill color.
1305
     * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsArearange Returns the highcharts arearange.
1306
     */
1307
    public function setNegativeFillColor($negativeFillColor) {
1308
        $this->negativeFillColor = $negativeFillColor;
1309
        return $this;
1310
    }
1311
1312
    /**
1313
     * Set the point.
1314
     *
1315
     * @param \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Arearange\HighchartsPoint $point The point.
1316
     * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsArearange Returns the highcharts arearange.
1317
     */
1318
    public function setPoint(\WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Arearange\HighchartsPoint $point = null) {
1319
        $this->point = $point;
1320
        return $this;
1321
    }
1322
1323
    /**
1324
     * Set the point description formatter.
1325
     *
1326
     * @param string $pointDescriptionFormatter The point description formatter.
1327
     * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsArearange Returns the highcharts arearange.
1328
     */
1329
    public function setPointDescriptionFormatter($pointDescriptionFormatter) {
1330
        $this->pointDescriptionFormatter = $pointDescriptionFormatter;
1331
        return $this;
1332
    }
1333
1334
    /**
1335
     * Set the point interval.
1336
     *
1337
     * @param integer $pointInterval The point interval.
1338
     * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsArearange Returns the highcharts arearange.
1339
     */
1340
    public function setPointInterval($pointInterval) {
1341
        $this->pointInterval = $pointInterval;
1342
        return $this;
1343
    }
1344
1345
    /**
1346
     * Set the point interval unit.
1347
     *
1348
     * @param string $pointIntervalUnit The point interval unit.
1349
     * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsArearange Returns the highcharts arearange.
1350
     */
1351
    public function setPointIntervalUnit($pointIntervalUnit) {
1352
        switch ($pointIntervalUnit) {
1353
            case null:
1354
            case "day":
1355
            case "month":
1356
            case "year":
1357
            $this->pointIntervalUnit = $pointIntervalUnit;
1358
            break;
1359
        }
1360
        return $this;
1361
    }
1362
1363
    /**
1364
     * Set the point placement.
1365
     *
1366
     * @param string|integer $pointPlacement The point placement.
1367
     * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsArearange Returns the highcharts arearange.
1368
     */
1369
    public function setPointPlacement($pointPlacement) {
1370
        switch ($pointPlacement) {
1371
            case null:
1372
            case "between":
1373
            case "on":
1374
            $this->pointPlacement = $pointPlacement;
1375
            break;
1376
        }
1377
        return $this;
1378
    }
1379
1380
    /**
1381
     * Set the point start.
1382
     *
1383
     * @param integer $pointStart The point start.
1384
     * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsArearange Returns the highcharts arearange.
1385
     */
1386
    public function setPointStart($pointStart) {
1387
        $this->pointStart = $pointStart;
1388
        return $this;
1389
    }
1390
1391
    /**
1392
     * Set the selected.
1393
     *
1394
     * @param boolean $selected The selected.
1395
     * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsArearange Returns the highcharts arearange.
1396
     */
1397
    public function setSelected($selected) {
1398
        $this->selected = $selected;
1399
        return $this;
1400
    }
1401
1402
    /**
1403
     * Set the shadow.
1404
     *
1405
     * @param boolean|array $shadow The shadow.
1406
     * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsArearange Returns the highcharts arearange.
1407
     */
1408
    public function setShadow($shadow) {
1409
        $this->shadow = $shadow;
1410
        return $this;
1411
    }
1412
1413
    /**
1414
     * Set the show checkbox.
1415
     *
1416
     * @param boolean $showCheckbox The show checkbox.
1417
     * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsArearange Returns the highcharts arearange.
1418
     */
1419
    public function setShowCheckbox($showCheckbox) {
1420
        $this->showCheckbox = $showCheckbox;
1421
        return $this;
1422
    }
1423
1424
    /**
1425
     * Set the show in legend.
1426
     *
1427
     * @param boolean $showInLegend The show in legend.
1428
     * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsArearange Returns the highcharts arearange.
1429
     */
1430
    public function setShowInLegend($showInLegend) {
1431
        $this->showInLegend = $showInLegend;
1432
        return $this;
1433
    }
1434
1435
    /**
1436
     * Set the skip keyboard navigation.
1437
     *
1438
     * @param boolean $skipKeyboardNavigation The skip keyboard navigation.
1439
     * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsArearange Returns the highcharts arearange.
1440
     */
1441
    public function setSkipKeyboardNavigation($skipKeyboardNavigation) {
1442
        $this->skipKeyboardNavigation = $skipKeyboardNavigation;
1443
        return $this;
1444
    }
1445
1446
    /**
1447
     * Set the states.
1448
     *
1449
     * @param \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Arearange\HighchartsStates $states The states.
1450
     * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsArearange Returns the highcharts arearange.
1451
     */
1452
    public function setStates(\WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\Arearange\HighchartsStates $states = null) {
1453
        $this->states = $states;
1454
        return $this;
1455
    }
1456
1457
    /**
1458
     * Set the step.
1459
     *
1460
     * @param string $step The step.
1461
     * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsArearange Returns the highcharts arearange.
1462
     */
1463
    public function setStep($step) {
1464
        switch ($step) {
1465
            case "center":
1466
            case "left":
1467
            case "right":
1468
            $this->step = $step;
1469
            break;
1470
        }
1471
        return $this;
1472
    }
1473
1474
    /**
1475
     * Set the sticky tracking.
1476
     *
1477
     * @param boolean $stickyTracking The sticky tracking.
1478
     * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsArearange Returns the highcharts arearange.
1479
     */
1480
    public function setStickyTracking($stickyTracking) {
1481
        $this->stickyTracking = $stickyTracking;
1482
        return $this;
1483
    }
1484
1485
    /**
1486
     * Set the tooltip.
1487
     *
1488
     * @param array $tooltip The tooltip.
1489
     * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsArearange Returns the highcharts arearange.
1490
     */
1491
    public function setTooltip(array $tooltip = null) {
1492
        $this->tooltip = $tooltip;
0 ignored issues
show
Documentation Bug introduced by
It seems like $tooltip can be null. However, the property $tooltip is declared as array. Maybe change the type of the property to array|null or add a type check?

Our type inference engine has found an assignment of a scalar value (like a string, an integer or null) to a property which is an array.

Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property.

To type hint that a parameter can be either an array or null, you can set a type hint of array and a default value of null. The PHP interpreter will then accept both an array or null for that parameter.

function aContainsB(array $needle = null, array  $haystack) {
    if (!$needle) {
        return false;
    }

    return array_intersect($haystack, $needle) == $haystack;
}

The function can be called with either null or an array for the parameter $needle but will only accept an array as $haystack.

Loading history...
1493
        return $this;
1494
    }
1495
1496
    /**
1497
     * Set the track by area.
1498
     *
1499
     * @param boolean $trackByArea The track by area.
1500
     * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsArearange Returns the highcharts arearange.
1501
     */
1502
    public function setTrackByArea($trackByArea) {
1503
        $this->trackByArea = $trackByArea;
1504
        return $this;
1505
    }
1506
1507
    /**
1508
     * Set the turbo threshold.
1509
     *
1510
     * @param integer $turboThreshold The turbo threshold.
1511
     * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsArearange Returns the highcharts arearange.
1512
     */
1513
    public function setTurboThreshold($turboThreshold) {
1514
        $this->turboThreshold = $turboThreshold;
1515
        return $this;
1516
    }
1517
1518
    /**
1519
     * Set the visible.
1520
     *
1521
     * @param boolean $visible The visible.
1522
     * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsArearange Returns the highcharts arearange.
1523
     */
1524
    public function setVisible($visible) {
1525
        $this->visible = $visible;
1526
        return $this;
1527
    }
1528
1529
    /**
1530
     * Set the zone axis.
1531
     *
1532
     * @param string $zoneAxis The zone axis.
1533
     * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsArearange Returns the highcharts arearange.
1534
     */
1535
    public function setZoneAxis($zoneAxis) {
1536
        $this->zoneAxis = $zoneAxis;
1537
        return $this;
1538
    }
1539
1540
    /**
1541
     * Set the zones.
1542
     *
1543
     * @param array $zones The zones.
1544
     * @return \WBW\Bundle\HighchartsBundle\API\Chart\PlotOptions\HighchartsArearange Returns the highcharts arearange.
1545
     */
1546
    public function setZones(array $zones = null) {
1547
        $this->zones = $zones;
0 ignored issues
show
Documentation Bug introduced by
It seems like $zones can be null. However, the property $zones is declared as array. Maybe change the type of the property to array|null or add a type check?

Our type inference engine has found an assignment of a scalar value (like a string, an integer or null) to a property which is an array.

Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property.

To type hint that a parameter can be either an array or null, you can set a type hint of array and a default value of null. The PHP interpreter will then accept both an array or null for that parameter.

function aContainsB(array $needle = null, array  $haystack) {
    if (!$needle) {
        return false;
    }

    return array_intersect($haystack, $needle) == $haystack;
}

The function can be called with either null or an array for the parameter $needle but will only accept an array as $haystack.

Loading history...
1548
        return $this;
1549
    }
1550
1551
    /**
1552
     * Convert into an array representing this instance.
1553
     *
1554
     * @return array Returns an array representing this instance.
1555
     */
1556
    public function toArray() {
1557
1558
        // Initialize the output.
1559
        $output = [];
1560
1561
        // Set the allow point select.
1562
        ArrayUtility::set($output, "allowPointSelect", $this->allowPointSelect, [null]);
1563
1564
        // Set the animation.
1565
        ArrayUtility::set($output, "animation", $this->animation, [null]);
1566
1567
        // Set the animation limit.
1568
        ArrayUtility::set($output, "animationLimit", $this->animationLimit, [null]);
1569
1570
        // Set the class name.
1571
        ArrayUtility::set($output, "className", $this->className, [null]);
1572
1573
        // Set the color.
1574
        ArrayUtility::set($output, "color", $this->color, [null]);
1575
1576
        // Set the color index.
1577
        ArrayUtility::set($output, "colorIndex", $this->colorIndex, [null]);
1578
1579
        // Set the connect nulls.
1580
        ArrayUtility::set($output, "connectNulls", $this->connectNulls, [null]);
1581
1582
        // Set the crop threshold.
1583
        ArrayUtility::set($output, "cropThreshold", $this->cropThreshold, [null]);
1584
1585
        // Set the cursor.
1586
        ArrayUtility::set($output, "cursor", $this->cursor, [null]);
1587
1588
        // Set the dash style.
1589
        ArrayUtility::set($output, "dashStyle", $this->dashStyle, [null]);
1590
1591
        // Set the data labels.
1592
        ArrayUtility::set($output, "dataLabels", $this->dataLabels, [null]);
1593
1594
        // Set the description.
1595
        ArrayUtility::set($output, "description", $this->description, [null]);
1596
1597
        // Set the enable mouse tracking.
1598
        ArrayUtility::set($output, "enableMouseTracking", $this->enableMouseTracking, [null]);
1599
1600
        // Set the events.
1601
        if (null !== $this->events) {
1602
            ArrayUtility::set($output, "events", $this->events->toArray(), []);
1603
        }
1604
1605
        // Set the expose element to a11y.
1606
        ArrayUtility::set($output, "exposeElementToA11y", $this->exposeElementToA11y, [null]);
1607
1608
        // Set the fill color.
1609
        ArrayUtility::set($output, "fillColor", $this->fillColor, [null]);
1610
1611
        // Set the fill opacity.
1612
        ArrayUtility::set($output, "fillOpacity", $this->fillOpacity, [null]);
1613
1614
        // Set the find nearest point by.
1615
        ArrayUtility::set($output, "findNearestPointBy", $this->findNearestPointBy, [null]);
1616
1617
        // Set the get extremes from all.
1618
        ArrayUtility::set($output, "getExtremesFromAll", $this->getExtremesFromAll, [null]);
1619
1620
        // Set the keys.
1621
        ArrayUtility::set($output, "keys", $this->keys, [null]);
1622
1623
        // Set the line color.
1624
        ArrayUtility::set($output, "lineColor", $this->lineColor, [null]);
1625
1626
        // Set the line width.
1627
        ArrayUtility::set($output, "lineWidth", $this->lineWidth, [null]);
1628
1629
        // Set the linecap.
1630
        ArrayUtility::set($output, "linecap", $this->linecap, [null]);
1631
1632
        // Set the linked to.
1633
        ArrayUtility::set($output, "linkedTo", $this->linkedTo, [null]);
1634
1635
        // Set the negative color.
1636
        ArrayUtility::set($output, "negativeColor", $this->negativeColor, [null]);
1637
1638
        // Set the negative fill color.
1639
        ArrayUtility::set($output, "negativeFillColor", $this->negativeFillColor, [null]);
1640
1641
        // Set the point.
1642
        if (null !== $this->point) {
1643
            ArrayUtility::set($output, "point", $this->point->toArray(), []);
1644
        }
1645
1646
        // Set the point description formatter.
1647
        ArrayUtility::set($output, "pointDescriptionFormatter", $this->pointDescriptionFormatter, [null]);
1648
1649
        // Set the point interval.
1650
        ArrayUtility::set($output, "pointInterval", $this->pointInterval, [null]);
1651
1652
        // Set the point interval unit.
1653
        ArrayUtility::set($output, "pointIntervalUnit", $this->pointIntervalUnit, [null]);
1654
1655
        // Set the point placement.
1656
        ArrayUtility::set($output, "pointPlacement", $this->pointPlacement, [null]);
1657
1658
        // Set the point start.
1659
        ArrayUtility::set($output, "pointStart", $this->pointStart, [null]);
1660
1661
        // Set the selected.
1662
        ArrayUtility::set($output, "selected", $this->selected, [null]);
1663
1664
        // Set the shadow.
1665
        ArrayUtility::set($output, "shadow", $this->shadow, [null]);
1666
1667
        // Set the show checkbox.
1668
        ArrayUtility::set($output, "showCheckbox", $this->showCheckbox, [null]);
1669
1670
        // Set the show in legend.
1671
        ArrayUtility::set($output, "showInLegend", $this->showInLegend, [null]);
1672
1673
        // Set the skip keyboard navigation.
1674
        ArrayUtility::set($output, "skipKeyboardNavigation", $this->skipKeyboardNavigation, [null]);
1675
1676
        // Set the states.
1677
        if (null !== $this->states) {
1678
            ArrayUtility::set($output, "states", $this->states->toArray(), []);
1679
        }
1680
1681
        // Set the step.
1682
        ArrayUtility::set($output, "step", $this->step, [null]);
1683
1684
        // Set the sticky tracking.
1685
        ArrayUtility::set($output, "stickyTracking", $this->stickyTracking, [null]);
1686
1687
        // Set the tooltip.
1688
        ArrayUtility::set($output, "tooltip", $this->tooltip, [null]);
1689
1690
        // Set the track by area.
1691
        ArrayUtility::set($output, "trackByArea", $this->trackByArea, [null]);
1692
1693
        // Set the turbo threshold.
1694
        ArrayUtility::set($output, "turboThreshold", $this->turboThreshold, [null]);
1695
1696
        // Set the visible.
1697
        ArrayUtility::set($output, "visible", $this->visible, [null]);
1698
1699
        // Set the zone axis.
1700
        ArrayUtility::set($output, "zoneAxis", $this->zoneAxis, [null]);
1701
1702
        // Set the zones.
1703
        ArrayUtility::set($output, "zones", $this->zones, [null]);
1704
1705
        // Return the output.
1706
        return $output;
1707
    }
1708
1709
}
1710