@react-magma/charts 13.0.0 → 13.0.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 (83) hide show
  1. package/dist/charts.js +2450 -1
  2. package/dist/charts.js.map +1 -1
  3. package/dist/charts.modern.module.js +2428 -1
  4. package/dist/charts.modern.module.js.map +1 -1
  5. package/dist/charts.umd.js +49165 -1
  6. package/dist/charts.umd.js.map +1 -1
  7. package/dist/components/CarbonChart/CarbonChart.d.ts +2 -1
  8. package/dist/components/CarbonChart/CarbonChartArea.stories.d.ts +310 -0
  9. package/dist/components/CarbonChart/CarbonChartAreaStacked.stories.d.ts +136 -0
  10. package/dist/components/CarbonChart/CarbonChartBar.stories.d.ts +214 -0
  11. package/dist/components/CarbonChart/CarbonChartBarFloating.stories.d.ts +82 -0
  12. package/dist/components/CarbonChart/CarbonChartBarGrouped.stories.d.ts +234 -0
  13. package/dist/components/CarbonChart/CarbonChartBarStacked.stories.d.ts +266 -0
  14. package/dist/components/CarbonChart/CarbonChartBoxplot.stories.d.ts +53 -0
  15. package/dist/components/CarbonChart/CarbonChartBubble.stories.d.ts +196 -0
  16. package/dist/components/CarbonChart/CarbonChartBullet.stories.d.ts +35 -0
  17. package/dist/components/CarbonChart/CarbonChartCombo.stories.d.ts +580 -0
  18. package/dist/components/CarbonChart/CarbonChartDonut.stories.d.ts +120 -0
  19. package/dist/components/CarbonChart/CarbonChartGauge.stories.d.ts +43 -0
  20. package/dist/components/CarbonChart/CarbonChartHistogram.stories.d.ts +89 -0
  21. package/dist/components/CarbonChart/CarbonChartLine.stories.d.ts +577 -0
  22. package/dist/components/CarbonChart/CarbonChartLollipop.stories.d.ts +55 -0
  23. package/dist/components/CarbonChart/CarbonChartMeter.stories.d.ts +127 -0
  24. package/dist/components/CarbonChart/CarbonChartPie.stories.d.ts +101 -0
  25. package/dist/components/CarbonChart/CarbonChartRadar.stories.d.ts +98 -0
  26. package/dist/components/CarbonChart/CarbonChartScatter.stories.d.ts +173 -0
  27. package/dist/components/CarbonChart/CarbonChartSparkline.stories.d.ts +51 -0
  28. package/dist/components/CarbonChart/CarbonChartStep.stories.d.ts +38 -0
  29. package/dist/components/LineChart/Chart.d.ts +27 -0
  30. package/dist/components/LineChart/ChartDataTable.d.ts +17 -0
  31. package/dist/components/LineChart/CustomAxisComponent.d.ts +3 -0
  32. package/dist/components/LineChart/CustomPointComponent.d.ts +17 -0
  33. package/dist/components/LineChart/DataTable.d.ts +5 -0
  34. package/dist/components/LineChart/GraphTooltip.d.ts +3 -0
  35. package/dist/components/LineChart/LegendButton.d.ts +6 -0
  36. package/dist/components/LineChart/LineChart.d.ts +67 -0
  37. package/dist/components/LineChart/LineChart.stories.d.ts +113 -0
  38. package/dist/components/LineChart/index.d.ts +1 -0
  39. package/dist/components/LineChart/magma-charts.d.ts +1 -0
  40. package/dist/index.d.ts +1 -0
  41. package/package.json +28 -26
  42. package/src/components/CarbonChart/CarbonChart.test.js +506 -0
  43. package/src/components/CarbonChart/CarbonChart.tsx +53 -57
  44. package/src/components/CarbonChart/CarbonChartArea.stories.tsx +1 -1
  45. package/src/components/CarbonChart/CarbonChartAreaStacked.stories.tsx +1 -1
  46. package/src/components/CarbonChart/CarbonChartBar.stories.tsx +1 -1
  47. package/src/components/CarbonChart/CarbonChartBarFloating.stories.tsx +1 -1
  48. package/src/components/CarbonChart/CarbonChartBarGrouped.stories.tsx +1 -1
  49. package/src/components/CarbonChart/CarbonChartBarStacked.stories.tsx +1 -1
  50. package/src/components/CarbonChart/CarbonChartBoxplot.stories.tsx +1 -1
  51. package/src/components/CarbonChart/CarbonChartBubble.stories.tsx +1 -1
  52. package/src/components/CarbonChart/CarbonChartBullet.stories.tsx +1 -1
  53. package/src/components/CarbonChart/CarbonChartCombo.stories.tsx +1 -1
  54. package/src/components/CarbonChart/CarbonChartDonut.stories.tsx +1 -1
  55. package/src/components/CarbonChart/CarbonChartGauge.stories.tsx +1 -1
  56. package/src/components/CarbonChart/CarbonChartHistogram.stories.tsx +1 -1
  57. package/src/components/CarbonChart/CarbonChartLine.stories.tsx +1 -1
  58. package/src/components/CarbonChart/CarbonChartLollipop.stories.tsx +1 -1
  59. package/src/components/CarbonChart/CarbonChartMeter.stories.tsx +1 -1
  60. package/src/components/CarbonChart/CarbonChartPie.stories.tsx +1 -1
  61. package/src/components/CarbonChart/CarbonChartRadar.stories.tsx +1 -1
  62. package/src/components/CarbonChart/CarbonChartScatter.stories.tsx +1 -1
  63. package/src/components/CarbonChart/CarbonChartSparkline.stories.tsx +1 -1
  64. package/src/components/CarbonChart/CarbonChartStep.stories.tsx +1 -1
  65. package/src/components/CarbonChart/carbon-charts.css +24931 -0
  66. package/src/components/LineChart/Chart.tsx +241 -0
  67. package/src/components/LineChart/ChartDataTable.test.js +165 -0
  68. package/src/components/LineChart/ChartDataTable.tsx +135 -0
  69. package/src/components/LineChart/CustomAxisComponent.tsx +30 -0
  70. package/src/components/LineChart/CustomPointComponent.tsx +93 -0
  71. package/src/components/LineChart/DataTable.tsx +57 -0
  72. package/src/components/LineChart/GraphTooltip.tsx +100 -0
  73. package/src/components/LineChart/LegendButton.tsx +77 -0
  74. package/src/components/LineChart/LineChart.stories.tsx +399 -0
  75. package/src/components/LineChart/LineChart.test.js +501 -0
  76. package/src/components/LineChart/LineChart.tsx +669 -0
  77. package/src/components/LineChart/index.ts +1 -0
  78. package/src/components/LineChart/magma-charts.ts +279 -0
  79. package/src/components/LineChart/test/exampleChartData.js +289 -0
  80. package/src/index.ts +1 -0
  81. package/dist/components/CarbonChart/CarbonChart.test.d.ts +0 -1
  82. package/dist/components/CarbonChart/embeddedStyles.d.ts +0 -1
  83. package/src/components/CarbonChart/embeddedStyles.ts +0 -24880
