@react-magma/charts 12.0.0-next.6 → 12.0.1-next.0

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 (45) hide show
  1. package/dist/components/CarbonChart/CarbonChartArea.stories.d.ts +308 -10
  2. package/dist/components/CarbonChart/CarbonChartAreaStacked.stories.d.ts +134 -5
  3. package/dist/components/CarbonChart/CarbonChartBar.stories.d.ts +212 -10
  4. package/dist/components/CarbonChart/CarbonChartBarFloating.stories.d.ts +80 -4
  5. package/dist/components/CarbonChart/CarbonChartBarGrouped.stories.d.ts +232 -11
  6. package/dist/components/CarbonChart/CarbonChartBarStacked.stories.d.ts +264 -12
  7. package/dist/components/CarbonChart/CarbonChartBoxplot.stories.d.ts +51 -3
  8. package/dist/components/CarbonChart/CarbonChartBubble.stories.d.ts +194 -7
  9. package/dist/components/CarbonChart/CarbonChartBullet.stories.d.ts +33 -2
  10. package/dist/components/CarbonChart/CarbonChartCombo.stories.d.ts +578 -13
  11. package/dist/components/CarbonChart/CarbonChartDonut.stories.d.ts +118 -6
  12. package/dist/components/CarbonChart/CarbonChartGauge.stories.d.ts +41 -3
  13. package/dist/components/CarbonChart/CarbonChartHistogram.stories.d.ts +87 -4
  14. package/dist/components/CarbonChart/CarbonChartLine.stories.d.ts +575 -18
  15. package/dist/components/CarbonChart/CarbonChartLollipop.stories.d.ts +53 -3
  16. package/dist/components/CarbonChart/CarbonChartMeter.stories.d.ts +125 -6
  17. package/dist/components/CarbonChart/CarbonChartPie.stories.d.ts +99 -6
  18. package/dist/components/CarbonChart/CarbonChartRadar.stories.d.ts +96 -5
  19. package/dist/components/CarbonChart/CarbonChartScatter.stories.d.ts +171 -7
  20. package/dist/components/CarbonChart/CarbonChartSparkline.stories.d.ts +49 -2
  21. package/dist/components/CarbonChart/CarbonChartStep.stories.d.ts +36 -2
  22. package/dist/components/LineChart/LineChart.stories.d.ts +132 -21
  23. package/package.json +3 -3
  24. package/src/components/CarbonChart/CarbonChartArea.stories.tsx +674 -649
  25. package/src/components/CarbonChart/CarbonChartAreaStacked.stories.tsx +424 -414
  26. package/src/components/CarbonChart/CarbonChartBar.stories.tsx +352 -325
  27. package/src/components/CarbonChart/CarbonChartBarFloating.stories.tsx +127 -116
  28. package/src/components/CarbonChart/CarbonChartBarGrouped.stories.tsx +872 -843
  29. package/src/components/CarbonChart/CarbonChartBarStacked.stories.tsx +913 -879
  30. package/src/components/CarbonChart/CarbonChartBoxplot.stories.tsx +238 -232
  31. package/src/components/CarbonChart/CarbonChartBubble.stories.tsx +565 -547
  32. package/src/components/CarbonChart/CarbonChartBullet.stories.tsx +59 -56
  33. package/src/components/CarbonChart/CarbonChartCombo.stories.tsx +1335 -1299
  34. package/src/components/CarbonChart/CarbonChartDonut.stories.tsx +170 -153
  35. package/src/components/CarbonChart/CarbonChartGauge.stories.tsx +50 -44
  36. package/src/components/CarbonChart/CarbonChartHistogram.stories.tsx +733 -724
  37. package/src/components/CarbonChart/CarbonChartLine.stories.tsx +1656 -1605
  38. package/src/components/CarbonChart/CarbonChartLollipop.stories.tsx +81 -76
  39. package/src/components/CarbonChart/CarbonChartMeter.stories.tsx +177 -162
  40. package/src/components/CarbonChart/CarbonChartPie.stories.tsx +154 -139
  41. package/src/components/CarbonChart/CarbonChartRadar.stories.tsx +445 -433
  42. package/src/components/CarbonChart/CarbonChartScatter.stories.tsx +427 -409
  43. package/src/components/CarbonChart/CarbonChartSparkline.stories.tsx +191 -188
  44. package/src/components/CarbonChart/CarbonChartStep.stories.tsx +145 -142
  45. package/src/components/LineChart/LineChart.stories.tsx +91 -104
