@tetacom/svg-charts 1.2.20 → 1.2.21

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.
@@ -635,7 +635,7 @@ class ScaleService {
635
635
  .set(ScaleType.pow, d3.scalePow)
636
636
  .set(ScaleType.sqrt, d3.scaleSqrt);
637
637
  this.scales = combineLatest([
638
- this.chartService.size,
638
+ this.chartService.size.pipe(filter((rect) => rect.width > 0 && rect.height > 0)),
639
639
  this.chartService.config,
640
640
  this.zoomService.zoomed,
641
641
  ]).pipe(map((data) => {