@carbon/charts-vue 1.11.0 → 1.11.2
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 +18 -0
- package/README.md +1 -1
- package/dist/components/CcvAlluvialChart.d.ts +91 -41
- package/dist/components/CcvAreaChart.d.ts +91 -41
- package/dist/components/CcvBoxplotChart.d.ts +90 -41
- package/dist/components/CcvBubbleChart.d.ts +91 -41
- package/dist/components/CcvBulletChart.d.ts +91 -41
- package/dist/components/CcvChoroplethChart.d.ts +91 -41
- package/dist/components/CcvCirclePackChart.d.ts +91 -42
- package/dist/components/CcvComboChart.d.ts +91 -42
- package/dist/components/CcvDonutChart.d.ts +91 -42
- package/dist/components/CcvGaugeChart.d.ts +91 -41
- package/dist/components/CcvGroupedBarChart.d.ts +91 -41
- package/dist/components/CcvHeatmapChart.d.ts +91 -41
- package/dist/components/CcvHistogramChart.d.ts +91 -42
- package/dist/components/CcvLineChart.d.ts +91 -42
- package/dist/components/CcvLollipopChart.d.ts +90 -42
- package/dist/components/CcvMeterChart.d.ts +91 -42
- package/dist/components/CcvPieChart.d.ts +91 -41
- package/dist/components/CcvRadarChart.d.ts +91 -41
- package/dist/components/CcvScatterChart.d.ts +91 -41
- package/dist/components/CcvSimpleBarChart.d.ts +91 -41
- package/dist/components/CcvStackedAreaChart.d.ts +91 -41
- package/dist/components/CcvStackedBarChart.d.ts +91 -41
- package/dist/components/CcvTreeChart.d.ts +91 -41
- package/dist/components/CcvTreemapChart.d.ts +90 -41
- package/dist/components/CcvWordCloudChart.d.ts +91 -41
- package/dist/components/chartFactory.d.ts +90 -0
- package/dist/components/index.d.ts +25 -25
- package/dist/index.d.ts +6 -6
- package/dist/index.js +17 -17
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +6700 -7844
- package/dist/index.mjs.map +1 -1
- package/package.json +14 -24
- package/dist/components/CcvBaseChart.d.ts +0 -29
|
@@ -1,42 +1,91 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
1
|
+
import { type DonutChartOptions } from '@carbon/charts';
|
|
2
|
+
declare const _default: import('./vue/dist/vue.esm-bundler.js').DefineComponent<{
|
|
3
|
+
data: {
|
|
4
|
+
type: () => import("@carbon/charts").ChartTabularData;
|
|
5
|
+
required: true;
|
|
6
|
+
};
|
|
7
|
+
options: {
|
|
8
|
+
type: () => DonutChartOptions;
|
|
9
|
+
required: true;
|
|
10
|
+
};
|
|
11
|
+
}, {
|
|
12
|
+
chart: import('./vue/dist/vue.esm-bundler.js').Ref<{
|
|
13
|
+
components: {
|
|
14
|
+
type: string;
|
|
15
|
+
renderType: import("@carbon/charts").RenderTypes;
|
|
16
|
+
id: string;
|
|
17
|
+
init: () => void;
|
|
18
|
+
render: (animate?: boolean | undefined) => void;
|
|
19
|
+
destroy: () => void;
|
|
20
|
+
setModel: (newObj: any) => void;
|
|
21
|
+
setServices: (newObj: any) => void;
|
|
22
|
+
setParent: (parent: any) => void;
|
|
23
|
+
getParent: () => import("d3-selection").Selection<HTMLDivElement | SVGGraphicsElement, any, HTMLElement, any>;
|
|
24
|
+
getComponentContainer: (configs?: {
|
|
25
|
+
withinChartClip: boolean;
|
|
26
|
+
} | undefined) => import("d3-selection").Selection<any, any, Element, any>;
|
|
27
|
+
getOptions: () => any;
|
|
28
|
+
}[];
|
|
29
|
+
services: any;
|
|
30
|
+
model: {
|
|
31
|
+
getAllDataFromDomain: (groups?: any) => any;
|
|
32
|
+
getDisplayData: (groups?: any) => any;
|
|
33
|
+
getData: () => any;
|
|
34
|
+
isDataEmpty: () => boolean;
|
|
35
|
+
setData: (newData: any) => any;
|
|
36
|
+
getDataGroups: (groups?: any) => any;
|
|
37
|
+
getActiveDataGroups: (groups?: any) => any;
|
|
38
|
+
getDataGroupNames: (groups?: any) => any;
|
|
39
|
+
getActiveDataGroupNames: (groups?: any) => any;
|
|
40
|
+
getBinConfigurations: () => {
|
|
41
|
+
bins: import("d3-array").Bin<number, number>[];
|
|
42
|
+
binsDomain: any[];
|
|
43
|
+
};
|
|
44
|
+
getBinnedStackedData: () => import("d3-shape").SeriesPoint<{
|
|
45
|
+
[key: string]: number;
|
|
46
|
+
}>[][];
|
|
47
|
+
getGroupedData: (groups?: any) => {
|
|
48
|
+
name: string;
|
|
49
|
+
data: any;
|
|
50
|
+
}[];
|
|
51
|
+
getStackKeys: ({ bins, groups }?: import("@carbon/charts").StackKeysParams | undefined) => any;
|
|
52
|
+
getDataValuesGroupedByKeys: ({ bins, groups }: import("@carbon/charts").StackKeysParams) => any;
|
|
53
|
+
getStackedData: ({ percentage, groups, divergent }: import("@carbon/charts").StackKeysParams) => any[][];
|
|
54
|
+
getOptions: () => any;
|
|
55
|
+
set: (newState: any, configs?: any) => void;
|
|
56
|
+
get: (property?: string | undefined) => any;
|
|
57
|
+
setOptions: (newOptions: any) => void;
|
|
58
|
+
update: (animate?: boolean | undefined) => void;
|
|
59
|
+
toggleDataLabel: (changedLabel: string) => void;
|
|
60
|
+
getIsFilled: (group: any, key?: any, data?: any, defaultFilled?: boolean | undefined) => any;
|
|
61
|
+
getFillColor: (group: any, key?: any, data?: any) => any;
|
|
62
|
+
getStrokeColor: (group: any, key?: any, data?: any) => any;
|
|
63
|
+
isUserProvidedColorScaleValid: () => any;
|
|
64
|
+
getColorClassName: (configs: {
|
|
65
|
+
classNameTypes?: import("@carbon/charts").ColorClassNameTypes[] | undefined;
|
|
66
|
+
dataGroupName?: string | number | undefined;
|
|
67
|
+
originalClassName?: string | undefined;
|
|
68
|
+
value?: number | undefined;
|
|
69
|
+
}) => string;
|
|
70
|
+
getStatus: () => any;
|
|
71
|
+
getAllDataGroupsNames: () => string[];
|
|
72
|
+
getTabularDataArray: () => import("@carbon/charts").ChartTabularData;
|
|
73
|
+
exportToCSV: () => void;
|
|
74
|
+
};
|
|
75
|
+
init: (holder: HTMLDivElement, chartConfigs: import("@carbon/charts").ChartConfig<import("@carbon/charts").BaseChartOptions>) => void;
|
|
76
|
+
getComponents: () => import("@carbon/charts").Component[];
|
|
77
|
+
update: () => void;
|
|
78
|
+
destroy: () => void;
|
|
79
|
+
} | null>;
|
|
80
|
+
chartDiv: import('./vue/dist/vue.esm-bundler.js').Ref<HTMLDivElement | null>;
|
|
81
|
+
}, unknown, {}, {}, import('./vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, import('./vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, {}, string, import('./vue/dist/vue.esm-bundler.js').VNodeProps & import('./vue/dist/vue.esm-bundler.js').AllowedComponentProps & import('./vue/dist/vue.esm-bundler.js').ComponentCustomProps, Readonly<import('./vue/dist/vue.esm-bundler.js').ExtractPropTypes<{
|
|
82
|
+
data: {
|
|
83
|
+
type: () => import("@carbon/charts").ChartTabularData;
|
|
84
|
+
required: true;
|
|
85
|
+
};
|
|
86
|
+
options: {
|
|
87
|
+
type: () => DonutChartOptions;
|
|
88
|
+
required: true;
|
|
89
|
+
};
|
|
90
|
+
}>>, {}, {}>;
|
|
91
|
+
export default _default;
|
|
@@ -1,41 +1,91 @@
|
|
|
1
|
-
import { GaugeChartOptions
|
|
2
|
-
declare const
|
|
3
|
-
data: {
|
|
4
|
-
type: () => ChartTabularData;
|
|
5
|
-
required: true;
|
|
6
|
-
};
|
|
7
|
-
options: {
|
|
8
|
-
type: () => GaugeChartOptions;
|
|
9
|
-
required: true;
|
|
10
|
-
};
|
|
11
|
-
}, {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
1
|
+
import { type GaugeChartOptions } from '@carbon/charts';
|
|
2
|
+
declare const _default: import('./vue/dist/vue.esm-bundler.js').DefineComponent<{
|
|
3
|
+
data: {
|
|
4
|
+
type: () => import("@carbon/charts").ChartTabularData;
|
|
5
|
+
required: true;
|
|
6
|
+
};
|
|
7
|
+
options: {
|
|
8
|
+
type: () => GaugeChartOptions;
|
|
9
|
+
required: true;
|
|
10
|
+
};
|
|
11
|
+
}, {
|
|
12
|
+
chart: import('./vue/dist/vue.esm-bundler.js').Ref<{
|
|
13
|
+
components: {
|
|
14
|
+
type: string;
|
|
15
|
+
renderType: import("@carbon/charts").RenderTypes;
|
|
16
|
+
id: string;
|
|
17
|
+
init: () => void;
|
|
18
|
+
render: (animate?: boolean | undefined) => void;
|
|
19
|
+
destroy: () => void;
|
|
20
|
+
setModel: (newObj: any) => void;
|
|
21
|
+
setServices: (newObj: any) => void;
|
|
22
|
+
setParent: (parent: any) => void;
|
|
23
|
+
getParent: () => import("d3-selection").Selection<HTMLDivElement | SVGGraphicsElement, any, HTMLElement, any>;
|
|
24
|
+
getComponentContainer: (configs?: {
|
|
25
|
+
withinChartClip: boolean;
|
|
26
|
+
} | undefined) => import("d3-selection").Selection<any, any, Element, any>;
|
|
27
|
+
getOptions: () => any;
|
|
28
|
+
}[];
|
|
29
|
+
services: any;
|
|
30
|
+
model: {
|
|
31
|
+
getAllDataFromDomain: (groups?: any) => any;
|
|
32
|
+
getDisplayData: (groups?: any) => any;
|
|
33
|
+
getData: () => any;
|
|
34
|
+
isDataEmpty: () => boolean;
|
|
35
|
+
setData: (newData: any) => any;
|
|
36
|
+
getDataGroups: (groups?: any) => any;
|
|
37
|
+
getActiveDataGroups: (groups?: any) => any;
|
|
38
|
+
getDataGroupNames: (groups?: any) => any;
|
|
39
|
+
getActiveDataGroupNames: (groups?: any) => any;
|
|
40
|
+
getBinConfigurations: () => {
|
|
41
|
+
bins: import("d3-array").Bin<number, number>[];
|
|
42
|
+
binsDomain: any[];
|
|
43
|
+
};
|
|
44
|
+
getBinnedStackedData: () => import("d3-shape").SeriesPoint<{
|
|
45
|
+
[key: string]: number;
|
|
46
|
+
}>[][];
|
|
47
|
+
getGroupedData: (groups?: any) => {
|
|
48
|
+
name: string;
|
|
49
|
+
data: any;
|
|
50
|
+
}[];
|
|
51
|
+
getStackKeys: ({ bins, groups }?: import("@carbon/charts").StackKeysParams | undefined) => any;
|
|
52
|
+
getDataValuesGroupedByKeys: ({ bins, groups }: import("@carbon/charts").StackKeysParams) => any;
|
|
53
|
+
getStackedData: ({ percentage, groups, divergent }: import("@carbon/charts").StackKeysParams) => any[][];
|
|
54
|
+
getOptions: () => any;
|
|
55
|
+
set: (newState: any, configs?: any) => void;
|
|
56
|
+
get: (property?: string | undefined) => any;
|
|
57
|
+
setOptions: (newOptions: any) => void;
|
|
58
|
+
update: (animate?: boolean | undefined) => void;
|
|
59
|
+
toggleDataLabel: (changedLabel: string) => void;
|
|
60
|
+
getIsFilled: (group: any, key?: any, data?: any, defaultFilled?: boolean | undefined) => any;
|
|
61
|
+
getFillColor: (group: any, key?: any, data?: any) => any;
|
|
62
|
+
getStrokeColor: (group: any, key?: any, data?: any) => any;
|
|
63
|
+
isUserProvidedColorScaleValid: () => any;
|
|
64
|
+
getColorClassName: (configs: {
|
|
65
|
+
classNameTypes?: import("@carbon/charts").ColorClassNameTypes[] | undefined;
|
|
66
|
+
dataGroupName?: string | number | undefined;
|
|
67
|
+
originalClassName?: string | undefined;
|
|
68
|
+
value?: number | undefined;
|
|
69
|
+
}) => string;
|
|
70
|
+
getStatus: () => any;
|
|
71
|
+
getAllDataGroupsNames: () => string[];
|
|
72
|
+
getTabularDataArray: () => import("@carbon/charts").ChartTabularData;
|
|
73
|
+
exportToCSV: () => void;
|
|
74
|
+
};
|
|
75
|
+
init: (holder: HTMLDivElement, chartConfigs: import("@carbon/charts").ChartConfig<import("@carbon/charts").BaseChartOptions>) => void;
|
|
76
|
+
getComponents: () => import("@carbon/charts").Component[];
|
|
77
|
+
update: () => void;
|
|
78
|
+
destroy: () => void;
|
|
79
|
+
} | null>;
|
|
80
|
+
chartDiv: import('./vue/dist/vue.esm-bundler.js').Ref<HTMLDivElement | null>;
|
|
81
|
+
}, unknown, {}, {}, import('./vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, import('./vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, {}, string, import('./vue/dist/vue.esm-bundler.js').VNodeProps & import('./vue/dist/vue.esm-bundler.js').AllowedComponentProps & import('./vue/dist/vue.esm-bundler.js').ComponentCustomProps, Readonly<import('./vue/dist/vue.esm-bundler.js').ExtractPropTypes<{
|
|
82
|
+
data: {
|
|
83
|
+
type: () => import("@carbon/charts").ChartTabularData;
|
|
84
|
+
required: true;
|
|
85
|
+
};
|
|
86
|
+
options: {
|
|
87
|
+
type: () => GaugeChartOptions;
|
|
88
|
+
required: true;
|
|
89
|
+
};
|
|
90
|
+
}>>, {}, {}>;
|
|
91
|
+
export default _default;
|
|
@@ -1,41 +1,91 @@
|
|
|
1
|
-
import { BarChartOptions
|
|
2
|
-
declare const
|
|
3
|
-
data: {
|
|
4
|
-
type: () => ChartTabularData;
|
|
5
|
-
required: true;
|
|
6
|
-
};
|
|
7
|
-
options: {
|
|
8
|
-
type: () => BarChartOptions;
|
|
9
|
-
required: true;
|
|
10
|
-
};
|
|
11
|
-
}, {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
1
|
+
import { type BarChartOptions } from '@carbon/charts';
|
|
2
|
+
declare const _default: import('./vue/dist/vue.esm-bundler.js').DefineComponent<{
|
|
3
|
+
data: {
|
|
4
|
+
type: () => import("@carbon/charts").ChartTabularData;
|
|
5
|
+
required: true;
|
|
6
|
+
};
|
|
7
|
+
options: {
|
|
8
|
+
type: () => BarChartOptions;
|
|
9
|
+
required: true;
|
|
10
|
+
};
|
|
11
|
+
}, {
|
|
12
|
+
chart: import('./vue/dist/vue.esm-bundler.js').Ref<{
|
|
13
|
+
components: {
|
|
14
|
+
type: string;
|
|
15
|
+
renderType: import("@carbon/charts").RenderTypes;
|
|
16
|
+
id: string;
|
|
17
|
+
init: () => void;
|
|
18
|
+
render: (animate?: boolean | undefined) => void;
|
|
19
|
+
destroy: () => void;
|
|
20
|
+
setModel: (newObj: any) => void;
|
|
21
|
+
setServices: (newObj: any) => void;
|
|
22
|
+
setParent: (parent: any) => void;
|
|
23
|
+
getParent: () => import("d3-selection").Selection<HTMLDivElement | SVGGraphicsElement, any, HTMLElement, any>;
|
|
24
|
+
getComponentContainer: (configs?: {
|
|
25
|
+
withinChartClip: boolean;
|
|
26
|
+
} | undefined) => import("d3-selection").Selection<any, any, Element, any>;
|
|
27
|
+
getOptions: () => any;
|
|
28
|
+
}[];
|
|
29
|
+
services: any;
|
|
30
|
+
model: {
|
|
31
|
+
getAllDataFromDomain: (groups?: any) => any;
|
|
32
|
+
getDisplayData: (groups?: any) => any;
|
|
33
|
+
getData: () => any;
|
|
34
|
+
isDataEmpty: () => boolean;
|
|
35
|
+
setData: (newData: any) => any;
|
|
36
|
+
getDataGroups: (groups?: any) => any;
|
|
37
|
+
getActiveDataGroups: (groups?: any) => any;
|
|
38
|
+
getDataGroupNames: (groups?: any) => any;
|
|
39
|
+
getActiveDataGroupNames: (groups?: any) => any;
|
|
40
|
+
getBinConfigurations: () => {
|
|
41
|
+
bins: import("d3-array").Bin<number, number>[];
|
|
42
|
+
binsDomain: any[];
|
|
43
|
+
};
|
|
44
|
+
getBinnedStackedData: () => import("d3-shape").SeriesPoint<{
|
|
45
|
+
[key: string]: number;
|
|
46
|
+
}>[][];
|
|
47
|
+
getGroupedData: (groups?: any) => {
|
|
48
|
+
name: string;
|
|
49
|
+
data: any;
|
|
50
|
+
}[];
|
|
51
|
+
getStackKeys: ({ bins, groups }?: import("@carbon/charts").StackKeysParams | undefined) => any;
|
|
52
|
+
getDataValuesGroupedByKeys: ({ bins, groups }: import("@carbon/charts").StackKeysParams) => any;
|
|
53
|
+
getStackedData: ({ percentage, groups, divergent }: import("@carbon/charts").StackKeysParams) => any[][];
|
|
54
|
+
getOptions: () => any;
|
|
55
|
+
set: (newState: any, configs?: any) => void;
|
|
56
|
+
get: (property?: string | undefined) => any;
|
|
57
|
+
setOptions: (newOptions: any) => void;
|
|
58
|
+
update: (animate?: boolean | undefined) => void;
|
|
59
|
+
toggleDataLabel: (changedLabel: string) => void;
|
|
60
|
+
getIsFilled: (group: any, key?: any, data?: any, defaultFilled?: boolean | undefined) => any;
|
|
61
|
+
getFillColor: (group: any, key?: any, data?: any) => any;
|
|
62
|
+
getStrokeColor: (group: any, key?: any, data?: any) => any;
|
|
63
|
+
isUserProvidedColorScaleValid: () => any;
|
|
64
|
+
getColorClassName: (configs: {
|
|
65
|
+
classNameTypes?: import("@carbon/charts").ColorClassNameTypes[] | undefined;
|
|
66
|
+
dataGroupName?: string | number | undefined;
|
|
67
|
+
originalClassName?: string | undefined;
|
|
68
|
+
value?: number | undefined;
|
|
69
|
+
}) => string;
|
|
70
|
+
getStatus: () => any;
|
|
71
|
+
getAllDataGroupsNames: () => string[];
|
|
72
|
+
getTabularDataArray: () => import("@carbon/charts").ChartTabularData;
|
|
73
|
+
exportToCSV: () => void;
|
|
74
|
+
};
|
|
75
|
+
init: (holder: HTMLDivElement, chartConfigs: import("@carbon/charts").ChartConfig<import("@carbon/charts").BaseChartOptions>) => void;
|
|
76
|
+
getComponents: () => import("@carbon/charts").Component[];
|
|
77
|
+
update: () => void;
|
|
78
|
+
destroy: () => void;
|
|
79
|
+
} | null>;
|
|
80
|
+
chartDiv: import('./vue/dist/vue.esm-bundler.js').Ref<HTMLDivElement | null>;
|
|
81
|
+
}, unknown, {}, {}, import('./vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, import('./vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, {}, string, import('./vue/dist/vue.esm-bundler.js').VNodeProps & import('./vue/dist/vue.esm-bundler.js').AllowedComponentProps & import('./vue/dist/vue.esm-bundler.js').ComponentCustomProps, Readonly<import('./vue/dist/vue.esm-bundler.js').ExtractPropTypes<{
|
|
82
|
+
data: {
|
|
83
|
+
type: () => import("@carbon/charts").ChartTabularData;
|
|
84
|
+
required: true;
|
|
85
|
+
};
|
|
86
|
+
options: {
|
|
87
|
+
type: () => BarChartOptions;
|
|
88
|
+
required: true;
|
|
89
|
+
};
|
|
90
|
+
}>>, {}, {}>;
|
|
91
|
+
export default _default;
|
|
@@ -1,41 +1,91 @@
|
|
|
1
|
-
import { HeatmapChartOptions
|
|
2
|
-
declare const
|
|
3
|
-
data: {
|
|
4
|
-
type: () => ChartTabularData;
|
|
5
|
-
required: true;
|
|
6
|
-
};
|
|
7
|
-
options: {
|
|
8
|
-
type: () => HeatmapChartOptions;
|
|
9
|
-
required: true;
|
|
10
|
-
};
|
|
11
|
-
}, {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
1
|
+
import { type HeatmapChartOptions } from '@carbon/charts';
|
|
2
|
+
declare const _default: import('./vue/dist/vue.esm-bundler.js').DefineComponent<{
|
|
3
|
+
data: {
|
|
4
|
+
type: () => import("@carbon/charts").ChartTabularData;
|
|
5
|
+
required: true;
|
|
6
|
+
};
|
|
7
|
+
options: {
|
|
8
|
+
type: () => HeatmapChartOptions;
|
|
9
|
+
required: true;
|
|
10
|
+
};
|
|
11
|
+
}, {
|
|
12
|
+
chart: import('./vue/dist/vue.esm-bundler.js').Ref<{
|
|
13
|
+
components: {
|
|
14
|
+
type: string;
|
|
15
|
+
renderType: import("@carbon/charts").RenderTypes;
|
|
16
|
+
id: string;
|
|
17
|
+
init: () => void;
|
|
18
|
+
render: (animate?: boolean | undefined) => void;
|
|
19
|
+
destroy: () => void;
|
|
20
|
+
setModel: (newObj: any) => void;
|
|
21
|
+
setServices: (newObj: any) => void;
|
|
22
|
+
setParent: (parent: any) => void;
|
|
23
|
+
getParent: () => import("d3-selection").Selection<HTMLDivElement | SVGGraphicsElement, any, HTMLElement, any>;
|
|
24
|
+
getComponentContainer: (configs?: {
|
|
25
|
+
withinChartClip: boolean;
|
|
26
|
+
} | undefined) => import("d3-selection").Selection<any, any, Element, any>;
|
|
27
|
+
getOptions: () => any;
|
|
28
|
+
}[];
|
|
29
|
+
services: any;
|
|
30
|
+
model: {
|
|
31
|
+
getAllDataFromDomain: (groups?: any) => any;
|
|
32
|
+
getDisplayData: (groups?: any) => any;
|
|
33
|
+
getData: () => any;
|
|
34
|
+
isDataEmpty: () => boolean;
|
|
35
|
+
setData: (newData: any) => any;
|
|
36
|
+
getDataGroups: (groups?: any) => any;
|
|
37
|
+
getActiveDataGroups: (groups?: any) => any;
|
|
38
|
+
getDataGroupNames: (groups?: any) => any;
|
|
39
|
+
getActiveDataGroupNames: (groups?: any) => any;
|
|
40
|
+
getBinConfigurations: () => {
|
|
41
|
+
bins: import("d3-array").Bin<number, number>[];
|
|
42
|
+
binsDomain: any[];
|
|
43
|
+
};
|
|
44
|
+
getBinnedStackedData: () => import("d3-shape").SeriesPoint<{
|
|
45
|
+
[key: string]: number;
|
|
46
|
+
}>[][];
|
|
47
|
+
getGroupedData: (groups?: any) => {
|
|
48
|
+
name: string;
|
|
49
|
+
data: any;
|
|
50
|
+
}[];
|
|
51
|
+
getStackKeys: ({ bins, groups }?: import("@carbon/charts").StackKeysParams | undefined) => any;
|
|
52
|
+
getDataValuesGroupedByKeys: ({ bins, groups }: import("@carbon/charts").StackKeysParams) => any;
|
|
53
|
+
getStackedData: ({ percentage, groups, divergent }: import("@carbon/charts").StackKeysParams) => any[][];
|
|
54
|
+
getOptions: () => any;
|
|
55
|
+
set: (newState: any, configs?: any) => void;
|
|
56
|
+
get: (property?: string | undefined) => any;
|
|
57
|
+
setOptions: (newOptions: any) => void;
|
|
58
|
+
update: (animate?: boolean | undefined) => void;
|
|
59
|
+
toggleDataLabel: (changedLabel: string) => void;
|
|
60
|
+
getIsFilled: (group: any, key?: any, data?: any, defaultFilled?: boolean | undefined) => any;
|
|
61
|
+
getFillColor: (group: any, key?: any, data?: any) => any;
|
|
62
|
+
getStrokeColor: (group: any, key?: any, data?: any) => any;
|
|
63
|
+
isUserProvidedColorScaleValid: () => any;
|
|
64
|
+
getColorClassName: (configs: {
|
|
65
|
+
classNameTypes?: import("@carbon/charts").ColorClassNameTypes[] | undefined;
|
|
66
|
+
dataGroupName?: string | number | undefined;
|
|
67
|
+
originalClassName?: string | undefined;
|
|
68
|
+
value?: number | undefined;
|
|
69
|
+
}) => string;
|
|
70
|
+
getStatus: () => any;
|
|
71
|
+
getAllDataGroupsNames: () => string[];
|
|
72
|
+
getTabularDataArray: () => import("@carbon/charts").ChartTabularData;
|
|
73
|
+
exportToCSV: () => void;
|
|
74
|
+
};
|
|
75
|
+
init: (holder: HTMLDivElement, chartConfigs: import("@carbon/charts").ChartConfig<import("@carbon/charts").BaseChartOptions>) => void;
|
|
76
|
+
getComponents: () => import("@carbon/charts").Component[];
|
|
77
|
+
update: () => void;
|
|
78
|
+
destroy: () => void;
|
|
79
|
+
} | null>;
|
|
80
|
+
chartDiv: import('./vue/dist/vue.esm-bundler.js').Ref<HTMLDivElement | null>;
|
|
81
|
+
}, unknown, {}, {}, import('./vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, import('./vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, {}, string, import('./vue/dist/vue.esm-bundler.js').VNodeProps & import('./vue/dist/vue.esm-bundler.js').AllowedComponentProps & import('./vue/dist/vue.esm-bundler.js').ComponentCustomProps, Readonly<import('./vue/dist/vue.esm-bundler.js').ExtractPropTypes<{
|
|
82
|
+
data: {
|
|
83
|
+
type: () => import("@carbon/charts").ChartTabularData;
|
|
84
|
+
required: true;
|
|
85
|
+
};
|
|
86
|
+
options: {
|
|
87
|
+
type: () => HeatmapChartOptions;
|
|
88
|
+
required: true;
|
|
89
|
+
};
|
|
90
|
+
}>>, {}, {}>;
|
|
91
|
+
export default _default;
|