@carbon/charts-vue 1.7.4 → 1.7.6
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/charts-vue.common.js +21 -16
- package/charts-vue.common.js.map +1 -1
- package/charts-vue.umd.js +21 -16
- package/charts-vue.umd.js.map +1 -1
- package/charts-vue.umd.min.js +1 -1
- package/charts-vue.umd.min.js.map +1 -1
- package/package.json +2 -2
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
|
+
## [1.7.6](https://github.com/carbon-design-system/carbon-charts/compare/v1.7.5...v1.7.6) (2023-05-01)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @carbon/charts-vue
|
|
9
|
+
|
|
10
|
+
## [1.7.5](https://github.com/carbon-design-system/carbon-charts/compare/v1.7.4...v1.7.5) (2023-04-28)
|
|
11
|
+
|
|
12
|
+
**Note:** Version bump only for package @carbon/charts-vue
|
|
13
|
+
|
|
6
14
|
## [1.7.4](https://github.com/carbon-design-system/carbon-charts/compare/v1.7.3...v1.7.4) (2023-04-27)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @carbon/charts-vue
|
package/charts-vue.common.js
CHANGED
|
@@ -23965,7 +23965,7 @@ var title_meter_MeterTitle = /** @class */ (function (_super) {
|
|
|
23965
23965
|
.classed('proportional-meter-total', true)
|
|
23966
23966
|
.merge(title)
|
|
23967
23967
|
// Position the total text -24 pixels to add spacing between text and status icon (if status exists)
|
|
23968
|
-
.attr('x', this.model.getStatus()
|
|
23968
|
+
.attr('x', this.model.getStatus() && typeof containerWidth !== 'string'
|
|
23969
23969
|
? containerWidth - meter.total.paddingRight
|
|
23970
23970
|
: containerWidth)
|
|
23971
23971
|
.attr('y', '1em')
|
|
@@ -24561,11 +24561,13 @@ var chart_clip_ChartClip = /** @class */ (function (_super) {
|
|
|
24561
24561
|
// Get height
|
|
24562
24562
|
this.chartClipPath = dom_utils_DOMUtils.appendOrSelect(svg, "clipPath." + this.type).attr('id', this.chartClipId);
|
|
24563
24563
|
var clipRect = dom_utils_DOMUtils.appendOrSelect(this.chartClipPath, "rect." + this.type);
|
|
24564
|
-
|
|
24565
|
-
|
|
24566
|
-
|
|
24567
|
-
|
|
24568
|
-
|
|
24564
|
+
if (xScaleEnd - xScaleStart > 0) {
|
|
24565
|
+
clipRect
|
|
24566
|
+
.attr('x', xScaleStart)
|
|
24567
|
+
.attr('y', yScaleStart)
|
|
24568
|
+
.attr('width', xScaleEnd - xScaleStart)
|
|
24569
|
+
.attr('height', yScaleEnd - yScaleStart);
|
|
24570
|
+
}
|
|
24569
24571
|
this.chartClipPath.merge(clipRect).lower();
|
|
24570
24572
|
};
|
|
24571
24573
|
return ChartClip;
|
|
@@ -32659,7 +32661,7 @@ var radar_Radar = /** @class */ (function (_super) {
|
|
|
32659
32661
|
.attr('fill', 'none')
|
|
32660
32662
|
.call(function (selection) {
|
|
32661
32663
|
return selection
|
|
32662
|
-
.transition()
|
|
32664
|
+
.transition() // BUG: unresolved from Issue 1555 - https://github.com/carbon-design-system/carbon-charts/issues/1555
|
|
32663
32665
|
.call(function (t) {
|
|
32664
32666
|
return _this.services.transitions.setupTransition({
|
|
32665
32667
|
transition: t,
|
|
@@ -39197,6 +39199,7 @@ var grid_brush_ChartBrush = /** @class */ (function (_super) {
|
|
|
39197
39199
|
_this.services.zoom.handleDomainChange(newDomain);
|
|
39198
39200
|
}
|
|
39199
39201
|
};
|
|
39202
|
+
var brush_1;
|
|
39200
39203
|
var brushed = function (event) {
|
|
39201
39204
|
// max selection range: [0, width]
|
|
39202
39205
|
var selection = event.selection;
|
|
@@ -39209,15 +39212,17 @@ var grid_brush_ChartBrush = /** @class */ (function (_super) {
|
|
|
39209
39212
|
frontSelection.style('display', 'none');
|
|
39210
39213
|
}
|
|
39211
39214
|
};
|
|
39212
|
-
|
|
39213
|
-
|
|
39214
|
-
|
|
39215
|
-
|
|
39216
|
-
|
|
39217
|
-
|
|
39218
|
-
|
|
39219
|
-
|
|
39220
|
-
|
|
39215
|
+
if (height != 0 && width != 0) {
|
|
39216
|
+
// leave some space to display selection strokes besides axis
|
|
39217
|
+
brush_1 = brushX()
|
|
39218
|
+
.extent([
|
|
39219
|
+
[0, 0],
|
|
39220
|
+
[width - 1, height],
|
|
39221
|
+
])
|
|
39222
|
+
.on('start brush end', brushEventHandler)
|
|
39223
|
+
.on('end.brushed', brushed);
|
|
39224
|
+
brushArea.call(brush_1);
|
|
39225
|
+
}
|
|
39221
39226
|
var zoomRatio_1 = this.services.zoom.getZoomRatio();
|
|
39222
39227
|
backdrop.on('click', function (event) {
|
|
39223
39228
|
if (event.shiftKey) {
|