@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,8 +1,127 @@
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 MeterChartWithStatuses: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
5
- export declare const MeterChartNoStatus: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
6
- export declare const ProportionalMeterChart: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
7
- export declare const ProportionalMeterChartPeakAndStatuses: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
8
- export declare const ProportionalMeterChartTruncated: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
4
+ export declare const MeterChartWithStatuses: {
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
+ meter: {
16
+ peak: number;
17
+ status: {
18
+ ranges: {
19
+ range: number[];
20
+ status: string;
21
+ }[];
22
+ };
23
+ };
24
+ height: string;
25
+ };
26
+ };
27
+ };
28
+ export declare const MeterChartNoStatus: {
29
+ render: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
30
+ args: {
31
+ isInverse: boolean;
32
+ type: CarbonChartType;
33
+ dataSet: {
34
+ group: string;
35
+ value: number;
36
+ }[];
37
+ options: {
38
+ title: string;
39
+ meter: {
40
+ peak: number;
41
+ };
42
+ height: string;
43
+ };
44
+ };
45
+ };
46
+ export declare const ProportionalMeterChart: {
47
+ render: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
48
+ args: {
49
+ isInverse: boolean;
50
+ type: CarbonChartType;
51
+ dataSet: {
52
+ group: string;
53
+ value: number;
54
+ }[];
55
+ options: {
56
+ title: string;
57
+ height: string;
58
+ meter: {
59
+ proportional: {
60
+ total: number;
61
+ unit: string;
62
+ };
63
+ };
64
+ color: {
65
+ pairing: {
66
+ option: number;
67
+ };
68
+ };
69
+ };
70
+ };
71
+ };
72
+ export declare const ProportionalMeterChartPeakAndStatuses: {
73
+ render: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
74
+ args: {
75
+ isInverse: boolean;
76
+ type: CarbonChartType;
77
+ dataSet: {
78
+ group: string;
79
+ value: number;
80
+ }[];
81
+ options: {
82
+ title: string;
83
+ height: string;
84
+ meter: {
85
+ peak: number;
86
+ proportional: {
87
+ total: number;
88
+ unit: string;
89
+ };
90
+ status: {
91
+ ranges: {
92
+ range: number[];
93
+ status: string;
94
+ }[];
95
+ };
96
+ };
97
+ color: {
98
+ pairing: {
99
+ option: number;
100
+ };
101
+ };
102
+ };
103
+ };
104
+ };
105
+ export declare const ProportionalMeterChartTruncated: {
106
+ render: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
107
+ args: {
108
+ isInverse: boolean;
109
+ type: CarbonChartType;
110
+ dataSet: {
111
+ group: string;
112
+ value: number;
113
+ }[];
114
+ options: {
115
+ title: string;
116
+ height: string;
117
+ meter: {
118
+ proportional: {
119
+ total: number;
120
+ unit: string;
121
+ totalFormatter: (e: any) => string;
122
+ breakdownFormatter: (e: any) => string;
123
+ };
124
+ };
125
+ };
126
+ };
127
+ };
@@ -1,8 +1,101 @@
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 Pie: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
5
- export declare const PieCentered: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
6
- export declare const PieValueMapsToCount: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
7
- export declare const PieEmptyState: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
8
- export declare const PieSkeleton: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
4
+ export declare const Pie: {
5
+ render: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
6
+ args: {
7
+ isInverse: boolean;
8
+ type: CarbonChartType;
9
+ dataSet: {
10
+ group: string;
11
+ value: number;
12
+ }[];
13
+ options: {
14
+ title: string;
15
+ resizable: boolean;
16
+ height: string;
17
+ legend: {
18
+ truncation: {
19
+ type: string;
20
+ };
21
+ };
22
+ };
23
+ };
24
+ };
25
+ export declare const PieCentered: {
26
+ render: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
27
+ args: {
28
+ isInverse: boolean;
29
+ type: CarbonChartType;
30
+ dataSet: {
31
+ group: string;
32
+ value: number;
33
+ }[];
34
+ options: {
35
+ title: string;
36
+ resizable: boolean;
37
+ pie: {
38
+ alignment: string;
39
+ };
40
+ height: string;
41
+ legend: {
42
+ truncation: {
43
+ type: string;
44
+ };
45
+ };
46
+ };
47
+ };
48
+ };
49
+ export declare const PieValueMapsToCount: {
50
+ render: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
51
+ args: {
52
+ isInverse: boolean;
53
+ type: CarbonChartType;
54
+ dataSet: {
55
+ group: string;
56
+ count: number;
57
+ }[];
58
+ options: {
59
+ title: string;
60
+ resizable: boolean;
61
+ pie: {
62
+ valueMapsTo: string;
63
+ };
64
+ height: string;
65
+ legend: {
66
+ truncation: {
67
+ type: string;
68
+ };
69
+ };
70
+ };
71
+ };
72
+ };
73
+ export declare const PieEmptyState: {
74
+ render: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
75
+ args: {
76
+ isInverse: boolean;
77
+ type: CarbonChartType;
78
+ dataSet: never[];
79
+ options: {
80
+ title: string;
81
+ resizable: boolean;
82
+ height: string;
83
+ };
84
+ };
85
+ };
86
+ export declare const PieSkeleton: {
87
+ render: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
88
+ args: {
89
+ isInverse: boolean;
90
+ type: CarbonChartType;
91
+ dataSet: never[];
92
+ options: {
93
+ title: string;
94
+ resizable: boolean;
95
+ data: {
96
+ loading: boolean;
97
+ };
98
+ height: string;
99
+ };
100
+ };
101
+ };
@@ -1,7 +1,98 @@
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 Radar: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
5
- export declare const RadarCentered: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
6
- export declare const RadarMissingDatapoints: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
7
- export declare const RadarDense: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
4
+ export declare const Radar: {
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
+ product: string;
11
+ feature: string;
12
+ score: number;
13
+ }[];
14
+ options: {
15
+ title: string;
16
+ radar: {
17
+ axes: {
18
+ angle: string;
19
+ value: string;
20
+ };
21
+ };
22
+ data: {
23
+ groupMapsTo: string;
24
+ };
25
+ height: string;
26
+ };
27
+ };
28
+ };
29
+ export declare const RadarCentered: {
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
+ product: string;
36
+ feature: string;
37
+ score: number;
38
+ }[];
39
+ options: {
40
+ title: string;
41
+ radar: {
42
+ axes: {
43
+ angle: string;
44
+ value: string;
45
+ };
46
+ alignment: string;
47
+ };
48
+ data: {
49
+ groupMapsTo: string;
50
+ };
51
+ legend: {
52
+ alignment: string;
53
+ };
54
+ height: string;
55
+ };
56
+ };
57
+ };
58
+ export declare const RadarMissingDatapoints: {
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
+ key: string;
66
+ value: number;
67
+ }[];
68
+ options: {
69
+ title: string;
70
+ height: string;
71
+ };
72
+ };
73
+ };
74
+ export declare const RadarDense: {
75
+ render: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
76
+ args: {
77
+ isInverse: boolean;
78
+ type: CarbonChartType;
79
+ dataSet: {
80
+ month: string;
81
+ activity: string;
82
+ hoursAvg: number;
83
+ }[];
84
+ options: {
85
+ title: string;
86
+ radar: {
87
+ axes: {
88
+ angle: string;
89
+ value: string;
90
+ };
91
+ };
92
+ data: {
93
+ groupMapsTo: string;
94
+ };
95
+ height: string;
96
+ };
97
+ };
98
+ };
@@ -1,9 +1,173 @@
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 ScatterLinearXAndY: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
5
- export declare const ScatterTimeSeries: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
6
- export declare const ScatterDiscrete: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
7
- export declare const ScatterDualAxes: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
8
- export declare const ScatterEmptyState: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
9
- export declare const ScatterSkeleton: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
4
+ export declare const ScatterLinearXAndY: {
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
+ employees: number;
12
+ sales: number;
13
+ }[];
14
+ options: {
15
+ title: string;
16
+ axes: {
17
+ bottom: {
18
+ title: string;
19
+ mapsTo: string;
20
+ scaleType: string;
21
+ };
22
+ left: {
23
+ title: string;
24
+ mapsTo: string;
25
+ scaleType: string;
26
+ };
27
+ };
28
+ height: string;
29
+ };
30
+ };
31
+ };
32
+ export declare const ScatterTimeSeries: {
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
+ group: string;
43
+ date: string;
44
+ value: null;
45
+ })[];
46
+ options: {
47
+ title: string;
48
+ axes: {
49
+ bottom: {
50
+ title: string;
51
+ scaleType: string;
52
+ mapsTo: string;
53
+ };
54
+ left: {
55
+ mapsTo: string;
56
+ };
57
+ };
58
+ height: string;
59
+ };
60
+ };
61
+ };
62
+ export declare const ScatterDiscrete: {
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
+ key: string;
70
+ value: number;
71
+ }[];
72
+ options: {
73
+ title: string;
74
+ axes: {
75
+ bottom: {
76
+ title: string;
77
+ scaleType: string;
78
+ mapsTo: string;
79
+ };
80
+ left: {
81
+ mapsTo: string;
82
+ };
83
+ };
84
+ height: string;
85
+ };
86
+ };
87
+ };
88
+ export declare const ScatterDualAxes: {
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
+ orderCount: number;
97
+ productCount?: undefined;
98
+ } | {
99
+ group: string;
100
+ date: string;
101
+ productCount: number;
102
+ orderCount?: undefined;
103
+ })[];
104
+ options: {
105
+ title: string;
106
+ axes: {
107
+ bottom: {
108
+ mapsTo: string;
109
+ scaleType: string;
110
+ };
111
+ left: {
112
+ title: string;
113
+ mapsTo: string;
114
+ scaleType: string;
115
+ };
116
+ right: {
117
+ title: string;
118
+ mapsTo: string;
119
+ scaleType: string;
120
+ correspondingDatasets: string[];
121
+ };
122
+ };
123
+ height: string;
124
+ };
125
+ };
126
+ };
127
+ export declare const ScatterEmptyState: {
128
+ render: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
129
+ args: {
130
+ isInverse: boolean;
131
+ type: CarbonChartType;
132
+ dataSet: never[];
133
+ options: {
134
+ title: string;
135
+ axes: {
136
+ bottom: {
137
+ title: string;
138
+ scaleType: string;
139
+ mapsTo: string;
140
+ };
141
+ left: {
142
+ mapsTo: string;
143
+ };
144
+ };
145
+ height: string;
146
+ };
147
+ };
148
+ };
149
+ export declare const ScatterSkeleton: {
150
+ render: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
151
+ args: {
152
+ isInverse: boolean;
153
+ type: CarbonChartType;
154
+ dataSet: never[];
155
+ options: {
156
+ title: string;
157
+ axes: {
158
+ bottom: {
159
+ title: string;
160
+ scaleType: string;
161
+ mapsTo: string;
162
+ };
163
+ left: {
164
+ mapsTo: string;
165
+ };
166
+ };
167
+ data: {
168
+ loading: boolean;
169
+ };
170
+ height: string;
171
+ };
172
+ };
173
+ };
@@ -1,4 +1,51 @@
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 AreaSparkline: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
4
+ export declare const AreaSparkline: {
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
+ height: string;
17
+ grid: {
18
+ x: {
19
+ enabled: boolean;
20
+ };
21
+ y: {
22
+ enabled: boolean;
23
+ };
24
+ };
25
+ axes: {
26
+ bottom: {
27
+ visible: boolean;
28
+ title: string;
29
+ mapsTo: string;
30
+ scaleType: string;
31
+ };
32
+ left: {
33
+ visible: boolean;
34
+ mapsTo: string;
35
+ scaleType: string;
36
+ };
37
+ };
38
+ color: {
39
+ gradient: {
40
+ enabled: boolean;
41
+ };
42
+ };
43
+ points: {
44
+ enabled: boolean;
45
+ };
46
+ legend: {
47
+ enabled: boolean;
48
+ };
49
+ };
50
+ };
51
+ };
@@ -1,4 +1,38 @@
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 StepTimeSeries: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
4
+ export declare const StepTimeSeries: {
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
+ surplus: number;
14
+ } | {
15
+ group: string;
16
+ date: string;
17
+ value: null;
18
+ surplus: number;
19
+ })[];
20
+ options: {
21
+ title: string;
22
+ axes: {
23
+ bottom: {
24
+ title: string;
25
+ mapsTo: string;
26
+ scaleType: string;
27
+ };
28
+ left: {
29
+ mapsTo: string;
30
+ title: string;
31
+ scaleType: string;
32
+ };
33
+ };
34
+ curve: string;
35
+ height: string;
36
+ };
37
+ };
38
+ };