@carbon/charts-vue 1.19.3 → 1.21.3
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 +80 -0
- package/README.md +2 -3
- package/dist/components/CcvAlluvialChart.d.ts +76 -5
- package/dist/components/CcvAreaChart.d.ts +76 -5
- package/dist/components/CcvBoxplotChart.d.ts +76 -5
- package/dist/components/CcvBubbleChart.d.ts +76 -5
- package/dist/components/CcvBulletChart.d.ts +76 -5
- package/dist/components/CcvChoroplethChart.d.ts +76 -5
- package/dist/components/CcvCirclePackChart.d.ts +76 -5
- package/dist/components/CcvComboChart.d.ts +76 -5
- package/dist/components/CcvDonutChart.d.ts +76 -5
- package/dist/components/CcvGaugeChart.d.ts +76 -5
- package/dist/components/CcvGroupedBarChart.d.ts +76 -5
- package/dist/components/CcvHeatmapChart.d.ts +76 -5
- package/dist/components/CcvHistogramChart.d.ts +76 -5
- package/dist/components/CcvLineChart.d.ts +76 -5
- package/dist/components/CcvLollipopChart.d.ts +76 -5
- package/dist/components/CcvMeterChart.d.ts +76 -5
- package/dist/components/CcvPieChart.d.ts +76 -5
- package/dist/components/CcvRadarChart.d.ts +76 -5
- package/dist/components/CcvScatterChart.d.ts +76 -5
- package/dist/components/CcvSimpleBarChart.d.ts +76 -5
- package/dist/components/CcvStackedAreaChart.d.ts +76 -5
- package/dist/components/CcvStackedBarChart.d.ts +76 -5
- package/dist/components/CcvTreeChart.d.ts +76 -5
- package/dist/components/CcvTreemapChart.d.ts +76 -5
- package/dist/components/CcvWordCloudChart.d.ts +76 -5
- package/dist/components/TestHarness.d.ts +1 -1
- package/dist/components/chartFactory.d.ts +76 -5
- package/dist/index.mjs +735 -736
- package/dist/index.mjs.map +1 -1
- package/package.json +11 -11
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,86 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See
|
|
4
4
|
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## 1.21.3 (2024-09-11)
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
- **lerna:** not using env, set explicitly
|
|
11
|
+
([#1889](https://github.com/carbon-design-system/carbon-charts/issues/1889))
|
|
12
|
+
([c47634a](https://github.com/carbon-design-system/carbon-charts/commit/c47634ac75c77493995519e19d1c49d1f571853f))
|
|
13
|
+
|
|
14
|
+
# Change Log
|
|
15
|
+
|
|
16
|
+
All notable changes to this project will be documented in this file. See
|
|
17
|
+
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
18
|
+
|
|
19
|
+
## 1.21.2 (2024-09-08)
|
|
20
|
+
|
|
21
|
+
### Bug Fixes
|
|
22
|
+
|
|
23
|
+
- **release:** remove auth-token from actions/setup-node@v4 and use env for publish
|
|
24
|
+
([#1888](https://github.com/carbon-design-system/carbon-charts/issues/1888))
|
|
25
|
+
([5bcb140](https://github.com/carbon-design-system/carbon-charts/commit/5bcb140f2ff099fca4b82209efef60f0a896c574))
|
|
26
|
+
|
|
27
|
+
# Change Log
|
|
28
|
+
|
|
29
|
+
All notable changes to this project will be documented in this file. See
|
|
30
|
+
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
31
|
+
|
|
32
|
+
## 1.21.1 (2024-09-07)
|
|
33
|
+
|
|
34
|
+
### Bug Fixes
|
|
35
|
+
|
|
36
|
+
- **release:** separate docs search index generation
|
|
37
|
+
([#1884](https://github.com/carbon-design-system/carbon-charts/issues/1884))
|
|
38
|
+
([2d1f84e](https://github.com/carbon-design-system/carbon-charts/commit/2d1f84ed9aea3a47f99d5fee74d96db52108d163))
|
|
39
|
+
|
|
40
|
+
# Change Log
|
|
41
|
+
|
|
42
|
+
All notable changes to this project will be documented in this file. See
|
|
43
|
+
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
44
|
+
|
|
45
|
+
# 1.21.0 (2024-09-02)
|
|
46
|
+
|
|
47
|
+
### Features
|
|
48
|
+
|
|
49
|
+
- **netlify:** add logo to intro page
|
|
50
|
+
([#1878](https://github.com/carbon-design-system/carbon-charts/issues/1878))
|
|
51
|
+
([24feeae](https://github.com/carbon-design-system/carbon-charts/commit/24feeaef3f7ff33e4cdc3600fa7b867384af6db2))
|
|
52
|
+
|
|
53
|
+
# Change Log
|
|
54
|
+
|
|
55
|
+
All notable changes to this project will be documented in this file. See
|
|
56
|
+
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
57
|
+
|
|
58
|
+
## 1.20.1 (2024-08-29)
|
|
59
|
+
|
|
60
|
+
### Bug Fixes
|
|
61
|
+
|
|
62
|
+
- **treemap:** assign leaf text color based on custom colors
|
|
63
|
+
([#1881](https://github.com/carbon-design-system/carbon-charts/issues/1881))
|
|
64
|
+
([f8b10b4](https://github.com/carbon-design-system/carbon-charts/commit/f8b10b433db004752ea5663aa638a8a14d3491ee)),
|
|
65
|
+
closes [#1880](https://github.com/carbon-design-system/carbon-charts/issues/1880)
|
|
66
|
+
|
|
67
|
+
# Change Log
|
|
68
|
+
|
|
69
|
+
All notable changes to this project will be documented in this file. See
|
|
70
|
+
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
71
|
+
|
|
72
|
+
# 1.20.0 (2024-08-28)
|
|
73
|
+
|
|
74
|
+
### Features
|
|
75
|
+
|
|
76
|
+
- **tooltip:** pass datum to customHTML callback function
|
|
77
|
+
([#1879](https://github.com/carbon-design-system/carbon-charts/issues/1879))
|
|
78
|
+
([9a76784](https://github.com/carbon-design-system/carbon-charts/commit/9a767848c5d9f34d51b2616b904393f496c0f5fd)),
|
|
79
|
+
closes [#1518](https://github.com/carbon-design-system/carbon-charts/issues/1518)
|
|
80
|
+
|
|
81
|
+
# Change Log
|
|
82
|
+
|
|
83
|
+
All notable changes to this project will be documented in this file. See
|
|
84
|
+
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
85
|
+
|
|
6
86
|
## 1.19.3 (2024-08-19)
|
|
7
87
|
|
|
8
88
|
**Note:** Version bump only for package @carbon/charts-vue
|
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<p align="center">
|
|
2
2
|
<a href="https://charts.carbondesignsystem.com/">
|
|
3
|
-
<img src="../../assets/dashboard.png" alt="Carbon Charts" />
|
|
3
|
+
<img src="../../carbon-charts/HEAD/assets/dashboard.png" alt="Carbon Charts" />
|
|
4
4
|
</a>
|
|
5
5
|
<h3 align="center">Carbon Charts Vue</h3>
|
|
6
6
|
<p align="center">
|
|
@@ -17,8 +17,7 @@
|
|
|
17
17
|
</p>
|
|
18
18
|
</p>
|
|
19
19
|
|
|
20
|
-
For Vue.js 2.x support, please use
|
|
21
|
-
`@carbon/charts-vue@latest`.
|
|
20
|
+
For Vue.js 2.x support, please use `@carbon/charts-vue@latest`.
|
|
22
21
|
|
|
23
22
|
## [Documentation with StackBlitz examples](https://charts.carbondesignsystem.com/)
|
|
24
23
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AlluvialChartOptions } from '@carbon/charts';
|
|
2
|
-
declare const _default: import('../../vue/dist/vue.esm-bundler.js').DefineComponent<{
|
|
2
|
+
declare const _default: import('../../vue/dist/vue.esm-bundler.js').DefineComponent<import('../../vue/dist/vue.esm-bundler.js').ExtractPropTypes<{
|
|
3
3
|
data: {
|
|
4
4
|
type: () => import('@carbon/charts').ChartTabularData;
|
|
5
5
|
required: true;
|
|
@@ -8,7 +8,7 @@ declare const _default: import('../../vue/dist/vue.esm-bundler.js').DefineCompon
|
|
|
8
8
|
type: () => AlluvialChartOptions;
|
|
9
9
|
required: true;
|
|
10
10
|
};
|
|
11
|
-
}
|
|
11
|
+
}>, {
|
|
12
12
|
chart: import('../../vue/dist/vue.esm-bundler.js').Ref<{
|
|
13
13
|
components: {
|
|
14
14
|
type: string;
|
|
@@ -80,9 +80,80 @@ declare const _default: import('../../vue/dist/vue.esm-bundler.js').DefineCompon
|
|
|
80
80
|
getComponents: () => import('@carbon/charts').Component[];
|
|
81
81
|
update: (animate?: boolean) => void;
|
|
82
82
|
destroy: () => void;
|
|
83
|
+
} | null, import('@carbon/charts').Chart | {
|
|
84
|
+
components: {
|
|
85
|
+
type: string;
|
|
86
|
+
renderType: import('@carbon/charts').RenderTypes;
|
|
87
|
+
id: string;
|
|
88
|
+
init: () => void;
|
|
89
|
+
render: (animate?: boolean) => void;
|
|
90
|
+
destroy: () => void;
|
|
91
|
+
setModel: (newObj: any) => void;
|
|
92
|
+
setServices: (newObj: any) => void;
|
|
93
|
+
setParent: (parent: any) => void;
|
|
94
|
+
getParent: () => import('d3-selection').Selection<SVGGraphicsElement | HTMLDivElement, any, HTMLElement, any>;
|
|
95
|
+
getComponentContainer: (configs?: {
|
|
96
|
+
withinChartClip: boolean;
|
|
97
|
+
}) => import('d3-selection').Selection<any, any, Element, any>;
|
|
98
|
+
getOptions: () => any;
|
|
99
|
+
}[];
|
|
100
|
+
services: any;
|
|
101
|
+
model: {
|
|
102
|
+
formatTable: ({ headers, cells }: {
|
|
103
|
+
headers: any;
|
|
104
|
+
cells: any;
|
|
105
|
+
}) => any[];
|
|
106
|
+
getAllDataFromDomain: (groups?: any) => any;
|
|
107
|
+
getDisplayData: (groups?: any) => any;
|
|
108
|
+
getData: () => any;
|
|
109
|
+
isDataEmpty: () => boolean;
|
|
110
|
+
setData: (newData: any) => any;
|
|
111
|
+
getDataGroups: (groups?: any) => any;
|
|
112
|
+
getActiveDataGroups: (groups?: any) => any;
|
|
113
|
+
getDataGroupNames: (groups?: any) => any;
|
|
114
|
+
getActiveDataGroupNames: (groups?: any) => any;
|
|
115
|
+
getBinConfigurations: () => {
|
|
116
|
+
bins: import('d3-array').Bin<number, number>[];
|
|
117
|
+
binsDomain: any[];
|
|
118
|
+
};
|
|
119
|
+
getBinnedStackedData: () => import('d3-shape').SeriesPoint<{
|
|
120
|
+
[key: string]: number;
|
|
121
|
+
}>[][];
|
|
122
|
+
getGroupedData: (groups?: any) => {
|
|
123
|
+
name: string;
|
|
124
|
+
data: any;
|
|
125
|
+
}[];
|
|
126
|
+
getStackKeys: ({ bins, groups }?: import('@carbon/charts').StackKeysParams) => any;
|
|
127
|
+
getDataValuesGroupedByKeys: ({ bins, groups }: import('@carbon/charts').StackKeysParams) => any;
|
|
128
|
+
getStackedData: ({ percentage, groups, divergent }: import('@carbon/charts').StackKeysParams) => any[][];
|
|
129
|
+
getOptions: () => any;
|
|
130
|
+
set: (newState: any, configs?: any) => void;
|
|
131
|
+
get: (property?: string) => any;
|
|
132
|
+
setOptions: (newOptions: any) => void;
|
|
133
|
+
update: (animate?: boolean) => void;
|
|
134
|
+
toggleDataLabel: (changedLabel: string) => void;
|
|
135
|
+
getIsFilled: (group: any, key?: any, data?: any, defaultFilled?: boolean) => any;
|
|
136
|
+
getFillColor: (group: any, key?: any, data?: any) => any;
|
|
137
|
+
getStrokeColor: (group: any, key?: any, data?: any) => any;
|
|
138
|
+
isUserProvidedColorScaleValid: () => any;
|
|
139
|
+
getColorClassName: (configs: {
|
|
140
|
+
classNameTypes?: import('@carbon/charts').ColorClassNameTypes[];
|
|
141
|
+
dataGroupName?: string | number;
|
|
142
|
+
originalClassName?: string;
|
|
143
|
+
value?: number;
|
|
144
|
+
}) => string;
|
|
145
|
+
getStatus: () => any;
|
|
146
|
+
getAllDataGroupsNames: () => string[];
|
|
147
|
+
getTabularDataArray: () => import('@carbon/charts').ChartTabularData;
|
|
148
|
+
exportToCSV: () => void;
|
|
149
|
+
};
|
|
150
|
+
init: (holder: HTMLDivElement, chartConfigs: import('@carbon/charts').ChartConfig<import('@carbon/charts').BaseChartOptions>) => void;
|
|
151
|
+
getComponents: () => import('@carbon/charts').Component[];
|
|
152
|
+
update: (animate?: boolean) => void;
|
|
153
|
+
destroy: () => void;
|
|
83
154
|
} | null>;
|
|
84
|
-
chartDiv: import('../../vue/dist/vue.esm-bundler.js').Ref<HTMLDivElement | null>;
|
|
85
|
-
},
|
|
155
|
+
chartDiv: import('../../vue/dist/vue.esm-bundler.js').Ref<HTMLDivElement | null, HTMLDivElement | null>;
|
|
156
|
+
}, {}, {}, {}, import('../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, import('../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, {}, string, import('../../vue/dist/vue.esm-bundler.js').PublicProps, Readonly<import('../../vue/dist/vue.esm-bundler.js').ExtractPropTypes<{
|
|
86
157
|
data: {
|
|
87
158
|
type: () => import('@carbon/charts').ChartTabularData;
|
|
88
159
|
required: true;
|
|
@@ -91,5 +162,5 @@ declare const _default: import('../../vue/dist/vue.esm-bundler.js').DefineCompon
|
|
|
91
162
|
type: () => AlluvialChartOptions;
|
|
92
163
|
required: true;
|
|
93
164
|
};
|
|
94
|
-
}
|
|
165
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import('../../vue/dist/vue.esm-bundler.js').ComponentProvideOptions, true, {}, any>;
|
|
95
166
|
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AreaChartOptions } from '@carbon/charts';
|
|
2
|
-
declare const _default: import('../../vue/dist/vue.esm-bundler.js').DefineComponent<{
|
|
2
|
+
declare const _default: import('../../vue/dist/vue.esm-bundler.js').DefineComponent<import('../../vue/dist/vue.esm-bundler.js').ExtractPropTypes<{
|
|
3
3
|
data: {
|
|
4
4
|
type: () => import('@carbon/charts').ChartTabularData;
|
|
5
5
|
required: true;
|
|
@@ -8,7 +8,7 @@ declare const _default: import('../../vue/dist/vue.esm-bundler.js').DefineCompon
|
|
|
8
8
|
type: () => AreaChartOptions;
|
|
9
9
|
required: true;
|
|
10
10
|
};
|
|
11
|
-
}
|
|
11
|
+
}>, {
|
|
12
12
|
chart: import('../../vue/dist/vue.esm-bundler.js').Ref<{
|
|
13
13
|
components: {
|
|
14
14
|
type: string;
|
|
@@ -80,9 +80,80 @@ declare const _default: import('../../vue/dist/vue.esm-bundler.js').DefineCompon
|
|
|
80
80
|
getComponents: () => import('@carbon/charts').Component[];
|
|
81
81
|
update: (animate?: boolean) => void;
|
|
82
82
|
destroy: () => void;
|
|
83
|
+
} | null, import('@carbon/charts').Chart | {
|
|
84
|
+
components: {
|
|
85
|
+
type: string;
|
|
86
|
+
renderType: import('@carbon/charts').RenderTypes;
|
|
87
|
+
id: string;
|
|
88
|
+
init: () => void;
|
|
89
|
+
render: (animate?: boolean) => void;
|
|
90
|
+
destroy: () => void;
|
|
91
|
+
setModel: (newObj: any) => void;
|
|
92
|
+
setServices: (newObj: any) => void;
|
|
93
|
+
setParent: (parent: any) => void;
|
|
94
|
+
getParent: () => import('d3-selection').Selection<SVGGraphicsElement | HTMLDivElement, any, HTMLElement, any>;
|
|
95
|
+
getComponentContainer: (configs?: {
|
|
96
|
+
withinChartClip: boolean;
|
|
97
|
+
}) => import('d3-selection').Selection<any, any, Element, any>;
|
|
98
|
+
getOptions: () => any;
|
|
99
|
+
}[];
|
|
100
|
+
services: any;
|
|
101
|
+
model: {
|
|
102
|
+
formatTable: ({ headers, cells }: {
|
|
103
|
+
headers: any;
|
|
104
|
+
cells: any;
|
|
105
|
+
}) => any[];
|
|
106
|
+
getAllDataFromDomain: (groups?: any) => any;
|
|
107
|
+
getDisplayData: (groups?: any) => any;
|
|
108
|
+
getData: () => any;
|
|
109
|
+
isDataEmpty: () => boolean;
|
|
110
|
+
setData: (newData: any) => any;
|
|
111
|
+
getDataGroups: (groups?: any) => any;
|
|
112
|
+
getActiveDataGroups: (groups?: any) => any;
|
|
113
|
+
getDataGroupNames: (groups?: any) => any;
|
|
114
|
+
getActiveDataGroupNames: (groups?: any) => any;
|
|
115
|
+
getBinConfigurations: () => {
|
|
116
|
+
bins: import('d3-array').Bin<number, number>[];
|
|
117
|
+
binsDomain: any[];
|
|
118
|
+
};
|
|
119
|
+
getBinnedStackedData: () => import('d3-shape').SeriesPoint<{
|
|
120
|
+
[key: string]: number;
|
|
121
|
+
}>[][];
|
|
122
|
+
getGroupedData: (groups?: any) => {
|
|
123
|
+
name: string;
|
|
124
|
+
data: any;
|
|
125
|
+
}[];
|
|
126
|
+
getStackKeys: ({ bins, groups }?: import('@carbon/charts').StackKeysParams) => any;
|
|
127
|
+
getDataValuesGroupedByKeys: ({ bins, groups }: import('@carbon/charts').StackKeysParams) => any;
|
|
128
|
+
getStackedData: ({ percentage, groups, divergent }: import('@carbon/charts').StackKeysParams) => any[][];
|
|
129
|
+
getOptions: () => any;
|
|
130
|
+
set: (newState: any, configs?: any) => void;
|
|
131
|
+
get: (property?: string) => any;
|
|
132
|
+
setOptions: (newOptions: any) => void;
|
|
133
|
+
update: (animate?: boolean) => void;
|
|
134
|
+
toggleDataLabel: (changedLabel: string) => void;
|
|
135
|
+
getIsFilled: (group: any, key?: any, data?: any, defaultFilled?: boolean) => any;
|
|
136
|
+
getFillColor: (group: any, key?: any, data?: any) => any;
|
|
137
|
+
getStrokeColor: (group: any, key?: any, data?: any) => any;
|
|
138
|
+
isUserProvidedColorScaleValid: () => any;
|
|
139
|
+
getColorClassName: (configs: {
|
|
140
|
+
classNameTypes?: import('@carbon/charts').ColorClassNameTypes[];
|
|
141
|
+
dataGroupName?: string | number;
|
|
142
|
+
originalClassName?: string;
|
|
143
|
+
value?: number;
|
|
144
|
+
}) => string;
|
|
145
|
+
getStatus: () => any;
|
|
146
|
+
getAllDataGroupsNames: () => string[];
|
|
147
|
+
getTabularDataArray: () => import('@carbon/charts').ChartTabularData;
|
|
148
|
+
exportToCSV: () => void;
|
|
149
|
+
};
|
|
150
|
+
init: (holder: HTMLDivElement, chartConfigs: import('@carbon/charts').ChartConfig<import('@carbon/charts').BaseChartOptions>) => void;
|
|
151
|
+
getComponents: () => import('@carbon/charts').Component[];
|
|
152
|
+
update: (animate?: boolean) => void;
|
|
153
|
+
destroy: () => void;
|
|
83
154
|
} | null>;
|
|
84
|
-
chartDiv: import('../../vue/dist/vue.esm-bundler.js').Ref<HTMLDivElement | null>;
|
|
85
|
-
},
|
|
155
|
+
chartDiv: import('../../vue/dist/vue.esm-bundler.js').Ref<HTMLDivElement | null, HTMLDivElement | null>;
|
|
156
|
+
}, {}, {}, {}, import('../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, import('../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, {}, string, import('../../vue/dist/vue.esm-bundler.js').PublicProps, Readonly<import('../../vue/dist/vue.esm-bundler.js').ExtractPropTypes<{
|
|
86
157
|
data: {
|
|
87
158
|
type: () => import('@carbon/charts').ChartTabularData;
|
|
88
159
|
required: true;
|
|
@@ -91,5 +162,5 @@ declare const _default: import('../../vue/dist/vue.esm-bundler.js').DefineCompon
|
|
|
91
162
|
type: () => AreaChartOptions;
|
|
92
163
|
required: true;
|
|
93
164
|
};
|
|
94
|
-
}
|
|
165
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import('../../vue/dist/vue.esm-bundler.js').ComponentProvideOptions, true, {}, any>;
|
|
95
166
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const _default: import('../../vue/dist/vue.esm-bundler.js').DefineComponent<{
|
|
1
|
+
declare const _default: import('../../vue/dist/vue.esm-bundler.js').DefineComponent<import('../../vue/dist/vue.esm-bundler.js').ExtractPropTypes<{
|
|
2
2
|
data: {
|
|
3
3
|
type: () => import('@carbon/charts').ChartTabularData;
|
|
4
4
|
required: true;
|
|
@@ -7,7 +7,7 @@ declare const _default: import('../../vue/dist/vue.esm-bundler.js').DefineCompon
|
|
|
7
7
|
type: () => import('@carbon/charts').AxisChartOptions;
|
|
8
8
|
required: true;
|
|
9
9
|
};
|
|
10
|
-
}
|
|
10
|
+
}>, {
|
|
11
11
|
chart: import('../../vue/dist/vue.esm-bundler.js').Ref<{
|
|
12
12
|
components: {
|
|
13
13
|
type: string;
|
|
@@ -79,9 +79,80 @@ declare const _default: import('../../vue/dist/vue.esm-bundler.js').DefineCompon
|
|
|
79
79
|
getComponents: () => import('@carbon/charts').Component[];
|
|
80
80
|
update: (animate?: boolean) => void;
|
|
81
81
|
destroy: () => void;
|
|
82
|
+
} | null, import('@carbon/charts').Chart | {
|
|
83
|
+
components: {
|
|
84
|
+
type: string;
|
|
85
|
+
renderType: import('@carbon/charts').RenderTypes;
|
|
86
|
+
id: string;
|
|
87
|
+
init: () => void;
|
|
88
|
+
render: (animate?: boolean) => void;
|
|
89
|
+
destroy: () => void;
|
|
90
|
+
setModel: (newObj: any) => void;
|
|
91
|
+
setServices: (newObj: any) => void;
|
|
92
|
+
setParent: (parent: any) => void;
|
|
93
|
+
getParent: () => import('d3-selection').Selection<SVGGraphicsElement | HTMLDivElement, any, HTMLElement, any>;
|
|
94
|
+
getComponentContainer: (configs?: {
|
|
95
|
+
withinChartClip: boolean;
|
|
96
|
+
}) => import('d3-selection').Selection<any, any, Element, any>;
|
|
97
|
+
getOptions: () => any;
|
|
98
|
+
}[];
|
|
99
|
+
services: any;
|
|
100
|
+
model: {
|
|
101
|
+
formatTable: ({ headers, cells }: {
|
|
102
|
+
headers: any;
|
|
103
|
+
cells: any;
|
|
104
|
+
}) => any[];
|
|
105
|
+
getAllDataFromDomain: (groups?: any) => any;
|
|
106
|
+
getDisplayData: (groups?: any) => any;
|
|
107
|
+
getData: () => any;
|
|
108
|
+
isDataEmpty: () => boolean;
|
|
109
|
+
setData: (newData: any) => any;
|
|
110
|
+
getDataGroups: (groups?: any) => any;
|
|
111
|
+
getActiveDataGroups: (groups?: any) => any;
|
|
112
|
+
getDataGroupNames: (groups?: any) => any;
|
|
113
|
+
getActiveDataGroupNames: (groups?: any) => any;
|
|
114
|
+
getBinConfigurations: () => {
|
|
115
|
+
bins: import('d3-array').Bin<number, number>[];
|
|
116
|
+
binsDomain: any[];
|
|
117
|
+
};
|
|
118
|
+
getBinnedStackedData: () => import('d3-shape').SeriesPoint<{
|
|
119
|
+
[key: string]: number;
|
|
120
|
+
}>[][];
|
|
121
|
+
getGroupedData: (groups?: any) => {
|
|
122
|
+
name: string;
|
|
123
|
+
data: any;
|
|
124
|
+
}[];
|
|
125
|
+
getStackKeys: ({ bins, groups }?: import('@carbon/charts').StackKeysParams) => any;
|
|
126
|
+
getDataValuesGroupedByKeys: ({ bins, groups }: import('@carbon/charts').StackKeysParams) => any;
|
|
127
|
+
getStackedData: ({ percentage, groups, divergent }: import('@carbon/charts').StackKeysParams) => any[][];
|
|
128
|
+
getOptions: () => any;
|
|
129
|
+
set: (newState: any, configs?: any) => void;
|
|
130
|
+
get: (property?: string) => any;
|
|
131
|
+
setOptions: (newOptions: any) => void;
|
|
132
|
+
update: (animate?: boolean) => void;
|
|
133
|
+
toggleDataLabel: (changedLabel: string) => void;
|
|
134
|
+
getIsFilled: (group: any, key?: any, data?: any, defaultFilled?: boolean) => any;
|
|
135
|
+
getFillColor: (group: any, key?: any, data?: any) => any;
|
|
136
|
+
getStrokeColor: (group: any, key?: any, data?: any) => any;
|
|
137
|
+
isUserProvidedColorScaleValid: () => any;
|
|
138
|
+
getColorClassName: (configs: {
|
|
139
|
+
classNameTypes?: import('@carbon/charts').ColorClassNameTypes[];
|
|
140
|
+
dataGroupName?: string | number;
|
|
141
|
+
originalClassName?: string;
|
|
142
|
+
value?: number;
|
|
143
|
+
}) => string;
|
|
144
|
+
getStatus: () => any;
|
|
145
|
+
getAllDataGroupsNames: () => string[];
|
|
146
|
+
getTabularDataArray: () => import('@carbon/charts').ChartTabularData;
|
|
147
|
+
exportToCSV: () => void;
|
|
148
|
+
};
|
|
149
|
+
init: (holder: HTMLDivElement, chartConfigs: import('@carbon/charts').ChartConfig<import('@carbon/charts').BaseChartOptions>) => void;
|
|
150
|
+
getComponents: () => import('@carbon/charts').Component[];
|
|
151
|
+
update: (animate?: boolean) => void;
|
|
152
|
+
destroy: () => void;
|
|
82
153
|
} | null>;
|
|
83
|
-
chartDiv: import('../../vue/dist/vue.esm-bundler.js').Ref<HTMLDivElement | null>;
|
|
84
|
-
},
|
|
154
|
+
chartDiv: import('../../vue/dist/vue.esm-bundler.js').Ref<HTMLDivElement | null, HTMLDivElement | null>;
|
|
155
|
+
}, {}, {}, {}, import('../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, import('../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, {}, string, import('../../vue/dist/vue.esm-bundler.js').PublicProps, Readonly<import('../../vue/dist/vue.esm-bundler.js').ExtractPropTypes<{
|
|
85
156
|
data: {
|
|
86
157
|
type: () => import('@carbon/charts').ChartTabularData;
|
|
87
158
|
required: true;
|
|
@@ -90,5 +161,5 @@ declare const _default: import('../../vue/dist/vue.esm-bundler.js').DefineCompon
|
|
|
90
161
|
type: () => import('@carbon/charts').AxisChartOptions;
|
|
91
162
|
required: true;
|
|
92
163
|
};
|
|
93
|
-
}
|
|
164
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import('../../vue/dist/vue.esm-bundler.js').ComponentProvideOptions, true, {}, any>;
|
|
94
165
|
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BubbleChartOptions } from '@carbon/charts';
|
|
2
|
-
declare const _default: import('../../vue/dist/vue.esm-bundler.js').DefineComponent<{
|
|
2
|
+
declare const _default: import('../../vue/dist/vue.esm-bundler.js').DefineComponent<import('../../vue/dist/vue.esm-bundler.js').ExtractPropTypes<{
|
|
3
3
|
data: {
|
|
4
4
|
type: () => import('@carbon/charts').ChartTabularData;
|
|
5
5
|
required: true;
|
|
@@ -8,7 +8,7 @@ declare const _default: import('../../vue/dist/vue.esm-bundler.js').DefineCompon
|
|
|
8
8
|
type: () => BubbleChartOptions;
|
|
9
9
|
required: true;
|
|
10
10
|
};
|
|
11
|
-
}
|
|
11
|
+
}>, {
|
|
12
12
|
chart: import('../../vue/dist/vue.esm-bundler.js').Ref<{
|
|
13
13
|
components: {
|
|
14
14
|
type: string;
|
|
@@ -80,9 +80,80 @@ declare const _default: import('../../vue/dist/vue.esm-bundler.js').DefineCompon
|
|
|
80
80
|
getComponents: () => import('@carbon/charts').Component[];
|
|
81
81
|
update: (animate?: boolean) => void;
|
|
82
82
|
destroy: () => void;
|
|
83
|
+
} | null, import('@carbon/charts').Chart | {
|
|
84
|
+
components: {
|
|
85
|
+
type: string;
|
|
86
|
+
renderType: import('@carbon/charts').RenderTypes;
|
|
87
|
+
id: string;
|
|
88
|
+
init: () => void;
|
|
89
|
+
render: (animate?: boolean) => void;
|
|
90
|
+
destroy: () => void;
|
|
91
|
+
setModel: (newObj: any) => void;
|
|
92
|
+
setServices: (newObj: any) => void;
|
|
93
|
+
setParent: (parent: any) => void;
|
|
94
|
+
getParent: () => import('d3-selection').Selection<SVGGraphicsElement | HTMLDivElement, any, HTMLElement, any>;
|
|
95
|
+
getComponentContainer: (configs?: {
|
|
96
|
+
withinChartClip: boolean;
|
|
97
|
+
}) => import('d3-selection').Selection<any, any, Element, any>;
|
|
98
|
+
getOptions: () => any;
|
|
99
|
+
}[];
|
|
100
|
+
services: any;
|
|
101
|
+
model: {
|
|
102
|
+
formatTable: ({ headers, cells }: {
|
|
103
|
+
headers: any;
|
|
104
|
+
cells: any;
|
|
105
|
+
}) => any[];
|
|
106
|
+
getAllDataFromDomain: (groups?: any) => any;
|
|
107
|
+
getDisplayData: (groups?: any) => any;
|
|
108
|
+
getData: () => any;
|
|
109
|
+
isDataEmpty: () => boolean;
|
|
110
|
+
setData: (newData: any) => any;
|
|
111
|
+
getDataGroups: (groups?: any) => any;
|
|
112
|
+
getActiveDataGroups: (groups?: any) => any;
|
|
113
|
+
getDataGroupNames: (groups?: any) => any;
|
|
114
|
+
getActiveDataGroupNames: (groups?: any) => any;
|
|
115
|
+
getBinConfigurations: () => {
|
|
116
|
+
bins: import('d3-array').Bin<number, number>[];
|
|
117
|
+
binsDomain: any[];
|
|
118
|
+
};
|
|
119
|
+
getBinnedStackedData: () => import('d3-shape').SeriesPoint<{
|
|
120
|
+
[key: string]: number;
|
|
121
|
+
}>[][];
|
|
122
|
+
getGroupedData: (groups?: any) => {
|
|
123
|
+
name: string;
|
|
124
|
+
data: any;
|
|
125
|
+
}[];
|
|
126
|
+
getStackKeys: ({ bins, groups }?: import('@carbon/charts').StackKeysParams) => any;
|
|
127
|
+
getDataValuesGroupedByKeys: ({ bins, groups }: import('@carbon/charts').StackKeysParams) => any;
|
|
128
|
+
getStackedData: ({ percentage, groups, divergent }: import('@carbon/charts').StackKeysParams) => any[][];
|
|
129
|
+
getOptions: () => any;
|
|
130
|
+
set: (newState: any, configs?: any) => void;
|
|
131
|
+
get: (property?: string) => any;
|
|
132
|
+
setOptions: (newOptions: any) => void;
|
|
133
|
+
update: (animate?: boolean) => void;
|
|
134
|
+
toggleDataLabel: (changedLabel: string) => void;
|
|
135
|
+
getIsFilled: (group: any, key?: any, data?: any, defaultFilled?: boolean) => any;
|
|
136
|
+
getFillColor: (group: any, key?: any, data?: any) => any;
|
|
137
|
+
getStrokeColor: (group: any, key?: any, data?: any) => any;
|
|
138
|
+
isUserProvidedColorScaleValid: () => any;
|
|
139
|
+
getColorClassName: (configs: {
|
|
140
|
+
classNameTypes?: import('@carbon/charts').ColorClassNameTypes[];
|
|
141
|
+
dataGroupName?: string | number;
|
|
142
|
+
originalClassName?: string;
|
|
143
|
+
value?: number;
|
|
144
|
+
}) => string;
|
|
145
|
+
getStatus: () => any;
|
|
146
|
+
getAllDataGroupsNames: () => string[];
|
|
147
|
+
getTabularDataArray: () => import('@carbon/charts').ChartTabularData;
|
|
148
|
+
exportToCSV: () => void;
|
|
149
|
+
};
|
|
150
|
+
init: (holder: HTMLDivElement, chartConfigs: import('@carbon/charts').ChartConfig<import('@carbon/charts').BaseChartOptions>) => void;
|
|
151
|
+
getComponents: () => import('@carbon/charts').Component[];
|
|
152
|
+
update: (animate?: boolean) => void;
|
|
153
|
+
destroy: () => void;
|
|
83
154
|
} | null>;
|
|
84
|
-
chartDiv: import('../../vue/dist/vue.esm-bundler.js').Ref<HTMLDivElement | null>;
|
|
85
|
-
},
|
|
155
|
+
chartDiv: import('../../vue/dist/vue.esm-bundler.js').Ref<HTMLDivElement | null, HTMLDivElement | null>;
|
|
156
|
+
}, {}, {}, {}, import('../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, import('../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, {}, string, import('../../vue/dist/vue.esm-bundler.js').PublicProps, Readonly<import('../../vue/dist/vue.esm-bundler.js').ExtractPropTypes<{
|
|
86
157
|
data: {
|
|
87
158
|
type: () => import('@carbon/charts').ChartTabularData;
|
|
88
159
|
required: true;
|
|
@@ -91,5 +162,5 @@ declare const _default: import('../../vue/dist/vue.esm-bundler.js').DefineCompon
|
|
|
91
162
|
type: () => BubbleChartOptions;
|
|
92
163
|
required: true;
|
|
93
164
|
};
|
|
94
|
-
}
|
|
165
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import('../../vue/dist/vue.esm-bundler.js').ComponentProvideOptions, true, {}, any>;
|
|
95
166
|
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BulletChartOptions } from '@carbon/charts';
|
|
2
|
-
declare const _default: import('../../vue/dist/vue.esm-bundler.js').DefineComponent<{
|
|
2
|
+
declare const _default: import('../../vue/dist/vue.esm-bundler.js').DefineComponent<import('../../vue/dist/vue.esm-bundler.js').ExtractPropTypes<{
|
|
3
3
|
data: {
|
|
4
4
|
type: () => import('@carbon/charts').ChartTabularData;
|
|
5
5
|
required: true;
|
|
@@ -8,7 +8,7 @@ declare const _default: import('../../vue/dist/vue.esm-bundler.js').DefineCompon
|
|
|
8
8
|
type: () => BulletChartOptions;
|
|
9
9
|
required: true;
|
|
10
10
|
};
|
|
11
|
-
}
|
|
11
|
+
}>, {
|
|
12
12
|
chart: import('../../vue/dist/vue.esm-bundler.js').Ref<{
|
|
13
13
|
components: {
|
|
14
14
|
type: string;
|
|
@@ -80,9 +80,80 @@ declare const _default: import('../../vue/dist/vue.esm-bundler.js').DefineCompon
|
|
|
80
80
|
getComponents: () => import('@carbon/charts').Component[];
|
|
81
81
|
update: (animate?: boolean) => void;
|
|
82
82
|
destroy: () => void;
|
|
83
|
+
} | null, import('@carbon/charts').Chart | {
|
|
84
|
+
components: {
|
|
85
|
+
type: string;
|
|
86
|
+
renderType: import('@carbon/charts').RenderTypes;
|
|
87
|
+
id: string;
|
|
88
|
+
init: () => void;
|
|
89
|
+
render: (animate?: boolean) => void;
|
|
90
|
+
destroy: () => void;
|
|
91
|
+
setModel: (newObj: any) => void;
|
|
92
|
+
setServices: (newObj: any) => void;
|
|
93
|
+
setParent: (parent: any) => void;
|
|
94
|
+
getParent: () => import('d3-selection').Selection<SVGGraphicsElement | HTMLDivElement, any, HTMLElement, any>;
|
|
95
|
+
getComponentContainer: (configs?: {
|
|
96
|
+
withinChartClip: boolean;
|
|
97
|
+
}) => import('d3-selection').Selection<any, any, Element, any>;
|
|
98
|
+
getOptions: () => any;
|
|
99
|
+
}[];
|
|
100
|
+
services: any;
|
|
101
|
+
model: {
|
|
102
|
+
formatTable: ({ headers, cells }: {
|
|
103
|
+
headers: any;
|
|
104
|
+
cells: any;
|
|
105
|
+
}) => any[];
|
|
106
|
+
getAllDataFromDomain: (groups?: any) => any;
|
|
107
|
+
getDisplayData: (groups?: any) => any;
|
|
108
|
+
getData: () => any;
|
|
109
|
+
isDataEmpty: () => boolean;
|
|
110
|
+
setData: (newData: any) => any;
|
|
111
|
+
getDataGroups: (groups?: any) => any;
|
|
112
|
+
getActiveDataGroups: (groups?: any) => any;
|
|
113
|
+
getDataGroupNames: (groups?: any) => any;
|
|
114
|
+
getActiveDataGroupNames: (groups?: any) => any;
|
|
115
|
+
getBinConfigurations: () => {
|
|
116
|
+
bins: import('d3-array').Bin<number, number>[];
|
|
117
|
+
binsDomain: any[];
|
|
118
|
+
};
|
|
119
|
+
getBinnedStackedData: () => import('d3-shape').SeriesPoint<{
|
|
120
|
+
[key: string]: number;
|
|
121
|
+
}>[][];
|
|
122
|
+
getGroupedData: (groups?: any) => {
|
|
123
|
+
name: string;
|
|
124
|
+
data: any;
|
|
125
|
+
}[];
|
|
126
|
+
getStackKeys: ({ bins, groups }?: import('@carbon/charts').StackKeysParams) => any;
|
|
127
|
+
getDataValuesGroupedByKeys: ({ bins, groups }: import('@carbon/charts').StackKeysParams) => any;
|
|
128
|
+
getStackedData: ({ percentage, groups, divergent }: import('@carbon/charts').StackKeysParams) => any[][];
|
|
129
|
+
getOptions: () => any;
|
|
130
|
+
set: (newState: any, configs?: any) => void;
|
|
131
|
+
get: (property?: string) => any;
|
|
132
|
+
setOptions: (newOptions: any) => void;
|
|
133
|
+
update: (animate?: boolean) => void;
|
|
134
|
+
toggleDataLabel: (changedLabel: string) => void;
|
|
135
|
+
getIsFilled: (group: any, key?: any, data?: any, defaultFilled?: boolean) => any;
|
|
136
|
+
getFillColor: (group: any, key?: any, data?: any) => any;
|
|
137
|
+
getStrokeColor: (group: any, key?: any, data?: any) => any;
|
|
138
|
+
isUserProvidedColorScaleValid: () => any;
|
|
139
|
+
getColorClassName: (configs: {
|
|
140
|
+
classNameTypes?: import('@carbon/charts').ColorClassNameTypes[];
|
|
141
|
+
dataGroupName?: string | number;
|
|
142
|
+
originalClassName?: string;
|
|
143
|
+
value?: number;
|
|
144
|
+
}) => string;
|
|
145
|
+
getStatus: () => any;
|
|
146
|
+
getAllDataGroupsNames: () => string[];
|
|
147
|
+
getTabularDataArray: () => import('@carbon/charts').ChartTabularData;
|
|
148
|
+
exportToCSV: () => void;
|
|
149
|
+
};
|
|
150
|
+
init: (holder: HTMLDivElement, chartConfigs: import('@carbon/charts').ChartConfig<import('@carbon/charts').BaseChartOptions>) => void;
|
|
151
|
+
getComponents: () => import('@carbon/charts').Component[];
|
|
152
|
+
update: (animate?: boolean) => void;
|
|
153
|
+
destroy: () => void;
|
|
83
154
|
} | null>;
|
|
84
|
-
chartDiv: import('../../vue/dist/vue.esm-bundler.js').Ref<HTMLDivElement | null>;
|
|
85
|
-
},
|
|
155
|
+
chartDiv: import('../../vue/dist/vue.esm-bundler.js').Ref<HTMLDivElement | null, HTMLDivElement | null>;
|
|
156
|
+
}, {}, {}, {}, import('../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, import('../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, {}, string, import('../../vue/dist/vue.esm-bundler.js').PublicProps, Readonly<import('../../vue/dist/vue.esm-bundler.js').ExtractPropTypes<{
|
|
86
157
|
data: {
|
|
87
158
|
type: () => import('@carbon/charts').ChartTabularData;
|
|
88
159
|
required: true;
|
|
@@ -91,5 +162,5 @@ declare const _default: import('../../vue/dist/vue.esm-bundler.js').DefineCompon
|
|
|
91
162
|
type: () => BulletChartOptions;
|
|
92
163
|
required: true;
|
|
93
164
|
};
|
|
94
|
-
}
|
|
165
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import('../../vue/dist/vue.esm-bundler.js').ComponentProvideOptions, true, {}, any>;
|
|
95
166
|
export default _default;
|