@carbon/charts 1.16.11 → 1.17.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/CHANGELOG.md +22 -0
- package/README.md +2 -26
- package/dist/{angle-utils-ByrL6LVp.mjs → angle-utils-Cq7fAZ_G.mjs} +2 -2
- package/dist/{angle-utils-ByrL6LVp.mjs.map → angle-utils-Cq7fAZ_G.mjs.map} +1 -1
- package/dist/{array-6NAAybxf.mjs → array-Dp6N70oc.mjs} +2 -2
- package/dist/{array-6NAAybxf.mjs.map → array-Dp6N70oc.mjs.map} +1 -1
- package/dist/{choropleth-BAn8HIaC.mjs → choropleth-BVD28Asn.mjs} +4 -10
- package/dist/choropleth-BVD28Asn.mjs.map +1 -0
- package/dist/{color-scale-utils-CSwgszB6.mjs → color-scale-utils-BpobzRX6.mjs} +2 -2
- package/dist/{color-scale-utils-CSwgszB6.mjs.map → color-scale-utils-BpobzRX6.mjs.map} +1 -1
- package/dist/components/diagrams/buildPaths.d.ts +15 -27
- package/dist/components/essentials/legend.spec.d.ts +1 -0
- package/dist/components/essentials/title.spec.d.ts +1 -0
- package/dist/components/index.mjs +1 -1
- package/dist/{index-fFi6OCaz.mjs → index-CeYuVh-h.mjs} +3 -3
- package/dist/{index-fFi6OCaz.mjs.map → index-CeYuVh-h.mjs.map} +1 -1
- package/dist/index.mjs +7 -7
- package/dist/model/index.mjs +2 -2
- package/dist/selectedGroups.spec.d.ts +1 -0
- package/dist/services/index.mjs +3 -3
- package/dist/services/time-series.spec.d.ts +1 -0
- package/dist/tests/index.d.ts +2 -0
- package/dist/tests/test-environment.d.ts +16 -0
- package/dist/tests/tools.d.ts +4 -0
- package/dist/tools.spec.d.ts +1 -0
- package/dist/umd/bundle.umd.cjs +1 -1
- package/dist/umd/bundle.umd.cjs.map +1 -1
- package/dist/umd/bundle.umd.js +1 -1
- package/package.json +18 -26
- package/dist/choropleth-BAn8HIaC.mjs.map +0 -1
- package/dist/demo/charts/alluvial.d.ts +0 -110
- package/dist/demo/charts/area.d.ts +0 -225
- package/dist/demo/charts/bar.d.ts +0 -763
- package/dist/demo/charts/boxplot.d.ts +0 -35
- package/dist/demo/charts/bubble.d.ts +0 -142
- package/dist/demo/charts/bullet.d.ts +0 -25
- package/dist/demo/charts/chart-types.d.ts +0 -128
- package/dist/demo/charts/choropleth.d.ts +0 -736
- package/dist/demo/charts/circle-pack.d.ts +0 -91
- package/dist/demo/charts/combo.d.ts +0 -483
- package/dist/demo/charts/donut.d.ts +0 -65
- package/dist/demo/charts/gauge.d.ts +0 -40
- package/dist/demo/charts/heatmap.d.ts +0 -126
- package/dist/demo/charts/hightlight.d.ts +0 -41
- package/dist/demo/charts/histogram.d.ts +0 -64
- package/dist/demo/charts/index.d.ts +0 -62
- package/dist/demo/charts/line.d.ts +0 -362
- package/dist/demo/charts/lollipop.d.ts +0 -40
- package/dist/demo/charts/meter.d.ts +0 -95
- package/dist/demo/charts/pie.d.ts +0 -47
- package/dist/demo/charts/radar.d.ts +0 -64
- package/dist/demo/charts/scatter.d.ts +0 -119
- package/dist/demo/charts/step.d.ts +0 -96
- package/dist/demo/charts/time-series-axis.d.ts +0 -326
- package/dist/demo/charts/toolbar.d.ts +0 -12
- package/dist/demo/charts/topojson-110.d.ts +0 -360
- package/dist/demo/charts/tree.d.ts +0 -30
- package/dist/demo/charts/treemap.d.ts +0 -15
- package/dist/demo/charts/wordcloud.d.ts +0 -14
- package/dist/demo/charts/zoom-bar.d.ts +0 -79
- package/dist/demo/index.d.ts +0 -4
- package/dist/demo/index.mjs +0 -51456
- package/dist/demo/index.mjs.map +0 -1
- package/dist/demo/styles.css +0 -34613
- package/dist/demo/styles.css.map +0 -1
- package/dist/demo/utils/index.d.ts +0 -2
- package/dist/demo/utils/package-versions.d.ts +0 -18
- package/dist/demo/utils/stackblitz/angular.d.ts +0 -3
- package/dist/demo/utils/stackblitz/index.d.ts +0 -5
- package/dist/demo/utils/stackblitz/object-to-string.d.ts +0 -5
- package/dist/demo/utils/stackblitz/react.d.ts +0 -3
- package/dist/demo/utils/stackblitz/svelte.d.ts +0 -3
- package/dist/demo/utils/stackblitz/vanilla-js.d.ts +0 -3
- package/dist/demo/utils/stackblitz/vue.d.ts +0 -3
- package/dist/demo/utils/story-widgets.d.ts +0 -6
- package/scss/demos.scss +0 -412
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
export declare const meterData: {
|
|
2
|
-
group: string;
|
|
3
|
-
value: number;
|
|
4
|
-
}[];
|
|
5
|
-
export declare const meterOptionsWithStatus: {
|
|
6
|
-
title: string;
|
|
7
|
-
meter: {
|
|
8
|
-
peak: number;
|
|
9
|
-
status: {
|
|
10
|
-
ranges: {
|
|
11
|
-
range: number[];
|
|
12
|
-
status: string;
|
|
13
|
-
}[];
|
|
14
|
-
};
|
|
15
|
-
};
|
|
16
|
-
height: string;
|
|
17
|
-
};
|
|
18
|
-
export declare const meterOptionsCustomColor: {
|
|
19
|
-
title: string;
|
|
20
|
-
meter: {
|
|
21
|
-
peak: number;
|
|
22
|
-
status: {
|
|
23
|
-
ranges: {
|
|
24
|
-
range: number[];
|
|
25
|
-
status: string;
|
|
26
|
-
}[];
|
|
27
|
-
};
|
|
28
|
-
};
|
|
29
|
-
color: {
|
|
30
|
-
scale: {
|
|
31
|
-
'Dataset 1': string;
|
|
32
|
-
};
|
|
33
|
-
};
|
|
34
|
-
height: string;
|
|
35
|
-
};
|
|
36
|
-
export declare const meterOptionsNoStatus: {
|
|
37
|
-
title: string;
|
|
38
|
-
meter: {
|
|
39
|
-
peak: number;
|
|
40
|
-
};
|
|
41
|
-
height: string;
|
|
42
|
-
};
|
|
43
|
-
export declare const propMeterData: {
|
|
44
|
-
group: string;
|
|
45
|
-
value: number;
|
|
46
|
-
}[];
|
|
47
|
-
export declare const propMeterOptions: {
|
|
48
|
-
title: string;
|
|
49
|
-
height: string;
|
|
50
|
-
meter: {
|
|
51
|
-
proportional: {
|
|
52
|
-
total: number;
|
|
53
|
-
unit: string;
|
|
54
|
-
};
|
|
55
|
-
};
|
|
56
|
-
color: {
|
|
57
|
-
pairing: {
|
|
58
|
-
option: number;
|
|
59
|
-
};
|
|
60
|
-
};
|
|
61
|
-
};
|
|
62
|
-
export declare const propMeterStatusOptions: {
|
|
63
|
-
title: string;
|
|
64
|
-
height: string;
|
|
65
|
-
meter: {
|
|
66
|
-
peak: number;
|
|
67
|
-
proportional: {
|
|
68
|
-
total: number;
|
|
69
|
-
unit: string;
|
|
70
|
-
};
|
|
71
|
-
status: {
|
|
72
|
-
ranges: {
|
|
73
|
-
range: number[];
|
|
74
|
-
status: string;
|
|
75
|
-
}[];
|
|
76
|
-
};
|
|
77
|
-
};
|
|
78
|
-
color: {
|
|
79
|
-
pairing: {
|
|
80
|
-
option: number;
|
|
81
|
-
};
|
|
82
|
-
};
|
|
83
|
-
};
|
|
84
|
-
export declare const propMeterTruncationOptions: {
|
|
85
|
-
title: string;
|
|
86
|
-
height: string;
|
|
87
|
-
meter: {
|
|
88
|
-
proportional: {
|
|
89
|
-
total: number;
|
|
90
|
-
unit: string;
|
|
91
|
-
totalFormatter: (total: any) => string;
|
|
92
|
-
breakdownFormatter: (x: any) => string;
|
|
93
|
-
};
|
|
94
|
-
};
|
|
95
|
-
};
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import { Alignments } from '../../interfaces';
|
|
2
|
-
export declare const pieData: {
|
|
3
|
-
group: string;
|
|
4
|
-
value: number;
|
|
5
|
-
}[];
|
|
6
|
-
export declare const pieOptions: {
|
|
7
|
-
title: string;
|
|
8
|
-
resizable: boolean;
|
|
9
|
-
};
|
|
10
|
-
export declare const pieCenteredData: {
|
|
11
|
-
group: string;
|
|
12
|
-
value: number;
|
|
13
|
-
}[];
|
|
14
|
-
export declare const pieCenteredOptions: {
|
|
15
|
-
title: string;
|
|
16
|
-
resizable: boolean;
|
|
17
|
-
legend: {
|
|
18
|
-
alignment: Alignments;
|
|
19
|
-
};
|
|
20
|
-
pie: {
|
|
21
|
-
alignment: Alignments;
|
|
22
|
-
};
|
|
23
|
-
};
|
|
24
|
-
export declare const pieDataMapsTo: {
|
|
25
|
-
group: string;
|
|
26
|
-
count: number;
|
|
27
|
-
}[];
|
|
28
|
-
export declare const pieMapToOptions: {
|
|
29
|
-
title: string;
|
|
30
|
-
resizable: boolean;
|
|
31
|
-
pie: {
|
|
32
|
-
valueMapsTo: string;
|
|
33
|
-
};
|
|
34
|
-
};
|
|
35
|
-
export declare const pieEmptyStateData: any[];
|
|
36
|
-
export declare const pieEmptyStateOptions: {
|
|
37
|
-
title: string;
|
|
38
|
-
resizable: boolean;
|
|
39
|
-
};
|
|
40
|
-
export declare const pieSkeletonData: any[];
|
|
41
|
-
export declare const pieSkeletonOptions: {
|
|
42
|
-
title: string;
|
|
43
|
-
resizable: boolean;
|
|
44
|
-
data: {
|
|
45
|
-
loading: boolean;
|
|
46
|
-
};
|
|
47
|
-
};
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
import { Alignments } from '../../interfaces';
|
|
2
|
-
export declare const radarData: {
|
|
3
|
-
product: string;
|
|
4
|
-
feature: string;
|
|
5
|
-
score: number;
|
|
6
|
-
}[];
|
|
7
|
-
export declare const radarOptions: {
|
|
8
|
-
title: string;
|
|
9
|
-
radar: {
|
|
10
|
-
axes: {
|
|
11
|
-
angle: string;
|
|
12
|
-
value: string;
|
|
13
|
-
};
|
|
14
|
-
};
|
|
15
|
-
data: {
|
|
16
|
-
groupMapsTo: string;
|
|
17
|
-
};
|
|
18
|
-
};
|
|
19
|
-
export declare const radarCenteredData: {
|
|
20
|
-
product: string;
|
|
21
|
-
feature: string;
|
|
22
|
-
score: number;
|
|
23
|
-
}[];
|
|
24
|
-
export declare const radarCenteredOptions: {
|
|
25
|
-
title: string;
|
|
26
|
-
radar: {
|
|
27
|
-
axes: {
|
|
28
|
-
angle: string;
|
|
29
|
-
value: string;
|
|
30
|
-
};
|
|
31
|
-
alignment: Alignments;
|
|
32
|
-
};
|
|
33
|
-
data: {
|
|
34
|
-
groupMapsTo: string;
|
|
35
|
-
};
|
|
36
|
-
legend: {
|
|
37
|
-
alignment: Alignments;
|
|
38
|
-
};
|
|
39
|
-
};
|
|
40
|
-
export declare const radarWithMissingDataData: {
|
|
41
|
-
group: string;
|
|
42
|
-
key: string;
|
|
43
|
-
value: number;
|
|
44
|
-
}[];
|
|
45
|
-
export declare const radarWithMissingDataOptions: {
|
|
46
|
-
title: string;
|
|
47
|
-
};
|
|
48
|
-
export declare const radarDenseData: {
|
|
49
|
-
month: string;
|
|
50
|
-
activity: string;
|
|
51
|
-
hoursAvg: number;
|
|
52
|
-
}[];
|
|
53
|
-
export declare const radarDenseOptions: {
|
|
54
|
-
title: string;
|
|
55
|
-
radar: {
|
|
56
|
-
axes: {
|
|
57
|
-
angle: string;
|
|
58
|
-
value: string;
|
|
59
|
-
};
|
|
60
|
-
};
|
|
61
|
-
data: {
|
|
62
|
-
groupMapsTo: string;
|
|
63
|
-
};
|
|
64
|
-
};
|
|
@@ -1,119 +0,0 @@
|
|
|
1
|
-
import { ScaleTypes } from '../../interfaces';
|
|
2
|
-
export declare const doubleLinearScatterData: {
|
|
3
|
-
group: string;
|
|
4
|
-
employees: number;
|
|
5
|
-
sales: number;
|
|
6
|
-
}[];
|
|
7
|
-
export declare const doubleLinearScatterOptions: {
|
|
8
|
-
title: string;
|
|
9
|
-
axes: {
|
|
10
|
-
bottom: {
|
|
11
|
-
title: string;
|
|
12
|
-
mapsTo: string;
|
|
13
|
-
scaleType: ScaleTypes;
|
|
14
|
-
};
|
|
15
|
-
left: {
|
|
16
|
-
title: string;
|
|
17
|
-
mapsTo: string;
|
|
18
|
-
scaleType: ScaleTypes;
|
|
19
|
-
};
|
|
20
|
-
};
|
|
21
|
-
};
|
|
22
|
-
export declare const scatterDiscreteData: {
|
|
23
|
-
group: string;
|
|
24
|
-
key: string;
|
|
25
|
-
value: number;
|
|
26
|
-
}[];
|
|
27
|
-
export declare const scatterDiscreteOptions: {
|
|
28
|
-
title: string;
|
|
29
|
-
axes: {
|
|
30
|
-
bottom: {
|
|
31
|
-
title: string;
|
|
32
|
-
scaleType: ScaleTypes;
|
|
33
|
-
mapsTo: string;
|
|
34
|
-
};
|
|
35
|
-
left: {
|
|
36
|
-
mapsTo: string;
|
|
37
|
-
};
|
|
38
|
-
};
|
|
39
|
-
};
|
|
40
|
-
export declare const scatterTimeSeriesData: {
|
|
41
|
-
group: string;
|
|
42
|
-
date: Date;
|
|
43
|
-
value: number;
|
|
44
|
-
}[];
|
|
45
|
-
export declare const scatterTimeSeriesOptions: {
|
|
46
|
-
title: string;
|
|
47
|
-
axes: {
|
|
48
|
-
bottom: {
|
|
49
|
-
title: string;
|
|
50
|
-
scaleType: ScaleTypes;
|
|
51
|
-
mapsTo: string;
|
|
52
|
-
};
|
|
53
|
-
left: {
|
|
54
|
-
mapsTo: string;
|
|
55
|
-
};
|
|
56
|
-
};
|
|
57
|
-
};
|
|
58
|
-
export declare const scatterEmptyStateData: any[];
|
|
59
|
-
export declare const scatterEmptyStateOptions: {
|
|
60
|
-
title: string;
|
|
61
|
-
axes: {
|
|
62
|
-
bottom: {
|
|
63
|
-
title: string;
|
|
64
|
-
scaleType: ScaleTypes;
|
|
65
|
-
mapsTo: string;
|
|
66
|
-
};
|
|
67
|
-
left: {
|
|
68
|
-
mapsTo: string;
|
|
69
|
-
};
|
|
70
|
-
};
|
|
71
|
-
};
|
|
72
|
-
export declare const scatterSkeletonData: any[];
|
|
73
|
-
export declare const scatterSkeletonOptions: {
|
|
74
|
-
title: string;
|
|
75
|
-
axes: {
|
|
76
|
-
bottom: {
|
|
77
|
-
title: string;
|
|
78
|
-
scaleType: ScaleTypes;
|
|
79
|
-
mapsTo: string;
|
|
80
|
-
};
|
|
81
|
-
left: {
|
|
82
|
-
mapsTo: string;
|
|
83
|
-
};
|
|
84
|
-
};
|
|
85
|
-
data: {
|
|
86
|
-
loading: boolean;
|
|
87
|
-
};
|
|
88
|
-
};
|
|
89
|
-
export declare const scatterDualAxesData: ({
|
|
90
|
-
group: string;
|
|
91
|
-
date: string;
|
|
92
|
-
orderCount: number;
|
|
93
|
-
productCount?: undefined;
|
|
94
|
-
} | {
|
|
95
|
-
group: string;
|
|
96
|
-
date: string;
|
|
97
|
-
productCount: number;
|
|
98
|
-
orderCount?: undefined;
|
|
99
|
-
})[];
|
|
100
|
-
export declare const scatterDualAxesOptions: {
|
|
101
|
-
title: string;
|
|
102
|
-
axes: {
|
|
103
|
-
bottom: {
|
|
104
|
-
mapsTo: string;
|
|
105
|
-
scaleType: ScaleTypes;
|
|
106
|
-
};
|
|
107
|
-
left: {
|
|
108
|
-
title: string;
|
|
109
|
-
mapsTo: string;
|
|
110
|
-
scaleType: ScaleTypes;
|
|
111
|
-
};
|
|
112
|
-
right: {
|
|
113
|
-
title: string;
|
|
114
|
-
mapsTo: string;
|
|
115
|
-
scaleType: ScaleTypes;
|
|
116
|
-
correspondingDatasets: string[];
|
|
117
|
-
};
|
|
118
|
-
};
|
|
119
|
-
};
|
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
export declare const stepOptions: {
|
|
2
|
-
title: string;
|
|
3
|
-
axes: {
|
|
4
|
-
bottom: {
|
|
5
|
-
title: string;
|
|
6
|
-
mapsTo: string;
|
|
7
|
-
scaleType: import('../..').ScaleTypes;
|
|
8
|
-
};
|
|
9
|
-
left: {
|
|
10
|
-
mapsTo: string;
|
|
11
|
-
title: string;
|
|
12
|
-
scaleType: import('../..').ScaleTypes;
|
|
13
|
-
};
|
|
14
|
-
};
|
|
15
|
-
} & {
|
|
16
|
-
title: string;
|
|
17
|
-
curve: string;
|
|
18
|
-
};
|
|
19
|
-
export declare const stepData: ({
|
|
20
|
-
group: string;
|
|
21
|
-
key: string;
|
|
22
|
-
value: number;
|
|
23
|
-
audienceSize?: undefined;
|
|
24
|
-
} | {
|
|
25
|
-
group: string;
|
|
26
|
-
key: string;
|
|
27
|
-
value: number;
|
|
28
|
-
audienceSize: number;
|
|
29
|
-
})[];
|
|
30
|
-
export declare const stepTimeSeriesOptions: {
|
|
31
|
-
title: string;
|
|
32
|
-
axes: {
|
|
33
|
-
bottom: {
|
|
34
|
-
title: string;
|
|
35
|
-
mapsTo: string;
|
|
36
|
-
scaleType: import('../..').ScaleTypes;
|
|
37
|
-
};
|
|
38
|
-
left: {
|
|
39
|
-
mapsTo: string;
|
|
40
|
-
title: string;
|
|
41
|
-
scaleType: import('../..').ScaleTypes;
|
|
42
|
-
};
|
|
43
|
-
};
|
|
44
|
-
curve: string;
|
|
45
|
-
} & {
|
|
46
|
-
title: string;
|
|
47
|
-
curve: string;
|
|
48
|
-
};
|
|
49
|
-
export declare const stepTimeSeriesData: {
|
|
50
|
-
group: string;
|
|
51
|
-
date: Date;
|
|
52
|
-
value: number;
|
|
53
|
-
}[];
|
|
54
|
-
export declare const stepEmptyStateData: any[];
|
|
55
|
-
export declare const stepEmptyStateOptions: {
|
|
56
|
-
title: string;
|
|
57
|
-
axes: {
|
|
58
|
-
bottom: {
|
|
59
|
-
title: string;
|
|
60
|
-
mapsTo: string;
|
|
61
|
-
scaleType: import('../..').ScaleTypes;
|
|
62
|
-
};
|
|
63
|
-
left: {
|
|
64
|
-
mapsTo: string;
|
|
65
|
-
title: string;
|
|
66
|
-
scaleType: import('../..').ScaleTypes;
|
|
67
|
-
};
|
|
68
|
-
};
|
|
69
|
-
curve: string;
|
|
70
|
-
} & {
|
|
71
|
-
title: string;
|
|
72
|
-
curve: string;
|
|
73
|
-
};
|
|
74
|
-
export declare const stepSkeletonData: any[];
|
|
75
|
-
export declare const stepSkeletonOptions: {
|
|
76
|
-
title: string;
|
|
77
|
-
axes: {
|
|
78
|
-
bottom: {
|
|
79
|
-
title: string;
|
|
80
|
-
mapsTo: string;
|
|
81
|
-
scaleType: import('../..').ScaleTypes;
|
|
82
|
-
};
|
|
83
|
-
left: {
|
|
84
|
-
mapsTo: string;
|
|
85
|
-
title: string;
|
|
86
|
-
scaleType: import('../..').ScaleTypes;
|
|
87
|
-
};
|
|
88
|
-
};
|
|
89
|
-
curve: string;
|
|
90
|
-
} & {
|
|
91
|
-
title: string;
|
|
92
|
-
curve: string;
|
|
93
|
-
data: {
|
|
94
|
-
loading: boolean;
|
|
95
|
-
};
|
|
96
|
-
};
|