@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
@@ -1,6 +1,7 @@
1
1
  import * as React from 'react';
2
2
  import { ChartOptions } from '@carbon/charts-react';
3
3
  import { ThemeInterface } from 'react-magma-dom';
4
+ import './carbon-charts.css';
4
5
  export declare enum CarbonChartType {
5
6
  area = "area",
6
7
  areaStacked = "areaStacked",
@@ -22,7 +23,7 @@ export declare enum CarbonChartType {
22
23
  combo = "combo"
23
24
  }
24
25
  export interface CarbonChartProps extends React.HTMLAttributes<HTMLDivElement> {
25
- dataSet: Array<object>;
26
+ dataSet: Array<Object>;
26
27
  isInverse?: boolean;
27
28
  /**
28
29
  * For a complete list of options, see Carbon Charts documentation
@@ -0,0 +1,310 @@
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 AreaTimeSeriesNaturalCurve: {
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: string;
12
+ value: number;
13
+ }[];
14
+ options: {
15
+ title: string;
16
+ axes: {
17
+ bottom: {
18
+ title: string;
19
+ mapsTo: string;
20
+ scaleType: string;
21
+ };
22
+ left: {
23
+ mapsTo: string;
24
+ scaleType: string;
25
+ };
26
+ };
27
+ curve: string;
28
+ height: string;
29
+ };
30
+ };
31
+ };
32
+ export declare const AreaTimeSeries: {
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
+ date: string;
40
+ value: number;
41
+ }[];
42
+ options: {
43
+ title: string;
44
+ axes: {
45
+ bottom: {
46
+ title: string;
47
+ mapsTo: string;
48
+ scaleType: string;
49
+ };
50
+ left: {
51
+ mapsTo: string;
52
+ title: string;
53
+ scaleType: string;
54
+ };
55
+ };
56
+ height: string;
57
+ };
58
+ };
59
+ };
60
+ export declare const AreaDiscreteDomain: {
61
+ render: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
62
+ args: {
63
+ isInverse: boolean;
64
+ type: CarbonChartType;
65
+ dataSet: {
66
+ group: string;
67
+ value: number;
68
+ key: string;
69
+ }[];
70
+ options: {
71
+ title: string;
72
+ axes: {
73
+ bottom: {
74
+ title: string;
75
+ mapsTo: string;
76
+ scaleType: string;
77
+ };
78
+ left: {
79
+ mapsTo: string;
80
+ title: string;
81
+ scaleType: string;
82
+ };
83
+ };
84
+ height: string;
85
+ };
86
+ };
87
+ };
88
+ export declare const BoundedAreaTimeSeriesNaturalCurve: {
89
+ render: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
90
+ args: {
91
+ isInverse: boolean;
92
+ type: CarbonChartType;
93
+ dataSet: {
94
+ group: string;
95
+ date: string;
96
+ value: number;
97
+ min: number;
98
+ max: number;
99
+ }[];
100
+ options: {
101
+ title: string;
102
+ legend: {
103
+ enabled: boolean;
104
+ };
105
+ bounds: {
106
+ upperBoundMapsTo: string;
107
+ lowerBoundMapsTo: string;
108
+ };
109
+ axes: {
110
+ bottom: {
111
+ title: string;
112
+ mapsTo: string;
113
+ scaleType: string;
114
+ };
115
+ left: {
116
+ mapsTo: string;
117
+ scaleType: string;
118
+ };
119
+ };
120
+ curve: string;
121
+ height: string;
122
+ };
123
+ };
124
+ };
125
+ export declare const AreaMultipleBoundedAreasNaturalCurve: {
126
+ render: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
127
+ args: {
128
+ isInverse: boolean;
129
+ type: CarbonChartType;
130
+ dataSet: {
131
+ group: string;
132
+ date: string;
133
+ value: number;
134
+ min: number;
135
+ max: number;
136
+ }[];
137
+ options: {
138
+ title: string;
139
+ legend: {
140
+ enabled: boolean;
141
+ };
142
+ bounds: {
143
+ upperBoundMapsTo: string;
144
+ lowerBoundMapsTo: string;
145
+ };
146
+ axes: {
147
+ bottom: {
148
+ title: string;
149
+ mapsTo: string;
150
+ scaleType: string;
151
+ highlights: {
152
+ highlightStartMapsTo: string;
153
+ highlightEndMapsTo: string;
154
+ labelMapsTo: string;
155
+ data: {
156
+ startHighlight: Date;
157
+ label: string;
158
+ endHighlight: Date;
159
+ }[];
160
+ };
161
+ };
162
+ left: {
163
+ mapsTo: string;
164
+ scaleType: string;
165
+ };
166
+ };
167
+ curve: string;
168
+ height: string;
169
+ };
170
+ };
171
+ };
172
+ export declare const AreaMultipleBoundedAreasNaturalCurveZoomBarEnabled: {
173
+ render: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
174
+ args: {
175
+ isInverse: boolean;
176
+ type: CarbonChartType;
177
+ dataSet: {
178
+ group: string;
179
+ date: string;
180
+ value: number;
181
+ min: number;
182
+ max: number;
183
+ }[];
184
+ options: {
185
+ title: string;
186
+ legend: {
187
+ enabled: boolean;
188
+ };
189
+ bounds: {
190
+ upperBoundMapsTo: string;
191
+ lowerBoundMapsTo: string;
192
+ };
193
+ axes: {
194
+ bottom: {
195
+ title: string;
196
+ mapsTo: string;
197
+ scaleType: string;
198
+ highlights: {
199
+ highlightStartMapsTo: string;
200
+ highlightEndMapsTo: string;
201
+ labelMapsTo: string;
202
+ data: {
203
+ startHighlight: Date;
204
+ label: string;
205
+ endHighlight: Date;
206
+ }[];
207
+ };
208
+ };
209
+ left: {
210
+ mapsTo: string;
211
+ scaleType: string;
212
+ };
213
+ };
214
+ curve: string;
215
+ height: string;
216
+ zoomBar: {
217
+ top: {
218
+ enabled: boolean;
219
+ };
220
+ };
221
+ };
222
+ };
223
+ };
224
+ export declare const AreaSkeleton: {
225
+ render: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
226
+ args: {
227
+ isInverse: boolean;
228
+ type: CarbonChartType;
229
+ dataSet: {
230
+ group: string;
231
+ date: string;
232
+ value: number;
233
+ min: number;
234
+ max: number;
235
+ }[];
236
+ options: {
237
+ title: string;
238
+ bounds: {
239
+ upperBoundMapsTo: string;
240
+ lowerBoundMapsTo: string;
241
+ };
242
+ axes: {
243
+ bottom: {
244
+ title: string;
245
+ mapsTo: string;
246
+ scaleType: string;
247
+ };
248
+ left: {
249
+ mapsTo: string;
250
+ scaleType: string;
251
+ };
252
+ };
253
+ curve: string;
254
+ data: {
255
+ loading: boolean;
256
+ };
257
+ height: string;
258
+ };
259
+ };
260
+ };
261
+ export declare const AreaEmptyState: {
262
+ render: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
263
+ args: {
264
+ isInverse: boolean;
265
+ type: CarbonChartType;
266
+ dataSet: never[];
267
+ options: {
268
+ title: string;
269
+ axes: {
270
+ left: {
271
+ mapsTo: string;
272
+ };
273
+ bottom: {
274
+ scaleType: string;
275
+ mapsTo: string;
276
+ };
277
+ };
278
+ height: string;
279
+ };
280
+ };
281
+ };
282
+ export declare const AreaTimeSeriesWithCustomColors: {
283
+ render: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
284
+ args: {
285
+ isInverse: boolean;
286
+ type: CarbonChartType;
287
+ dataSet: {
288
+ group: string;
289
+ date: string;
290
+ value: 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
+ colors: string[];
308
+ };
309
+ };
310
+ };
@@ -0,0 +1,136 @@
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 StackedAreaTimeSeries: {
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: string;
12
+ value: number;
13
+ }[];
14
+ options: {
15
+ title: string;
16
+ axes: {
17
+ left: {
18
+ stacked: boolean;
19
+ scaleType: string;
20
+ mapsTo: string;
21
+ };
22
+ bottom: {
23
+ scaleType: string;
24
+ mapsTo: string;
25
+ };
26
+ };
27
+ color: {
28
+ scale: number;
29
+ };
30
+ curve: string;
31
+ height: string;
32
+ };
33
+ };
34
+ };
35
+ export declare const StackedAreaTimeSeriesWithUnevenData: {
36
+ render: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
37
+ args: {
38
+ isInverse: boolean;
39
+ type: CarbonChartType;
40
+ dataSet: {
41
+ group: string;
42
+ date: string;
43
+ value: number;
44
+ }[];
45
+ options: {
46
+ title: string;
47
+ axes: {
48
+ left: {
49
+ stacked: boolean;
50
+ mapsTo: string;
51
+ };
52
+ bottom: {
53
+ scaleType: string;
54
+ mapsTo: string;
55
+ };
56
+ };
57
+ curve: string;
58
+ height: string;
59
+ };
60
+ };
61
+ };
62
+ export declare const StackedAreaPercentage: {
63
+ render: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
64
+ args: {
65
+ isInverse: boolean;
66
+ type: CarbonChartType;
67
+ dataSet: {
68
+ group: string;
69
+ date: string;
70
+ value: number;
71
+ }[];
72
+ options: {
73
+ title: string;
74
+ axes: {
75
+ left: {
76
+ stacked: boolean;
77
+ percentage: boolean;
78
+ ticks: {};
79
+ mapsTo: string;
80
+ };
81
+ bottom: {
82
+ scaleType: string;
83
+ mapsTo: string;
84
+ };
85
+ };
86
+ curve: string;
87
+ height: string;
88
+ };
89
+ };
90
+ };
91
+ export declare const VerticalStackedAreatimeSeriesWithToolbarOverride: {
92
+ render: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
93
+ args: {
94
+ isInverse: boolean;
95
+ type: CarbonChartType;
96
+ dataSet: {
97
+ group: string;
98
+ date: string;
99
+ value: number;
100
+ }[];
101
+ options: {
102
+ title: string;
103
+ axes: {
104
+ left: {
105
+ mapsTo: string;
106
+ stacked: boolean;
107
+ };
108
+ bottom: {
109
+ mapsTo: string;
110
+ scaleType: string;
111
+ };
112
+ };
113
+ toolbar: {
114
+ enabled: boolean;
115
+ numberOfIcons: number;
116
+ controls: ({
117
+ type: string;
118
+ text?: undefined;
119
+ iconSVG?: undefined;
120
+ } | {
121
+ type: string;
122
+ text: string;
123
+ iconSVG: {
124
+ content: string;
125
+ };
126
+ })[];
127
+ };
128
+ zoomBar: {
129
+ top: {
130
+ enabled: boolean;
131
+ };
132
+ };
133
+ height: string;
134
+ };
135
+ };
136
+ };
@@ -0,0 +1,214 @@
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 VerticalSimpleBarDiscrete: {
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
+ axes: {
16
+ left: {
17
+ mapsTo: string;
18
+ };
19
+ bottom: {
20
+ mapsTo: string;
21
+ scaleType: string;
22
+ };
23
+ };
24
+ height: string;
25
+ tooltip: {
26
+ valueFormatter: (value: any) => string;
27
+ enabled: boolean;
28
+ };
29
+ };
30
+ };
31
+ };
32
+ export declare const VerticalSimpleBarTimeSeries: {
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
+ date: Date;
40
+ value: number;
41
+ }[];
42
+ options: {
43
+ title: string;
44
+ axes: {
45
+ left: {
46
+ mapsTo: string;
47
+ };
48
+ bottom: {
49
+ mapsTo: string;
50
+ scaleType: string;
51
+ };
52
+ };
53
+ height: string;
54
+ };
55
+ };
56
+ };
57
+ export declare const VerticalSimpleBarTimeSeriesDenseDataTurkish: {
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
+ ticks: {};
73
+ };
74
+ bottom: {
75
+ mapsTo: string;
76
+ scaleType: string;
77
+ ticks: {};
78
+ };
79
+ };
80
+ tooltip: {};
81
+ bars: {
82
+ maxWidth: number;
83
+ };
84
+ height: string;
85
+ };
86
+ };
87
+ };
88
+ export declare const VerticalSimpleBarEmptyState: {
89
+ render: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
90
+ args: {
91
+ isInverse: boolean;
92
+ type: CarbonChartType;
93
+ dataSet: never[];
94
+ options: {
95
+ title: string;
96
+ axes: {
97
+ left: {};
98
+ bottom: {
99
+ scaleType: string;
100
+ };
101
+ };
102
+ height: string;
103
+ };
104
+ };
105
+ };
106
+ export declare const VerticalSimpleBarSkeleton: {
107
+ render: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
108
+ args: {
109
+ isInverse: boolean;
110
+ type: CarbonChartType;
111
+ dataSet: never[];
112
+ options: {
113
+ title: string;
114
+ axes: {
115
+ left: {};
116
+ bottom: {
117
+ scaleType: string;
118
+ };
119
+ };
120
+ data: {
121
+ loading: boolean;
122
+ };
123
+ height: string;
124
+ };
125
+ };
126
+ };
127
+ export declare const HorizontalSimpleBarTimeSeries: {
128
+ render: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
129
+ args: {
130
+ isInverse: boolean;
131
+ type: CarbonChartType;
132
+ dataSet: {
133
+ group: string;
134
+ date: Date;
135
+ value: number;
136
+ }[];
137
+ options: {
138
+ title: string;
139
+ axes: {
140
+ left: {
141
+ mapsTo: string;
142
+ scaleType: string;
143
+ };
144
+ bottom: {
145
+ mapsTo: string;
146
+ };
147
+ };
148
+ height: string;
149
+ };
150
+ };
151
+ };
152
+ export declare const HorizontalSimpleBarDiscrete: {
153
+ render: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
154
+ args: {
155
+ isInverse: boolean;
156
+ type: CarbonChartType;
157
+ dataSet: {
158
+ group: string;
159
+ value: number;
160
+ }[];
161
+ options: {
162
+ title: string;
163
+ axes: {
164
+ left: {
165
+ mapsTo: string;
166
+ scaleType: string;
167
+ };
168
+ bottom: {
169
+ mapsTo: string;
170
+ };
171
+ };
172
+ height: string;
173
+ };
174
+ };
175
+ };
176
+ export declare const HorizontalSimpleBarSkeleton: {
177
+ render: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
178
+ args: {
179
+ isInverse: boolean;
180
+ type: CarbonChartType;
181
+ dataSet: never[];
182
+ options: {
183
+ title: string;
184
+ axes: {
185
+ left: {
186
+ scaleType: string;
187
+ };
188
+ bottom: {};
189
+ };
190
+ data: {
191
+ loading: boolean;
192
+ };
193
+ height: string;
194
+ };
195
+ };
196
+ };
197
+ export declare const HorizontalSimpleBarEmptyState: {
198
+ render: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
199
+ args: {
200
+ isInverse: boolean;
201
+ type: CarbonChartType;
202
+ dataSet: never[];
203
+ options: {
204
+ title: string;
205
+ axes: {
206
+ left: {
207
+ scaleType: string;
208
+ };
209
+ bottom: {};
210
+ };
211
+ height: string;
212
+ };
213
+ };
214
+ };