@@ -1,6 +1,82 @@
1
- import { CarbonChartProps } from '.';
1
+ import { CarbonChartProps, CarbonChartType } from '.';
2
2
  declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react/types-6-0").ReactFramework, import("@storybook/react/types-6-0").Args>;
3
3
  export default _default;
4
- export declare const HorizontalFloatingBarTimeSeries: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
5
- export declare const FloatingVerticalBarDiscrete: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
6
- export declare const FloatingHorizontalBarDiscrete: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
4
+ export declare const HorizontalFloatingBarTimeSeries: {
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
+ date: Date;
12
+ value: number[];
13
+ } | {
14
+ group: string;
15
+ date: Date;
16
+ value: number;
17
+ })[];
18
+ options: {
19
+ title: string;
20
+ axes: {
21
+ left: {
22
+ mapsTo: string;
23
+ scaleType: string;
24
+ };
25
+ bottom: {
26
+ mapsTo: string;
27
+ };
28
+ };
29
+ height: string;
30
+ };
31
+ };
32
+ };
33
+ export declare const FloatingVerticalBarDiscrete: {
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
+ left: {
46
+ mapsTo: string;
47
+ includeZero: boolean;
48
+ };
49
+ bottom: {
50
+ mapsTo: string;
51
+ scaleType: string;
52
+ };
53
+ };
54
+ height: string;
55
+ };
56
+ };
57
+ };
58
+ export declare const FloatingHorizontalBarDiscrete: {
59
+ render: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
60
+ args: {
61
+ isInverse: boolean;
62
+ type: CarbonChartType;
63
+ dataSet: {
64
+ group: string;
65
+ value: number[];
66
+ }[];
67
+ options: {
68
+ title: string;
69
+ axes: {
70
+ left: {
71
+ mapsTo: string;
72
+ scaleType: string;
73
+ };
74
+ bottom: {
75
+ mapsTo: string;
76
+ includeZero: boolean;
77
+ };
78
+ };
79
+ height: string;
80
+ };
81
+ };
82
+ };
@@ -1,13 +1,234 @@
1
- import { CarbonChartProps } from '.';
1
+ import { CarbonChartProps, CarbonChartType } from '.';
2
2
  declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react/types-6-0").ReactFramework, import("@storybook/react/types-6-0").Args>;
3
3
  export default _default;
