@siemens/charts-ng 48.6.0 → 48.8.0

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.
@@ -857,6 +857,7 @@ class SiChartComponent {
857
857
  requestedDataZoom;
858
858
  measureCanvas;
859
859
  cdRef = inject(ChangeDetectorRef);
860
+ ngZone = inject(NgZone);
860
861
  curWidth = 0;
861
862
  curHeight = 0;
862
863
  timeBarBottom = signal(50);
@@ -887,7 +888,6 @@ class SiChartComponent {
887
888
  echartMouseUp = (event) => this.handleChartMouseUp(event);
888
889
  echartExtSliderMouseDown = () => this.handleExtChartMouseDown();
889
890
  echartExtSliderMouseUp = (event) => this.handleExtChartMouseUp(event);
890
- ngZone = inject(NgZone);
891
891
  shapePaths = {
892
892
  circle: 'M6 0A6 6 0 1 1 6 12A6 6 0 1 1 6 0Z',
893
893
  rect: 'M0 0H12V12H0Z',
@@ -2534,7 +2534,8 @@ class SiChartCartesianComponent extends SiChartComponent {
2534
2534
  }
2535
2535
  ],
2536
2536
  tooltip: {
2537
- trigger: 'axis'
2537
+ trigger: 'axis',
2538
+ confine: true
2538
2539
  }
2539
2540
  };
2540
2541
  const tooltipFormatter = this.tooltipFormatter();