@gravity-ui/chartkit 0.9.1 → 0.10.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (189) hide show
  1. package/CHANGELOG.md +19 -1
  2. package/build/components/ChartKit.css +23 -0
  3. package/build/components/ChartKit.d.ts +0 -1
  4. package/build/components/ChartKit.js +4 -5
  5. package/build/i18n/keysets/en.json +60 -0
  6. package/build/i18n/keysets/ru.json +62 -0
  7. package/build/libs/chartkit-error/chartkit-error.d.ts +1 -0
  8. package/build/libs/chartkit-error/chartkit-error.js +1 -0
  9. package/build/libs/settings/__tests__/settings.test.js +1 -1
  10. package/build/libs/settings/settings.d.ts +6 -3
  11. package/build/libs/settings/settings.js +4 -2
  12. package/build/plugins/highcharts/__stories__/AreaRange.stories.d.ts +4 -0
  13. package/build/plugins/highcharts/__stories__/AreaRange.stories.js +22 -0
  14. package/build/plugins/highcharts/__stories__/Line.stories.d.ts +4 -0
  15. package/build/plugins/highcharts/__stories__/Line.stories.js +21 -0
  16. package/build/plugins/highcharts/__stories__/mocks/area-range.d.ts +2 -0
  17. package/build/plugins/highcharts/__stories__/mocks/area-range.js +61 -0
  18. package/build/plugins/highcharts/__stories__/mocks/holidays.d.ts +7070 -0
  19. package/build/plugins/highcharts/__stories__/mocks/holidays.js +7065 -0
  20. package/build/plugins/highcharts/__stories__/mocks/line.d.ts +2 -0
  21. package/build/plugins/highcharts/__stories__/mocks/line.js +129 -0
  22. package/build/plugins/highcharts/index.d.ts +2 -0
  23. package/build/plugins/highcharts/index.js +5 -0
  24. package/build/plugins/highcharts/renderer/HighchartsWidget.d.ts +23 -0
  25. package/build/plugins/highcharts/renderer/HighchartsWidget.js +6 -0
  26. package/build/plugins/highcharts/renderer/components/HighchartsComponent.css +4 -0
  27. package/build/plugins/highcharts/renderer/components/HighchartsComponent.d.ts +575 -0
  28. package/build/plugins/highcharts/renderer/components/HighchartsComponent.js +115 -0
  29. package/build/plugins/highcharts/renderer/components/StyledSplitPane/StyledSplitPane.css +50 -0
  30. package/build/plugins/highcharts/renderer/components/StyledSplitPane/StyledSplitPane.d.ts +10 -0
  31. package/build/plugins/highcharts/renderer/components/StyledSplitPane/StyledSplitPane.js +32 -0
  32. package/build/plugins/highcharts/renderer/components/withSplitPane/WithSplitPane.css +4 -0
  33. package/build/plugins/highcharts/renderer/components/withSplitPane/withSplitPane.d.ts +10 -0
  34. package/build/plugins/highcharts/renderer/components/withSplitPane/withSplitPane.js +207 -0
  35. package/build/plugins/highcharts/renderer/helpers/add-holidays.d.ts +1 -0
  36. package/build/plugins/highcharts/renderer/helpers/add-holidays.js +43 -0
  37. package/build/plugins/highcharts/renderer/helpers/comments/drawing.d.ts +11 -0
  38. package/build/plugins/highcharts/renderer/helpers/comments/drawing.js +571 -0
  39. package/build/plugins/highcharts/renderer/helpers/config/config.d.ts +575 -0
  40. package/build/plugins/highcharts/renderer/helpers/config/config.js +1483 -0
  41. package/build/plugins/highcharts/renderer/helpers/config/handleLegendItemClick.d.ts +1 -0
  42. package/build/plugins/highcharts/renderer/helpers/config/handleLegendItemClick.js +57 -0
  43. package/build/plugins/highcharts/renderer/helpers/config/options.d.ts +465 -0
  44. package/build/plugins/highcharts/renderer/helpers/config/options.js +350 -0
  45. package/build/plugins/highcharts/renderer/helpers/config/types.d.ts +6 -0
  46. package/build/plugins/highcharts/renderer/helpers/config/types.js +1 -0
  47. package/build/plugins/highcharts/renderer/helpers/config/utils/addShowInNavigatorToSeries.d.ts +10 -0
  48. package/build/plugins/highcharts/renderer/helpers/config/utils/addShowInNavigatorToSeries.js +42 -0
  49. package/build/plugins/highcharts/renderer/helpers/config/utils/addShowInNavigatorToSeries.test.d.ts +1 -0
  50. package/build/plugins/highcharts/renderer/helpers/config/utils/addShowInNavigatorToSeries.test.js +99 -0
  51. package/build/plugins/highcharts/renderer/helpers/config/utils/buildNavigatorFallback.d.ts +1 -0
  52. package/build/plugins/highcharts/renderer/helpers/config/utils/buildNavigatorFallback.js +17 -0
  53. package/build/plugins/highcharts/renderer/helpers/config/utils/buildNavigatorFallback.test.d.ts +1 -0
  54. package/build/plugins/highcharts/renderer/helpers/config/utils/buildNavigatorFallback.test.js +28 -0
  55. package/build/plugins/highcharts/renderer/helpers/config/utils/calculatePrecision.d.ts +5 -0
  56. package/build/plugins/highcharts/renderer/helpers/config/utils/calculatePrecision.js +20 -0
  57. package/build/plugins/highcharts/renderer/helpers/config/utils/calculatePrecision.test.d.ts +1 -0
  58. package/build/plugins/highcharts/renderer/helpers/config/utils/calculatePrecision.test.js +27 -0
  59. package/build/plugins/highcharts/renderer/helpers/config/utils/concatStrings.d.ts +1 -0
  60. package/build/plugins/highcharts/renderer/helpers/config/utils/concatStrings.js +1 -0
  61. package/build/plugins/highcharts/renderer/helpers/config/utils/getChartKitFormattedValue.d.ts +2 -0
  62. package/build/plugins/highcharts/renderer/helpers/config/utils/getChartKitFormattedValue.js +15 -0
  63. package/build/plugins/highcharts/renderer/helpers/config/utils/getFormatOptionsFromLine.d.ts +3 -0
  64. package/build/plugins/highcharts/renderer/helpers/config/utils/getFormatOptionsFromLine.js +15 -0
  65. package/build/plugins/highcharts/renderer/helpers/config/utils/getFormatOptionsFromLine.test.d.ts +1 -0
  66. package/build/plugins/highcharts/renderer/helpers/config/utils/getFormatOptionsFromLine.test.js +11 -0
  67. package/build/plugins/highcharts/renderer/helpers/config/utils/getXAxisThresholdValue.d.ts +1 -0
  68. package/build/plugins/highcharts/renderer/helpers/config/utils/getXAxisThresholdValue.js +9 -0
  69. package/build/plugins/highcharts/renderer/helpers/config/utils/getXAxisThresholdValue.test.d.ts +1 -0
  70. package/build/plugins/highcharts/renderer/helpers/config/utils/getXAxisThresholdValue.test.js +20 -0
  71. package/build/plugins/highcharts/renderer/helpers/config/utils/index.d.ts +13 -0
  72. package/build/plugins/highcharts/renderer/helpers/config/utils/index.js +13 -0
  73. package/build/plugins/highcharts/renderer/helpers/config/utils/isNavigatorSeries.d.ts +2 -0
  74. package/build/plugins/highcharts/renderer/helpers/config/utils/isNavigatorSeries.js +3 -0
  75. package/build/plugins/highcharts/renderer/helpers/config/utils/isSafari.d.ts +1 -0
  76. package/build/plugins/highcharts/renderer/helpers/config/utils/isSafari.js +12 -0
  77. package/build/plugins/highcharts/renderer/helpers/config/utils/isTooltipShared.d.ts +1 -0
  78. package/build/plugins/highcharts/renderer/helpers/config/utils/isTooltipShared.js +8 -0
  79. package/build/plugins/highcharts/renderer/helpers/config/utils/isTooltipShared.test.d.ts +1 -0
  80. package/build/plugins/highcharts/renderer/helpers/config/utils/isTooltipShared.test.js +31 -0
  81. package/build/plugins/highcharts/renderer/helpers/config/utils/localStorage.d.ts +5 -0
  82. package/build/plugins/highcharts/renderer/helpers/config/utils/localStorage.js +23 -0
  83. package/build/plugins/highcharts/renderer/helpers/config/utils/mergeArrayWithObject.d.ts +1 -0
  84. package/build/plugins/highcharts/renderer/helpers/config/utils/mergeArrayWithObject.js +10 -0
  85. package/build/plugins/highcharts/renderer/helpers/config/utils/numberFormat.d.ts +2 -0
  86. package/build/plugins/highcharts/renderer/helpers/config/utils/numberFormat.js +19 -0
  87. package/build/plugins/highcharts/renderer/helpers/config/utils/numberFormat.test.d.ts +1 -0
  88. package/build/plugins/highcharts/renderer/helpers/config/utils/numberFormat.test.js +20 -0
  89. package/build/plugins/highcharts/renderer/helpers/config/utils/setNavigatorDefaultPeriod.d.ts +13 -0
  90. package/build/plugins/highcharts/renderer/helpers/config/utils/setNavigatorDefaultPeriod.js +27 -0
  91. package/build/plugins/highcharts/renderer/helpers/config/utils/setNavigatorDefaultPeriod.test.d.ts +1 -0
  92. package/build/plugins/highcharts/renderer/helpers/config/utils/setNavigatorDefaultPeriod.test.js +45 -0
  93. package/build/plugins/highcharts/renderer/helpers/constants.d.ts +28 -0
  94. package/build/plugins/highcharts/renderer/helpers/constants.js +30 -0
  95. package/build/plugins/highcharts/renderer/helpers/graph.css +89 -0
  96. package/build/plugins/highcharts/renderer/helpers/graph.d.ts +552 -0
  97. package/build/plugins/highcharts/renderer/helpers/graph.js +85 -0
  98. package/build/plugins/highcharts/renderer/helpers/highcharts/colors.d.ts +2 -0
  99. package/build/plugins/highcharts/renderer/helpers/highcharts/colors.js +17 -0
  100. package/build/plugins/highcharts/renderer/helpers/highcharts/highcharts.d.ts +4 -0
  101. package/build/plugins/highcharts/renderer/helpers/highcharts/highcharts.js +346 -0
  102. package/build/plugins/highcharts/renderer/helpers/highcharts/utils/calcucalteClosestPointManually.d.ts +1 -0
  103. package/build/plugins/highcharts/renderer/helpers/highcharts/utils/calcucalteClosestPointManually.js +19 -0
  104. package/build/plugins/highcharts/renderer/helpers/highcharts/utils/calculateClosestPointManually.test.d.ts +1 -0
  105. package/build/plugins/highcharts/renderer/helpers/highcharts/utils/calculateClosestPointManually.test.js +42 -0
  106. package/build/plugins/highcharts/renderer/helpers/highcharts/utils/index.d.ts +1 -0
  107. package/build/plugins/highcharts/renderer/helpers/highcharts/utils/index.js +1 -0
  108. package/build/plugins/highcharts/renderer/helpers/init-highcharts-modules.d.ts +1 -0
  109. package/build/plugins/highcharts/renderer/helpers/init-highcharts-modules.js +49 -0
  110. package/build/plugins/highcharts/renderer/helpers/prepare-data.d.ts +1 -0
  111. package/build/plugins/highcharts/renderer/helpers/prepare-data.js +175 -0
  112. package/build/plugins/highcharts/renderer/helpers/tooltip/constants.d.ts +13 -0
  113. package/build/plugins/highcharts/renderer/helpers/tooltip/constants.js +14 -0
  114. package/build/plugins/highcharts/renderer/helpers/tooltip/helpers.d.ts +1 -0
  115. package/build/plugins/highcharts/renderer/helpers/tooltip/helpers.js +5 -0
  116. package/build/plugins/highcharts/renderer/helpers/tooltip/index.d.ts +13 -0
  117. package/build/plugins/highcharts/renderer/helpers/tooltip/index.js +253 -0
  118. package/build/plugins/highcharts/renderer/helpers/tooltip/render-shape-icon/index.d.ts +6 -0
  119. package/build/plugins/highcharts/renderer/helpers/tooltip/render-shape-icon/index.js +22 -0
  120. package/build/plugins/highcharts/renderer/helpers/tooltip/render-shape-icon/template-icons/DashDotLineIcon.d.ts +2 -0
  121. package/build/plugins/highcharts/renderer/helpers/tooltip/render-shape-icon/template-icons/DashDotLineIcon.js +20 -0
  122. package/build/plugins/highcharts/renderer/helpers/tooltip/render-shape-icon/template-icons/DashLineIcon.d.ts +2 -0
  123. package/build/plugins/highcharts/renderer/helpers/tooltip/render-shape-icon/template-icons/DashLineIcon.js +25 -0
  124. package/build/plugins/highcharts/renderer/helpers/tooltip/render-shape-icon/template-icons/DotLineIcon.d.ts +2 -0
  125. package/build/plugins/highcharts/renderer/helpers/tooltip/render-shape-icon/template-icons/DotLineIcon.js +20 -0
  126. package/build/plugins/highcharts/renderer/helpers/tooltip/render-shape-icon/template-icons/LongDashDotDotLineIcon.d.ts +2 -0
  127. package/build/plugins/highcharts/renderer/helpers/tooltip/render-shape-icon/template-icons/LongDashDotDotLineIcon.js +18 -0
  128. package/build/plugins/highcharts/renderer/helpers/tooltip/render-shape-icon/template-icons/LongDashDotLineIcon.d.ts +2 -0
  129. package/build/plugins/highcharts/renderer/helpers/tooltip/render-shape-icon/template-icons/LongDashDotLineIcon.js +18 -0
  130. package/build/plugins/highcharts/renderer/helpers/tooltip/render-shape-icon/template-icons/LongDashLineIcon.d.ts +2 -0
  131. package/build/plugins/highcharts/renderer/helpers/tooltip/render-shape-icon/template-icons/LongDashLineIcon.js +15 -0
  132. package/build/plugins/highcharts/renderer/helpers/tooltip/render-shape-icon/template-icons/ShortDashDotDotLineIcon.d.ts +2 -0
  133. package/build/plugins/highcharts/renderer/helpers/tooltip/render-shape-icon/template-icons/ShortDashDotDotLineIcon.js +18 -0
  134. package/build/plugins/highcharts/renderer/helpers/tooltip/render-shape-icon/template-icons/ShortDashDotLineIcon.d.ts +2 -0
  135. package/build/plugins/highcharts/renderer/helpers/tooltip/render-shape-icon/template-icons/ShortDashDotLineIcon.js +18 -0
  136. package/build/plugins/highcharts/renderer/helpers/tooltip/render-shape-icon/template-icons/ShortDashLineIcon.d.ts +2 -0
  137. package/build/plugins/highcharts/renderer/helpers/tooltip/render-shape-icon/template-icons/ShortDashLineIcon.js +18 -0
  138. package/build/plugins/highcharts/renderer/helpers/tooltip/render-shape-icon/template-icons/ShortDotLineIcon.d.ts +2 -0
  139. package/build/plugins/highcharts/renderer/helpers/tooltip/render-shape-icon/template-icons/ShortDotLineIcon.js +20 -0
  140. package/build/plugins/highcharts/renderer/helpers/tooltip/render-shape-icon/template-icons/SolidLineIcon.d.ts +2 -0
  141. package/build/plugins/highcharts/renderer/helpers/tooltip/render-shape-icon/template-icons/SolidLineIcon.js +13 -0
  142. package/build/plugins/highcharts/renderer/helpers/tooltip/render-shape-icon/template-icons/index.d.ts +11 -0
  143. package/build/plugins/highcharts/renderer/helpers/tooltip/render-shape-icon/template-icons/index.js +11 -0
  144. package/build/plugins/highcharts/renderer/helpers/tooltip/render-shape-icon/types.d.ts +4 -0
  145. package/build/plugins/highcharts/renderer/helpers/tooltip/render-shape-icon/types.js +1 -0
  146. package/build/plugins/highcharts/renderer/helpers/tooltip/render-shape-icon/utils.d.ts +7 -0
  147. package/build/plugins/highcharts/renderer/helpers/tooltip/render-shape-icon/utils.js +5 -0
  148. package/build/plugins/highcharts/renderer/helpers/tooltip/tooltip.css +367 -0
  149. package/build/plugins/highcharts/renderer/helpers/tooltip/types.d.ts +85 -0
  150. package/build/plugins/highcharts/renderer/helpers/tooltip/types.js +1 -0
  151. package/build/plugins/highcharts/renderer/helpers/types.d.ts +22 -0
  152. package/build/plugins/highcharts/renderer/helpers/types.js +1 -0
  153. package/build/plugins/highcharts/types/comments.d.ts +51 -0
  154. package/build/plugins/highcharts/types/comments.js +1 -0
  155. package/build/plugins/highcharts/types/highcharts-extends.d.ts +38 -0
  156. package/build/plugins/highcharts/types/index.d.ts +4 -0
  157. package/build/plugins/highcharts/types/index.js +1 -0
  158. package/build/plugins/highcharts/types/lib.d.ts +1 -0
  159. package/build/plugins/highcharts/types/lib.js +1 -0
  160. package/build/plugins/highcharts/types/misc.d.ts +19 -0
  161. package/build/plugins/highcharts/types/misc.js +1 -0
  162. package/build/plugins/highcharts/types/widget.d.ts +47 -0
  163. package/build/plugins/highcharts/types/widget.js +1 -0
  164. package/build/plugins/index.d.ts +4 -2
  165. package/build/plugins/index.js +1 -0
  166. package/build/plugins/indicator/renderer/IndicatorItem.d.ts +3 -2
  167. package/build/plugins/indicator/renderer/IndicatorWidget.d.ts +10 -2
  168. package/build/plugins/indicator/renderer/IndicatorWidget.js +1 -1
  169. package/build/plugins/indicator/types.d.ts +0 -6
  170. package/build/plugins/shared/format-number/format-number.d.ts +4 -0
  171. package/build/plugins/shared/format-number/format-number.js +88 -0
  172. package/build/plugins/shared/format-number/format-number.test.d.ts +1 -0
  173. package/build/plugins/shared/format-number/format-number.test.js +14 -0
  174. package/build/plugins/shared/format-number/i18n/en.json +17 -0
  175. package/build/plugins/shared/format-number/i18n/i18n.d.ts +5 -0
  176. package/build/plugins/shared/format-number/i18n/i18n.js +8 -0
  177. package/build/plugins/shared/format-number/i18n/ru.json +17 -0
  178. package/build/plugins/shared/format-number/types.d.ts +14 -0
  179. package/build/plugins/shared/format-number/types.js +1 -0
  180. package/build/plugins/shared/index.d.ts +2 -0
  181. package/build/plugins/shared/index.js +1 -0
  182. package/build/plugins/yagr/renderer/YagrWidget.d.ts +11 -3
  183. package/build/plugins/yagr/renderer/YagrWidget.js +2 -1
  184. package/build/plugins/yagr/types.d.ts +0 -7
  185. package/build/types/index.d.ts +1 -2
  186. package/build/types/misc.d.ts +4 -0
  187. package/build/types/misc.js +1 -0
  188. package/build/types/widget.d.ts +17 -0
  189. package/package.json +4 -1
