@react-magma/charts 12.0.1-next.0 → 12.0.1-next.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 (50) 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 +48555 -1
  6. package/dist/charts.umd.js.map +1 -1
  7. package/dist/components/CarbonChart/CarbonChart.d.ts +42 -41
  8. package/dist/components/CarbonChart/CarbonChartArea.stories.d.ts +310 -310
  9. package/dist/components/CarbonChart/CarbonChartAreaStacked.stories.d.ts +136 -136
  10. package/dist/components/CarbonChart/CarbonChartBar.stories.d.ts +214 -214
  11. package/dist/components/CarbonChart/CarbonChartBarFloating.stories.d.ts +82 -82
  12. package/dist/components/CarbonChart/CarbonChartBarGrouped.stories.d.ts +234 -234
  13. package/dist/components/CarbonChart/CarbonChartBarStacked.stories.d.ts +266 -266
  14. package/dist/components/CarbonChart/CarbonChartBoxplot.stories.d.ts +53 -53
  15. package/dist/components/CarbonChart/CarbonChartBubble.stories.d.ts +196 -196
  16. package/dist/components/CarbonChart/CarbonChartBullet.stories.d.ts +35 -35
  17. package/dist/components/CarbonChart/CarbonChartCombo.stories.d.ts +580 -580
  18. package/dist/components/CarbonChart/CarbonChartDonut.stories.d.ts +120 -120
  19. package/dist/components/CarbonChart/CarbonChartGauge.stories.d.ts +43 -43
  20. package/dist/components/CarbonChart/CarbonChartHistogram.stories.d.ts +89 -89
  21. package/dist/components/CarbonChart/CarbonChartLine.stories.d.ts +577 -577
  22. package/dist/components/CarbonChart/CarbonChartLollipop.stories.d.ts +55 -55
  23. package/dist/components/CarbonChart/CarbonChartMeter.stories.d.ts +127 -127
  24. package/dist/components/CarbonChart/CarbonChartPie.stories.d.ts +101 -101
  25. package/dist/components/CarbonChart/CarbonChartRadar.stories.d.ts +98 -98
  26. package/dist/components/CarbonChart/CarbonChartScatter.stories.d.ts +173 -173
  27. package/dist/components/CarbonChart/CarbonChartSparkline.stories.d.ts +51 -51
  28. package/dist/components/CarbonChart/CarbonChartStep.stories.d.ts +38 -38
  29. package/dist/components/CarbonChart/index.d.ts +1 -1
  30. package/dist/components/LineChart/Chart.d.ts +27 -27
  31. package/dist/components/LineChart/ChartDataTable.d.ts +17 -17
  32. package/dist/components/LineChart/CustomAxisComponent.d.ts +3 -3
  33. package/dist/components/LineChart/CustomPointComponent.d.ts +17 -17
  34. package/dist/components/LineChart/DataTable.d.ts +5 -5
  35. package/dist/components/LineChart/GraphTooltip.d.ts +3 -3
  36. package/dist/components/LineChart/LegendButton.d.ts +6 -6
  37. package/dist/components/LineChart/LineChart.d.ts +67 -67
  38. package/dist/components/LineChart/LineChart.stories.d.ts +113 -134
  39. package/dist/components/LineChart/index.d.ts +1 -1
  40. package/dist/components/LineChart/magma-charts.d.ts +1 -1
  41. package/dist/index.d.ts +2 -2
  42. package/package.json +9 -4
  43. package/src/components/CarbonChart/CarbonChart.tsx +12 -16
  44. package/src/components/CarbonChart/carbon-charts.css +7303 -0
  45. package/dist/components/CarbonChart/CarbonChart.test.d.ts +0 -1
  46. package/dist/components/CarbonChart/embeddedStyles.d.ts +0 -1
  47. package/dist/components/LineChart/ChartDataTable.test.d.ts +0 -1
  48. package/dist/components/LineChart/LineChart.test.d.ts +0 -1
  49. package/dist/components/LineChart/test/exampleChartData.d.ts +0 -40
  50. package/src/components/CarbonChart/embeddedStyles.ts +0 -24880
@@ -1,577 +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
- };
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
+ };