@tetacom/svg-charts 1.7.18 → 1.7.19
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.
|
@@ -1314,7 +1314,9 @@ class ZoomableDirective {
|
|
|
1314
1314
|
initZoomSync() {
|
|
1315
1315
|
combineLatest([this.scaleService.scales, this.zoomService.zoomed]).pipe(takeWhile(() => this.alive)).subscribe((data) => {
|
|
1316
1316
|
const [scales, zoomed] = data;
|
|
1317
|
+
console.log(zoomed.domain);
|
|
1317
1318
|
if (this._element &&
|
|
1319
|
+
this.elementRef !== zoomed?.element &&
|
|
1318
1320
|
zoomed?.axis?.index === this.axis.index &&
|
|
1319
1321
|
zoomed?.axis?.orientation === this.axis.orientation) {
|
|
1320
1322
|
const axis = this.axis.orientation === AxisOrientation.x ? scales.x.get(this.axis.index) : scales.y.get(this.axis.index);
|