@@ -0,0 +1 @@
1
+ export function handleLegendItemClick(event: any): void;
@@ -0,0 +1,57 @@
1
+ import { drawComments, hideComments } from '../comments/drawing';
2
+ import { isNavigatorSeries } from './utils';
3
+ const needSetVisible = (serieName, serieVisible, chartSeries) => {
4
+ if (!serieVisible) {
5
+ return false;
6
+ }
7
+ const hasAnotherVisibleSeries = chartSeries
8
+ .filter((serie) => serie.options.showInLegend !== false && serie.name !== serieName)
9
+ .some((serie) => serie.visible);
10
+ return serieVisible && !hasAnotherVisibleSeries;
11
+ };
12
+ const updateSeries = (serie, chart, chartSeries, type) => {
13
+ const serieName = serie.name;
14
+ switch (type) {
15
+ case 'extended': {
16
+ chartSeries.forEach((item) => {
17
+ if (item.name === serieName) {
18
+ item.setVisible(!item.visible, false);
19
+ }
20
+ });
21
+ break;
22
+ }
23
+ case 'default': {
24
+ const visible = needSetVisible(serie.name, serie.visible, chartSeries);
25
+ chartSeries.forEach((item) => {
26
+ if (item.name === serieName) {
27
+ item.setVisible(true, false);
28
+ }
29
+ else {
30
+ item.setVisible(visible, false);
31
+ }
32
+ });
33
+ break;
34
+ }
35
+ default:
36
+ break;
37
+ }
38
+ };
39
+ const updateComments = (chart) => {
40
+ setTimeout(() => hideComments(chart, chart.userOptions._getComments(), chart.userOptions._config), 0);
41
+ setTimeout(() => drawComments(chart, chart.userOptions._getComments(), chart.userOptions._config), 0);
42
+ };
43
+ // https://api.highcharts.com/class-reference/Highcharts#.SeriesLegendItemClickCallbackFunction
44
+ export const handleLegendItemClick = (event) => {
45
+ event.preventDefault();
46
+ const serie = event.target;
47
+ const chart = serie.chart ? serie.chart : serie.series.chart;
48
+ const chartSeries = serie.chart ? chart.series : serie.series.data;
49
+ if (isNavigatorSeries(serie)) {
50
+ return;
51
+ }
52
+ const isExteded = event.browserEvent.ctrlKey || event.browserEvent.metaKey;
53
+ const type = isExteded ? 'extended' : 'default';
54
+ updateSeries(serie, chart, chartSeries, type);
55
+ updateComments(chart);
56
+ chart.redraw();
57
+ };
@@ -0,0 +1,465 @@
1
+ export default options;
2
+ declare namespace options {
3
+ namespace chart {
4
+ const zoomType: string;
5
+ const backgroundColor: string;
6
+ const className: string;
7
+ }
8
+ namespace title {
9
+ namespace style {
10
+ const color: string;
11
+ }
12
+ }
13
+ namespace tooltip {
14
+ const split: boolean;
15
+ const shared: boolean;
16
+ const outside: boolean;
17
+ const followPointer: boolean;
18
+ namespace dateTimeLabelFormats {
19
+ const millisecond: string;
20
+ const second: string;
21
+ const minute: string;
22
+ const hour: string;
23
+ const day: string;
24
+ const week: string;
25
+ const quarter: string;
26
+ }
27
+ }
28
+ namespace legend {
29
+ namespace itemStyle {
30
+ const color_1: string;
31
+ export { color_1 as color };
32
+ }
33
+ namespace itemHoverStyle {
34
+ const color_2: string;
35
+ export { color_2 as color };
36
+ }
37
+ namespace itemHiddenStyle {
38
+ const color_3: string;
39
+ export { color_3 as color };
40
+ }
41
+ }
42
+ namespace xAxis {
43
+ export const crosshair: boolean;
44
+ export const gridLineColor: string;
45
+ export const lineColor: string;
46
+ export namespace labels {
47
+ export namespace style_1 {
48
+ const color_4: string;
49
+ export { color_4 as color };
50
+ }
51
+ export { style_1 as style };
52
+ }
53
+ export const tickPixelInterval: number;
54
+ export const tickColor: string;
55
+ export const tickmarkPlacement: string;
56
+ export namespace dateTimeLabelFormats_1 {
57
+ const day_1: string;
58
+ export { day_1 as day };
59
+ const week_1: string;
60
+ export { week_1 as week };
61
+ const quarter_1: string;
62
+ export { quarter_1 as quarter };
63
+ }
64
+ export { dateTimeLabelFormats_1 as dateTimeLabelFormats };
65
+ }
66
+ namespace yAxis {
67
+ const gridLineColor_1: string;
68
+ export { gridLineColor_1 as gridLineColor };
69
+ const lineColor_1: string;
70
+ export { lineColor_1 as lineColor };
71
+ export namespace labels_1 {
72
+ export namespace style_2 {
73
+ const color_5: string;
74
+ export { color_5 as color };
75
+ }
76
+ export { style_2 as style };
77
+ }
78
+ export { labels_1 as labels };
79
+ const tickColor_1: string;
80
+ export { tickColor_1 as tickColor };
81
+ export namespace stackLabels {
82
+ export namespace style_3 {
83
+ export const textOutline: string;
84
+ const color_6: string;
85
+ export { color_6 as color };
86
+ }
87
+ export { style_3 as style };
88
+ }
89
+ }
90
+ namespace plotOptions {
91
+ export namespace series {
92
+ export const borderColor: string;
93
+ export namespace label {
94
+ const enabled: boolean;
95
+ }
96
+ export namespace tooltip_1 {
97
+ const headerFormat: string;
98
+ const pointFormat: string;
99
+ }
100
+ export { tooltip_1 as tooltip };
101
+ export namespace dataLabels {
102
+ export namespace style_4 {
103
+ const textOutline_1: string;
104
+ export { textOutline_1 as textOutline };
105
+ const color_7: string;
106
+ export { color_7 as color };
107
+ }
108
+ export { style_4 as style };
109
+ }
110
+ export const turboThreshold: number;
111
+ }
112
+ export const area: {
113
+ boostThreshold: number;
114
+ trackByArea: boolean;
115
+ stickyTracking: boolean;
116
+ } & {
117
+ states: {
118
+ hover: {
119
+ lineWidthPlus: number;
120
+ };
121
+ };
122
+ dataGrouping: {
123
+ approximation: string;
124
+ };
125
+ marker: {
126
+ enabled: boolean;
127
+ radius: number;
128
+ states: {
129
+ hover: {
130
+ radiusPlus: number;
131
+ };
132
+ };
133
+ };
134
+ } & {
135
+ dataLabels: {
136
+ formatter: () => any;
137
+ };
138
+ } & {
139
+ states: {
140
+ hover: {
141
+ animation: {
142
+ duration: number;
143
+ easing: string;
144
+ };
145
+ lineWidth: number;
146
+ opacity: number;
147
+ };
148
+ inactive: {
149
+ opacity: number;
150
+ };
151
+ };
152
+ };
153
+ export { first as areaspline };
154
+ export const bar: {
155
+ borderWidth: number;
156
+ pointWidth: number;
157
+ } & {
158
+ states: {
159
+ hover: {
160
+ lineWidthPlus: number;
161
+ };
162
+ };
163
+ dataGrouping: {
164
+ approximation: string;
165
+ };
166
+ marker: {
167
+ enabled: boolean;
168
+ radius: number;
169
+ states: {
170
+ hover: {
171
+ radiusPlus: number;
172
+ };
173
+ };
174
+ };
175
+ } & {
176
+ dataLabels: {
177
+ formatter: () => any;
178
+ };
179
+ } & {
180
+ states: {
181
+ inactive: {
182
+ enabled: boolean;
183
+ };
184
+ };
185
+ };
186
+ export const column: {
187
+ states: {
188
+ hover: {
189
+ lineWidthPlus: number;
190
+ };
191
+ };
192
+ dataGrouping: {
193
+ approximation: string;
194
+ };
195
+ marker: {
196
+ enabled: boolean;
197
+ radius: number;
198
+ states: {
199
+ hover: {
200
+ radiusPlus: number;
201
+ };
202
+ };
203
+ };
204
+ } & {
205
+ dataLabels: {
206
+ formatter: () => any;
207
+ };
208
+ } & {
209
+ states: {
210
+ inactive: {
211
+ enabled: boolean;
212
+ };
213
+ };
214
+ };
215
+ export const line: {
216
+ states: {
217
+ hover: {
218
+ lineWidthPlus: number;
219
+ };
220
+ };
221
+ dataGrouping: {
222
+ approximation: string;
223
+ };
224
+ marker: {
225
+ enabled: boolean;
226
+ radius: number;
227
+ states: {
228
+ hover: {
229
+ radiusPlus: number;
230
+ };
231
+ };
232
+ };
233
+ } & {
234
+ dataLabels: {
235
+ formatter: () => any;
236
+ };
237
+ } & {
238
+ states: {
239
+ hover: {
240
+ animation: {
241
+ duration: number;
242
+ easing: string;
243
+ };
244
+ lineWidth: number;
245
+ opacity: number;
246
+ };
247
+ inactive: {
248
+ opacity: number;
249
+ };
250
+ };
251
+ };
252
+ export { first as spline };
253
+ export const arearange: {
254
+ tooltip: {
255
+ pointFormat: string;
256
+ };
257
+ } & {
258
+ states: {
259
+ hover: {
260
+ lineWidthPlus: number;
261
+ };
262
+ };
263
+ dataGrouping: {
264
+ approximation: string;
265
+ };
266
+ marker: {
267
+ enabled: boolean;
268
+ radius: number;
269
+ states: {
270
+ hover: {
271
+ radiusPlus: number;
272
+ };
273
+ };
274
+ };
275
+ };
276
+ export namespace scatter {
277
+ export namespace tooltip_2 {
278
+ const headerFormat_1: string;
279
+ export { headerFormat_1 as headerFormat };
280
+ const pointFormat_1: string;
281
+ export { pointFormat_1 as pointFormat };
282
+ }
283
+ export { tooltip_2 as tooltip };
284
+ }
285
+ export namespace bubble {
286
+ export namespace tooltip_3 {
287
+ const headerFormat_2: string;
288
+ export { headerFormat_2 as headerFormat };
289
+ const pointFormat_2: string;
290
+ export { pointFormat_2 as pointFormat };
291
+ }
292
+ export { tooltip_3 as tooltip };
293
+ }
294
+ export namespace sankey {
295
+ export namespace tooltip_4 {
296
+ const headerFormat_3: string;
297
+ export { headerFormat_3 as headerFormat };
298
+ const pointFormat_3: string;
299
+ export { pointFormat_3 as pointFormat };
300
+ }
301
+ export { tooltip_4 as tooltip };
302
+ }
303
+ export namespace heatmap {
304
+ export namespace tooltip_5 {
305
+ const headerFormat_4: string;
306
+ export { headerFormat_4 as headerFormat };
307
+ const pointFormat_4: string;
308
+ export { pointFormat_4 as pointFormat };
309
+ }
310
+ export { tooltip_5 as tooltip };
311
+ }
312
+ export namespace treemap {
313
+ export namespace tooltip_6 {
314
+ const headerFormat_5: null;
315
+ export { headerFormat_5 as headerFormat };
316
+ const pointFormat_5: string;
317
+ export { pointFormat_5 as pointFormat };
318
+ }
319
+ export { tooltip_6 as tooltip };
320
+ }
321
+ export namespace timeline {
322
+ export namespace tooltip_7 {
323
+ const headerFormat_6: string;
324
+ export { headerFormat_6 as headerFormat };
325
+ const pointFormat_6: string;
326
+ export { pointFormat_6 as pointFormat };
327
+ }
328
+ export { tooltip_7 as tooltip };
329
+ }
330
+ export const variwide: {};
331
+ export const waterfall: {};
332
+ export const pie: {
333
+ tooltip: {
334
+ headerFormat: null;
335
+ pointFormat: string;
336
+ };
337
+ dataLabels: {
338
+ formatter: () => any;
339
+ };
340
+ } & {
341
+ allowPointSelect: boolean;
342
+ slicedOffset: number;
343
+ cursor: string;
344
+ showInLegend: boolean;
345
+ } & {
346
+ states: {
347
+ inactive: {
348
+ enabled: boolean;
349
+ };
350
+ };
351
+ };
352
+ export namespace histogram {
353
+ export namespace tooltip_8 {
354
+ const headerFormat_7: null;
355
+ export { headerFormat_7 as headerFormat };
356
+ const pointFormat_7: string;
357
+ export { pointFormat_7 as pointFormat };
358
+ }
359
+ export { tooltip_8 as tooltip };
360
+ }
361
+ export const bellcurve: {};
362
+ export const streamgraph: {};
363
+ export namespace ohlc {
364
+ export namespace tooltip_9 {
365
+ const pointFormat_8: string;
366
+ export { pointFormat_8 as pointFormat };
367
+ }
368
+ export { tooltip_9 as tooltip };
369
+ }
370
+ export const ema: {};
371
+ export const sma: {};
372
+ export namespace wordcloud {
373
+ export namespace tooltip_10 {
374
+ const pointFormat_9: string;
375
+ export { pointFormat_9 as pointFormat };
376
+ }
377
+ export { tooltip_10 as tooltip };
378
+ }
379
+ export namespace xrange {
380
+ export namespace tooltip_11 {
381
+ const headerFormat_8: string;
382
+ export { headerFormat_8 as headerFormat };
383
+ const pointFormat_10: string;
384
+ export { pointFormat_10 as pointFormat };
385
+ }
386
+ export { tooltip_11 as tooltip };
387
+ }
388
+ export { second as solidgauge };
389
+ export { second as funnel };
390
+ export namespace boxplot {
391
+ export namespace tooltip_12 {
392
+ const pointFormat_11: string;
393
+ export { pointFormat_11 as pointFormat };
394
+ }
395
+ export { tooltip_12 as tooltip };
396
+ }
397
+ }
398
+ namespace exporting {
399
+ namespace buttons {
400
+ namespace contextButton {
401
+ const enabled_1: boolean;
402
+ export { enabled_1 as enabled };
403
+ }
404
+ }
405
+ }
406
+ namespace rangeSelector {
407
+ const enabled_2: boolean;
408
+ export { enabled_2 as enabled };
409
+ export const inputEnabled: boolean;
410
+ }
411
+ namespace scrollbar {
412
+ const enabled_3: boolean;
413
+ export { enabled_3 as enabled };
414
+ export const barBackgroundColor: string;
415
+ export const barBorderColor: string;
416
+ export const buttonArrowColor: string;
417
+ export const buttonBorderColor: string;
418
+ export const buttonBackgroundColor: string;
419
+ export const trackBackgroundColor: string;
420
+ export const trackBorderColor: string;
421
+ }
422
+ namespace navigator {
423
+ export const height: number;
424
+ export const outlineColor: string;
425
+ export namespace xAxis_1 {
426
+ const gridLineColor_2: string;
427
+ export { gridLineColor_2 as gridLineColor };
428
+ }
429
+ export { xAxis_1 as xAxis };
430
+ export namespace handles {
431
+ const backgroundColor_1: string;
432
+ export { backgroundColor_1 as backgroundColor };
433
+ const borderColor_1: string;
434
+ export { borderColor_1 as borderColor };
435
+ }
436
+ }
437
+ }
438
+ declare namespace first {
439
+ namespace states {
440
+ namespace hover {
441
+ const lineWidthPlus: number;
442
+ }
443
+ }
444
+ namespace dataGrouping {
445
+ const approximation: string;
446
+ }
447
+ namespace marker {
448
+ const enabled_4: boolean;
449
+ export { enabled_4 as enabled };
450
+ export const radius: number;
451
+ export namespace states_1 {
452
+ export namespace hover_1 {
453
+ const radiusPlus: number;
454
+ }
455
+ export { hover_1 as hover };
456
+ }
457
+ export { states_1 as states };
458
+ }
459
+ }
460
+ declare namespace second_1 {
461
+ const allowPointSelect: boolean;
462
+ const slicedOffset: number;
463
+ const cursor: string;
464
+ const showInLegend: boolean;
465
+ }