@react-magma/charts 12.0.1-next.0 → 12.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.
- package/dist/charts.js +2450 -1
- package/dist/charts.js.map +1 -1
- package/dist/charts.modern.module.js +2428 -1
- package/dist/charts.modern.module.js.map +1 -1
- package/dist/charts.umd.js +48555 -1
- package/dist/charts.umd.js.map +1 -1
- package/dist/components/CarbonChart/CarbonChart.d.ts +42 -41
- package/dist/components/CarbonChart/CarbonChartArea.stories.d.ts +310 -310
- package/dist/components/CarbonChart/CarbonChartAreaStacked.stories.d.ts +136 -136
- package/dist/components/CarbonChart/CarbonChartBar.stories.d.ts +214 -214
- package/dist/components/CarbonChart/CarbonChartBarFloating.stories.d.ts +82 -82
- package/dist/components/CarbonChart/CarbonChartBarGrouped.stories.d.ts +234 -234
- package/dist/components/CarbonChart/CarbonChartBarStacked.stories.d.ts +266 -266
- package/dist/components/CarbonChart/CarbonChartBoxplot.stories.d.ts +53 -53
- package/dist/components/CarbonChart/CarbonChartBubble.stories.d.ts +196 -196
- package/dist/components/CarbonChart/CarbonChartBullet.stories.d.ts +35 -35
- package/dist/components/CarbonChart/CarbonChartCombo.stories.d.ts +580 -580
- package/dist/components/CarbonChart/CarbonChartDonut.stories.d.ts +120 -120
- package/dist/components/CarbonChart/CarbonChartGauge.stories.d.ts +43 -43
- package/dist/components/CarbonChart/CarbonChartHistogram.stories.d.ts +89 -89
- package/dist/components/CarbonChart/CarbonChartLine.stories.d.ts +577 -577
- package/dist/components/CarbonChart/CarbonChartLollipop.stories.d.ts +55 -55
- package/dist/components/CarbonChart/CarbonChartMeter.stories.d.ts +127 -127
- package/dist/components/CarbonChart/CarbonChartPie.stories.d.ts +101 -101
- package/dist/components/CarbonChart/CarbonChartRadar.stories.d.ts +98 -98
- package/dist/components/CarbonChart/CarbonChartScatter.stories.d.ts +173 -173
- package/dist/components/CarbonChart/CarbonChartSparkline.stories.d.ts +51 -51
- package/dist/components/CarbonChart/CarbonChartStep.stories.d.ts +38 -38
- package/dist/components/CarbonChart/index.d.ts +1 -1
- package/dist/components/LineChart/Chart.d.ts +27 -27
- package/dist/components/LineChart/ChartDataTable.d.ts +17 -17
- package/dist/components/LineChart/CustomAxisComponent.d.ts +3 -3
- package/dist/components/LineChart/CustomPointComponent.d.ts +17 -17
- package/dist/components/LineChart/DataTable.d.ts +5 -5
- package/dist/components/LineChart/GraphTooltip.d.ts +3 -3
- package/dist/components/LineChart/LegendButton.d.ts +6 -6
- package/dist/components/LineChart/LineChart.d.ts +67 -67
- package/dist/components/LineChart/LineChart.stories.d.ts +113 -134
- package/dist/components/LineChart/index.d.ts +1 -1
- package/dist/components/LineChart/magma-charts.d.ts +1 -1
- package/dist/index.d.ts +2 -2
- package/package.json +10 -5
- package/src/components/CarbonChart/CarbonChart.tsx +12 -16
- package/src/components/CarbonChart/carbon-charts.css +7303 -0
- package/dist/components/CarbonChart/CarbonChart.test.d.ts +0 -1
- package/dist/components/CarbonChart/embeddedStyles.d.ts +0 -1
- package/dist/components/LineChart/ChartDataTable.test.d.ts +0 -1
- package/dist/components/LineChart/LineChart.test.d.ts +0 -1
- package/dist/components/LineChart/test/exampleChartData.d.ts +0 -40
- package/src/components/CarbonChart/embeddedStyles.ts +0 -24880
|
@@ -1,120 +1,120 @@
|
|
|
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 Donut: {
|
|
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
|
-
donut: {
|
|
17
|
-
center: {
|
|
18
|
-
label: string;
|
|
19
|
-
};
|
|
20
|
-
};
|
|
21
|
-
height: string;
|
|
22
|
-
legend: {
|
|
23
|
-
truncation: {
|
|
24
|
-
type: string;
|
|
25
|
-
};
|
|
26
|
-
};
|
|
27
|
-
};
|
|
28
|
-
};
|
|
29
|
-
};
|
|
30
|
-
export declare const DonutCentered: {
|
|
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
|
-
value: number;
|
|
38
|
-
}[];
|
|
39
|
-
options: {
|
|
40
|
-
title: string;
|
|
41
|
-
resizable: boolean;
|
|
42
|
-
legend: {
|
|
43
|
-
alignment: string;
|
|
44
|
-
truncation: {
|
|
45
|
-
type: string;
|
|
46
|
-
};
|
|
47
|
-
};
|
|
48
|
-
donut: {
|
|
49
|
-
center: {
|
|
50
|
-
label: string;
|
|
51
|
-
};
|
|
52
|
-
alignment: string;
|
|
53
|
-
};
|
|
54
|
-
height: string;
|
|
55
|
-
};
|
|
56
|
-
};
|
|
57
|
-
};
|
|
58
|
-
export declare const DonutValueMapsToCount: {
|
|
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
|
-
count: number;
|
|
66
|
-
}[];
|
|
67
|
-
options: {
|
|
68
|
-
title: string;
|
|
69
|
-
resizable: boolean;
|
|
70
|
-
pie: {
|
|
71
|
-
valueMapsTo: string;
|
|
72
|
-
};
|
|
73
|
-
height: string;
|
|
74
|
-
legend: {
|
|
75
|
-
truncation: {
|
|
76
|
-
type: string;
|
|
77
|
-
};
|
|
78
|
-
};
|
|
79
|
-
};
|
|
80
|
-
};
|
|
81
|
-
};
|
|
82
|
-
export declare const DonutEmptyState: {
|
|
83
|
-
render: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
|
|
84
|
-
args: {
|
|
85
|
-
isInverse: boolean;
|
|
86
|
-
type: CarbonChartType;
|
|
87
|
-
dataSet: never[];
|
|
88
|
-
options: {
|
|
89
|
-
title: string;
|
|
90
|
-
resizable: boolean;
|
|
91
|
-
donut: {
|
|
92
|
-
center: {
|
|
93
|
-
label: string;
|
|
94
|
-
};
|
|
95
|
-
};
|
|
96
|
-
height: string;
|
|
97
|
-
};
|
|
98
|
-
};
|
|
99
|
-
};
|
|
100
|
-
export declare const DonutSkeleton: {
|
|
101
|
-
render: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
|
|
102
|
-
args: {
|
|
103
|
-
isInverse: boolean;
|
|
104
|
-
type: CarbonChartType;
|
|
105
|
-
dataSet: never[];
|
|
106
|
-
options: {
|
|
107
|
-
title: string;
|
|
108
|
-
resizable: boolean;
|
|
109
|
-
donut: {
|
|
110
|
-
center: {
|
|
111
|
-
label: string;
|
|
112
|
-
};
|
|
113
|
-
};
|
|
114
|
-
data: {
|
|
115
|
-
loading: boolean;
|
|
116
|
-
};
|
|
117
|
-
height: string;
|
|
118
|
-
};
|
|
119
|
-
};
|
|
120
|
-
};
|
|
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 Donut: {
|
|
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
|
+
donut: {
|
|
17
|
+
center: {
|
|
18
|
+
label: string;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
height: string;
|
|
22
|
+
legend: {
|
|
23
|
+
truncation: {
|
|
24
|
+
type: string;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
export declare const DonutCentered: {
|
|
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
|
+
value: number;
|
|
38
|
+
}[];
|
|
39
|
+
options: {
|
|
40
|
+
title: string;
|
|
41
|
+
resizable: boolean;
|
|
42
|
+
legend: {
|
|
43
|
+
alignment: string;
|
|
44
|
+
truncation: {
|
|
45
|
+
type: string;
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
donut: {
|
|
49
|
+
center: {
|
|
50
|
+
label: string;
|
|
51
|
+
};
|
|
52
|
+
alignment: string;
|
|
53
|
+
};
|
|
54
|
+
height: string;
|
|
55
|
+
};
|
|
56
|
+
};
|
|
57
|
+
};
|
|
58
|
+
export declare const DonutValueMapsToCount: {
|
|
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
|
+
count: number;
|
|
66
|
+
}[];
|
|
67
|
+
options: {
|
|
68
|
+
title: string;
|
|
69
|
+
resizable: boolean;
|
|
70
|
+
pie: {
|
|
71
|
+
valueMapsTo: string;
|
|
72
|
+
};
|
|
73
|
+
height: string;
|
|
74
|
+
legend: {
|
|
75
|
+
truncation: {
|
|
76
|
+
type: string;
|
|
77
|
+
};
|
|
78
|
+
};
|
|
79
|
+
};
|
|
80
|
+
};
|
|
81
|
+
};
|
|
82
|
+
export declare const DonutEmptyState: {
|
|
83
|
+
render: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
|
|
84
|
+
args: {
|
|
85
|
+
isInverse: boolean;
|
|
86
|
+
type: CarbonChartType;
|
|
87
|
+
dataSet: never[];
|
|
88
|
+
options: {
|
|
89
|
+
title: string;
|
|
90
|
+
resizable: boolean;
|
|
91
|
+
donut: {
|
|
92
|
+
center: {
|
|
93
|
+
label: string;
|
|
94
|
+
};
|
|
95
|
+
};
|
|
96
|
+
height: string;
|
|
97
|
+
};
|
|
98
|
+
};
|
|
99
|
+
};
|
|
100
|
+
export declare const DonutSkeleton: {
|
|
101
|
+
render: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
|
|
102
|
+
args: {
|
|
103
|
+
isInverse: boolean;
|
|
104
|
+
type: CarbonChartType;
|
|
105
|
+
dataSet: never[];
|
|
106
|
+
options: {
|
|
107
|
+
title: string;
|
|
108
|
+
resizable: boolean;
|
|
109
|
+
donut: {
|
|
110
|
+
center: {
|
|
111
|
+
label: string;
|
|
112
|
+
};
|
|
113
|
+
};
|
|
114
|
+
data: {
|
|
115
|
+
loading: boolean;
|
|
116
|
+
};
|
|
117
|
+
height: string;
|
|
118
|
+
};
|
|
119
|
+
};
|
|
120
|
+
};
|
|
@@ -1,43 +1,43 @@
|
|
|
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 GaugeSemicircularDangerStatus: {
|
|
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
|
-
gauge: {
|
|
18
|
-
type: string;
|
|
19
|
-
status: string;
|
|
20
|
-
};
|
|
21
|
-
};
|
|
22
|
-
};
|
|
23
|
-
};
|
|
24
|
-
export declare const GaugeCircularWarningStatus: {
|
|
25
|
-
render: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
|
|
26
|
-
args: {
|
|
27
|
-
isInverse: boolean;
|
|
28
|
-
type: CarbonChartType;
|
|
29
|
-
dataSet: {
|
|
30
|
-
group: string;
|
|
31
|
-
value: number;
|
|
32
|
-
}[];
|
|
33
|
-
options: {
|
|
34
|
-
title: string;
|
|
35
|
-
resizable: boolean;
|
|
36
|
-
height: string;
|
|
37
|
-
gauge: {
|
|
38
|
-
status: string;
|
|
39
|
-
type: string;
|
|
40
|
-
};
|
|
41
|
-
};
|
|
42
|
-
};
|
|
43
|
-
};
|
|
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 GaugeSemicircularDangerStatus: {
|
|
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
|
+
gauge: {
|
|
18
|
+
type: string;
|
|
19
|
+
status: string;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
export declare const GaugeCircularWarningStatus: {
|
|
25
|
+
render: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
|
|
26
|
+
args: {
|
|
27
|
+
isInverse: boolean;
|
|
28
|
+
type: CarbonChartType;
|
|
29
|
+
dataSet: {
|
|
30
|
+
group: string;
|
|
31
|
+
value: number;
|
|
32
|
+
}[];
|
|
33
|
+
options: {
|
|
34
|
+
title: string;
|
|
35
|
+
resizable: boolean;
|
|
36
|
+
height: string;
|
|
37
|
+
gauge: {
|
|
38
|
+
status: string;
|
|
39
|
+
type: string;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
};
|
|
@@ -1,89 +1,89 @@
|
|
|
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 HistogramLinear: {
|
|
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
|
-
age: number;
|
|
12
|
-
}[];
|
|
13
|
-
options: {
|
|
14
|
-
title: string;
|
|
15
|
-
axes: {
|
|
16
|
-
bottom: {
|
|
17
|
-
title: string;
|
|
18
|
-
mapsTo: string;
|
|
19
|
-
bins: number;
|
|
20
|
-
limitDomainToBins: boolean;
|
|
21
|
-
};
|
|
22
|
-
left: {
|
|
23
|
-
title: string;
|
|
24
|
-
scaleType: string;
|
|
25
|
-
stacked: boolean;
|
|
26
|
-
binned: boolean;
|
|
27
|
-
};
|
|
28
|
-
};
|
|
29
|
-
height: string;
|
|
30
|
-
};
|
|
31
|
-
};
|
|
32
|
-
};
|
|
33
|
-
export declare const HistogramDefinedBinsNumberLinear: {
|
|
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
|
-
bottom: {
|
|
46
|
-
title: string;
|
|
47
|
-
mapsTo: string;
|
|
48
|
-
bins: number;
|
|
49
|
-
limitDomainToBins: boolean;
|
|
50
|
-
};
|
|
51
|
-
left: {
|
|
52
|
-
title: string;
|
|
53
|
-
scaleType: string;
|
|
54
|
-
binned: boolean;
|
|
55
|
-
};
|
|
56
|
-
};
|
|
57
|
-
height: string;
|
|
58
|
-
};
|
|
59
|
-
};
|
|
60
|
-
};
|
|
61
|
-
export declare const HistogramDefinedBinsLinear: {
|
|
62
|
-
render: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
|
|
63
|
-
args: {
|
|
64
|
-
isInverse: boolean;
|
|
65
|
-
type: CarbonChartType;
|
|
66
|
-
dataSet: {
|
|
67
|
-
group: string;
|
|
68
|
-
age: number;
|
|
69
|
-
}[];
|
|
70
|
-
options: {
|
|
71
|
-
title: string;
|
|
72
|
-
axes: {
|
|
73
|
-
bottom: {
|
|
74
|
-
title: string;
|
|
75
|
-
mapsTo: string;
|
|
76
|
-
bins: number[];
|
|
77
|
-
limitDomainToBins: boolean;
|
|
78
|
-
};
|
|
79
|
-
left: {
|
|
80
|
-
title: string;
|
|
81
|
-
scaleType: string;
|
|
82
|
-
stacked: boolean;
|
|
83
|
-
binned: boolean;
|
|
84
|
-
};
|
|
85
|
-
};
|
|
86
|
-
height: string;
|
|
87
|
-
};
|
|
88
|
-
};
|
|
89
|
-
};
|
|
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 HistogramLinear: {
|
|
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
|
+
age: number;
|
|
12
|
+
}[];
|
|
13
|
+
options: {
|
|
14
|
+
title: string;
|
|
15
|
+
axes: {
|
|
16
|
+
bottom: {
|
|
17
|
+
title: string;
|
|
18
|
+
mapsTo: string;
|
|
19
|
+
bins: number;
|
|
20
|
+
limitDomainToBins: boolean;
|
|
21
|
+
};
|
|
22
|
+
left: {
|
|
23
|
+
title: string;
|
|
24
|
+
scaleType: string;
|
|
25
|
+
stacked: boolean;
|
|
26
|
+
binned: boolean;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
height: string;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
export declare const HistogramDefinedBinsNumberLinear: {
|
|
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
|
+
bottom: {
|
|
46
|
+
title: string;
|
|
47
|
+
mapsTo: string;
|
|
48
|
+
bins: number;
|
|
49
|
+
limitDomainToBins: boolean;
|
|
50
|
+
};
|
|
51
|
+
left: {
|
|
52
|
+
title: string;
|
|
53
|
+
scaleType: string;
|
|
54
|
+
binned: boolean;
|
|
55
|
+
};
|
|
56
|
+
};
|
|
57
|
+
height: string;
|
|
58
|
+
};
|
|
59
|
+
};
|
|
60
|
+
};
|
|
61
|
+
export declare const HistogramDefinedBinsLinear: {
|
|
62
|
+
render: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, CarbonChartProps>;
|
|
63
|
+
args: {
|
|
64
|
+
isInverse: boolean;
|
|
65
|
+
type: CarbonChartType;
|
|
66
|
+
dataSet: {
|
|
67
|
+
group: string;
|
|
68
|
+
age: number;
|
|
69
|
+
}[];
|
|
70
|
+
options: {
|
|
71
|
+
title: string;
|
|
72
|
+
axes: {
|
|
73
|
+
bottom: {
|
|
74
|
+
title: string;
|
|
75
|
+
mapsTo: string;
|
|
76
|
+
bins: number[];
|
|
77
|
+
limitDomainToBins: boolean;
|
|
78
|
+
};
|
|
79
|
+
left: {
|
|
80
|
+
title: string;
|
|
81
|
+
scaleType: string;
|
|
82
|
+
stacked: boolean;
|
|
83
|
+
binned: boolean;
|
|
84
|
+
};
|
|
85
|
+
};
|
|
86
|
+
height: string;
|
|
87
|
+
};
|
|
88
|
+
};
|
|
89
|
+
};
|