@carbon/charts-vue 1.20.0 → 1.21.4
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 +75 -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 +720 -723
- package/dist/index.mjs.map +1 -1
- package/package.json +11 -11
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ChoroplethChartOptions } 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: () => ChoroplethChartOptions;
|
|
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: () => ChoroplethChartOptions;
|
|
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 { CirclePackChartOptions } 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: () => CirclePackChartOptions;
|
|
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: () => CirclePackChartOptions;
|
|
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 { ComboChartOptions } 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: () => ComboChartOptions;
|
|
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: () => ComboChartOptions;
|
|
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 { DonutChartOptions } 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: () => DonutChartOptions;
|
|
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: () => DonutChartOptions;
|
|
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 { GaugeChartOptions } 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: () => GaugeChartOptions;
|
|
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: () => GaugeChartOptions;
|
|
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 { BarChartOptions } 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: () => BarChartOptions;
|
|
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: () => BarChartOptions;
|
|
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;
|