4
- export declare const PreSelectedgroupsGroupedBar: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
5
- export declare const VerticalGroupedBarDiscrete: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
6
- export declare const VerticalGroupedBarTimeSeries: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
7
- export declare const VerticalGroupedBarTimeSeriesDenseData: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
8
- export declare const VerticalGroupedBarEmptyState: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
9
- export declare const VerticalGroupedBarSkeleton: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
10
- export declare const HorizontalGroupedBarDiscrete: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
11
- export declare const HorizontalGroupedBarTimeSeries: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
12
- export declare const HorizontalGroupedBarEmptyState: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
13
- export declare const HorizontalGroupedBarSkeleton: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
4
+ export declare const PreSelectedgroupsGroupedBar: {
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
+ }[];
14
+ options: {
15
+ title: string;
16
+ data: {
17
+ selectedGroups: string[];
18
+ };
19
+ axes: {
20
+ left: {
21
+ mapsTo: string;
22
+ };
23
+ bottom: {
24
+ scaleType: string;
25
+ mapsTo: string;
26
+ };
27
+ };
28
+ height: string;
29
+ };
30
+ };
31
+ };
32
+ export declare const VerticalGroupedBarDiscrete: {
33
+ render: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
34
+ args: {
35
+ isInverse: boolean;
36
+ type: CarbonChartType;
37
+ dataSet: {
38
+ group: string;
39
+ key: string;
40
+ value: number;
41
+ }[];
42
+ options: {
43
+ title: string;
44
+ axes: {
45
+ left: {
46
+ mapsTo: string;
47
+ };
48
+ bottom: {
49
+ scaleType: string;
50
+ mapsTo: string;
51
+ };
52
+ };
53
+ height: string;
54
+ };
55
+ };
56
+ };
57
+ export declare const VerticalGroupedBarTimeSeries: {
58
+ render: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
59
+ args: {
60
+ isInverse: boolean;
61
+ type: CarbonChartType;
62
+ dataSet: {
63
+ group: string;
64
+ date: Date;
65
+ value: number;
66
+ }[];
67
+ options: {
68
+ title: string;
69
+ axes: {
70
+ left: {
71
+ mapsTo: string;
72
+ };
73
+ bottom: {
74
+ mapsTo: string;
75
+ scaleType: string;
76
+ };
77
+ };
78
+ height: string;
79
+ };
80
+ };
81
+ };
82
+ export declare const VerticalGroupedBarTimeSeriesDenseData: {
83
+ render: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
84
+ args: {
85
+ isInverse: boolean;
86
+ type: CarbonChartType;
87
+ dataSet: {
88
+ group: string;
89
+ date: Date;
90
+ value: number;
91
+ }[];
92
+ options: {
93
+ title: string;
94
+ axes: {
95
+ left: {
96
+ mapsTo: string;
97
+ };
98
+ bottom: {
99
+ mapsTo: string;
100
+ scaleType: string;
101
+ };
102
+ };
103
+ height: string;
104
+ };
105
+ };
106
+ };
107
+ export declare const VerticalGroupedBarEmptyState: {
108
+ render: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
109
+ args: {
110
+ isInverse: boolean;
111
+ type: CarbonChartType;
112
+ dataSet: never[];
113
+ options: {
114
+ title: string;
115
+ axes: {
116
+ left: {};
117
+ bottom: {
118
+ scaleType: string;
119
+ };
120
+ };
121
+ height: string;
122
+ };
123
+ };
124
+ };
125
+ export declare const VerticalGroupedBarSkeleton: {
126
+ render: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
127
+ args: {
128
+ isInverse: boolean;
129
+ type: CarbonChartType;
130
+ dataSet: never[];
131
+ options: {
132
+ title: string;
133
+ axes: {
134
+ left: {};
135
+ bottom: {
136
+ scaleType: string;
137
+ };
138
+ };
139
+ data: {
140
+ loading: boolean;
141
+ };
142
+ height: string;
143
+ };
144
+ };
145
+ };
146
+ export declare const HorizontalGroupedBarDiscrete: {
147
+ render: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
148
+ args: {
149
+ isInverse: boolean;
150
+ type: CarbonChartType;
151
+ dataSet: {
152
+ group: string;
153
+ key: string;
154
+ value: number;
155
+ }[];
156
+ options: {
157
+ title: string;
158
+ axes: {
159
+ left: {
160
+ scaleType: string;
161
+ mapsTo: string;
162
+ };
163
+ bottom: {
164
+ mapsTo: string;
165
+ };
166
+ };
167
+ height: string;
168
+ };
169
+ };
170
+ };
171
+ export declare const HorizontalGroupedBarTimeSeries: {
172
+ render: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
173
+ args: {
174
+ isInverse: boolean;
175
+ type: CarbonChartType;
176
+ dataSet: {
177
+ group: string;
178
+ date: Date;
179
+ value: number;
180
+ }[];
181
+ options: {
182
+ title: string;
183
+ axes: {
184
+ left: {
185
+ mapsTo: string;
186
+ scaleType: string;
187
+ };
188
+ bottom: {
189
+ mapsTo: string;
190
+ };
191
+ };
192
+ height: string;
193
+ };
194
+ };
195
+ };
196
+ export declare const HorizontalGroupedBarEmptyState: {
197
+ render: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
198
+ args: {
199
+ isInverse: boolean;
200
+ type: CarbonChartType;
201
+ dataSet: never[];
202
+ options: {
203
+ title: string;
204
+ axes: {
205
+ left: {
206
+ scaleType: string;
207
+ };
208
+ bottom: {};
209
+ };
210
+ height: string;
211
+ };
212
+ };
213
+ };
214
+ export declare const HorizontalGroupedBarSkeleton: {
215
+ render: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
216
+ args: {
217
+ isInverse: boolean;
218
+ type: CarbonChartType;
219
+ dataSet: never[];
220
+ options: {
221
+ title: string;
222
+ axes: {
223
+ left: {
224
+ scaleType: string;
225
+ };
226
+ bottom: {};
227
+ };
228
+ data: {
229
+ loading: boolean;
230
+ };
231
+ height: string;
232
+ };
233
+ };
234
+ };
@@ -1,14 +1,266 @@
1
- import { CarbonChartProps } from '.';
1
+ import { CarbonChartProps, CarbonChartType } from '.';
2
2
  declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react/types-6-0").ReactFramework, import("@storybook/react/types-6-0").Args>;
