@carbon/charts-vue 0.41.76 → 0.41.80

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 CHANGED
@@ -3,6 +3,38 @@
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.41.80](https://github.com/carbon-design-system/carbon-charts/compare/v0.41.79...v0.41.80) (2021-07-07)
7
+
8
+ **Note:** Version bump only for package @carbon/charts-vue
9
+
10
+
11
+
12
+
13
+
14
+ ## [0.41.79](https://github.com/carbon-design-system/carbon-charts/compare/v0.41.78...v0.41.79) (2021-06-29)
15
+
16
+ **Note:** Version bump only for package @carbon/charts-vue
17
+
18
+
19
+
20
+
21
+
22
+ ## [0.41.78](https://github.com/carbon-design-system/carbon-charts/compare/v0.41.77...v0.41.78) (2021-06-29)
23
+
24
+ **Note:** Version bump only for package @carbon/charts-vue
25
+
26
+
27
+
28
+
29
+
30
+ ## [0.41.77](https://github.com/carbon-design-system/carbon-charts/compare/v0.41.76...v0.41.77) (2021-06-25)
31
+
32
+ **Note:** Version bump only for package @carbon/charts-vue
33
+
34
+
35
+
36
+
37
+
6
38
  ## [0.41.76](https://github.com/carbon-design-system/carbon-charts/compare/v0.41.75...v0.41.76) (2021-06-24)
7
39
 
8
40
  **Note:** Version bump only for package @carbon/charts-vue
@@ -25628,12 +25628,14 @@ var scatter_Scatter = /** @class */ (function (_super) {
25628
25628
  if (!self.configs.filled) {
25629
25629
  var filled_1 = self.getOptions().points.filled;
25630
25630
  var domainIdentifier_1 = self.services.cartesianScales.getDomainIdentifier(datum);
25631
+ var isFilled_1 = self.model.getIsFilled(datum[groupMapsTo], datum[domainIdentifier_1], datum, filled_1);
25631
25632
  hoveredElement
25632
- .classed('unfilled', !self.model.getIsFilled(datum[groupMapsTo], datum[domainIdentifier_1], datum, filled_1))
25633
+ .classed('unfilled', !isFilled_1)
25633
25634
  .style('fill', function (d) {
25634
- return filled_1
25635
- ? self.model.getFillColor(d[groupMapsTo], d[domainIdentifier_1], d)
25636
- : null;
25635
+ if (isFilled_1 || filled_1) {
25636
+ return self.model.getFillColor(d[groupMapsTo], d[domainIdentifier_1], d);
25637
+ }
25638
+ return null;
25637
25639
  });
25638
25640
  }
25639
25641
  // Dispatch mouse event
@@ -29432,9 +29434,10 @@ var radar_Radar = /** @class */ (function (_super) {
29432
29434
  var xScale = band()
29433
29435
  .domain(this.fullDataNormalized.map(function (d) { return d[angle]; }))
29434
29436
  .range([0, 2 * Math.PI].map(function (a) { return a - Math.PI / 2; }));
29437
+ var centerPointMinValue = src_min(this.fullDataNormalized.map(function (d) { return d[value]; }));
29435
29438
  var yScale = linear_linear()
29436
29439
  .domain([
29437
- 0,
29440
+ centerPointMinValue >= 0 ? 0 : centerPointMinValue,
29438
29441
  src_max(this.fullDataNormalized.map(function (d) { return d[value]; })),
29439
29442
  ])
29440
29443
  .range([minRange, radius])
@@ -30438,24 +30441,21 @@ var circle_pack_CirclePack = /** @class */ (function (_super) {
30438
30441
  }
30439
30442
  childrenData = datum.children.map(function (child) {
30440
30443
  if (child !== null) {
30441
- // sum up the children values if there are any 3rd level
30442
- var value = void 0;
30444
+ // retrieve the children values if there are any 3rd level
30443
30445
  if (typeof child.data.value === 'number') {
30444
- value = child.data.value;
30445
30446
  return {
30446
30447
  label: child.data.name,
30447
- value: value,
30448
+ value: child.data.value,
30448
30449
  };
30449
30450
  }
30450
30451
  else {
30451
- value = child.data.children.reduce(function (a, b) { return a + b.value; }, 0);
30452
30452
  return {
30453
30453
  label: child.data.name,
30454
30454
  labelIcon: canvasZoomEnabled &&
30455
30455
  hierarchyLevel <= 2
30456
30456
  ? self.getZoomIcon()
30457
30457
  : null,
30458
- value: value,
30458
+ value: child.value,
30459
30459
  };
30460
30460
  }
30461
30461
  }