@tetacom/svg-charts 1.7.34 → 1.7.36
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.
|
@@ -1352,7 +1352,7 @@ class ZoomableDirective {
|
|
|
1352
1352
|
const axis = this.axis.orientation === AxisOrientation.x ? scales.x.get(this.axis.index) : scales.y.get(this.axis.index);
|
|
1353
1353
|
const scale = axis.scale.copy().domain(this.axis.originDomain);
|
|
1354
1354
|
let transform;
|
|
1355
|
-
if (zoomed.domain === null) {
|
|
1355
|
+
if (zoomed.domain === null || zoomed.domain === undefined) {
|
|
1356
1356
|
transform = zoomIdentity;
|
|
1357
1357
|
}
|
|
1358
1358
|
else {
|