3
3
  export default _default;
4
- export declare const VerticalStackedBarDiscrete: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
5
- export declare const VerticalStackedBarDivergent: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
6
- export declare const VerticalStackedBarTimeSeries: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
7
- export declare const VerticalStackedBarShortIntervalTimeSeries: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
8
- export declare const VerticalStackedBarEmptyState: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
9
- export declare const VerticalStackedBarSkeleton: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
10
- export declare const HorizontalStackedBarDiscrete: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
11
- export declare const HorizontalStackedBarTimeSeries: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
12
- export declare const HorizontalStackedBarEmptyState: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
13
- export declare const HorizontalStackedBarSkeleton: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
14
- export declare const CustomTicksStackedBar: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
4
+ export declare const VerticalStackedBarDiscrete: {
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
+ }[];
14
+ options: {
15
+ title: string;
16
+ axes: {
17
+ left: {
18
+ mapsTo: string;
19
+ stacked: boolean;
20
+ };
21
+ bottom: {
22
+ mapsTo: string;
23
+ scaleType: string;
24
+ };
25
+ };
26
+ height: string;
27
+ };
28
+ };
29
+ };
30
+ export declare const VerticalStackedBarDivergent: {
31
+ render: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
32
+ args: {
33
+ isInverse: boolean;
34
+ type: CarbonChartType;
35
+ dataSet: {
36
+ group: string;
37
+ key: string;
38
+ value: number;
39
+ }[];
40
+ options: {
41
+ title: string;
42
+ axes: {
43
+ left: {
44
+ mapsTo: string;
45
+ stacked: boolean;
46
+ };
47
+ bottom: {
48
+ mapsTo: string;
49
+ scaleType: string;
50
+ };
51
+ };
52
+ height: string;
53
+ };
54
+ };
55
+ };
56
+ export declare const VerticalStackedBarTimeSeries: {
57
+ render: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
58
+ args: {
59
+ isInverse: boolean;
60
+ type: CarbonChartType;
61
+ dataSet: {
62
+ group: string;
63
+ date: string;
64
+ value: number;
65
+ }[];
66
+ options: {
67
+ title: string;
68
+ axes: {
69
+ left: {
70
+ mapsTo: string;
71
+ stacked: boolean;
72
+ };
73
+ bottom: {
74
+ mapsTo: string;
75
+ scaleType: string;
76
+ };
77
+ };
78
+ height: string;
79
+ };
80
+ };
81
+ };
82
+ export declare const VerticalStackedBarShortIntervalTimeSeries: {
83
+ render: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
84
+ args: {
85
+ isInverse: boolean;
86
+ type: CarbonChartType;
87
+ dataSet: {
88
+ group: string;
89
+ date: string;
90
+ value: number;
91
+ }[];
92
+ options: {
93
+ title: string;
94
+ axes: {
95
+ left: {
96
+ mapsTo: string;
97
+ stacked: boolean;
98
+ };
99
+ bottom: {
100
+ mapsTo: string;
101
+ scaleType: string;
102
+ };
103
+ };
104
+ height: string;
105
+ };
106
+ };
107
+ };
108
+ export declare const VerticalStackedBarEmptyState: {
109
+ render: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
110
+ args: {
111
+ isInverse: boolean;
112
+ type: CarbonChartType;
113
+ dataSet: never[];
114
+ options: {
115
+ title: string;
116
+ axes: {
117
+ left: {};
118
+ bottom: {
119
+ scaleType: string;
120
+ };
121
+ };
122
+ height: string;
123
+ };
124
+ };
125
+ };
126
+ export declare const VerticalStackedBarSkeleton: {
127
+ render: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
128
+ args: {
129
+ isInverse: boolean;
130
+ type: CarbonChartType;
131
+ dataSet: never[];
132
+ options: {
133
+ title: string;
134
+ axes: {
135
+ left: {};
136
+ bottom: {
137
+ scaleType: string;
138
+ };
139
+ };
140
+ data: {
141
+ loading: boolean;
142
+ };
143
+ height: string;
144
+ };
145
+ };
146
+ };
147
+ export declare const HorizontalStackedBarDiscrete: {
148
+ render: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
149
+ args: {
150
+ isInverse: boolean;
151
+ type: CarbonChartType;
152
+ dataSet: {
153
+ group: string;
154
+ key: string;
155
+ value: number;
156
+ }[];
157
+ options: {
158
+ title: string;
159
+ axes: {
160
+ left: {
161
+ scaleType: string;
162
+ mapsTo: string;
163
+ };
164
+ bottom: {
165
+ stacked: boolean;
166
+ mapsTo: string;
167
+ };
168
+ };
169
+ height: string;
170
+ };
171
+ };
172
+ };
173
+ export declare const HorizontalStackedBarTimeSeries: {
174
+ render: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
175
+ args: {
176
+ isInverse: boolean;
177
+ type: CarbonChartType;
178
+ dataSet: {
179
+ group: string;
180
+ date: string;
181
+ value: number;
182
+ }[];
183
+ options: {
184
+ title: string;
185
+ axes: {
186
+ left: {
187
+ scaleType: string;
188
+ mapsTo: string;
189
+ };
190
+ bottom: {
191
+ stacked: boolean;
192
+ mapsTo: string;
193
+ };
194
+ };
195
+ height: string;
196
+ };
197
+ };
198
+ };
199
+ export declare const HorizontalStackedBarEmptyState: {
200
+ render: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
201
+ args: {
202
+ isInverse: boolean;
203
+ type: CarbonChartType;
204
+ dataSet: never[];
205
+ options: {
206
+ title: string;
207
+ axes: {
208
+ left: {
209
+ scaleType: string;
210
+ };
211
+ bottom: {};
212
+ };
213
+ height: string;
214
+ };
215
+ };
216
+ };
217
+ export declare const HorizontalStackedBarSkeleton: {
218
+ render: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
219
+ args: {
220
+ isInverse: boolean;
221
+ type: CarbonChartType;
222
+ dataSet: never[];
223
+ options: {
224
+ title: string;
225
+ axes: {
226
+ left: {
227
+ scaleType: string;
228
+ };
229
+ bottom: {};
230
+ };
231
+ data: {
232
+ loading: boolean;
233
+ };
234
+ height: string;
235
+ };
236
+ };
237
+ };
238
+ export declare const CustomTicksStackedBar: {
239
+ render: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
240
+ args: {
241
+ isInverse: boolean;
242
+ type: CarbonChartType;
243
+ dataSet: {
244
+ group: string;
245
+ date: string;
246
+ value: number;
247
+ }[];
248
+ options: {
249
+ title: string;
250
+ axes: {
251
+ left: {
252
+ mapsTo: string;
253
+ stacked: boolean;
254
+ };
255
+ bottom: {
256
+ mapsTo: string;
257
+ scaleType: string;
258
+ ticks: {
259
+ values: Date[];
260
+ };
261
+ };
262
+ };
263
+ height: string;
264
+ };
265
+ };
266
+ };
@@ -1,5 +1,53 @@
1
- import { CarbonChartProps } from '.';
1
+ import { CarbonChartProps, CarbonChartType } from '.';
2
2
  declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react/types-6-0").ReactFramework, import("@storybook/react/types-6-0").Args>;
3
3
  export default _default;
4
- export declare const HorizontalBoxplot: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
5
- export declare const VerticalBoxplot: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
4
+ export declare const HorizontalBoxplot: {
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
+ }[];
14
+ options: {
15
+ title: string;
16
+ axes: {
17
+ bottom: {
18
+ mapsTo: string;
19
+ };
20
+ left: {
21
+ scaleType: string;
22
+ mapsTo: string;
23
+ };
24
+ };
25
+ height: string;
26
+ };
27
+ };
28
+ };
29
+ export declare const VerticalBoxplot: {
30
+ render: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
31
+ args: {
32
+ isInverse: boolean;
33
+ type: CarbonChartType;
34
+ dataSet: {
35
+ group: string;
36
+ key: string;
37
+ value: number;
38
+ }[];
39
+ options: {
40
+ title: string;
41
+ axes: {
42
+ left: {
43
+ mapsTo: string;
44
+ };
45
+ bottom: {
46
+ scaleType: string;
47
+ mapsTo: string;
48
+ };
49
+ };
50
+ height: string;
51
+ };
52
+ };
53
+ };