@@ -0,0 +1,43 @@
1
+ import { CarbonChartProps, CarbonChartType } from '.';
2
+ declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react/types-6-0").ReactFramework, import("@storybook/react/types-6-0").Args>;
3
+ export default _default;
4
+ export declare const GaugeSemicircularDangerStatus: {
5
+ render: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
6
+ args: {
7
+ isInverse: boolean;
8
+ type: CarbonChartType;
9
+ dataSet: {
10
+ group: string;
11
+ value: number;
12
+ }[];
13
+ options: {
14
+ title: string;
15
+ resizable: boolean;
16
+ height: string;
17
+ gauge: {
18
+ type: string;
19
+ status: string;
20
+ };
21
+ };
22
+ };
23
+ };
24
+ export declare const GaugeCircularWarningStatus: {
25
+ render: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
26
+ args: {
27
+ isInverse: boolean;
28
+ type: CarbonChartType;
29
+ dataSet: {
30
+ group: string;
31
+ value: number;
32
+ }[];
33
+ options: {
34
+ title: string;
35
+ resizable: boolean;
36
+ height: string;
37
+ gauge: {
38
+ status: string;
39
+ type: string;
40
+ };
41
+ };
42
+ };
43
+ };
@@ -0,0 +1,89 @@
1
+ import { CarbonChartProps, CarbonChartType } from '.';
2
+ declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react/types-6-0").ReactFramework, import("@storybook/react/types-6-0").Args>;
3
+ export default _default;
4
+ export declare const HistogramLinear: {
5
+ render: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
6
+ args: {
7
+ isInverse: boolean;
8
+ type: CarbonChartType;
9
+ dataSet: {
10
+ group: string;
11
+ age: number;
12
+ }[];
13
+ options: {
14
+ title: string;
15
+ axes: {
16
+ bottom: {
17
+ title: string;
18
+ mapsTo: string;
19
+ bins: number;
20
+ limitDomainToBins: boolean;
21
+ };
22
+ left: {
23
+ title: string;
24
+ scaleType: string;
25
+ stacked: boolean;
26
+ binned: boolean;
27
+ };
28
+ };
29
+ height: string;
30
+ };
31
+ };
32
+ };
33
+ export declare const HistogramDefinedBinsNumberLinear: {
34
+ render: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
35
+ args: {
36
+ isInverse: boolean;
37
+ type: CarbonChartType;
38
+ dataSet: {
39
+ group: string;
40
+ value: number;
41
+ }[];
42
+ options: {
43
+ title: string;
44
+ axes: {
45
+ bottom: {
46
+ title: string;
47
+ mapsTo: string;
48
+ bins: number;
49
+ limitDomainToBins: boolean;
50
+ };
51
+ left: {
52
+ title: string;
53
+ scaleType: string;
54
+ binned: boolean;
55
+ };
56
+ };
57
+ height: string;
58
+ };
59
+ };
60
+ };
61
+ export declare const HistogramDefinedBinsLinear: {
62
+ render: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
63
+ args: {
64
+ isInverse: boolean;
65
+ type: CarbonChartType;
66
+ dataSet: {
67
+ group: string;
68
+ age: number;
69
+ }[];
70
+ options: {
71
+ title: string;
72
+ axes: {
73
+ bottom: {
74
+ title: string;
75
+ mapsTo: string;
76
+ bins: number[];
77
+ limitDomainToBins: boolean;
78
+ };
79
+ left: {
80
+ title: string;
81
+ scaleType: string;
82
+ stacked: boolean;
83
+ binned: boolean;
84
+ };
85
+ };
86
+ height: string;
87
+ };
88
+ };
89
+ };
@@ -0,0 +1,577 @@
1
+ import { CarbonChartProps, CarbonChartType } from '.';
2
+ declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react/types-6-0").ReactFramework, import("@storybook/react/types-6-0").Args>;
3
+ export default _default;
4
+ export declare const CustomDomainLine: {
5
+ render: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
6
+ args: {
7
+ isInverse: boolean;
8
+ type: CarbonChartType;
9
+ dataSet: ({
10
+ group: string;
11
+ key: string;
12
+ value: number;
13
+ audienceSize?: undefined;
14
+ } | {
15
+ group: string;
16
+ key: string;
17
+ value: number;
18
+ audienceSize: number;
19
+ })[];
20
+ options: {
21
+ title: string;
22
+ axes: {
23
+ bottom: {
24
+ title: string;
25
+ mapsTo: string;
26
+ scaleType: string;
27
+ domain: string[];
28
+ };
29
+ left: {
30
+ domain: number[];
31
+ mapsTo: string;
32
+ title: string;
33
+ scaleType: string;
34
+ };
35
+ };
36
+ height: string;
37
+ };
38
+ };
39
+ };
40
+ export declare const RotatedTicksLine: {
41
+ render: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
42
+ args: {
43
+ isInverse: boolean;
44
+ type: CarbonChartType;
45
+ dataSet: {
46
+ group: string;
47
+ date: string;
48
+ value: number;
49
+ }[];
50
+ options: {
51
+ title: string;
52
+ axes: {
53
+ bottom: {
54
+ scaleType: string;
55
+ mapsTo: string;
56
+ ticks: {
57
+ rotation: string;
58
+ };
59
+ };
60
+ left: {
61
+ mapsTo: string;
62
+ };
63
+ };
64
+ legend: {
65
+ clickable: boolean;
66
+ };
67
+ height: string;
68
+ };
69
+ };
70
+ };
71
+ export declare const LineTimeSeries15SecondInterval: {
72
+ render: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
73
+ args: {
74
+ isInverse: boolean;
75
+ type: CarbonChartType;
76
+ dataSet: {
77
+ group: string;
78
+ date: string;
79
+ value: number;
80
+ }[];
81
+ options: {
82
+ title: string;
83
+ axes: {
84
+ left: {
85
+ mapsTo: string;
86
+ };
87
+ bottom: {
88
+ scaleType: string;
89
+ mapsTo: string;
90
+ };
91
+ };
92
+ legend: {
93
+ clickable: boolean;
94
+ };
95
+ height: string;
96
+ };
97
+ };
98
+ };
99
+ export declare const LogAxis: {
100
+ render: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
101
+ args: {
102
+ isInverse: boolean;
103
+ type: CarbonChartType;
104
+ dataSet: {
105
+ group: string;
106
+ date: string;
107
+ value: number;
108
+ }[];
109
+ options: {
110
+ title: string;
111
+ axes: {
112
+ bottom: {
113
+ scaleType: string;
114
+ mapsTo: string;
115
+ };
116
+ left: {
117
+ mapsTo: string;
118
+ scaleType: string;
119
+ includeZero: boolean;
120
+ };
121
+ };
122
+ height: string;
123
+ };
124
+ };
125
+ };
126
+ export declare const PreSelectedGroupsLine: {
127
+ render: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
128
+ args: {
129
+ isInverse: boolean;
130
+ type: CarbonChartType;
131
+ dataSet: ({
132
+ group: string;
133
+ key: string;
134
+ value: number;
135
+ audienceSize?: undefined;
136
+ } | {
137
+ group: string;
138
+ key: string;
139
+ value: number;
140
+ audienceSize: number;
141
+ })[];
142
+ options: {
143
+ title: string;
144
+ data: {
145
+ selectedGroups: string[];
146
+ };
147
+ axes: {
148
+ bottom: {
149
+ title: string;
150
+ mapsTo: string;
151
+ scaleType: string;
152
+ };
153
+ left: {
154
+ mapsTo: string;
155
+ title: string;
156
+ scaleType: string;
157
+ };
158
+ };
159
+ height: string;
160
+ };
161
+ };
162
+ };
163
+ export declare const LeftAlignedVerticalLegendLine: {
164
+ render: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
165
+ args: {
166
+ isInverse: boolean;
167
+ type: CarbonChartType;
168
+ dataSet: ({
169
+ group: string;
170
+ key: string;
171
+ value: number;
172
+ audienceSize?: undefined;
173
+ } | {
174
+ group: string;
175
+ key: string;
176
+ value: number;
177
+ audienceSize: number;
178
+ })[];
179
+ options: {
180
+ title: string;
181
+ axes: {
182
+ bottom: {
183
+ title: string;
184
+ mapsTo: string;
185
+ scaleType: string;
186
+ };
187
+ left: {
188
+ mapsTo: string;
189
+ title: string;
190
+ scaleType: string;
191
+ };
192
+ };
193
+ legend: {
194
+ position: string;
195
+ orientation: string;
196
+ };
197
+ height: string;
198
+ };
199
+ };
200
+ };
201
+ export declare const ThresholdsLine: {
202
+ render: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
203
+ args: {
204
+ isInverse: boolean;
205
+ type: CarbonChartType;
206
+ dataSet: ({
207
+ group: string;
208
+ date: string;
209
+ value: number;
210
+ } | {
211
+ group: string;
212
+ date: string;
213
+ value: null;
214
+ })[];
215
+ options: {
216
+ title: string;
217
+ axes: {
218
+ bottom: {
219
+ title: string;
220
+ mapsTo: string;
221
+ scaleType: string;
222
+ thresholds: {
223
+ value: Date;
224
+ label: string;
225
+ valueFormatter: (e: any) => string;
226
+ }[];
227
+ };
228
+ left: {
229
+ mapsTo: string;
230
+ title: string;
231
+ scaleType: string;
232
+ thresholds: ({
233
+ value: number;
234
+ label: string;
235
+ fillColor: string;
236
+ } | {
237
+ value: number;
238
+ fillColor: string;
239
+ label?: undefined;
240
+ })[];
241
+ };
242
+ };
243
+ curve: string;
244
+ height: string;
245
+ };
246
+ };
247
+ };
248
+ export declare const LineTimeSeriesSingleDatum: {
249
+ render: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
250
+ args: {
251
+ isInverse: boolean;
252
+ type: CarbonChartType;
253
+ dataSet: {
254
+ group: string;
255
+ date: string;
256
+ value: number;
257
+ }[];
258
+ options: {
259
+ title: string;
260
+ axes: {
261
+ left: {
262
+ mapsTo: string;
263
+ };
264
+ bottom: {
265
+ scaleType: string;
266
+ mapsTo: string;
267
+ };
268
+ };
269
+ legend: {
270
+ clickable: boolean;
271
+ };
272
+ height: string;
273
+ };
274
+ };
275
+ };
276
+ export declare const TruncatedlabelsLine: {
277
+ render: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
278
+ args: {
279
+ isInverse: boolean;
280
+ type: CarbonChartType;
281
+ dataSet: ({
282
+ group: string;
283
+ key: string;
284
+ value: number;
285
+ audienceSize?: undefined;
286
+ } | {
287
+ group: string;
288
+ key: string;
289
+ value: number;
290
+ audienceSize: number;
291
+ })[];
292
+ options: {
293
+ title: string;
294
+ axes: {
295
+ bottom: {
296
+ title: string;
297
+ mapsTo: string;
298
+ scaleType: string;
299
+ };
300
+ left: {
301
+ mapsTo: string;
302
+ title: string;
303
+ scaleType: string;
304
+ };
305
+ };
306
+ height: string;
307
+ };
308
+ };
309
+ };
310
+ export declare const LineDiscrete: {
311
+ render: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
312
+ args: {
313
+ isInverse: boolean;
314
+ type: CarbonChartType;
315
+ dataSet: ({
316
+ group: string;
317
+ key: string;
318
+ value: number;
319
+ audienceSize?: undefined;
320
+ } | {
321
+ group: string;
322
+ key: string;
323
+ value: number;
324
+ audienceSize: number;
325
+ })[];
326
+ options: {
327
+ title: string;
328
+ axes: {
329
+ bottom: {
330
+ title: string;
331
+ mapsTo: string;
332
+ scaleType: string;
333
+ };
334
+ left: {
335
+ mapsTo: string;
336
+ title: string;
337
+ scaleType: string;
338
+ };
339
+ };
340
+ height: string;
341
+ };
342
+ };
343
+ };
344
+ export declare const LineTimeSeries: {
345
+ render: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
346
+ args: {
347
+ isInverse: boolean;
348
+ type: CarbonChartType;
349
+ dataSet: ({
350
+ group: string;
351
+ date: string;
352
+ value: number;
353
+ surplus: number;
354
+ } | {
355
+ group: string;
356
+ date: string;
357
+ value: null;
358
+ surplus: number;
359
+ })[];
360
+ options: {
361
+ title: string;
362
+ axes: {
363
+ bottom: {
364
+ title: string;
365
+ mapsTo: string;
366
+ scaleType: string;
367
+ };
368
+ left: {
369
+ mapsTo: string;
370
+ title: string;
371
+ scaleType: string;
372
+ };
373
+ };
374
+ curve: string;
375
+ height: string;
376
+ };
377
+ };
378
+ };
379
+ export declare const LineDenseTimeSeries: {
380
+ render: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
381
+ args: {
382
+ isInverse: boolean;
383
+ type: CarbonChartType;
384
+ dataSet: {
385
+ group: string;
386
+ date: string;
387
+ value: number;
388
+ }[];
389
+ options: {
390
+ title: string;
391
+ axes: {
392
+ bottom: {
393
+ title: string;
394
+ mapsTo: string;
395
+ scaleType: string;
396
+ };
397
+ left: {
398
+ mapsTo: string;
399
+ title: string;
400
+ scaleType: string;
401
+ };
402
+ };
403
+ curve: string;
404
+ height: string;
405
+ };
406
+ };
407
+ };
408
+ export declare const LineLineDualDualAxes: {
409
+ render: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
410
+ args: {
411
+ isInverse: boolean;
412
+ type: CarbonChartType;
413
+ dataSet: ({
414
+ group: string;
415
+ date: string;
416
+ temp: number;
417
+ rainfall?: undefined;
418
+ } | {
419
+ group: string;
420
+ date: string;
421
+ rainfall: number;
422
+ temp?: undefined;
423
+ })[];
424
+ options: {
425
+ title: string;
426
+ axes: {
427
+ left: {
428
+ title: string;
429
+ mapsTo: string;
430
+ };
431
+ bottom: {
432
+ scaleType: string;
433
+ mapsTo: string;
434
+ title: string;
435
+ };
436
+ right: {
437
+ title: string;
438
+ mapsTo: string;
439
+ correspondingDatasets: string[];
440
+ };
441
+ };
442
+ curve: string;
443
+ height: string;
444
+ };
445
+ };
446
+ };
447
+ export declare const LineTimeSeriesAllLabelsInPrimaryFormat: {
448
+ render: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
449
+ args: {
450
+ isInverse: boolean;
451
+ type: CarbonChartType;
452
+ dataSet: {
453
+ group: string;
454
+ date: string;
455
+ value: number;
456
+ }[];
457
+ options: {
458
+ title: string;
459
+ axes: {
460
+ left: {
461
+ mapsTo: string;
462
+ };
463
+ bottom: {
464
+ scaleType: string;
465
+ mapsTo: string;
466
+ };
467
+ };
468
+ timeScale: {
469
+ addSpaceOnEdges: number;
470
+ };
471
+ legend: {
472
+ clickable: boolean;
473
+ };
474
+ height: string;
475
+ };
476
+ };
477
+ };
478
+ export declare const LineTimeSeriesTwoIcons: {
479
+ render: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
480
+ args: {
481
+ isInverse: boolean;
482
+ type: CarbonChartType;
483
+ dataSet: ({
484
+ group: string;
485
+ date: string;
486
+ value: number;
487
+ surplus: number;
488
+ } | {
489
+ group: string;
490
+ date: string;
491
+ value: null;
492
+ surplus: number;
493
+ })[];
494
+ options: {
495
+ title: string;
496
+ axes: {
497
+ bottom: {
498
+ title: string;
499
+ mapsTo: string;
500
+ scaleType: string;
501
+ };
502
+ left: {
503
+ mapsTo: string;
504
+ title: string;
505
+ scaleType: string;
506
+ };
507
+ };
508
+ curve: string;
509
+ toolbar: {
510
+ enabled: boolean;
511
+ numberOfIcons: number;
512
+ controls: {
513
+ type: string;
514
+ }[];
515
+ };
516
+ zoomBar: {
517
+ top: {
518
+ enabled: boolean;
519
+ };
520
+ };
521
+ height: string;
522
+ };
523
+ };
524
+ };
525
+ export declare const LineEmptyState: {
526
+ render: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
527
+ args: {
528
+ isInverse: boolean;
529
+ type: CarbonChartType;
530
+ dataSet: never[];
531
+ options: {
532
+ title: string;
533
+ axes: {
534
+ bottom: {
535
+ title: string;
536
+ mapsTo: string;
537
+ scaleType: string;
538
+ };
539
+ left: {
540
+ mapsTo: string;
541
+ title: string;
542
+ scaleType: string;
543
+ };
544
+ };
545
+ curve: string;
546
+ height: string;
547
+ };
548
+ };
549
+ };
550
+ export declare const LineSkeleton: {
551
+ render: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
552
+ args: {
553
+ isInverse: boolean;
554
+ type: CarbonChartType;
555
+ dataSet: never[];
556
+ options: {
557
+ title: string;
558
+ axes: {
559
+ bottom: {
560
+ title: string;
561
+ mapsTo: string;
562
+ scaleType: string;
563
+ };
564
+ left: {
565
+ mapsTo: string;
566
+ title: string;
567
+ scaleType: string;
568
+ };
569
+ };
570
+ curve: string;
571
+ data: {
572
+ loading: boolean;
573
+ };
574
+ height: string;
575
+ };
576
+ };
577
+ };