@carbon/charts 0.38.4 → 0.38.8
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 +37 -58
- package/build/demo/data/area.d.ts +40 -0
- package/build/demo/data/zoom-bar.d.ts +11 -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 +12 -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.map +1 -1
- 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 +6 -3
- 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 +12 -0
- package/demo/data/index.js.map +1 -1
- package/demo/data/zoom-bar.d.ts +11 -0
- package/demo/data/zoom-bar.js +81 -0
- package/demo/data/zoom-bar.js.map +1 -1
- package/demo/tsconfig.tsbuildinfo +9 -9
- 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/model.js +24 -5
- package/model.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 +9 -6
- package/services/zoom.js.map +1 -1
- package/tsconfig.tsbuildinfo +49 -28
package/CHANGELOG.md
CHANGED
|
@@ -3,139 +3,118 @@
|
|
|
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.8](https://github.com/carbon-design-system/carbon-charts/compare/v0.38.7...v0.38.8) (2020-09-30)
|
|
7
7
|
|
|
8
|
+
**Note:** Version bump only for package @carbon/charts
|
|
8
9
|
|
|
9
|
-
### Bug Fixes
|
|
10
10
|
|
|
11
|
-
* **core:** fix valueFormatter not being called on non-axis tooltips ([#809](https://github.com/carbon-design-system/carbon-charts/issues/809)) ([b1ff24c](https://github.com/carbon-design-system/carbon-charts/commit/b1ff24c70c8291ef8dab5585866a12ef99fd6e6f))
|
|
12
11
|
|
|
13
12
|
|
|
14
13
|
|
|
14
|
+
## [0.38.7](https://github.com/carbon-design-system/carbon-charts/compare/v0.38.6...v0.38.7) (2020-09-23)
|
|
15
15
|
|
|
16
|
+
**Note:** Version bump only for package @carbon/charts
|
|
16
17
|
|
|
17
|
-
## [0.38.3](https://github.com/carbon-design-system/carbon-charts/compare/v0.38.2...v0.38.3) (2020-09-21)
|
|
18
18
|
|
|
19
|
-
**Note:** Version bump only for package @carbon/charts
|
|
20
19
|
|
|
21
20
|
|
|
22
21
|
|
|
22
|
+
# Change Log
|
|
23
23
|
|
|
24
|
+
All notable changes to this project will be documented in this file. See
|
|
25
|
+
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
24
26
|
|
|
25
|
-
## [0.38.
|
|
27
|
+
## [0.38.6](https://github.com/carbon-design-system/carbon-charts/compare/v0.38.5...v0.38.6) (2020-09-22)
|
|
26
28
|
|
|
27
29
|
**Note:** Version bump only for package @carbon/charts
|
|
28
30
|
|
|
31
|
+
## [0.38.5](https://github.com/carbon-design-system/carbon-charts/compare/v0.38.4...v0.38.5) (2020-09-22)
|
|
29
32
|
|
|
33
|
+
### Bug Fixes
|
|
30
34
|
|
|
35
|
+
- do not dispatch zoom domain change event for all zoom bar behaviors
|
|
36
|
+
([#811](https://github.com/carbon-design-system/carbon-charts/issues/811))
|
|
37
|
+
([5fd692f](https://github.com/carbon-design-system/carbon-charts/commit/5fd692f9e71dbf4b3e9052feb6c99cb25156c5da))
|
|
31
38
|
|
|
39
|
+
## [0.38.4](https://github.com/carbon-design-system/carbon-charts/compare/v0.38.3...v0.38.4) (2020-09-21)
|
|
32
40
|
|
|
33
|
-
|
|
41
|
+
### Bug Fixes
|
|
42
|
+
|
|
43
|
+
- **core:** fix valueFormatter not being called on non-axis tooltips
|
|
44
|
+
([#809](https://github.com/carbon-design-system/carbon-charts/issues/809))
|
|
45
|
+
([b1ff24c](https://github.com/carbon-design-system/carbon-charts/commit/b1ff24c70c8291ef8dab5585866a12ef99fd6e6f))
|
|
46
|
+
|
|
47
|
+
## [0.38.3](https://github.com/carbon-design-system/carbon-charts/compare/v0.38.2...v0.38.3) (2020-09-21)
|
|
34
48
|
|
|
35
49
|
**Note:** Version bump only for package @carbon/charts
|
|
36
50
|
|
|
51
|
+
## [0.38.2](https://github.com/carbon-design-system/carbon-charts/compare/v0.38.1...v0.38.2) (2020-09-17)
|
|
37
52
|
|
|
53
|
+
**Note:** Version bump only for package @carbon/charts
|
|
38
54
|
|
|
55
|
+
## [0.38.1](https://github.com/carbon-design-system/carbon-charts/compare/v0.38.0...v0.38.1) (2020-09-17)
|
|
39
56
|
|
|
57
|
+
**Note:** Version bump only for package @carbon/charts
|
|
40
58
|
|
|
41
59
|
# [0.38.0](https://github.com/carbon-design-system/carbon-charts/compare/v0.37.1...v0.38.0) (2020-09-15)
|
|
42
60
|
|
|
43
|
-
|
|
44
61
|
### Features
|
|
45
62
|
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
63
|
+
- **core:** enable or disable ruler
|
|
64
|
+
([#765](https://github.com/carbon-design-system/carbon-charts/issues/765))
|
|
65
|
+
([bef6daf](https://github.com/carbon-design-system/carbon-charts/commit/bef6daf53e2c7c825d39daa160e9f721ddec0b29))
|
|
51
66
|
|
|
52
67
|
## [0.37.1](https://github.com/carbon-design-system/carbon-charts/compare/v0.37.0...v0.37.1) (2020-09-14)
|
|
53
68
|
|
|
54
69
|
**Note:** Version bump only for package @carbon/charts
|
|
55
70
|
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
71
|
# [0.37.0](https://github.com/carbon-design-system/carbon-charts/compare/v0.36.4...v0.37.0) (2020-09-11)
|
|
61
72
|
|
|
62
|
-
|
|
63
73
|
### Features
|
|
64
74
|
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
75
|
+
- create options for tick rotation
|
|
76
|
+
([#770](https://github.com/carbon-design-system/carbon-charts/issues/770))
|
|
77
|
+
([4063c8a](https://github.com/carbon-design-system/carbon-charts/commit/4063c8a0f4d441589116759b32f2b214fad46154))
|
|
78
|
+
- enable or disable scatter dot on charts except scatter chart
|
|
79
|
+
([#769](https://github.com/carbon-design-system/carbon-charts/issues/769))
|
|
80
|
+
([3131942](https://github.com/carbon-design-system/carbon-charts/commit/313194217318719152d6a14c2a3cba957b8fc009))
|
|
71
81
|
|
|
72
82
|
## [0.36.4](https://github.com/carbon-design-system/carbon-charts/compare/v0.36.3...v0.36.4) (2020-09-10)
|
|
73
83
|
|
|
74
84
|
**Note:** Version bump only for package @carbon/charts
|
|
75
85
|
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
86
|
## [0.36.3](https://github.com/carbon-design-system/carbon-charts/compare/v0.36.2...v0.36.3) (2020-09-10)
|
|
81
87
|
|
|
82
88
|
**Note:** Version bump only for package @carbon/charts
|
|
83
89
|
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
90
|
## [0.36.2](https://github.com/carbon-design-system/carbon-charts/compare/v0.36.1...v0.36.2) (2020-09-02)
|
|
89
91
|
|
|
90
92
|
**Note:** Version bump only for package @carbon/charts
|
|
91
93
|
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
94
|
## [0.36.1](https://github.com/carbon-design-system/carbon-charts/compare/v0.36.0...v0.36.1) (2020-09-01)
|
|
97
95
|
|
|
98
96
|
**Note:** Version bump only for package @carbon/charts
|
|
99
97
|
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
98
|
# [0.36.0](https://github.com/carbon-design-system/carbon-charts/compare/v0.35.3...v0.36.0) (2020-08-25)
|
|
105
99
|
|
|
106
|
-
|
|
107
100
|
### Features
|
|
108
101
|
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
102
|
+
- change zoom bar handle cursor to ew-resize
|
|
103
|
+
([#759](https://github.com/carbon-design-system/carbon-charts/issues/759))
|
|
104
|
+
([f1fdab0](https://github.com/carbon-design-system/carbon-charts/commit/f1fdab005c09cb76984b3a7d17df24b7a860effd))
|
|
114
105
|
|
|
115
106
|
## [0.35.3](https://github.com/carbon-design-system/carbon-charts/compare/v0.35.2...v0.35.3) (2020-08-21)
|
|
116
107
|
|
|
117
108
|
**Note:** Version bump only for package @carbon/charts
|
|
118
109
|
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
110
|
## [0.35.2](https://github.com/carbon-design-system/carbon-charts/compare/v0.35.1...v0.35.2) (2020-08-21)
|
|
124
111
|
|
|
125
112
|
**Note:** Version bump only for package @carbon/charts
|
|
126
113
|
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
114
|
## [0.35.1](https://github.com/carbon-design-system/carbon-charts/compare/v0.35.0...v0.35.1) (2020-08-18)
|
|
132
115
|
|
|
133
116
|
**Note:** Version bump only for package @carbon/charts
|
|
134
117
|
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
118
|
# Change Log
|
|
140
119
|
|
|
141
120
|
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;
|
|
@@ -70,5 +70,16 @@ export declare const zoomBarLineTimeSeriesInitDomainData: {
|
|
|
70
70
|
}[];
|
|
71
71
|
};
|
|
72
72
|
export declare const zoomBarLineTimeSeriesInitDomainOptions: any;
|
|
73
|
+
export declare const zoomBarStringDateData: {
|
|
74
|
+
labels: string[];
|
|
75
|
+
datasets: {
|
|
76
|
+
label: string;
|
|
77
|
+
data: {
|
|
78
|
+
date: string;
|
|
79
|
+
value: number;
|
|
80
|
+
}[];
|
|
81
|
+
}[];
|
|
82
|
+
};
|
|
83
|
+
export declare const zoomBarStringDateOptions: any;
|
|
73
84
|
export declare const zoomBarSkeletonData: any[];
|
|
74
85
|
export declare const zoomBarSkeletonOptions: any;
|
|
@@ -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
|
}
|