@carbon/charts 1.9.0-rc.5 → 1.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 (256) hide show
  1. package/CHANGELOG.md +31 -0
  2. package/LICENSE.md +201 -0
  3. package/README.md +9 -19
  4. package/dist/_baseEach-603421de.mjs.map +1 -1
  5. package/dist/_baseEach-cdac417f.js.map +1 -1
  6. package/dist/angle-utils-6f166b40.js.map +1 -1
  7. package/dist/angle-utils-8b6ce998.mjs.map +1 -1
  8. package/dist/axis-chart.d.ts +13 -13
  9. package/dist/chart.d.ts +18 -18
  10. package/dist/charts/alluvial.d.ts +10 -10
  11. package/dist/charts/area-stacked.d.ts +8 -8
  12. package/dist/charts/area.d.ts +8 -8
  13. package/dist/charts/bar-grouped.d.ts +8 -8
  14. package/dist/charts/bar-simple.d.ts +8 -8
  15. package/dist/charts/bar-stacked.d.ts +8 -8
  16. package/dist/charts/boxplot.d.ts +10 -10
  17. package/dist/charts/bubble.d.ts +8 -8
  18. package/dist/charts/bullet.d.ts +10 -10
  19. package/dist/charts/choropleth.d.ts +14 -14
  20. package/dist/charts/circle-pack.d.ts +10 -10
  21. package/dist/charts/combo.d.ts +9 -9
  22. package/dist/charts/donut.d.ts +8 -8
  23. package/dist/charts/gauge.d.ts +10 -10
  24. package/dist/charts/heatmap.d.ts +14 -14
  25. package/dist/charts/histogram.d.ts +10 -10
  26. package/dist/charts/index.d.ts +27 -27
  27. package/dist/charts/line.d.ts +8 -8
  28. package/dist/charts/lollipop.d.ts +8 -8
  29. package/dist/charts/meter.d.ts +10 -10
  30. package/dist/charts/pie.d.ts +10 -10
  31. package/dist/charts/radar.d.ts +10 -10
  32. package/dist/charts/scatter.d.ts +8 -8
  33. package/dist/charts/tree.d.ts +10 -10
  34. package/dist/charts/treemap.d.ts +10 -10
  35. package/dist/charts/wordcloud.d.ts +10 -10
  36. package/dist/choropleth-4ac6ac20.js.map +1 -1
  37. package/dist/choropleth-f473ea0d.mjs.map +1 -1
  38. package/dist/color-scale-utils-5eb3eeaa.mjs.map +1 -1
  39. package/dist/color-scale-utils-7d463811.js.map +1 -1
  40. package/dist/components/axes/axis.d.ts +24 -24
  41. package/dist/components/axes/chart-clip.d.ts +13 -13
  42. package/dist/components/axes/grid-brush.d.ts +10 -10
  43. package/dist/components/axes/grid.d.ts +22 -22
  44. package/dist/components/axes/hover-axis.d.ts +10 -10
  45. package/dist/components/axes/index.d.ts +12 -12
  46. package/dist/components/axes/ruler-binned.d.ts +10 -7
  47. package/dist/components/axes/ruler-stacked.d.ts +4 -4
  48. package/dist/components/axes/ruler.d.ts +30 -27
  49. package/dist/components/axes/toolbar.d.ts +40 -40
  50. package/dist/components/axes/two-dimensional-axes.d.ts +16 -16
  51. package/dist/components/axes/zero-line.d.ts +7 -7
  52. package/dist/components/axes/zoom-bar.d.ts +31 -28
  53. package/dist/components/component.d.ts +30 -30
  54. package/dist/components/diagrams/buildPaths.d.ts +40 -40
  55. package/dist/components/diagrams/index.d.ts +2 -2
  56. package/dist/components/diagrams/markerDefinitions.d.ts +37 -37
  57. package/dist/components/essentials/canvas-chart-clip.d.ts +6 -6
  58. package/dist/components/essentials/color-scale-legend.d.ts +20 -20
  59. package/dist/components/essentials/geo-projection.d.ts +16 -16
  60. package/dist/components/essentials/highlights.d.ts +13 -13
  61. package/dist/components/essentials/index.d.ts +11 -11
  62. package/dist/components/essentials/legend.d.ts +11 -11
  63. package/dist/components/essentials/modal.d.ts +14 -14
  64. package/dist/components/essentials/threshold.d.ts +20 -20
  65. package/dist/components/essentials/title-meter.d.ts +30 -30
  66. package/dist/components/essentials/title.d.ts +20 -20
  67. package/dist/components/essentials/tooltip-axis.d.ts +4 -4
  68. package/dist/components/essentials/tooltip.d.ts +22 -22
  69. package/dist/components/graphs/alluvial.d.ts +14 -14
  70. package/dist/components/graphs/area-stacked.d.ts +11 -11
  71. package/dist/components/graphs/area.d.ts +12 -12
  72. package/dist/components/graphs/bar-grouped.d.ts +22 -22
  73. package/dist/components/graphs/bar-simple.d.ts +12 -12
  74. package/dist/components/graphs/bar-stacked.d.ts +13 -13
  75. package/dist/components/graphs/bar.d.ts +5 -5
  76. package/dist/components/graphs/boxplot.d.ts +9 -9
  77. package/dist/components/graphs/bubble.d.ts +13 -13
  78. package/dist/components/graphs/bullet.d.ts +12 -12
  79. package/dist/components/graphs/choropleth.d.ts +6 -6
  80. package/dist/components/graphs/circle-pack.d.ts +19 -19
  81. package/dist/components/graphs/donut.d.ts +9 -9
  82. package/dist/components/graphs/gauge.d.ts +27 -27
  83. package/dist/components/graphs/heatmap.d.ts +25 -25
  84. package/dist/components/graphs/histogram.d.ts +12 -12
  85. package/dist/components/graphs/index.d.ts +28 -28
  86. package/dist/components/graphs/line.d.ts +11 -11
  87. package/dist/components/graphs/lollipop.d.ts +14 -14
  88. package/dist/components/graphs/meter.d.ts +10 -10
  89. package/dist/components/graphs/pie.d.ts +16 -16
  90. package/dist/components/graphs/radar.d.ts +25 -25
  91. package/dist/components/graphs/scatter-stacked.d.ts +8 -8
  92. package/dist/components/graphs/scatter.d.ts +21 -21
  93. package/dist/components/graphs/skeleton-lines.d.ts +12 -12
  94. package/dist/components/graphs/skeleton.d.ts +23 -23
  95. package/dist/components/graphs/tree.d.ts +9 -9
  96. package/dist/components/graphs/treemap.d.ts +11 -11
  97. package/dist/components/graphs/wordcloud.d.ts +12 -12
  98. package/dist/components/index.d.ts +6 -6
  99. package/dist/components/layout/index.d.ts +2 -2
  100. package/dist/components/layout/layout.d.ts +18 -18
  101. package/dist/components/layout/spacer.d.ts +5 -5
  102. package/dist/configuration-non-customizable.d.ts +263 -263
  103. package/dist/configuration.d.ts +48 -48
  104. package/dist/demo/charts/alluvial.d.ts +109 -109
  105. package/dist/demo/charts/area.d.ts +224 -224
  106. package/dist/demo/charts/bar.d.ts +681 -681
  107. package/dist/demo/charts/boxplot.d.ts +34 -34
  108. package/dist/demo/charts/bubble.d.ts +141 -141
  109. package/dist/demo/charts/bullet.d.ts +24 -24
  110. package/dist/demo/charts/chart-types.d.ts +128 -128
  111. package/dist/demo/charts/choropleth.d.ts +738 -738
  112. package/dist/demo/charts/circle-pack.d.ts +91 -91
  113. package/dist/demo/charts/combo.d.ts +482 -482
  114. package/dist/demo/charts/donut.d.ts +64 -64
  115. package/dist/demo/charts/gauge.d.ts +40 -40
  116. package/dist/demo/charts/heatmap.d.ts +125 -125
  117. package/dist/demo/charts/hightlight.d.ts +40 -40
  118. package/dist/demo/charts/histogram.d.ts +63 -63
  119. package/dist/demo/charts/index.d.ts +55 -62
  120. package/dist/demo/charts/line.d.ts +361 -361
  121. package/dist/demo/charts/lollipop.d.ts +39 -39
  122. package/dist/demo/charts/meter.d.ts +95 -95
  123. package/dist/demo/charts/pie.d.ts +46 -46
  124. package/dist/demo/charts/radar.d.ts +63 -63
  125. package/dist/demo/charts/scatter.d.ts +118 -118
  126. package/dist/demo/charts/step.d.ts +96 -96
  127. package/dist/demo/charts/time-series-axis.d.ts +293 -293
  128. package/dist/demo/charts/toolbar.d.ts +12 -12
  129. package/dist/demo/charts/topojson-110.d.ts +360 -360
  130. package/dist/demo/charts/tree.d.ts +30 -30
  131. package/dist/demo/charts/treemap.d.ts +15 -15
  132. package/dist/demo/charts/wordcloud.d.ts +14 -14
  133. package/dist/demo/charts/zoom-bar.d.ts +79 -79
  134. package/dist/demo/index.d.ts +4 -4
  135. package/dist/demo/index.js +153 -166
  136. package/dist/demo/index.js.map +1 -1
  137. package/dist/demo/index.mjs +1645 -1834
  138. package/dist/demo/index.mjs.map +1 -1
  139. package/dist/demo/styles.css +567 -262
  140. package/dist/demo/styles.css.map +1 -1
  141. package/dist/demo/utils/index.d.ts +2 -2
  142. package/dist/demo/utils/sandbox.d.ts +38 -39
  143. package/dist/demo/utils/story-widgets.d.ts +7 -7
  144. package/dist/index-a266373c.mjs.map +1 -1
  145. package/dist/index-becfb567.mjs.map +1 -1
  146. package/dist/index-d865d500.js.map +1 -1
  147. package/dist/index-f23685eb.js.map +1 -1
  148. package/dist/index.d.ts +13 -11
  149. package/dist/index.js.map +1 -1
  150. package/dist/index.mjs.map +1 -1
  151. package/dist/interfaces/a11y.d.ts +12 -12
  152. package/dist/interfaces/axis-scales.d.ts +201 -201
  153. package/dist/interfaces/charts.d.ts +520 -517
  154. package/dist/interfaces/components.d.ts +231 -231
  155. package/dist/interfaces/enums.d.ts +261 -261
  156. package/dist/interfaces/events.d.ts +239 -239
  157. package/dist/interfaces/index.d.ts +12 -11
  158. package/dist/interfaces/layout.d.ts +21 -21
  159. package/dist/interfaces/model.d.ts +35 -35
  160. package/dist/interfaces/services.d.ts +20 -20
  161. package/dist/interfaces/truncation.d.ts +17 -17
  162. package/dist/model/alluvial.d.ts +8 -8
  163. package/dist/model/binned-charts.d.ts +7 -7
  164. package/dist/model/boxplot.d.ts +14 -14
  165. package/dist/model/bullet.d.ts +14 -14
  166. package/dist/model/cartesian-charts.d.ts +24 -24
  167. package/dist/model/choropleth.d.ts +29 -29
  168. package/dist/model/circle-pack.d.ts +36 -36
  169. package/dist/model/gauge.d.ts +9 -9
  170. package/dist/model/heatmap.d.ts +57 -57
  171. package/dist/model/index.d.ts +16 -16
  172. package/dist/model/index.js.map +1 -1
  173. package/dist/model/index.mjs.map +1 -1
  174. package/dist/model/meter.d.ts +20 -20
  175. package/dist/model/model.d.ts +110 -110
  176. package/dist/model/pie.d.ts +9 -9
  177. package/dist/model/radar.d.ts +7 -7
  178. package/dist/model/tree.d.ts +14 -14
  179. package/dist/model/treemap.d.ts +8 -8
  180. package/dist/model/wordcloud.d.ts +7 -7
  181. package/dist/services/angle-utils.d.ts +15 -15
  182. package/dist/services/canvas-zoom.d.ts +11 -11
  183. package/dist/services/color-scale-utils.d.ts +2 -2
  184. package/dist/services/curves.d.ts +24 -24
  185. package/dist/services/essentials/dom-utils.d.ts +45 -45
  186. package/dist/services/essentials/events.d.ts +8 -8
  187. package/dist/services/essentials/files.d.ts +7 -7
  188. package/dist/services/essentials/gradient-utils.d.ts +6 -6
  189. package/dist/services/essentials/index.d.ts +5 -5
  190. package/dist/services/essentials/transitions.d.ts +13 -13
  191. package/dist/services/index.d.ts +9 -9
  192. package/dist/services/scales-cartesian.d.ts +89 -89
  193. package/dist/services/service.d.ts +11 -11
  194. package/dist/services/time-series.d.ts +13 -13
  195. package/dist/services/zoom.d.ts +21 -21
  196. package/dist/styles.css +0 -21919
  197. package/dist/styles.css.map +1 -1
  198. package/dist/styles.min.css +1 -1
  199. package/dist/styles.min.css.map +1 -1
  200. package/dist/tools.d.ts +150 -144
  201. package/package.json +48 -33
  202. package/{dist/styles/colors.scss → scss/_colors.scss} +1 -1
  203. package/{dist/styles/tokens.scss → scss/_tokens.scss} +6 -15
  204. package/scss/demos.scss +427 -0
  205. package/scss/index.scss +31 -0
  206. package/dist/styles/styles.scss +0 -40
  207. /package/{dist/styles → scss}/_chart-holder.scss +0 -0
  208. /package/{dist/styles/color-palatte.scss → scss/_color-palette.scss} +0 -0
  209. /package/{dist/styles → scss}/_type.scss +0 -0
  210. /package/{dist/styles → scss}/components/_axis.scss +0 -0
  211. /package/{dist/styles → scss}/components/_callouts.scss +0 -0
  212. /package/{dist/styles → scss}/components/_color-legend.scss +0 -0
  213. /package/{dist/styles → scss}/components/_edge.scss +0 -0
  214. /package/{dist/styles → scss}/components/_grid-brush.scss +0 -0
  215. /package/{dist/styles → scss}/components/_grid.scss +0 -0
  216. /package/{dist/styles → scss}/components/_highlights.scss +0 -0
  217. /package/{dist/styles → scss}/components/_layout.scss +0 -0
  218. /package/{dist/styles → scss}/components/_legend.scss +0 -0
  219. /package/{dist/styles → scss}/components/_marker.scss +0 -0
  220. /package/{dist/styles → scss}/components/_meter-title.scss +0 -0
  221. /package/{dist/styles → scss}/components/_modal.scss +0 -0
  222. /package/{dist/styles → scss}/components/_ruler.scss +0 -0
  223. /package/{dist/styles → scss}/components/_skeleton-lines.scss +0 -0
  224. /package/{dist/styles → scss}/components/_skeleton.scss +0 -0
  225. /package/{dist/styles → scss}/components/_threshold.scss +0 -0
  226. /package/{dist/styles → scss}/components/_title.scss +0 -0
  227. /package/{dist/styles → scss}/components/_toolbar.scss +0 -0
  228. /package/{dist/styles → scss}/components/_tooltip.scss +0 -0
  229. /package/{dist/styles → scss}/components/_zero-line.scss +0 -0
  230. /package/{dist/styles → scss}/components/_zoom-bar.scss +0 -0
  231. /package/{dist/styles → scss}/components/diagrams/_card-node.scss +0 -0
  232. /package/{dist/styles → scss}/components/diagrams/_edge.scss +0 -0
  233. /package/{dist/styles → scss}/components/diagrams/_marker.scss +0 -0
  234. /package/{dist/styles → scss}/components/diagrams/_shape-node.scss +0 -0
  235. /package/{dist/styles → scss}/components/diagrams/index.scss +0 -0
  236. /package/{dist/styles → scss}/components/index.scss +0 -0
  237. /package/{dist/styles → scss}/graphs/_alluvial.scss +0 -0
  238. /package/{dist/styles → scss}/graphs/_area.scss +0 -0
  239. /package/{dist/styles → scss}/graphs/_bubble.scss +0 -0
  240. /package/{dist/styles → scss}/graphs/_bullet.scss +0 -0
  241. /package/{dist/styles → scss}/graphs/_choropleth.scss +0 -0
  242. /package/{dist/styles → scss}/graphs/_circle-pack.scss +0 -0
  243. /package/{dist/styles → scss}/graphs/_donut.scss +0 -0
  244. /package/{dist/styles → scss}/graphs/_gauge.scss +0 -0
  245. /package/{dist/styles → scss}/graphs/_heatmap.scss +0 -0
  246. /package/{dist/styles → scss}/graphs/_line.scss +0 -0
  247. /package/{dist/styles → scss}/graphs/_lollipop.scss +0 -0
  248. /package/{dist/styles → scss}/graphs/_meter.scss +0 -0
  249. /package/{dist/styles → scss}/graphs/_pie.scss +0 -0
  250. /package/{dist/styles → scss}/graphs/_radar.scss +0 -0
  251. /package/{dist/styles → scss}/graphs/_scatter-stacked.scss +0 -0
  252. /package/{dist/styles → scss}/graphs/_scatter.scss +0 -0
  253. /package/{dist/styles → scss}/graphs/_tree.scss +0 -0
  254. /package/{dist/styles → scss}/graphs/_treemap.scss +0 -0
  255. /package/{dist/styles → scss}/graphs/_wordcloud.scss +0 -0
  256. /package/{dist/styles → scss}/graphs/index.scss +0 -0
