@carbon/charts 0.34.10 → 0.34.11
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 +8 -0
- package/build/demo/data/bar.d.ts +15 -0
- package/build/src/components/essentials/legend.d.ts +1 -0
- package/build/src/interfaces/charts.d.ts +1 -1
- package/build/src/interfaces/components.d.ts +8 -7
- package/build/src/model.d.ts +1 -1
- package/bundle.js +1 -1
- package/components/essentials/legend.d.ts +1 -0
- package/components/essentials/legend.js +19 -1
- package/components/essentials/legend.js.map +1 -1
- package/configuration.js +2 -1
- package/configuration.js.map +1 -1
- package/demo/data/bar.d.ts +15 -0
- package/demo/data/bar.js +15 -0
- package/demo/data/bar.js.map +1 -1
- package/demo/data/bundle.js +1 -1
- package/demo/data/index.js +5 -0
- package/demo/data/index.js.map +1 -1
- package/demo/tsconfig.tsbuildinfo +9 -9
- package/interfaces/charts.d.ts +1 -1
- package/interfaces/charts.js.map +1 -1
- package/interfaces/components.d.ts +8 -7
- package/interfaces/components.js.map +1 -1
- package/model.d.ts +1 -1
- package/model.js +1 -2
- package/model.js.map +1 -1
- package/package.json +1 -1
- package/tsconfig.tsbuildinfo +9 -9
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [0.34.11](https://github.com/carbon-design-system/carbon-charts/compare/v0.34.10...v0.34.11) (2020-08-12)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @carbon/charts
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
## [0.34.10](https://github.com/carbon-design-system/carbon-charts/compare/v0.34.9...v0.34.10) (2020-08-11)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @carbon/charts
|
package/build/demo/data/bar.d.ts
CHANGED
|
@@ -68,6 +68,21 @@ export declare const simpleBarOptions: {
|
|
|
68
68
|
};
|
|
69
69
|
};
|
|
70
70
|
};
|
|
71
|
+
export declare const simpleBarCustomLegendOrderOptions: {
|
|
72
|
+
title: string;
|
|
73
|
+
axes: {
|
|
74
|
+
left: {
|
|
75
|
+
mapsTo: string;
|
|
76
|
+
};
|
|
77
|
+
bottom: {
|
|
78
|
+
mapsTo: string;
|
|
79
|
+
scaleType: string;
|
|
80
|
+
};
|
|
81
|
+
};
|
|
82
|
+
legend: {
|
|
83
|
+
order: string[];
|
|
84
|
+
};
|
|
85
|
+
};
|
|
71
86
|
export declare const simpleBarDataCustomTicks: {
|
|
72
87
|
group: string;
|
|
73
88
|
value: number;
|
|
@@ -66,7 +66,7 @@ export interface BaseChartOptions {
|
|
|
66
66
|
/**
|
|
67
67
|
* used to simulate data loading
|
|
68
68
|
*/
|
|
69
|
-
loading?:
|
|
69
|
+
loading?: boolean;
|
|
70
70
|
/**
|
|
71
71
|
* options related to pre-selected data groups
|
|
72
72
|
* Remains empty if every legend item is active or dataset doesn't have the data groups.
|
|
@@ -34,19 +34,20 @@ export interface LegendOptions {
|
|
|
34
34
|
clickable?: boolean;
|
|
35
35
|
items?: {
|
|
36
36
|
status?: {
|
|
37
|
-
ACTIVE?:
|
|
38
|
-
DISABLED?:
|
|
37
|
+
ACTIVE?: number;
|
|
38
|
+
DISABLED?: number;
|
|
39
39
|
};
|
|
40
|
-
horizontalSpace?:
|
|
41
|
-
verticalSpace?:
|
|
42
|
-
textYOffset?:
|
|
40
|
+
horizontalSpace?: number;
|
|
41
|
+
verticalSpace?: number;
|
|
42
|
+
textYOffset?: number;
|
|
43
43
|
};
|
|
44
44
|
checkbox?: {
|
|
45
|
-
radius?:
|
|
46
|
-
spaceAfter?:
|
|
45
|
+
radius?: number;
|
|
46
|
+
spaceAfter?: number;
|
|
47
47
|
};
|
|
48
48
|
truncation?: TruncationOptions;
|
|
49
49
|
alignment?: Alignments;
|
|
50
|
+
order?: string[];
|
|
50
51
|
}
|
|
51
52
|
export interface TooltipOptions {
|
|
52
53
|
/**
|
package/build/src/model.d.ts
CHANGED