@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 +8 -0
- package/charts-vue.common.js +5 -0
- package/charts-vue.common.js.map +1 -1
- package/charts-vue.umd.js +5 -0
- 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/charts-vue.umd.js
CHANGED
|
@@ -17539,6 +17539,11 @@ var zoom_Zoom = /** @class */ (function (_super) {
|
|
|
17539
17539
|
var cartesianScales = this.services.cartesianScales;
|
|
17540
17540
|
var mainXAxisPosition = cartesianScales.getMainXAxisPosition();
|
|
17541
17541
|
var domainIdentifier = cartesianScales.getDomainIdentifier();
|
|
17542
|
+
var customDomain = tools_Tools.getProperty(this.model.getOptions(), 'axes', mainXAxisPosition, 'domain');
|
|
17543
|
+
// return custom domain if exists && valid
|
|
17544
|
+
if (Array.isArray(customDomain) && customDomain.length === 2) {
|
|
17545
|
+
return customDomain;
|
|
17546
|
+
}
|
|
17542
17547
|
// default to full range with extended domain
|
|
17543
17548
|
return cartesianScales.extendsDomain(mainXAxisPosition, src_extent(allZoomBarData, function (d) { return d[domainIdentifier]; }));
|
|
17544
17549
|
};
|