@carbon/charts 1.13.27 → 1.13.29

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.
@@ -1,3 +1,4 @@
1
+ import { ScaleTypes } from '../../interfaces';
1
2
  export declare const comboSimpleData: ({
2
3
  group: string;
3
4
  date: string;
@@ -14,19 +15,19 @@ export declare const comboSimpleOptions: {
14
15
  axes: {
15
16
  left: {
16
17
  mapsTo: string;
17
- scaleType: string;
18
+ scaleType: ScaleTypes;
18
19
  title: string;
19
20
  };
20
21
  right: {
21
22
  mapsTo: string;
22
- scaleType: string;
23
+ scaleType: ScaleTypes;
23
24
  title: string;
24
25
  correspondingDatasets: string[];
25
26
  };
26
27
  bottom: {
27
28
  title: string;
28
29
  mapsTo: string;
29
- scaleType: string;
30
+ scaleType: ScaleTypes;
30
31
  };
31
32
  };
32
33
  comboChartTypes: ({
@@ -59,7 +60,7 @@ export declare const comboSimpleFloatingOptions: {
59
60
  axes: {
60
61
  left: {
61
62
  mapsTo: string;
62
- scaleType: string;
63
+ scaleType: ScaleTypes;
63
64
  title: string;
64
65
  correspondingDatasets: string[];
65
66
  };
@@ -70,7 +71,7 @@ export declare const comboSimpleFloatingOptions: {
70
71
  bottom: {
71
72
  title: string;
72
73
  mapsTo: string;
73
- scaleType: string;
74
+ scaleType: ScaleTypes;
74
75
  };
75
76
  };
76
77
  comboChartTypes: ({
@@ -104,19 +105,19 @@ export declare const comboHorizontalOptions: {
104
105
  axes: {
105
106
  top: {
106
107
  mapsTo: string;
107
- scaleType: string;
108
+ scaleType: ScaleTypes;
108
109
  title: string;
109
110
  };
110
111
  bottom: {
111
112
  mapsTo: string;
112
- scaleType: string;
113
+ scaleType: ScaleTypes;
113
114
  title: string;
114
115
  correspondingDatasets: string[];
115
116
  };
116
117
  left: {
117
118
  title: string;
118
119
  mapsTo: string;
119
- scaleType: string;
120
+ scaleType: ScaleTypes;
120
121
  };
121
122
  };
122
123
  comboChartTypes: {
@@ -147,7 +148,7 @@ export declare const comboStackedOptions: {
147
148
  bottom: {
148
149
  title: string;
149
150
  mapsTo: string;
150
- scaleType: string;
151
+ scaleType: ScaleTypes;
151
152
  };
152
153
  right: {
153
154
  title: string;
@@ -180,7 +181,7 @@ export declare const comboGroupedOptions: {
180
181
  mapsTo: string;
181
182
  };
182
183
  bottom: {
183
- scaleType: string;
184
+ scaleType: ScaleTypes;
184
185
  mapsTo: string;
185
186
  };
186
187
  right: {
@@ -224,7 +225,7 @@ export declare const comboGroupedHorizontalOptions: {
224
225
  main: boolean;
225
226
  };
226
227
  left: {
227
- scaleType: string;
228
+ scaleType: ScaleTypes;
228
229
  mapsTo: string;
229
230
  };
230
231
  bottom: {
@@ -260,7 +261,7 @@ export declare const comboAreaLineOptions: {
260
261
  mapsTo: string;
261
262
  };
262
263
  bottom: {
263
- scaleType: string;
264
+ scaleType: ScaleTypes;
264
265
  mapsTo: string;
265
266
  };
266
267
  right: {
@@ -305,13 +306,13 @@ export declare const comboLineScatterOptions: {
305
306
  title: string;
306
307
  };
307
308
  bottom: {
308
- scaleType: string;
309
+ scaleType: ScaleTypes;
309
310
  mapsTo: string;
310
311
  };
311
312
  right: {
312
313
  title: string;
313
314
  mapsTo: string;
314
- scaleType: string;
315
+ scaleType: ScaleTypes;
315
316
  correspondingDatasets: string[];
316
317
  };
317
318
  };
@@ -330,13 +331,13 @@ export declare const comboEmptyOptions: {
330
331
  title: string;
331
332
  };
332
333
  bottom: {
333
- scaleType: string;
334
+ scaleType: ScaleTypes;
334
335
  mapsTo: string;
335
336
  };
336
337
  right: {
337
338
  title: string;
338
339
  mapsTo: string;
339
- scaleType: string;
340
+ scaleType: ScaleTypes;
340
341
  correspondingDatasets: string[];
341
342
  };
342
343
  };
@@ -364,13 +365,13 @@ export declare const comboLoadingOptions: {
364
365
  title: string;
365
366
  };
366
367
  bottom: {
367
- scaleType: string;
368
+ scaleType: ScaleTypes;
368
369
  mapsTo: string;
369
370
  };
370
371
  right: {
371
372
  title: string;
372
373
  mapsTo: string;
373
- scaleType: string;
374
+ scaleType: ScaleTypes;
374
375
  correspondingDatasets: string[];
375
376
  };
376
377
  };
@@ -403,12 +404,12 @@ export declare const comboStackedAreaLineOptions: {
403
404
  titleOrientation: string;
404
405
  };
405
406
  bottom: {
406
- scaleType: string;
407
+ scaleType: ScaleTypes;
407
408
  mapsTo: string;
408
409
  };
409
410
  right: {
410
411
  title: string;
411
- scaleType: string;
412
+ scaleType: ScaleTypes;
412
413
  mapsTo: string;
413
414
  correspondingDatasets: string[];
414
415
  titleOrientation: string;
@@ -451,7 +452,7 @@ export declare const comboAreaLineTimeSeriesOptions: {
451
452
  mapsTo: string;
452
453
  };
453
454
  bottom: {
454
- scaleType: string;
455
+ scaleType: ScaleTypes;
455
456
  mapsTo: string;
456
457
  };
457
458
  right: {
@@ -1,3 +1,4 @@
1
+ import { Alignments } from '../../interfaces';
1
2
  export declare const donutData: {
2
3
  group: string;
3
4
  value: number;
@@ -19,13 +20,13 @@ export declare const donutCenteredOptions: {
19
20
  title: string;
20
21
  resizable: boolean;
21
22
  legend: {
22
- alignment: string;
23
+ alignment: Alignments;
23
24
  };
24
25
  donut: {
25
26
  center: {
26
27
  label: string;
27
28
  };
28
- alignment: string;
29
+ alignment: Alignments;
29
30
  };
30
31
  };
31
32
  export declare const donutDataMapsTo: {
@@ -1,3 +1,4 @@
1
+ import { ScaleTypes } from '../../interfaces';
1
2
  export declare const heatmapData: {
2
3
  letter: string;
3
4
  month: string;
@@ -9,12 +10,12 @@ export declare const heatmapOptions: {
9
10
  bottom: {
10
11
  title: string;
11
12
  mapsTo: string;
12
- scaleType: string;
13
+ scaleType: ScaleTypes;
13
14
  };
14
15
  left: {
15
16
  title: string;
16
17
  mapsTo: string;
17
- scaleType: string;
18
+ scaleType: ScaleTypes;
18
19
  };
19
20
  };
20
21
  heatmap: {
@@ -29,12 +30,12 @@ export declare const heatmapQuantizeLegendOption: {
29
30
  bottom: {
30
31
  title: string;
31
32
  mapsTo: string;
32
- scaleType: string;
33
+ scaleType: ScaleTypes;
33
34
  };
34
35
  left: {
35
36
  title: string;
36
37
  mapsTo: string;
37
- scaleType: string;
38
+ scaleType: ScaleTypes;
38
39
  };
39
40
  };
40
41
  heatmap: {
@@ -50,12 +51,12 @@ export declare const heatmapPositiveNegativeOptions: {
50
51
  bottom: {
51
52
  title: string;
52
53
  mapsTo: string;
53
- scaleType: string;
54
+ scaleType: ScaleTypes;
54
55
  };
55
56
  left: {
56
57
  title: string;
57
58
  mapsTo: string;
58
- scaleType: string;
59
+ scaleType: ScaleTypes;
59
60
  };
60
61
  };
61
62
  heatmap: {
@@ -83,12 +84,12 @@ export declare const heatmapDomainOptions: {
83
84
  bottom: {
84
85
  title: string;
85
86
  mapsTo: string;
86
- scaleType: string;
87
+ scaleType: ScaleTypes;
87
88
  };
88
89
  left: {
89
90
  title: string;
90
91
  mapsTo: string;
91
- scaleType: string;
92
+ scaleType: ScaleTypes;
92
93
  domain: string[];
93
94
  };
94
95
  };
@@ -109,12 +110,12 @@ export declare const heatmapMissingDataOptions: {
109
110
  bottom: {
110
111
  title: string;
111
112
  mapsTo: string;
112
- scaleType: string;
113
+ scaleType: ScaleTypes;
113
114
  };
114
115
  left: {
115
116
  title: string;
116
117
  mapsTo: string;
117
- scaleType: string;
118
+ scaleType: ScaleTypes;
118
119
  };
119
120
  };
120
121
  heatmap: {
@@ -1,3 +1,4 @@
1
+ import { ScaleTypes } from '../../interfaces';
1
2
  export declare const highlightBoundedAreaTimeSeriesData: {
2
3
  group: string;
3
4
  date: Date;
@@ -18,7 +19,7 @@ export declare const boundedAreaTimeSeriesWithHighlightsOptions: {
18
19
  bottom: {
19
20
  title: string;
20
21
  mapsTo: string;
21
- scaleType: string;
22
+ scaleType: ScaleTypes;
22
23
  highlights: {
23
24
  highlightStartMapsTo: string;
24
25
  highlightEndMapsTo: string;
@@ -32,7 +33,7 @@ export declare const boundedAreaTimeSeriesWithHighlightsOptions: {
32
33
  };
33
34
  left: {
34
35
  mapsTo: string;
35
- scaleType: string;
36
+ scaleType: ScaleTypes;
36
37
  };
37
38
  };
38
39
  curve: string;
@@ -1,3 +1,4 @@
1
+ import { ScaleTypes } from '../../interfaces';
1
2
  export declare const histogramContinueData: {
2
3
  group: string;
3
4
  age: number;
@@ -13,7 +14,7 @@ export declare const histogramContinueOptions: {
13
14
  };
14
15
  left: {
15
16
  title: string;
16
- scaleType: string;
17
+ scaleType: ScaleTypes;
17
18
  stacked: boolean;
18
19
  binned: boolean;
19
20
  };
@@ -34,7 +35,7 @@ export declare const histogramContinueWithBinsNumberOptions: {
34
35
  };
35
36
  left: {
36
37
  title: string;
37
- scaleType: string;
38
+ scaleType: ScaleTypes;
38
39
  binned: boolean;
39
40
  };
40
41
  };
@@ -50,7 +51,7 @@ export declare const histogramContinueWithBinsOptions: {
50
51
  };
51
52
  left: {
52
53
  title: string;
53
- scaleType: string;
54
+ scaleType: ScaleTypes;
54
55
  stacked: boolean;
55
56
  binned: boolean;
56
57
  };
@@ -1,3 +1,4 @@
1
+ import { LegendPositions, LegendOrientations, ScaleTypes } from '../../interfaces';
1
2
  export declare const lineData: ({
2
3
  group: string;
3
4
  key: string;
@@ -15,12 +16,12 @@ export declare const lineOptions: {
15
16
  bottom: {
16
17
  title: string;
17
18
  mapsTo: string;
18
- scaleType: string;
19
+ scaleType: ScaleTypes;
19
20
  };
20
21
  left: {
21
22
  mapsTo: string;
22
23
  title: string;
23
- scaleType: string;
24
+ scaleType: ScaleTypes;
24
25
  };
25
26
  };
26
27
  };
@@ -31,13 +32,13 @@ export declare const sparklineLoadingOptions: {
31
32
  visible: boolean;
32
33
  title: string;
33
34
  mapsTo: string;
34
- scaleType: string;
35
+ scaleType: ScaleTypes;
35
36
  };
36
37
  left: {
37
38
  visible: boolean;
38
39
  mapsTo: string;
39
40
  title: string;
40
- scaleType: string;
41
+ scaleType: ScaleTypes;
41
42
  };
42
43
  };
43
44
  grid: {
@@ -78,12 +79,12 @@ export declare const lineLongLabelOptions: {
78
79
  bottom: {
79
80
  title: string;
80
81
  mapsTo: string;
81
- scaleType: string;
82
+ scaleType: ScaleTypes;
82
83
  };
83
84
  left: {
84
85
  mapsTo: string;
85
86
  title: string;
86
- scaleType: string;
87
+ scaleType: ScaleTypes;
87
88
  };
88
89
  };
89
90
  };
@@ -93,14 +94,14 @@ export declare const lineCustomDomainOptions: {
93
94
  bottom: {
94
95
  title: string;
95
96
  mapsTo: string;
96
- scaleType: string;
97
+ scaleType: ScaleTypes;
97
98
  domain: string[];
98
99
  };
99
100
  left: {
100
101
  domain: number[];
101
102
  mapsTo: string;
102
103
  title: string;
103
- scaleType: string;
104
+ scaleType: ScaleTypes;
104
105
  };
105
106
  };
106
107
  };
@@ -124,12 +125,12 @@ export declare const lineSelectedGroupsOptions: {
124
125
  bottom: {
125
126
  title: string;
126
127
  mapsTo: string;
127
- scaleType: string;
128
+ scaleType: ScaleTypes;
128
129
  };
129
130
  left: {
130
131
  mapsTo: string;
131
132
  title: string;
132
- scaleType: string;
133
+ scaleType: ScaleTypes;
133
134
  };
134
135
  };
135
136
  };
@@ -139,12 +140,12 @@ export declare const lineCustomColorOptions: {
139
140
  bottom: {
140
141
  title: string;
141
142
  mapsTo: string;
142
- scaleType: string;
143
+ scaleType: ScaleTypes;
143
144
  };
144
145
  left: {
145
146
  mapsTo: string;
146
147
  title: string;
147
- scaleType: string;
148
+ scaleType: ScaleTypes;
148
149
  };
149
150
  };
150
151
  color: {
@@ -167,12 +168,12 @@ export declare const lineTimeSeriesOptions: {
167
168
  bottom: {
168
169
  title: string;
169
170
  mapsTo: string;
170
- scaleType: string;
171
+ scaleType: ScaleTypes;
171
172
  };
172
173
  left: {
173
174
  mapsTo: string;
174
175
  title: string;
175
- scaleType: string;
176
+ scaleType: ScaleTypes;
176
177
  };
177
178
  };
178
179
  curve: string;
@@ -183,17 +184,17 @@ export declare const lineTimeSeriesWithThresholdsOptions: {
183
184
  bottom: {
184
185
  title: string;
185
186
  mapsTo: string;
186
- scaleType: string;
187
+ scaleType: ScaleTypes;
187
188
  thresholds: {
188
189
  value: Date;
189
190
  label: string;
190
- valueFormatter: (e: any) => string;
191
+ valueFormatter: (d: Date) => string;
191
192
  }[];
192
193
  };
193
194
  left: {
194
195
  mapsTo: string;
195
196
  title: string;
196
- scaleType: string;
197
+ scaleType: ScaleTypes;
197
198
  thresholds: ({
198
199
  value: number;
199
200
  label: string;
@@ -218,12 +219,12 @@ export declare const lineTimeSeriesDenseOptions: {
218
219
  bottom: {
219
220
  title: string;
220
221
  mapsTo: string;
221
- scaleType: string;
222
+ scaleType: ScaleTypes;
222
223
  };
223
224
  left: {
224
225
  mapsTo: string;
225
226
  title: string;
226
- scaleType: string;
227
+ scaleType: ScaleTypes;
227
228
  };
228
229
  };
229
230
  curve: string;
@@ -238,7 +239,7 @@ export declare const lineTimeSeriesRotatedTicksOptions: {
238
239
  width: string;
239
240
  axes: {
240
241
  bottom: {
241
- scaleType: string;
242
+ scaleType: ScaleTypes;
242
243
  mapsTo: string;
243
244
  ticks: {
244
245
  rotation: string;
@@ -262,12 +263,12 @@ export declare const lineLogAxisOptions: {
262
263
  width: string;
263
264
  axes: {
264
265
  bottom: {
265
- scaleType: string;
266
+ scaleType: ScaleTypes;
266
267
  mapsTo: string;
267
268
  };
268
269
  left: {
269
270
  mapsTo: string;
270
- scaleType: string;
271
+ scaleType: ScaleTypes;
271
272
  includeZero: boolean;
272
273
  };
273
274
  };
@@ -279,12 +280,12 @@ export declare const lineEmptyStateOptions: {
279
280
  bottom: {
280
281
  title: string;
281
282
  mapsTo: string;
282
- scaleType: string;
283
+ scaleType: ScaleTypes;
283
284
  };
284
285
  left: {
285
286
  mapsTo: string;
286
287
  title: string;
287
- scaleType: string;
288
+ scaleType: ScaleTypes;
288
289
  };
289
290
  };
290
291
  curve: string;
@@ -296,12 +297,12 @@ export declare const lineSkeletonOptions: {
296
297
  bottom: {
297
298
  title: string;
298
299
  mapsTo: string;
299
- scaleType: string;
300
+ scaleType: ScaleTypes;
300
301
  };
301
302
  left: {
302
303
  mapsTo: string;
303
304
  title: string;
304
- scaleType: string;
305
+ scaleType: ScaleTypes;
305
306
  };
306
307
  };
307
308
  curve: string;
@@ -328,7 +329,7 @@ export declare const dualLine: {
328
329
  mapsTo: string;
329
330
  };
330
331
  bottom: {
331
- scaleType: string;
332
+ scaleType: ScaleTypes;
332
333
  mapsTo: string;
333
334
  title: string;
334
335
  };
@@ -346,16 +347,16 @@ export declare const lineOptionsLegendOrientation: {
346
347
  bottom: {
347
348
  title: string;
348
349
  mapsTo: string;
349
- scaleType: string;
350
+ scaleType: ScaleTypes;
350
351
  };
351
352
  left: {
352
353
  mapsTo: string;
353
354
  title: string;
354
- scaleType: string;
355
+ scaleType: ScaleTypes;
355
356
  };
356
357
  };
357
358
  legend: {
358
- position: string;
359
- orientation: string;
359
+ position: LegendPositions;
360
+ orientation: LegendOrientations;
360
361
  };
361
362
  };
@@ -1,3 +1,4 @@
1
+ import { ScaleTypes } from '../../interfaces';
1
2
  export declare const lollipopDiscreteData: {
2
3
  group: string;
3
4
  key: string;
@@ -8,7 +9,7 @@ export declare const lollipopDiscreteOptions: {
8
9
  axes: {
9
10
  bottom: {
10
11
  title: string;
11
- scaleType: string;
12
+ scaleType: ScaleTypes;
12
13
  mapsTo: string;
13
14
  };
14
15
  left: {
@@ -26,7 +27,7 @@ export declare const lollipopDiscretePresentationOptions: {
26
27
  axes: {
27
28
  left: {
28
29
  title: string;
29
- scaleType: string;
30
+ scaleType: ScaleTypes;
30
31
  mapsTo: string;
31
32
  };
32
33
  bottom: {
@@ -1,3 +1,4 @@
1
+ import { Alignments } from '../../interfaces';
1
2
  export declare const pieData: {
2
3
  group: string;
3
4
  value: number;
@@ -14,10 +15,10 @@ export declare const pieCenteredOptions: {
14
15
  title: string;
15
16
  resizable: boolean;
16
17
  legend: {
17
- alignment: string;
18
+ alignment: Alignments;
18
19
  };
19
20
  pie: {
20
- alignment: string;
21
+ alignment: Alignments;
21
22
  };
22
23
  };
23
24
  export declare const pieDataMapsTo: {
@@ -1,3 +1,4 @@
1
+ import { Alignments } from '../../interfaces';
1
2
  export declare const radarData: {
2
3
  product: string;
3
4
  feature: string;
@@ -27,13 +28,13 @@ export declare const radarCenteredOptions: {
27
28
  angle: string;
28
29
  value: string;
29
30
  };
30
- alignment: string;
31
+ alignment: Alignments;
31
32
  };
32
33
  data: {
33
34
  groupMapsTo: string;
34
35
  };
35
36
  legend: {
36
- alignment: string;
37
+ alignment: Alignments;
37
38
  };
38
39
  };
39
40
  export declare const radarWithMissingDataData: {
@@ -1,3 +1,4 @@
1
+ import { ScaleTypes } from '../../interfaces';
1
2
  export declare const doubleLinearScatterData: {
2
3
  group: string;
3
4
  employees: number;
@@ -9,12 +10,12 @@ export declare const doubleLinearScatterOptions: {
9
10
  bottom: {
10
11
  title: string;
11
12
  mapsTo: string;
12
- scaleType: string;
13
+ scaleType: ScaleTypes;
13
14
  };
14
15
  left: {
15
16
  title: string;
16
17
  mapsTo: string;
17
- scaleType: string;
18
+ scaleType: ScaleTypes;
18
19
  };
19
20
  };
20
21
  };
@@ -28,7 +29,7 @@ export declare const scatterDiscreteOptions: {
28
29
  axes: {
29
30
  bottom: {
30
31
  title: string;
31
- scaleType: string;
32
+ scaleType: ScaleTypes;
32
33
  mapsTo: string;
33
34
  };
34
35
  left: {
@@ -46,7 +47,7 @@ export declare const scatterTimeSeriesOptions: {
46
47
  axes: {
47
48
  bottom: {
48
49
  title: string;
49
- scaleType: string;
50
+ scaleType: ScaleTypes;
50
51
  mapsTo: string;
51
52
  };
52
53
  left: {
@@ -60,7 +61,7 @@ export declare const scatterEmptyStateOptions: {
60
61
  axes: {
61
62
  bottom: {
62
63
  title: string;
63
- scaleType: string;
64
+ scaleType: ScaleTypes;
64
65
  mapsTo: string;
65
66
  };
66
67
  left: {
@@ -74,7 +75,7 @@ export declare const scatterSkeletonOptions: {
74
75
  axes: {
75
76
  bottom: {
76
77
  title: string;
77
- scaleType: string;
78
+ scaleType: ScaleTypes;
78
79
  mapsTo: string;
79
80
  };
80
81
  left: {
@@ -101,17 +102,17 @@ export declare const scatterDualAxesOptions: {
101
102
  axes: {
102
103
  bottom: {
103
104
  mapsTo: string;
104
- scaleType: string;
105
+ scaleType: ScaleTypes;
105
106
  };
106
107
  left: {
107
108
  title: string;
108
109
  mapsTo: string;
109
- scaleType: string;
110
+ scaleType: ScaleTypes;
110
111
  };
111
112
  right: {
112
113
  title: string;
113
114
  mapsTo: string;
114
- scaleType: string;
115
+ scaleType: ScaleTypes;
115
116
  correspondingDatasets: string[];
116
117
  };
117
118
  };