@carbon/charts-vue 0.53.4 → 0.53.5

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,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.53.5](https://github.com/carbon-design-system/carbon-charts/compare/v0.53.4...v0.53.5) (2021-12-15)
7
+
8
+ **Note:** Version bump only for package @carbon/charts-vue
9
+
10
+
11
+
12
+
13
+
6
14
  ## [0.53.4](https://github.com/carbon-design-system/carbon-charts/compare/v0.53.3...v0.53.4) (2021-12-13)
7
15
 
8
16
  **Note:** Version bump only for package @carbon/charts-vue
@@ -17530,6 +17530,11 @@ var zoom_Zoom = /** @class */ (function (_super) {
17530
17530
  var cartesianScales = this.services.cartesianScales;
17531
17531
  var mainXAxisPosition = cartesianScales.getMainXAxisPosition();
17532
17532
  var domainIdentifier = cartesianScales.getDomainIdentifier();
17533
+ var customDomain = tools_Tools.getProperty(this.model.getOptions(), 'axes', mainXAxisPosition, 'domain');
17534
+ // return custom domain if exists && valid
17535
+ if (Array.isArray(customDomain) && customDomain.length === 2) {
17536
+ return customDomain;
17537
+ }
17533
17538
  // default to full range with extended domain
17534
17539
  return cartesianScales.extendsDomain(mainXAxisPosition, src_extent(allZoomBarData, function (d) { return d[domainIdentifier]; }));
17535
17540
  };