@tetacom/ng-components 1.0.8 → 1.0.9

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.
@@ -2620,9 +2620,7 @@ class OnlyNumberDirective {
2620
2620
  if (this.tetaOnlyNumber === false) {
2621
2621
  return;
2622
2622
  }
2623
- console.log(value);
2624
2623
  value = value.replace(',', '.').trim();
2625
- console.log(value);
2626
2624
  let regex = this._integerUnsigned;
2627
2625
  if (!this.allowDecimals && !this.allowSign) {
2628
2626
  regex = this._integerUnsigned;
@@ -10720,12 +10718,15 @@ class TetaChart {
10720
10718
  className: annotation.className,
10721
10719
  };
10722
10720
  });
10723
- const makeAnnotations = d3annotation.annotation().annotations(annotations ?? []);
10721
+ const makeAnnotations = d3annotation
10722
+ .annotation()
10723
+ .annotations(annotations ?? []);
10724
10724
  this._chart
10725
10725
  .append('g')
10726
10726
  .attr('class', 'annotations')
10727
10727
  .attr('clip-path', `url(#draw-window-${this.uniqId})`)
10728
- .call(makeAnnotations);
10728
+ .call(makeAnnotations)
10729
+ .lower();
10729
10730
  }
10730
10731
  drawPlotLines() {
10731
10732
  this._chart.selectAll('.plotlines').remove();
@@ -11233,7 +11234,7 @@ class TetaChart {
11233
11234
  }
11234
11235
  drawChart() {
11235
11236
  const series = this._options.series?.filter((_) => _.visible);
11236
- this._chart.selectAll('.chart-container').remove();
11237
+ this._chart.selectAll('.series').remove();
11237
11238
  if (!series || series.length < 1) {
11238
11239
  d3.select(this._container.nativeElement)
11239
11240
  .select('canvas')