@@ -1,361 +1,361 @@
1
- export declare const lineData: ({
2
- group: string;
3
- key: string;
4
- value: number;
5
- audienceSize?: undefined;
6
- } | {
7
- group: string;
8
- key: string;
9
- value: number;
10
- audienceSize: number;
11
- })[];
12
- export declare const lineOptions: {
13
- title: string;
14
- axes: {
15
- bottom: {
16
- title: string;
17
- mapsTo: string;
18
- scaleType: string;
19
- };
20
- left: {
21
- mapsTo: string;
22
- title: string;
23
- scaleType: string;
24
- };
25
- };
26
- };
27
- export declare const sparklineLoadingOptions: {
28
- title: string;
29
- axes: {
30
- bottom: {
31
- visible: boolean;
32
- title: string;
33
- mapsTo: string;
34
- scaleType: string;
35
- };
36
- left: {
37
- visible: boolean;
38
- mapsTo: string;
39
- title: string;
40
- scaleType: string;
41
- };
42
- };
43
- grid: {
44
- x: {
45
- enabled: boolean;
46
- };
47
- y: {
48
- enabled: boolean;
49
- };
50
- };
51
- legend: {
52
- enabled: boolean;
53
- };
54
- tooltip: {
55
- enabled: boolean;
56
- };
57
- points: {
58
- enabled: boolean;
59
- };
60
- data: {
61
- loading: boolean;
62
- };
63
- };
64
- export declare const lineLongLabelData: ({
65
- group: string;
66
- key: string;
67
- value: number;
68
- audienceSize?: undefined;
69
- } | {
70
- group: string;
71
- key: string;
72
- value: number;
73
- audienceSize: number;
74
- })[];
75
- export declare const lineLongLabelOptions: {
76
- title: string;
77
- axes: {
78
- bottom: {
79
- title: string;
80
- mapsTo: string;
81
- scaleType: string;
82
- };
83
- left: {
84
- mapsTo: string;
85
- title: string;
86
- scaleType: string;
87
- };
88
- };
89
- };
90
- export declare const lineCustomDomainOptions: {
91
- title: string;
92
- axes: {
93
- bottom: {
94
- title: string;
95
- mapsTo: string;
96
- scaleType: string;
97
- domain: string[];
98
- };
99
- left: {
100
- domain: number[];
101
- mapsTo: string;
102
- title: string;
103
- scaleType: string;
104
- };
105
- };
106
- };
107
- export declare const lineSelectedGroupsData: ({
108
- group: string;
109
- key: string;
110
- value: number;
111
- audienceSize?: undefined;
112
- } | {
113
- group: string;
114
- key: string;
115
- value: number;
116
- audienceSize: number;
117
- })[];
118
- export declare const lineSelectedGroupsOptions: {
119
- title: string;
120
- data: {
121
- selectedGroups: string[];
122
- };
123
- axes: {
124
- bottom: {
125
- title: string;
126
- mapsTo: string;
127
- scaleType: string;
128
- };
129
- left: {
130
- mapsTo: string;
131
- title: string;
132
- scaleType: string;
133
- };
134
- };
135
- };
136
- export declare const lineCustomColorOptions: {
137
- title: string;
138
- axes: {
139
- bottom: {
140
- title: string;
141
- mapsTo: string;
142
- scaleType: string;
143
- };
144
- left: {
145
- mapsTo: string;
146
- title: string;
147
- scaleType: string;
148
- };
149
- };
150
- color: {
151
- scale: {
152
- 'Dataset 1': string;
153
- 'Dataset 2': string;
154
- 'Dataset 3': string;
155
- 'Dataset 4': string;
156
- };
157
- };
158
- };
159
- export declare const lineTimeSeriesData: {
160
- group: string;
161
- date: Date;
162
- value: number;
163
- }[];
164
- export declare const lineTimeSeriesOptions: {
165
- title: string;
166
- axes: {
167
- bottom: {
168
- title: string;
169
- mapsTo: string;
170
- scaleType: string;
171
- };
172
- left: {
173
- mapsTo: string;
174
- title: string;
175
- scaleType: string;
176
- };
177
- };
178
- curve: string;
179
- };
180
- export declare const lineTimeSeriesWithThresholdsOptions: {
181
- title: string;
182
- axes: {
183
- bottom: {
184
- title: string;
185
- mapsTo: string;
186
- scaleType: string;
187
- thresholds: {
188
- value: Date;
189
- label: string;
190
- valueFormatter: (date: Date) => string;
191
- }[];
192
- };
193
- left: {
194
- mapsTo: string;
195
- title: string;
196
- scaleType: string;
197
- thresholds: ({
198
- value: number;
199
- label: string;
200
- fillColor: string;
201
- } | {
202
- value: number;
203
- fillColor: string;
204
- label?: undefined;
205
- })[];
206
- };
207
- };
208
- curve: string;
209
- };
210
- export declare const lineTimeSeriesDenseData: {
211
- group: string;
212
- date: Date;
213
- value: number;
214
- }[];
215
- export declare const lineTimeSeriesDenseOptions: {
216
- title: string;
217
- axes: {
218
- bottom: {
219
- title: string;
220
- mapsTo: string;
221
- scaleType: string;
222
- };
223
- left: {
224
- mapsTo: string;
225
- title: string;
226
- scaleType: string;
227
- };
228
- };
229
- curve: string;
230
- };
231
- export declare const lineTimeSeriesDataRotatedTicks: {
232
- group: string;
233
- date: Date;
234
- value: number;
235
- }[];
236
- export declare const lineTimeSeriesRotatedTicksOptions: {
237
- title: string;
238
- width: string;
239
- axes: {
240
- bottom: {
241
- scaleType: string;
242
- mapsTo: string;
243
- ticks: {
244
- rotation: string;
245
- };
246
- };
247
- left: {
248
- mapsTo: string;
249
- };
250
- };
251
- legend: {
252
- clickable: boolean;
253
- };
254
- };
255
- export declare const lineLogAxisData: {
256
- group: string;
257
- date: Date;
258
- value: number;
259
- }[];
260
- export declare const lineLogAxisOptions: {
261
- title: string;
262
- width: string;
263
- axes: {
264
- bottom: {
265
- scaleType: string;
266
- mapsTo: string;
267
- };
268
- left: {
269
- mapsTo: string;
270
- scaleType: string;
271
- includeZero: boolean;
272
- };
273
- };
274
- };
275
- export declare const lineEmptyStateData: any[];
276
- export declare const lineEmptyStateOptions: {
277
- title: string;
278
- axes: {
279
- bottom: {
280
- title: string;
281
- mapsTo: string;
282
- scaleType: string;
283
- };
284
- left: {
285
- mapsTo: string;
286
- title: string;
287
- scaleType: string;
288
- };
289
- };
290
- curve: string;
291
- };
292
- export declare const lineSkeletonData: any[];
293
- export declare const lineSkeletonOptions: {
294
- title: string;
295
- axes: {
296
- bottom: {
297
- title: string;
298
- mapsTo: string;
299
- scaleType: string;
300
- };
301
- left: {
302
- mapsTo: string;
303
- title: string;
304
- scaleType: string;
305
- };
306
- };
307
- curve: string;
308
- data: {
309
- loading: boolean;
310
- };
311
- };
312
- export declare const lineTimeSeriesDualAxesData: ({
313
- group: string;
314
- date: Date;
315
- temp: number;
316
- rainfall?: undefined;
317
- } | {
318
- group: string;
319
- date: Date;
320
- rainfall: number;
321
- temp?: undefined;
322
- })[];
323
- export declare const dualLine: {
324
- title: string;
325
- axes: {
326
- left: {
327
- title: string;
328
- mapsTo: string;
329
- };
330
- bottom: {
331
- scaleType: string;
332
- mapsTo: string;
333
- title: string;
334
- };
335
- right: {
336
- title: string;
337
- mapsTo: string;
338
- correspondingDatasets: string[];
339
- };
340
- };
341
- curve: string;
342
- };
343
- export declare const lineOptionsLegendOrientation: {
344
- title: string;
345
- axes: {
346
- bottom: {
347
- title: string;
348
- mapsTo: string;
349
- scaleType: string;
350
- };
351
- left: {
352
- mapsTo: string;
353
- title: string;
354
- scaleType: string;
355
- };
356
- };
357
- legend: {
358
- position: string;
359
- orientation: string;
360
- };
361
- };
1
+ export declare const lineData: ({
2
+ group: string;
3
+ key: string;
4
+ value: number;
5
+ audienceSize?: undefined;
6
+ } | {
7
+ group: string;
8
+ key: string;
9
+ value: number;
10
+ audienceSize: number;
11
+ })[];
12
+ export declare const lineOptions: {
13
+ title: string;
14
+ axes: {
15
+ bottom: {
16
+ title: string;
17
+ mapsTo: string;
18
+ scaleType: string;
19
+ };
20
+ left: {
21
+ mapsTo: string;
22
+ title: string;
23
+ scaleType: string;
24
+ };
25
+ };
26
+ };
27
+ export declare const sparklineLoadingOptions: {
28
+ title: string;
29
+ axes: {
30
+ bottom: {
31
+ visible: boolean;
32
+ title: string;
33
+ mapsTo: string;
34
+ scaleType: string;
35
+ };
36
+ left: {
37
+ visible: boolean;
38
+ mapsTo: string;
39
+ title: string;
40
+ scaleType: string;
41
+ };
42
+ };
43
+ grid: {
44
+ x: {
45
+ enabled: boolean;
46
+ };
47
+ y: {
48
+ enabled: boolean;
49
+ };
50
+ };
51
+ legend: {
52
+ enabled: boolean;
53
+ };
54
+ tooltip: {
55
+ enabled: boolean;
56
+ };
57
+ points: {
58
+ enabled: boolean;
59
+ };
60
+ data: {
61
+ loading: boolean;
62
+ };
63
+ };
64
+ export declare const lineLongLabelData: ({
65
+ group: string;
66
+ key: string;
67
+ value: number;
68
+ audienceSize?: undefined;
69
+ } | {
70
+ group: string;
71
+ key: string;
72
+ value: number;
73
+ audienceSize: number;
74
+ })[];
75
+ export declare const lineLongLabelOptions: {
76
+ title: string;
77
+ axes: {
78
+ bottom: {
79
+ title: string;
80
+ mapsTo: string;
81
+ scaleType: string;
82
+ };
83
+ left: {
84
+ mapsTo: string;
85
+ title: string;
86
+ scaleType: string;
87
+ };
88
+ };
89
+ };
90
+ export declare const lineCustomDomainOptions: {
91
+ title: string;
92
+ axes: {
93
+ bottom: {
94
+ title: string;
95
+ mapsTo: string;
96
+ scaleType: string;
97
+ domain: string[];
98
+ };
99
+ left: {
100
+ domain: number[];
101
+ mapsTo: string;
102
+ title: string;
103
+ scaleType: string;
104
+ };
105
+ };
106
+ };
107
+ export declare const lineSelectedGroupsData: ({
108
+ group: string;
109
+ key: string;
110
+ value: number;
111
+ audienceSize?: undefined;
112
+ } | {
113
+ group: string;
114
+ key: string;
115
+ value: number;
116
+ audienceSize: number;
117
+ })[];
118
+ export declare const lineSelectedGroupsOptions: {
119
+ title: string;
120
+ data: {
121
+ selectedGroups: string[];
122
+ };
123
+ axes: {
124
+ bottom: {
125
+ title: string;
126
+ mapsTo: string;
127
+ scaleType: string;
128
+ };
129
+ left: {
130
+ mapsTo: string;
131
+ title: string;
132
+ scaleType: string;
133
+ };
134
+ };
135
+ };
136
+ export declare const lineCustomColorOptions: {
137
+ title: string;
138
+ axes: {
139
+ bottom: {
140
+ title: string;
141
+ mapsTo: string;
142
+ scaleType: string;
143
+ };
144
+ left: {
145
+ mapsTo: string;
146
+ title: string;
147
+ scaleType: string;
148
+ };
149
+ };
150
+ color: {
151
+ scale: {
152
+ 'Dataset 1': string;
153
+ 'Dataset 2': string;
154
+ 'Dataset 3': string;
155
+ 'Dataset 4': string;
156
+ };
157
+ };
158
+ };
159
+ export declare const lineTimeSeriesData: {
160
+ group: string;
161
+ date: Date;
162
+ value: number;
163
+ }[];
164
+ export declare const lineTimeSeriesOptions: {
165
+ title: string;
166
+ axes: {
167
+ bottom: {
168
+ title: string;
169
+ mapsTo: string;
170
+ scaleType: string;
171
+ };
172
+ left: {
173
+ mapsTo: string;
174
+ title: string;
175
+ scaleType: string;
176
+ };
177
+ };
178
+ curve: string;
179
+ };
180
+ export declare const lineTimeSeriesWithThresholdsOptions: {
181
+ title: string;
182
+ axes: {
183
+ bottom: {
184
+ title: string;
185
+ mapsTo: string;
186
+ scaleType: string;
187
+ thresholds: {
188
+ value: Date;
189
+ label: string;
190
+ valueFormatter: (date: Date) => string;
191
+ }[];
192
+ };
193
+ left: {
194
+ mapsTo: string;
195
+ title: string;
196
+ scaleType: string;
197
+ thresholds: ({
198
+ value: number;
199
+ label: string;
200
+ fillColor: string;
201
+ } | {
202
+ value: number;
203
+ fillColor: string;
204
+ label?: undefined;
205
+ })[];
206
+ };
207
+ };
208
+ curve: string;
209
+ };
210
+ export declare const lineTimeSeriesDenseData: {
211
+ group: string;
212
+ date: Date;
213
+ value: number;
214
+ }[];
215
+ export declare const lineTimeSeriesDenseOptions: {
216
+ title: string;
217
+ axes: {
218
+ bottom: {
219
+ title: string;
220
+ mapsTo: string;
221
+ scaleType: string;
222
+ };
223
+ left: {
224
+ mapsTo: string;
225
+ title: string;
226
+ scaleType: string;
227
+ };
228
+ };
229
+ curve: string;
230
+ };
231
+ export declare const lineTimeSeriesDataRotatedTicks: {
232
+ group: string;
233
+ date: Date;
234
+ value: number;
235
+ }[];
236
+ export declare const lineTimeSeriesRotatedTicksOptions: {
237
+ title: string;
238
+ width: string;
239
+ axes: {
240
+ bottom: {
241
+ scaleType: string;
242
+ mapsTo: string;
243
+ ticks: {
244
+ rotation: string;
245
+ };
246
+ };
247
+ left: {
248
+ mapsTo: string;
249
+ };
250
+ };
251
+ legend: {
252
+ clickable: boolean;
253
+ };
254
+ };
255
+ export declare const lineLogAxisData: {
256
+ group: string;
257
+ date: Date;
258
+ value: number;
259
+ }[];
260
+ export declare const lineLogAxisOptions: {
261
+ title: string;
262
+ width: string;
263
+ axes: {
264
+ bottom: {
265
+ scaleType: string;
266
+ mapsTo: string;
267
+ };
268
+ left: {
269
+ mapsTo: string;
270
+ scaleType: string;
271
+ includeZero: boolean;
272
+ };
273
+ };
274
+ };
275
+ export declare const lineEmptyStateData: any[];
276
+ export declare const lineEmptyStateOptions: {
277
+ title: string;
278
+ axes: {
279
+ bottom: {
280
+ title: string;
281
+ mapsTo: string;
282
+ scaleType: string;
283
+ };
284
+ left: {
285
+ mapsTo: string;
286
+ title: string;
287
+ scaleType: string;
288
+ };
289
+ };
290
+ curve: string;
291
+ };
292
+ export declare const lineSkeletonData: any[];
293
+ export declare const lineSkeletonOptions: {
294
+ title: string;
295
+ axes: {
296
+ bottom: {
297
+ title: string;
298
+ mapsTo: string;
299
+ scaleType: string;
300
+ };
301
+ left: {
302
+ mapsTo: string;
303
+ title: string;
304
+ scaleType: string;
305
+ };
306
+ };
307
+ curve: string;
308
+ data: {
309
+ loading: boolean;
310
+ };
311
+ };
312
+ export declare const lineTimeSeriesDualAxesData: ({
313
+ group: string;
314
+ date: Date;
315
+ temp: number;
316
+ rainfall?: undefined;
317
+ } | {
318
+ group: string;
319
+ date: Date;
320
+ rainfall: number;
321
+ temp?: undefined;
322
+ })[];
323
+ export declare const dualLine: {
324
+ title: string;
325
+ axes: {
326
+ left: {
327
+ title: string;
328
+ mapsTo: string;
329
+ };
330
+ bottom: {
331
+ scaleType: string;
332
+ mapsTo: string;
333
+ title: string;
334
+ };
335
+ right: {
336
+ title: string;
337
+ mapsTo: string;
338
+ correspondingDatasets: string[];
339
+ };
340
+ };
341
+ curve: string;
342
+ };
343
+ export declare const lineOptionsLegendOrientation: {
344
+ title: string;
345
+ axes: {
346
+ bottom: {
347
+ title: string;
348
+ mapsTo: string;
349
+ scaleType: string;
350
+ };
351
+ left: {
352
+ mapsTo: string;
353
+ title: string;
354
+ scaleType: string;
355
+ };
356
+ };
357
+ legend: {
358
+ position: string;
359
+ orientation: string;
360
+ };
361
+ };