-
Notifications
You must be signed in to change notification settings - Fork 0
/
highcharts.d.ts
3191 lines (3190 loc) · 118 KB
/
highcharts.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
// Type definitions for Highcharts 6.0.4 (HEAD commit eecc41a on Fri Dec 15 2017 13:52:03 GMT+0100 (W. Europe Standard Time))
// Project: http://www.highcharts.com/
// Definitions generated from https://api.highcharts.com/highcharts/tree.json on Tue Dec 19 2017 23:26:10 GMT-0500 (EST)
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.6
declare namespace Highcharts {
// plotOptions.ad.params
type PlotOptionsAdParams = {
volumeSeriesID: string; // Default: "volume"
};
// plotOptions.ad
type PlotOptionsAd = PlotOptionsSma & {
params: PlotOptionsAdParams;
};
// plotOptions.atr
type PlotOptionsAtr = PlotOptionsSma;
// plotOptions.bb.params
type PlotOptionsBbParams = {
standardDeviation: number; // Default: 2
};
// plotOptions.bb.bottomLine.styles
type PlotOptionsBbBottomLineStyles = {
lineColor: string;
lineWidth: number; // Default: 1
};
// plotOptions.bb.bottomLine
type PlotOptionsBbBottomLine = {
styles: PlotOptionsBbBottomLineStyles;
};
// plotOptions.bb.topLine
type PlotOptionsBbTopLine = PlotOptionsBbBottomLine;
// plotOptions.bb
type PlotOptionsBb = PlotOptionsSma & {
bottomLine: PlotOptionsBbBottomLine;
params: PlotOptionsBbParams;
topLine: PlotOptionsBbTopLine;
};
// plotOptions.cci
type PlotOptionsCci = PlotOptionsSma;
// plotOptions.cmf.params
type PlotOptionsCmfParams = {
volumeSeriesID: string; // Default: "volume"
};
// plotOptions.cmf
/** Exclude: animationLimit */
type PlotOptionsCmf = PlotOptionsSma & {
params: PlotOptionsCmfParams;
};
// plotOptions.ema
type PlotOptionsEma = PlotOptionsSma;
// plotOptions.ikh.params
type PlotOptionsIkhParams = {
periodSenkouSpanB: number; // Default: 52
periodTenkan: number; // Default: 9
};
// plotOptions.ikh.tenkanLine.styles
type PlotOptionsIkhTenkanLineStyles = {
lineColor: number;
lineWidth: number; // Default: 1
};
// plotOptions.ikh.tenkanLine
type PlotOptionsIkhTenkanLine = {
styles: PlotOptionsIkhTenkanLineStyles;
};
// plotOptions.ikh.kijunLine.styles
type PlotOptionsIkhKijunLineStyles = {
lineColor: number;
lineWidth: number; // Default: 1
};
// plotOptions.ikh.kijunLine
type PlotOptionsIkhKijunLine = {
styles: PlotOptionsIkhKijunLineStyles;
};
// plotOptions.ikh.chikouLine.styles
type PlotOptionsIkhChikouLineStyles = {
lineColor: number;
lineWidth: number; // Default: 1
};
// plotOptions.ikh.chikouLine
type PlotOptionsIkhChikouLine = {
styles: PlotOptionsIkhChikouLineStyles;
};
// plotOptions.ikh.senkouSpanA.styles
type PlotOptionsIkhSenkouSpanAStyles = {
lineColor: number;
lineWidth: number; // Default: 1
};
// plotOptions.ikh.senkouSpanA
type PlotOptionsIkhSenkouSpanA = {
styles: PlotOptionsIkhSenkouSpanAStyles;
};
// plotOptions.ikh.senkouSpanB.styles
type PlotOptionsIkhSenkouSpanBStyles = {
lineColor: number;
lineWidth: number; // Default: 1
};
// plotOptions.ikh.senkouSpanB
type PlotOptionsIkhSenkouSpanB = {
styles: PlotOptionsIkhSenkouSpanBStyles;
};
// plotOptions.ikh.senkouSpan.styles
type PlotOptionsIkhSenkouSpanStyles = {
fill: number; // Default: "rgba(255, 0, 0, 0.5)"
};
// plotOptions.ikh.senkouSpan
type PlotOptionsIkhSenkouSpan = {
styles: PlotOptionsIkhSenkouSpanStyles;
};
// plotOptions.ikh
/** Exclude: allAreas,colorAxis,compare,compareBase,joinBy,keys,stacking,showInNavigator,navigatorOptions,pointInterval,pointIntervalUnit,pointPlacement,pointRange,pointStart */
type PlotOptionsIkh = PlotOptionsSma & {
chikouLine: PlotOptionsIkhChikouLine;
kijunLine: PlotOptionsIkhKijunLine;
params: PlotOptionsIkhParams;
senkouSpan: PlotOptionsIkhSenkouSpan;
senkouSpanA: PlotOptionsIkhSenkouSpanA;
senkouSpanB: PlotOptionsIkhSenkouSpanB;
tenkanLine: PlotOptionsIkhTenkanLine;
};
// plotOptions.sma.params
type PlotOptionsSmaParams = {
index: number; // Default: 0
period: number; // Default: 14
};
// plotOptions.sma
/** Exclude: allAreas,colorAxis,compare,compareBase,joinBy,keys,stacking,showInNavigator,navigatorOptions,pointInterval,pointIntervalUnit,pointPlacement,pointRange,pointStart,joinBy */
type PlotOptionsSma = PlotOptionsLine & {
name: string; // Default: "SMA (14)"
params: PlotOptionsSmaParams;
};
// plotOptions.macd.params
type PlotOptionsMacdParams = {
longPeriod: number; // Default: 26
shortPeriod: number; // Default: 12
signalPeriod: number; // Default: 9
};
// plotOptions.macd.signalLine.styles
type PlotOptionsMacdSignalLineStyles = {
lineColor: number;
lineWidth: number; // Default: 1
};
// plotOptions.macd.signalLine
type PlotOptionsMacdSignalLine = {
styles: PlotOptionsMacdSignalLineStyles;
};
// plotOptions.macd.macdLine.styles
type PlotOptionsMacdMacdLineStyles = {
lineColor: number;
lineWidth: number; // Default: 1
};
// plotOptions.macd.macdLine
type PlotOptionsMacdMacdLine = {
styles: PlotOptionsMacdMacdLineStyles;
};
// plotOptions.macd
type PlotOptionsMacd = PlotOptionsSma & {
groupPadding: number; // Default: 0.1
macdLine: PlotOptionsMacdMacdLine;
minPointLength: number; // Default: 0
params: PlotOptionsMacdParams;
pointPadding: number; // Default: 0.1
signalLine: PlotOptionsMacdSignalLine;
};
// plotOptions.mfi.params
/** Exclude: index */
type PlotOptionsMfiParams = {
decimals: number; // Default: 4
volumeSeriesID: string; // Default: "volume"
};
// plotOptions.mfi
type PlotOptionsMfi = PlotOptionsSma & {
params: PlotOptionsMfiParams; // Exclude: index
};
// plotOptions.momentum
type PlotOptionsMomentum = PlotOptionsSma;
// plotOptions.pivotpoints.params
/** Exclude: index */
type PlotOptionsPivotpointsParams = {
algorithm: string; // Default: "standard"
};
// plotOptions.pivotpoints
type PlotOptionsPivotpoints = PlotOptionsSma & {
params: PlotOptionsPivotpointsParams; // Exclude: index
};
// plotOptions.priceenvelopes.params
type PlotOptionsPriceenvelopesParams = {
bottomBand: number; // Default: 0.1
topBand: number; // Default: 0.1
};
// plotOptions.priceenvelopes.bottomLine.styles
type PlotOptionsPriceenvelopesBottomLineStyles = {
lineColor: string;
lineWidth: number; // Default: 1
};
// plotOptions.priceenvelopes.bottomLine
type PlotOptionsPriceenvelopesBottomLine = {
styles: PlotOptionsPriceenvelopesBottomLineStyles;
};
// plotOptions.priceenvelopes.topLine
type PlotOptionsPriceenvelopesTopLine = PlotOptionsPriceenvelopesBottomLine;
// plotOptions.priceenvelopes
type PlotOptionsPriceenvelopes = PlotOptionsSma & {
bottomLine: PlotOptionsPriceenvelopesBottomLine;
params: PlotOptionsPriceenvelopesParams;
topLine: PlotOptionsPriceenvelopesTopLine;
};
// plotOptions.psar.params
/** Exclude: index,period */
type PlotOptionsPsarParams = {
decimals: number; // Default: 4
increment: number; // Default: 0.02
initialAccelerationFactor: number; // Default: 0.02 // Exclude: period
maxAccelerationFactor: number; // Default: 0.2
};
// plotOptions.psar
type PlotOptionsPsar = PlotOptionsSma & {
params: PlotOptionsPsarParams; // Exclude: index,period
};
// plotOptions.roc
type PlotOptionsRoc = PlotOptionsSma;
// plotOptions.rsi.params
/** Exclude: index */
type PlotOptionsRsiParams = {
decimals: number; // Default: 4
};
// plotOptions.rsi
type PlotOptionsRsi = PlotOptionsSma & {
params: PlotOptionsRsiParams; // Exclude: index
};
// plotOptions.stochastic.params
/** Exclude: index,period */
type PlotOptionsStochasticParams = {
periods: any[]; // Default: "[14, 3]"
};
// plotOptions.stochastic.smoothedLine.styles
type PlotOptionsStochasticSmoothedLineStyles = {
lineColor: string;
lineWidth: number; // Default: 1
};
// plotOptions.stochastic.smoothedLine
type PlotOptionsStochasticSmoothedLine = {
styles: PlotOptionsStochasticSmoothedLineStyles;
};
// plotOptions.stochastic
type PlotOptionsStochastic = PlotOptionsSma & {
params: PlotOptionsStochasticParams; // Exclude: index,period
smoothedLine: PlotOptionsStochasticSmoothedLine;
};
// plotOptions.vbp.params
/** Exclude: index,period */
type PlotOptionsVbpParams = {
ranges: number; // Default: 12
volumeSeriesID: string; // Default: "volume"
};
// plotOptions.vbp.zoneLines.styles
type PlotOptionsVbpZoneLinesStyles = {
color: Color; // Default: "#0A9AC9"
dashStyle: string; // Default: "LongDash"
lineWidth: number; // Default: 1
};
// plotOptions.vbp.zoneLines
type PlotOptionsVbpZoneLines = {
enabled: boolean; // Default: true
styles: PlotOptionsVbpZoneLinesStyles;
};
// plotOptions.vbp.volumeDivision.styles
type PlotOptionsVbpVolumeDivisionStyles = {
negativeColor: Color; // Default: "rgba(244, 91, 91, 0.8)"
positiveColor: Color; // Default: "rgba(144, 237, 125, 0.8)"
};
// plotOptions.vbp.volumeDivision
type PlotOptionsVbpVolumeDivision = {
enabled: boolean; // Default: true
styles: PlotOptionsVbpVolumeDivisionStyles;
};
// plotOptions.vbp.dataLabels.style
type PlotOptionsVbpDataLabelsStyle = {
fontSize: string; // Default: "7px"
};
// plotOptions.vbp.dataLabels
type PlotOptionsVbpDataLabels = {
style: PlotOptionsVbpDataLabelsStyle;
};
// plotOptions.vbp
type PlotOptionsVbp = PlotOptionsSma & {
crisp: boolean; // Default: true
dataLabels: PlotOptionsVbpDataLabels;
params: PlotOptionsVbpParams; // Exclude: index,period
pointPadding: number; // Default: 0
volumeDivision: PlotOptionsVbpVolumeDivision;
zoneLines: PlotOptionsVbpZoneLines;
};
// plotOptions.vwap.params
/** Exclude: index */
type PlotOptionsVwapParams = {
volumeSeriesID: string; // Default: "volume"
};
// plotOptions.vwap
type PlotOptionsVwap = PlotOptionsSma & {
params: PlotOptionsVwapParams; // Exclude: index
};
// plotOptions.wma
type PlotOptionsWma = PlotOptionsSma;
// plotOptions.zigzag.params
/** Exclude: index,period */
type PlotOptionsZigzagParams = {
deviation: number; // Default: 1
highIndex: number; // Default: 1
lowIndex: number; // Default: 2
};
// plotOptions.zigzag
type PlotOptionsZigzag = PlotOptionsSma & {
params: PlotOptionsZigzagParams; // Exclude: index,period
};
// plotOptions.bellcurve
/** Exclude: boostThreshold,connectNulls,stacking,pointInterval,pointIntervalUnit */
type PlotOptionsBellcurve = PlotOptionsAreaspline & {
intervals: number; // Default: 3
pointsInInterval: number; // Default: 3
};
// plotOptions.series.label.style
type PlotOptionsSeriesLabelStyle = {
fontWeight: string; // Default: "bold"
};
// plotOptions.series.label
type PlotOptionsSeriesLabel = {
boxesToAvoid: object[];
connectorAllowed: boolean; // Default: true
connectorNeighbourDistance: number; // Default: 24
enabled: boolean; // Default: true
maxFontSize: number;
minFontSize: number;
onArea: boolean;
style: PlotOptionsSeriesLabelStyle;
};
// plotOptions.series.dataGrouping
type PlotOptionsSeriesDataGrouping = {
approximation: Function | "average" | "averages" | "open" | "high" | "low" | "close" | "sum";
dateTimeLabelFormats: object;
enabled: boolean; // Default: "true"
forced: boolean; // Default: "false"
groupPixelWidth: number; // Default: "2"
smoothed: boolean; // Default: "false"
units: any[];
};
// plotOptions.series.animation
type PlotOptionsSeriesAnimation = {
duration: number; // Default: 1000
};
// plotOptions.series.events
type PlotOptionsSeriesEvents = {
afterAnimate: Function;
checkboxClick: Function;
click: Function;
hide: Function;
legendItemClick: Function;
mouseOut: Function;
mouseOver: Function;
show: Function;
};
// plotOptions.series.marker.states.hover.animation
type PlotOptionsSeriesMarkerStatesHoverAnimation = {
duration: number; // Default: 50
};
// plotOptions.series.marker.states.hover
type PlotOptionsSeriesMarkerStatesHover = {
animation: PlotOptionsSeriesMarkerStatesHoverAnimation;
enabled: boolean; // Default: true
fillColor: Color; // Default: "null"
lineColor: Color; // Default: "#ffffff"
lineWidth: number; // Default: "0"
lineWidthPlus: number; // Default: 1
radius: number;
radiusPlus: number; // Default: 2
};
// plotOptions.series.marker.states.select
type PlotOptionsSeriesMarkerStatesSelect = {
enabled: boolean; // Default: "true"
fillColor: Color; // Default: "#cccccc"
lineColor: Color; // Default: "#000000"
lineWidth: number; // Default: 2
radius: number;
};
// plotOptions.series.marker.states
type PlotOptionsSeriesMarkerStates = {
hover: PlotOptionsSeriesMarkerStatesHover;
select: PlotOptionsSeriesMarkerStatesSelect;
};
// plotOptions.series.marker
type PlotOptionsSeriesMarker = {
enabled: boolean;
fillColor: Color; // Default: "null"
height: number; // Default: "null"
lineColor: Color; // Default: "#ffffff"
lineWidth: number; // Default: 0
radius: number; // Default: 4
states: PlotOptionsSeriesMarkerStates;
symbol: null | "circle" | "square" | "diamond" | "triangle" | "triangle-down"; // Default: "null"
width: number; // Default: "null"
};
// plotOptions.series.point.events
type PlotOptionsSeriesPointEvents = {
click: Function;
mouseOut: Function;
mouseOver: Function;
remove: Function;
select: Function;
unselect: Function;
update: Function;
};
// plotOptions.series.point
type PlotOptionsSeriesPoint = {
events: PlotOptionsSeriesPointEvents;
};
// plotOptions.series.dataLabels.style
type PlotOptionsSeriesDataLabelsStyle = {
color: string; // Default: "contrast"
fontSize: string; // Default: "11px"
fontWeight: string; // Default: "bold"
textOutline: string; // Default: "1px contrast"
};
// plotOptions.series.dataLabels.filter
type PlotOptionsSeriesDataLabelsFilter = {
operator: ">" | "<" | ">=" | "<=" | "==" | "===";
property: string;
value: Mixed;
};
// plotOptions.series.dataLabels
type PlotOptionsSeriesDataLabels = {
align: "left" | "center" | "right"; // Default: "center"
allowOverlap: boolean; // Default: "false"
backgroundColor: Color;
borderColor: Color; // Default: "undefined"
borderRadius: number; // Default: "0"
borderWidth: number; // Default: "0"
className: string;
color: Color;
crop: boolean; // Default: "true"
defer: boolean; // Default: "true"
enabled: boolean; // Default: "false"
filter: PlotOptionsSeriesDataLabelsFilter;
format: string;
formatter: Function;
inside: boolean;
overflow: "justify" | "none"; // Default: "justify"
padding: number; // Default: 5
rotation: number; // Default: "0"
shadow: boolean | object; // Default: "false"
shape: string; // Default: "square"
style: PlotOptionsSeriesDataLabelsStyle; // Default: "{"color": "contrast", "fontSize": "11px", "fontWeight": "bold", "textOutline": "1px contrast" }"
useHTML: boolean; // Default: "false"
verticalAlign: "top" | "middle" | "bottom"; // Default: "bottom"
x: number; // Default: 0
y: number; // Default: 0
zIndex: number; // Default: "6"
};
// plotOptions.series.states.hover.animation
type PlotOptionsSeriesStatesHoverAnimation = {
duration: number; // Default: 50
};
// plotOptions.series.states.hover.marker
type PlotOptionsSeriesStatesHoverMarker = PlotOptionsSeriesMarker;
// plotOptions.series.states.hover.halo
type PlotOptionsSeriesStatesHoverHalo = {
attributes: object;
opacity: number; // Default: 0.25
size: number; // Default: 10
};
// plotOptions.series.states.hover
type PlotOptionsSeriesStatesHover = {
animation: PlotOptionsSeriesStatesHoverAnimation; // Default: "{ "duration": 50 }"
borderColor: Color;
borderWidth: number;
brightness: number; // Default: "0.2"
color: Color;
enabled: boolean; // Default: "true"
halo: PlotOptionsSeriesStatesHoverHalo;
lineWidth: number; // Default: "undefined"
lineWidthPlus: number; // Default: 1
marker: PlotOptionsSeriesStatesHoverMarker;
};
// plotOptions.series.states.select
/** Exclude: brightness */
type PlotOptionsSeriesStatesSelect = PlotOptionsSeriesStatesHover;
// plotOptions.series.states.normal
type PlotOptionsSeriesStatesNormal = {
animation: object | boolean; // Default: "true"
};
// plotOptions.series.states
type PlotOptionsSeriesStates = {
hover: PlotOptionsSeriesStatesHover;
normal: PlotOptionsSeriesStatesNormal;
select: PlotOptionsSeriesStatesSelect; // Exclude: brightness
};
// plotOptions.series.tooltip
/** Exclude: animation,backgroundColor,borderColor,borderRadius,borderWidth,crosshairs,enabled,formatter,positioner,shadow,shared,shape,snap,style,useHTML */
type PlotOptionsSeriesTooltip = Tooltip;
// plotOptions.series.zones
type PlotOptionsSeriesZones = {
className: string;
color: Color;
dashStyle: string;
fillColor: Color;
value: number; // Default: "undefined"
};
// plotOptions.series
type PlotOptionsSeries = {
allAreas: boolean; // Default: "true"
allowPointSelect: boolean; // Default: false
animation: PlotOptionsSeriesAnimation;
animationLimit: number;
boostThreshold: number; // Default: "5000"
borderColor: Color; // Default: "#cccccc"
borderWidth: number; // Default: "1"
className: string;
color: Color;
colorAxis: boolean; // Default: "undefined"
colorIndex: number;
compare: string; // Default: "undefined"
compareBase: 0 | 100; // Default: "0"
compareStart: boolean; // Default: "false"
connectEnds: boolean;
connectNulls: boolean;
cropThreshold: number; // Default: 300
cursor: null | "default" | "none" | "help" | "pointer" | "crosshair";
dashStyle: "Solid" | "ShortDash" | "ShortDot" | "ShortDashDot" | "ShortDashDotDot" | "Dot" | "Dash" | "LongDash" | "DashDot" | "LongDashDot" | "LongDashDotDot"; // Default: "Solid"
dataGrouping: PlotOptionsSeriesDataGrouping;
dataLabels: PlotOptionsSeriesDataLabels;
description: string; // Default: "undefined"
enableMouseTracking: boolean; // Default: "true"
events: PlotOptionsSeriesEvents;
exposeElementToA11y: boolean; // Default: "undefined"
findNearestPointBy: "x" | "xy"; // Default: "x"
gapSize: number; // Default: "0"
gapUnit: "relative" | "value"; // Default: "relative"
getExtremesFromAll: boolean; // Default: "false"
joinBy: string | string[];
keys: string[];
label: PlotOptionsSeriesLabel;
lineWidth: number; // Default: 2
linecap: "round" | "square"; // Default: "round"
linkedTo: string;
marker: PlotOptionsSeriesMarker;
navigatorOptions: object; // Default: "undefined"
negativeColor: Color; // Default: "null"
point: PlotOptionsSeriesPoint;
pointDescriptionFormatter: Function;
pointInterval: number; // Default: "1"
pointIntervalUnit: null | "day" | "month" | "year";
pointPlacement: number | null | "on" | "between"; // Default: "null"
pointRange: number; // Default: 0
pointStart: number; // Default: "0"
selected: boolean; // Default: "false"
shadow: boolean | object; // Default: "false"
showCheckbox: boolean; // Default: false
showInLegend: boolean; // Default: "true"
showInNavigator: boolean; // Default: "undefined"
skipKeyboardNavigation: boolean;
softThreshold: boolean; // Default: true
stacking: null | "normal" | "percent"; // Default: "null"
states: PlotOptionsSeriesStates;
step: null | "left" | "center" | "right";
stickyTracking: boolean; // Default: true
threshold: number; // Default: "0"
tooltip: PlotOptionsSeriesTooltip; // Exclude: animation,backgroundColor,borderColor,borderRadius,borderWidth,crosshairs,enabled,formatter,positioner,shadow,shared,shape,snap,style,useHTML
turboThreshold: number; // Default: 1000
visible: boolean; // Default: "true"
zIndex: number;
zoneAxis: string; // Default: "y"
zones: PlotOptionsSeriesZones;
};
// plotOptions.bullet.targetOptions
type PlotOptionsBulletTargetOptions = {
borderColor: Color;
borderWidth: number; // Default: 0
color: Color;
height: number; // Default: 3
width: number | string; // Default: "140%"
};
// plotOptions.bullet
/** Exclude: allAreas,boostThreshold,colorAxis,compare,compareBase */
type PlotOptionsBullet = PlotOptionsColumn & {
targetOptions: PlotOptionsBulletTargetOptions;
};
// plotOptions.funnel.states.select
type PlotOptionsFunnelStatesSelect = {
shadow: boolean; // Default: false
};
// plotOptions.funnel.states
type PlotOptionsFunnelStates = {
select: PlotOptionsFunnelStatesSelect;
};
// plotOptions.funnel
/** Exclude: size */
type PlotOptionsFunnel = PlotOptionsPie & {
height: number | string; // Default: "100%"
neckHeight: number | string; // Default: "25%"
neckWidth: number | string; // Default: "30%"
reversed: boolean; // Default: false
states: PlotOptionsFunnelStates;
width: number | string; // Default: "90%"
};
// plotOptions.pyramid
type PlotOptionsPyramid = PlotOptionsFunnel;
// plotOptions.histogram
/** Exclude: boostThreshold,pointInterval,pointIntervalUnit,stacking */
type PlotOptionsHistogram = PlotOptionsColumn & {
binWidth: number;
binsNumber: number | Function | "square-root" | "sturges" | "rice"; // Default: "square-root"
};
// plotOptions.pareto
/** Exclude: allAreas,boostThreshold,borderColor,borderRadius,borderWidth,crisp,colorAxis,depth,data,edgeColor,edgeWidth,findNearestPointBy,gapSize,gapUnit,grouping,groupPadding,groupZPadding,maxPointWidth,keys,negativeColor,pointInterval,pointIntervalUnit,pointPadding,pointPlacement,pointRange,pointStart,pointWidth,shadow,step,softThreshold,stacking,threshold,zoneAxis,zones */
type PlotOptionsPareto = PlotOptionsLine;
// plotOptions.sankey.dataLabels
type PlotOptionsSankeyDataLabels = {
nodeFormat: string;
nodeFormatter: Function;
};
// plotOptions.sankey.states.hover
type PlotOptionsSankeyStatesHover = {
linkOpacity: number; // Default: 1
};
// plotOptions.sankey.states
type PlotOptionsSankeyStates = {
hover: PlotOptionsSankeyStatesHover;
};
// plotOptions.sankey.tooltip
type PlotOptionsSankeyTooltip = {
nodeFormat: string; // Default: "{point.name}: <b>{point.sum}</b><br/>"
nodeFormatter: Function;
};
// plotOptions.sankey
/** Exclude: animationLimit,boostThreshold,borderColor,borderRadius,borderWidth,crisp,cropThreshold,depth,edgeColor,edgeWidth,findNearestPointBy,grouping,groupPadding,groupZPadding,maxPointWidth,negativeColor,pointInterval,pointIntervalUnit,pointPadding,pointPlacement,pointRange,pointStart,pointWidth,shadow,softThreshold,stacking,threshold,zoneAxis,zones */
type PlotOptionsSankey = PlotOptionsColumn & {
curveFactor: number; // Default: 0.33
dataLabels: PlotOptionsSankeyDataLabels;
linkOpacity: number; // Default: 0.5
nodePadding: number; // Default: 10
nodeWidth: number; // Default: 20
states: PlotOptionsSankeyStates;
tooltip: PlotOptionsSankeyTooltip;
};
// plotOptions.solidgauge
/** Exclude: dial,pivot */
type PlotOptionsSolidgauge = PlotOptionsGauge & {
colorByPoint: boolean; // Default: true
rounded: boolean; // Default: "false"
};
// plotOptions.streamgraph
type PlotOptionsStreamgraph = PlotOptionsAreaspline;
// plotOptions.sunburst.dataLabels.style
type PlotOptionsSunburstDataLabelsStyle = {
textOverflow: string; // Default: "ellipsis"
};
// plotOptions.sunburst.dataLabels
/** Exclude: align,allowOverlap,staggerLines,step */
type PlotOptionsSunburstDataLabels = PlotOptionsSeriesDataLabels & {
rotationMode: "perpendicular" | "parallel"; // Default: "perpendicular"
style: PlotOptionsSunburstDataLabelsStyle;
};
// plotOptions.sunburst.levels.colorVariation
type PlotOptionsSunburstLevelsColorVariation = {
key: string;
to: number;
};
// plotOptions.sunburst.levels
type PlotOptionsSunburstLevels = {
borderColor: Color;
borderDashStyle: string;
borderWidth: number;
color: Color;
colorVariation: PlotOptionsSunburstLevelsColorVariation;
dataLabels: object;
rotation: number;
rotationMode: string;
};
// plotOptions.sunburst
/** Exclude: allAreas,center,clip,colorAxis,compare,compareBase,dataGrouping,depth,endAngle,gapSize,gapUnit,ignoreHiddenPoint,innerSize,joinBy,legendType,linecap,minSize,navigatorOptions,pointRange */
type PlotOptionsSunburst = PlotOptionsPie & {
allowDrillToNode: boolean; // Default: "false"
dataLabels: PlotOptionsSunburstDataLabels; // Exclude: align,allowOverlap,staggerLines,step
levelIsConstant: boolean; // Default: true
levels: PlotOptionsSunburstLevels;
rootId: string | undefined; // Default: "undefined"
};
// plotOptions.tilemap.states.hover.halo.attributes
type PlotOptionsTilemapStatesHoverHaloAttributes = {
zIndex: number; // Default: 3
};
// plotOptions.tilemap.states.hover.halo
type PlotOptionsTilemapStatesHoverHalo = {
attributes: PlotOptionsTilemapStatesHoverHaloAttributes;
enabled: boolean; // Default: true
};
// plotOptions.tilemap.states.hover
type PlotOptionsTilemapStatesHover = {
halo: PlotOptionsTilemapStatesHoverHalo;
};
// plotOptions.tilemap.states
type PlotOptionsTilemapStates = {
hover: PlotOptionsTilemapStatesHover;
};
// plotOptions.tilemap.data
type PlotOptionsTilemapData = {
color: Color;
x: number;
y: number; // Default: "undefined"
};
// plotOptions.tilemap
/** Exclude: joinBy,shadow,allAreas,mapData,data */
type PlotOptionsTilemap = PlotOptionsHeatmap & {
data: PlotOptionsTilemapData;
states: PlotOptionsTilemapStates;
tileShape: "hexagon" | "circle" | "diamond" | "square"; // Default: "hexagon"
};
// plotOptions.treemap.dataLabels
type PlotOptionsTreemapDataLabels = PlotOptionsSeriesDataLabels;
// plotOptions.treemap.drillUpButton.position
type PlotOptionsTreemapDrillUpButtonPosition = {
align: "left" | "center" | "right"; // Default: "right"
verticalAlign: "top" | "middle" | "bottom"; // Default: "top"
x: number; // Default: -10
y: number; // Default: 10
};
// plotOptions.treemap.drillUpButton
type PlotOptionsTreemapDrillUpButton = {
position: PlotOptionsTreemapDrillUpButtonPosition;
};
// plotOptions.treemap.states.hover.halo
type PlotOptionsTreemapStatesHoverHalo = PlotOptionsSeriesStatesHoverHalo;
// plotOptions.treemap.states.hover
/** Exclude: halo */
type PlotOptionsTreemapStatesHover = PlotOptionsSeriesStatesHover & {
halo: PlotOptionsTreemapStatesHoverHalo; // Default: false
opacity: number; // Default: 0.75
shadow: boolean; // Default: false
};
// plotOptions.treemap.states
type PlotOptionsTreemapStates = PlotOptionsSeriesStates & {
hover: PlotOptionsTreemapStatesHover; // Exclude: halo
};
// plotOptions.treemap.levels.colorVariation
type PlotOptionsTreemapLevelsColorVariation = {
key: "brightness";
to: number;
};
// plotOptions.treemap.levels
type PlotOptionsTreemapLevels = {
borderColor: Color;
borderDashStyle: string;
borderWidth: number;
color: Color;
colorVariation: PlotOptionsTreemapLevelsColorVariation;
dataLabels: object; // Default: "undefined"
layoutAlgorithm: "sliceAndDice" | "stripes" | "squarified" | "strip";
layoutStartingDirection: "vertical" | "horizontal";
level: number;
};
// plotOptions.treemap
/** Exclude: marker */
type PlotOptionsTreemap = PlotOptionsScatter & {
allowDrillToNode: boolean; // Default: "false"
alternateStartingDirection: boolean; // Default: false
colorByPoint: boolean; // Default: "false"
colors: Color[];
dataLabels: PlotOptionsTreemapDataLabels;
drillUpButton: PlotOptionsTreemapDrillUpButton;
ignoreHiddenPoint: boolean; // Default: true
interactByLeaf: boolean;
layoutAlgorithm: "sliceAndDice" | "stripes" | "squarified" | "strip"; // Default: "sliceAndDice"
layoutStartingDirection: "vertical" | "horizontal"; // Default: "vertical"
levelIsConstant: boolean; // Default: true
levels: PlotOptionsTreemapLevels;
opacity: number; // Default: 0.15
sortIndex: number;
states: PlotOptionsTreemapStates;
};
// plotOptions.variablepie
type PlotOptionsVariablepie = PlotOptionsPie & {
maxPointSize: string | number; // Default: "100%"
minPointSize: string | number; // Default: "10%"
sizeBy: "area" | "radius"; // Default: "area"
zMax: number;
zMin: number;
};
// plotOptions.variwide
/** Exclude: boostThreshold,crisp,depth,edgeColor,edgeWidth,groupZPadding */
type PlotOptionsVariwide = PlotOptionsColumn;
// plotOptions.vector
/** Exclude: boostThreshold,marker,connectEnds,connectNulls,cropThreshold,dashStyle,gapSize,gapUnit,dataGrouping,linecap,shadow,stacking,step */
type PlotOptionsVector = PlotOptionsScatter & {
rotationOrigin: "start" | "center" | "end"; // Default: "center"
vectorLength: number; // Default: 20
};
// plotOptions.windbarb
/** Exclude: boostThreshold,marker,connectEnds,connectNulls,cropThreshold,dashStyle,gapSize,gapUnit,dataGrouping,linecap,shadow,stacking,step */
type PlotOptionsWindbarb = PlotOptionsColumn & {
onSeries: string | null;
vectorLength: number; // Default: 20
yOffset: number; // Default: -20
};
// plotOptions.wordcloud.animation
type PlotOptionsWordcloudAnimation = {
duration: number; // Default: 500
};
// plotOptions.wordcloud.rotation
type PlotOptionsWordcloudRotation = {
from: number; // Default: 0
orientations: number; // Default: 2
to: number; // Default: 90
};
// plotOptions.wordcloud.style
type PlotOptionsWordcloudStyle = {
fontFamily: string; // Default: "sans-serif"
fontWeight: string; // Default: "900"
};
// plotOptions.wordcloud
/** Exclude: allAreas,boostThreshold,clip,colorAxis,compare,compareBase,crisp,cropTreshold,dataGrouping,dataLabels,depth,edgeColor,findNearestPointBy,getExtremesFromAll,grouping,groupPadding,groupZPadding,joinBy,maxPointWidth,minPointLength,navigatorOptions,negativeColor,pointInterval,pointIntervalUnit,pointPadding,pointPlacement,pointRange,pointStart,pointWidth,pointStart,pointWidth,shadow,showCheckbox,showInNavigator,softThreshold,stacking,threshold,zoneAxis,zones */
type PlotOptionsWordcloud = PlotOptionsColumn & {
animation: PlotOptionsWordcloudAnimation;
clip: boolean; // Default: false
placementStrategy: string; // Default: "center"
rotation: PlotOptionsWordcloudRotation;
spiral: string; // Default: "rectangular"
style: PlotOptionsWordcloudStyle; // Default: "{"fontFamily":"sans-serif", "fontWeight": "900"}"
};
// plotOptions.xrange.partialFill
type PlotOptionsXrangePartialFill = {
fill: Color;
};
// plotOptions.xrange.data.partialFill
type PlotOptionsXrangeDataPartialFill = {
amount: number;
fill: Color;
};
// plotOptions.xrange.data
type PlotOptionsXrangeData = {
partialFill: PlotOptionsXrangeDataPartialFill;
x2: number;
};
// plotOptions.xrange
/** Exclude: boostThreshold,crisp,cropThreshold,depth,edgeColor,edgeWidth,findNearestPointBy,getExtremesFromAll,grouping,groupPadding,negativeColor,pointInterval,pointIntervalUnit,pointPlacement,pointRange,pointStart,softThreshold,stacking,threshold,data */
type PlotOptionsXrange = PlotOptionsColumn & {
data: PlotOptionsXrangeData;
partialFill: PlotOptionsXrangePartialFill;
};
// plotOptions.area
type PlotOptionsArea = PlotOptionsLine & {
fillColor: Color; // Default: "null"
fillOpacity: number;
lineColor: Color; // Default: "null"
negativeFillColor: Color;
trackByArea: boolean; // Default: "false"
};
// plotOptions.areaspline
/** Exclude: step */
type PlotOptionsAreaspline = PlotOptionsArea;
// plotOptions.bar
type PlotOptionsBar = PlotOptionsColumn;
// plotOptions.candlestick.states.hover
type PlotOptionsCandlestickStatesHover = PlotOptionsColumnStatesHover;
// plotOptions.candlestick.states
type PlotOptionsCandlestickStates = {
hover: PlotOptionsCandlestickStatesHover;
};
// plotOptions.candlestick.tooltip
type PlotOptionsCandlestickTooltip = PlotOptionsColumnTooltip;
// plotOptions.candlestick
/** Exclude: borderColor,borderRadius,borderWidth */
type PlotOptionsCandlestick = PlotOptionsOhlc & {
lineColor: Color; // Default: "#000000"
states: PlotOptionsCandlestickStates;
tooltip: PlotOptionsCandlestickTooltip;
upLineColor: Color; // Default: "null"
};
// plotOptions.column.states.hover
/** Exclude: halo,lineWidth,lineWidthPlus,marker */
type PlotOptionsColumnStatesHover = PlotOptionsSeriesStatesHover;
// plotOptions.column.states
type PlotOptionsColumnStates = {
hover: PlotOptionsColumnStatesHover; // Exclude: halo,lineWidth,lineWidthPlus,marker
};
// plotOptions.column.tooltip
type PlotOptionsColumnTooltip = {
distance: number; // Default: 6
};
// plotOptions.column
/** Exclude: connectNulls,dashStyle,gapSize,gapUnit,linecap,lineWidth,marker,connectEnds,step */
type PlotOptionsColumn = PlotOptionsLine & {
borderRadius: number; // Default: 0
colorByPoint: boolean; // Default: "false"
colors: Color[];
crisp: boolean; // Default: true
depth: number; // Default: "25"
edgeColor: Color;
edgeWidth: number; // Default: "1"
groupPadding: number; // Default: 0.2
groupZPadding: number; // Default: "1"
grouping: boolean; // Default: "true"
maxPointWidth: number; // Default: "null"
minPointLength: number; // Default: 0
pointPadding: number; // Default: 0.1
pointWidth: number; // Default: "null"
states: PlotOptionsColumnStates;
tooltip: PlotOptionsColumnTooltip;
};
// plotOptions.flags.tooltip
/** Exclude: changeDecimals,valueDecimals,valuePrefix,valueSuffix */
type PlotOptionsFlagsTooltip = PlotOptionsSeriesTooltip;
// plotOptions.flags.states.hover
type PlotOptionsFlagsStatesHover = PlotOptionsColumnStatesHover & {
fillColor: string; // Default: "#ccd6eb"
lineColor: string; // Default: "#000000"
};
// plotOptions.flags.states
type PlotOptionsFlagsStates = {
hover: PlotOptionsFlagsStatesHover;
};
// plotOptions.flags.style
type PlotOptionsFlagsStyle = {
fontSize: string; // Default: "11px"
fontWeight: string; // Default: "bold"
};
// plotOptions.flags
/** Exclude: animation,borderColor,borderRadius,borderWidth,colorByPoint,dataGrouping,pointPadding,pointWidth,turboThreshold */
type PlotOptionsFlags = PlotOptionsColumn & {
allowOverlapX: boolean; // Default: false
fillColor: string; // Default: "#ffffff"
lineColor: Color; // Default: "#000000"
onKey: "y" | "open" | "high" | "low" | "close"; // Default: "y"
onSeries: string; // Default: "undefined"
shape: "flag" | "circlepin" | "squarepin"; // Default: "flag"
stackDistance: number; // Default: 12
states: PlotOptionsFlagsStates;
style: PlotOptionsFlagsStyle; // Default: "{ "fontSize": "11px", "fontWeight": "bold" }"
textAlign: "left" | "center" | "right"; // Default: "center"
title: string; // Default: "A"
tooltip: PlotOptionsFlagsTooltip; // Exclude: changeDecimals,valueDecimals,valuePrefix,valueSuffix
useHTML: boolean; // Default: "false"
y: number; // Default: -30
};
// plotOptions.ohlc.states.hover
type PlotOptionsOhlcStatesHover = PlotOptionsColumnStatesHover;
// plotOptions.ohlc.states
type PlotOptionsOhlcStates = {
hover: PlotOptionsOhlcStatesHover;
};
// plotOptions.ohlc
/** Exclude: borderColor,borderRadius,borderWidth,crisp */
type PlotOptionsOhlc = PlotOptionsColumn & {
states: PlotOptionsOhlcStates;
upColor: Color;
};
// plotOptions.pie.dataLabels
/** Exclude: align,allowOverlap,staggerLines,step */
type PlotOptionsPieDataLabels = PlotOptionsSeriesDataLabels & {
connectorColor: string; // Default: "{point.color}"
connectorPadding: number; // Default: "5"
connectorWidth: number; // Default: "1"
distance: number; // Default: 30
softConnector: number;
};
// plotOptions.pie.states.hover
type PlotOptionsPieStatesHover = PlotOptionsSeriesStatesHover & {
shadow: boolean; // Default: false
};
// plotOptions.pie.states
type PlotOptionsPieStates = {
hover: PlotOptionsPieStatesHover;
};
// plotOptions.pie.point.events
type PlotOptionsPiePointEvents = {
legendItemClick: Function;
};
// plotOptions.pie.point
type PlotOptionsPiePoint = {
events: PlotOptionsPiePointEvents;
};
// plotOptions.pie
/** Exclude: animationLimit,boostThreshold,connectEnds,connectNulls,cropThreshold,dashStyle,findNearestPointBy,getExtremesFromAll,lineWidth,marker,negativeColor,pointInterval,pointIntervalUnit,pointPlacement,pointStart,softThreshold,stacking,step,threshold,turboThreshold,zoneAxis,zones */
type PlotOptionsPie = PlotOptionsLine & {
center: (string | number)[]; // Default: "[null, null]"
clip: boolean; // Default: false
colors: Color[];
dataLabels: PlotOptionsPieDataLabels; // Exclude: align,allowOverlap,staggerLines,step
depth: number; // Default: "0"
endAngle: number; // Default: "null"
ignoreHiddenPoint: boolean; // Default: true
innerSize: string | number; // Default: "0"
minSize: number; // Default: "80"
point: PlotOptionsPiePoint;
size: string | number;
slicedOffset: number; // Default: 10
startAngle: number; // Default: "0"
states: PlotOptionsPieStates;
};
// plotOptions.scatter
type PlotOptionsScatter = PlotOptionsLine;
// plotOptions.line