@carbon/charts 0.38.3 → 0.38.7
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 +36 -54
- package/build/demo/data/area.d.ts +40 -0
- package/build/src/components/graphs/area.d.ts +1 -0
- package/build/src/interfaces/a11y.d.ts +2 -1
- package/build/src/interfaces/charts.d.ts +5 -0
- package/build/src/services/essentials/gradient-utils.d.ts +6 -0
- package/build/src/services/index.d.ts +1 -0
- package/build/src/services/zoom.d.ts +3 -1
- package/bundle.js +1 -1
- package/chart.js +2 -1
- package/chart.js.map +1 -1
- package/components/axes/axis.js +26 -2
- package/components/axes/axis.js.map +1 -1
- package/components/axes/ruler.js.map +1 -1
- package/components/axes/zoom-bar.js +5 -1
- package/components/axes/zoom-bar.js.map +1 -1
- package/components/essentials/legend.js +16 -2
- package/components/essentials/legend.js.map +1 -1
- package/components/essentials/title-meter.js.map +1 -1
- package/components/essentials/tooltip-axis.js +1 -1
- package/components/essentials/tooltip-axis.js.map +1 -1
- package/components/essentials/tooltip.js +6 -4
- package/components/essentials/tooltip.js.map +1 -1
- package/components/graphs/area.d.ts +1 -0
- package/components/graphs/area.js +63 -14
- package/components/graphs/area.js.map +1 -1
- package/components/graphs/gauge.js.map +1 -1
- package/components/graphs/meter.js +6 -2
- package/components/graphs/meter.js.map +1 -1
- package/components/graphs/pie.js +3 -3
- package/components/graphs/pie.js.map +1 -1
- package/components/graphs/scatter-stacked.js +3 -5
- package/components/graphs/scatter-stacked.js.map +1 -1
- package/components/graphs/scatter.js +2 -1
- package/components/graphs/scatter.js.map +1 -1
- package/components/graphs/skeleton.js +1 -3
- package/components/graphs/skeleton.js.map +1 -1
- package/configuration.js +4 -1
- package/configuration.js.map +1 -1
- package/demo/data/area.d.ts +40 -0
- package/demo/data/area.js +67 -0
- package/demo/data/area.js.map +1 -1
- package/demo/data/bundle.js +1 -1
- package/demo/data/index.js +6 -0
- package/demo/data/index.js.map +1 -1
- package/demo/tsconfig.tsbuildinfo +7 -7
- package/interfaces/a11y.d.ts +2 -1
- package/interfaces/a11y.js +1 -0
- package/interfaces/a11y.js.map +1 -1
- package/interfaces/charts.d.ts +5 -0
- package/interfaces/charts.js.map +1 -1
- package/interfaces/components.js.map +1 -1
- package/model-meter.js +2 -1
- package/model-meter.js.map +1 -1
- package/package.json +1 -1
- package/services/essentials/gradient-utils.d.ts +6 -0
- package/services/essentials/gradient-utils.js +84 -0
- package/services/essentials/gradient-utils.js.map +1 -0
- package/services/index.d.ts +1 -0
- package/services/index.js +1 -0
- package/services/index.js.map +1 -1
- package/services/zoom.d.ts +3 -1
- package/services/zoom.js +7 -4
- package/services/zoom.js.map +1 -1
- package/tsconfig.tsbuildinfo +48 -27
package/CHANGELOG.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
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.38.
|
|
6
|
+
## [0.38.7](https://github.com/carbon-design-system/carbon-charts/compare/v0.38.6...v0.38.7) (2020-09-23)
|
|
7
7
|
|
|
8
8
|
**Note:** Version bump only for package @carbon/charts
|
|
9
9
|
|
|
@@ -11,120 +11,102 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
**Note:** Version bump only for package @carbon/charts
|
|
14
|
+
# Change Log
|
|
17
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
18
|
|
|
19
|
+
## [0.38.6](https://github.com/carbon-design-system/carbon-charts/compare/v0.38.5...v0.38.6) (2020-09-22)
|
|
19
20
|
|
|
21
|
+
**Note:** Version bump only for package @carbon/charts
|
|
20
22
|
|
|
23
|
+
## [0.38.5](https://github.com/carbon-design-system/carbon-charts/compare/v0.38.4...v0.38.5) (2020-09-22)
|
|
21
24
|
|
|
22
|
-
|
|
25
|
+
### Bug Fixes
|
|
23
26
|
|
|
24
|
-
|
|
27
|
+
- do not dispatch zoom domain change event for all zoom bar behaviors
|
|
28
|
+
([#811](https://github.com/carbon-design-system/carbon-charts/issues/811))
|
|
29
|
+
([5fd692f](https://github.com/carbon-design-system/carbon-charts/commit/5fd692f9e71dbf4b3e9052feb6c99cb25156c5da))
|
|
25
30
|
|
|
31
|
+
## [0.38.4](https://github.com/carbon-design-system/carbon-charts/compare/v0.38.3...v0.38.4) (2020-09-21)
|
|
26
32
|
|
|
33
|
+
### Bug Fixes
|
|
27
34
|
|
|
35
|
+
- **core:** fix valueFormatter not being called on non-axis tooltips
|
|
36
|
+
([#809](https://github.com/carbon-design-system/carbon-charts/issues/809))
|
|
37
|
+
([b1ff24c](https://github.com/carbon-design-system/carbon-charts/commit/b1ff24c70c8291ef8dab5585866a12ef99fd6e6f))
|
|
28
38
|
|
|
39
|
+
## [0.38.3](https://github.com/carbon-design-system/carbon-charts/compare/v0.38.2...v0.38.3) (2020-09-21)
|
|
29
40
|
|
|
30
|
-
|
|
41
|
+
**Note:** Version bump only for package @carbon/charts
|
|
31
42
|
|
|
43
|
+
## [0.38.2](https://github.com/carbon-design-system/carbon-charts/compare/v0.38.1...v0.38.2) (2020-09-17)
|
|
32
44
|
|
|
33
|
-
|
|
45
|
+
**Note:** Version bump only for package @carbon/charts
|
|
34
46
|
|
|
35
|
-
|
|
47
|
+
## [0.38.1](https://github.com/carbon-design-system/carbon-charts/compare/v0.38.0...v0.38.1) (2020-09-17)
|
|
36
48
|
|
|
49
|
+
**Note:** Version bump only for package @carbon/charts
|
|
37
50
|
|
|
51
|
+
# [0.38.0](https://github.com/carbon-design-system/carbon-charts/compare/v0.37.1...v0.38.0) (2020-09-15)
|
|
38
52
|
|
|
53
|
+
### Features
|
|
39
54
|
|
|
55
|
+
- **core:** enable or disable ruler
|
|
56
|
+
([#765](https://github.com/carbon-design-system/carbon-charts/issues/765))
|
|
57
|
+
([bef6daf](https://github.com/carbon-design-system/carbon-charts/commit/bef6daf53e2c7c825d39daa160e9f721ddec0b29))
|
|
40
58
|
|
|
41
59
|
## [0.37.1](https://github.com/carbon-design-system/carbon-charts/compare/v0.37.0...v0.37.1) (2020-09-14)
|
|
42
60
|
|
|
43
61
|
**Note:** Version bump only for package @carbon/charts
|
|
44
62
|
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
63
|
# [0.37.0](https://github.com/carbon-design-system/carbon-charts/compare/v0.36.4...v0.37.0) (2020-09-11)
|
|
50
64
|
|
|
51
|
-
|
|
52
65
|
### Features
|
|
53
66
|
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
67
|
+
- create options for tick rotation
|
|
68
|
+
([#770](https://github.com/carbon-design-system/carbon-charts/issues/770))
|
|
69
|
+
([4063c8a](https://github.com/carbon-design-system/carbon-charts/commit/4063c8a0f4d441589116759b32f2b214fad46154))
|
|
70
|
+
- enable or disable scatter dot on charts except scatter chart
|
|
71
|
+
([#769](https://github.com/carbon-design-system/carbon-charts/issues/769))
|
|
72
|
+
([3131942](https://github.com/carbon-design-system/carbon-charts/commit/313194217318719152d6a14c2a3cba957b8fc009))
|
|
60
73
|
|
|
61
74
|
## [0.36.4](https://github.com/carbon-design-system/carbon-charts/compare/v0.36.3...v0.36.4) (2020-09-10)
|
|
62
75
|
|
|
63
76
|
**Note:** Version bump only for package @carbon/charts
|
|
64
77
|
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
78
|
## [0.36.3](https://github.com/carbon-design-system/carbon-charts/compare/v0.36.2...v0.36.3) (2020-09-10)
|
|
70
79
|
|
|
71
80
|
**Note:** Version bump only for package @carbon/charts
|
|
72
81
|
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
82
|
## [0.36.2](https://github.com/carbon-design-system/carbon-charts/compare/v0.36.1...v0.36.2) (2020-09-02)
|
|
78
83
|
|
|
79
84
|
**Note:** Version bump only for package @carbon/charts
|
|
80
85
|
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
86
|
## [0.36.1](https://github.com/carbon-design-system/carbon-charts/compare/v0.36.0...v0.36.1) (2020-09-01)
|
|
86
87
|
|
|
87
88
|
**Note:** Version bump only for package @carbon/charts
|
|
88
89
|
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
90
|
# [0.36.0](https://github.com/carbon-design-system/carbon-charts/compare/v0.35.3...v0.36.0) (2020-08-25)
|
|
94
91
|
|
|
95
|
-
|
|
96
92
|
### Features
|
|
97
93
|
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
94
|
+
- change zoom bar handle cursor to ew-resize
|
|
95
|
+
([#759](https://github.com/carbon-design-system/carbon-charts/issues/759))
|
|
96
|
+
([f1fdab0](https://github.com/carbon-design-system/carbon-charts/commit/f1fdab005c09cb76984b3a7d17df24b7a860effd))
|
|
103
97
|
|
|
104
98
|
## [0.35.3](https://github.com/carbon-design-system/carbon-charts/compare/v0.35.2...v0.35.3) (2020-08-21)
|
|
105
99
|
|
|
106
100
|
**Note:** Version bump only for package @carbon/charts
|
|
107
101
|
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
102
|
## [0.35.2](https://github.com/carbon-design-system/carbon-charts/compare/v0.35.1...v0.35.2) (2020-08-21)
|
|
113
103
|
|
|
114
104
|
**Note:** Version bump only for package @carbon/charts
|
|
115
105
|
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
106
|
## [0.35.1](https://github.com/carbon-design-system/carbon-charts/compare/v0.35.0...v0.35.1) (2020-08-18)
|
|
121
107
|
|
|
122
108
|
**Note:** Version bump only for package @carbon/charts
|
|
123
109
|
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
110
|
# Change Log
|
|
129
111
|
|
|
130
112
|
All notable changes to this project will be documented in this file. See
|
|
@@ -23,6 +23,11 @@ export declare const areaTimeSeriesCurvedData: {
|
|
|
23
23
|
date: Date;
|
|
24
24
|
value: number;
|
|
25
25
|
}[];
|
|
26
|
+
export declare const sparklineTimeSeriesData: {
|
|
27
|
+
group: string;
|
|
28
|
+
date: number;
|
|
29
|
+
value: number;
|
|
30
|
+
}[];
|
|
26
31
|
export declare const areaTimeSeriesCurvedOptions: {
|
|
27
32
|
title: string;
|
|
28
33
|
axes: {
|
|
@@ -38,6 +43,41 @@ export declare const areaTimeSeriesCurvedOptions: {
|
|
|
38
43
|
};
|
|
39
44
|
curve: string;
|
|
40
45
|
};
|
|
46
|
+
export declare const sparklineOptions: {
|
|
47
|
+
title: string;
|
|
48
|
+
grid: {
|
|
49
|
+
x: {
|
|
50
|
+
enabled: boolean;
|
|
51
|
+
};
|
|
52
|
+
y: {
|
|
53
|
+
enabled: boolean;
|
|
54
|
+
};
|
|
55
|
+
};
|
|
56
|
+
axes: {
|
|
57
|
+
bottom: {
|
|
58
|
+
visible: boolean;
|
|
59
|
+
title: string;
|
|
60
|
+
mapsTo: string;
|
|
61
|
+
scaleType: string;
|
|
62
|
+
};
|
|
63
|
+
left: {
|
|
64
|
+
visible: boolean;
|
|
65
|
+
mapsTo: string;
|
|
66
|
+
scaleType: string;
|
|
67
|
+
};
|
|
68
|
+
};
|
|
69
|
+
color: {
|
|
70
|
+
gradient: {
|
|
71
|
+
enabled: boolean;
|
|
72
|
+
};
|
|
73
|
+
};
|
|
74
|
+
points: {
|
|
75
|
+
enabled: boolean;
|
|
76
|
+
};
|
|
77
|
+
legend: {
|
|
78
|
+
enabled: boolean;
|
|
79
|
+
};
|
|
80
|
+
};
|
|
41
81
|
export declare const stackedAreaTimeSeriesData: {
|
|
42
82
|
group: string;
|
|
43
83
|
date: Date;
|
|
@@ -2,6 +2,8 @@ import { Service } from "./service";
|
|
|
2
2
|
export declare class Zoom extends Service {
|
|
3
3
|
getZoomBarData(): {}[];
|
|
4
4
|
getDefaultZoomBarDomain(): any;
|
|
5
|
-
handleDomainChange(newDomain: any
|
|
5
|
+
handleDomainChange(newDomain: any, configs?: {
|
|
6
|
+
dispatchEvent: boolean;
|
|
7
|
+
}): void;
|
|
6
8
|
getZoomRatio(): any;
|
|
7
9
|
}
|