@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.
- package/dist/components/CarbonChart/CarbonChartArea.stories.d.ts +308 -10
- package/dist/components/CarbonChart/CarbonChartAreaStacked.stories.d.ts +134 -5
- package/dist/components/CarbonChart/CarbonChartBar.stories.d.ts +212 -10
- package/dist/components/CarbonChart/CarbonChartBarFloating.stories.d.ts +80 -4
- package/dist/components/CarbonChart/CarbonChartBarGrouped.stories.d.ts +232 -11
- package/dist/components/CarbonChart/CarbonChartBarStacked.stories.d.ts +264 -12
- package/dist/components/CarbonChart/CarbonChartBoxplot.stories.d.ts +51 -3
- package/dist/components/CarbonChart/CarbonChartBubble.stories.d.ts +194 -7
- package/dist/components/CarbonChart/CarbonChartBullet.stories.d.ts +33 -2
- package/dist/components/CarbonChart/CarbonChartCombo.stories.d.ts +578 -13
- package/dist/components/CarbonChart/CarbonChartDonut.stories.d.ts +118 -6
- package/dist/components/CarbonChart/CarbonChartGauge.stories.d.ts +41 -3
- package/dist/components/CarbonChart/CarbonChartHistogram.stories.d.ts +87 -4
- package/dist/components/CarbonChart/CarbonChartLine.stories.d.ts +575 -18
- package/dist/components/CarbonChart/CarbonChartLollipop.stories.d.ts +53 -3
- package/dist/components/CarbonChart/CarbonChartMeter.stories.d.ts +125 -6
- package/dist/components/CarbonChart/CarbonChartPie.stories.d.ts +99 -6
- package/dist/components/CarbonChart/CarbonChartRadar.stories.d.ts +96 -5
- package/dist/components/CarbonChart/CarbonChartScatter.stories.d.ts +171 -7
- package/dist/components/CarbonChart/CarbonChartSparkline.stories.d.ts +49 -2
- package/dist/components/CarbonChart/CarbonChartStep.stories.d.ts +36 -2
- package/dist/components/LineChart/LineChart.stories.d.ts +132 -21
- package/package.json +3 -3
- package/src/components/CarbonChart/CarbonChartArea.stories.tsx +674 -649
- package/src/components/CarbonChart/CarbonChartAreaStacked.stories.tsx +424 -414
- package/src/components/CarbonChart/CarbonChartBar.stories.tsx +352 -325
- package/src/components/CarbonChart/CarbonChartBarFloating.stories.tsx +127 -116
- package/src/components/CarbonChart/CarbonChartBarGrouped.stories.tsx +872 -843
- package/src/components/CarbonChart/CarbonChartBarStacked.stories.tsx +913 -879
- package/src/components/CarbonChart/CarbonChartBoxplot.stories.tsx +238 -232
- package/src/components/CarbonChart/CarbonChartBubble.stories.tsx +565 -547
- package/src/components/CarbonChart/CarbonChartBullet.stories.tsx +59 -56
- package/src/components/CarbonChart/CarbonChartCombo.stories.tsx +1335 -1299
- package/src/components/CarbonChart/CarbonChartDonut.stories.tsx +170 -153
- package/src/components/CarbonChart/CarbonChartGauge.stories.tsx +50 -44
- package/src/components/CarbonChart/CarbonChartHistogram.stories.tsx +733 -724
- package/src/components/CarbonChart/CarbonChartLine.stories.tsx +1656 -1605
- package/src/components/CarbonChart/CarbonChartLollipop.stories.tsx +81 -76
- package/src/components/CarbonChart/CarbonChartMeter.stories.tsx +177 -162
- package/src/components/CarbonChart/CarbonChartPie.stories.tsx +154 -139
- package/src/components/CarbonChart/CarbonChartRadar.stories.tsx +445 -433
- package/src/components/CarbonChart/CarbonChartScatter.stories.tsx +427 -409
- package/src/components/CarbonChart/CarbonChartSparkline.stories.tsx +191 -188
- package/src/components/CarbonChart/CarbonChartStep.stories.tsx +145 -142
- package/src/components/LineChart/LineChart.stories.tsx +91 -104
|
@@ -1,12 +1,310 @@
|
|
|
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 AreaTimeSeriesNaturalCurve:
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
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
|
+
};
|
|
@@ -1,7 +1,136 @@
|
|
|
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 StackedAreaTimeSeries:
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
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
|
+
};
|
|
@@ -1,12 +1,214 @@
|
|
|
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 VerticalSimpleBarDiscrete:
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
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
|
+
};
|