cats-charts 0.0.57 → 0.0.58

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.
@@ -305,7 +305,7 @@ class ChartLegendComponent {
305
305
  return;
306
306
  this.state = { ...this.state, hoveredName: item.name };
307
307
  this.adapter.highlight(this.chart, item);
308
- this.emit('highlight', item);
308
+ // this.emit('highlight', item);
309
309
  this.cdr.markForCheck();
310
310
  }
311
311
  leave(item) {
@@ -313,7 +313,7 @@ class ChartLegendComponent {
313
313
  return;
314
314
  this.state = { ...this.state, hoveredName: null };
315
315
  this.adapter.downplay(this.chart, item);
316
- this.emit('downplay', item);
316
+ // this.emit('downplay', item);
317
317
  this.cdr.markForCheck();
318
318
  }
319
319
  page(step) {
@@ -1559,7 +1559,7 @@ class LinesChart {
1559
1559
  if (Number.isInteger(value)) {
1560
1560
  return value.toString();
1561
1561
  }
1562
- return value.toFixed(2);
1562
+ return value;
1563
1563
  },
1564
1564
  },
1565
1565
  splitLine: {
@@ -1621,7 +1621,7 @@ class LinesChart {
1621
1621
  if (Number.isInteger(value)) {
1622
1622
  return value.toString();
1623
1623
  }
1624
- return value.toFixed(2);
1624
+ return value;
1625
1625
  },
1626
1626
  },
1627
1627
  name: this.config?.secondaryYAxisName || '',
@@ -2079,7 +2079,7 @@ class BarChart {
2079
2079
  if (Number.isInteger(value)) {
2080
2080
  return value.toString();
2081
2081
  }
2082
- return value.toFixed(2);
2082
+ return value;
2083
2083
  },
2084
2084
  },
2085
2085
  splitLine: {
@@ -2139,7 +2139,7 @@ class BarChart {
2139
2139
  if (Number.isInteger(value)) {
2140
2140
  return value.toString();
2141
2141
  }
2142
- return value.toFixed(2);
2142
+ return value;
2143
2143
  },
2144
2144
  },
2145
2145
  name: this.config?.secondaryYAxisName || '',
@@ -3770,7 +3770,7 @@ class ScatterChartComp {
3770
3770
  if (Number.isInteger(value)) {
3771
3771
  return value.toString();
3772
3772
  }
3773
- return value.toFixed(2);
3773
+ return value;
3774
3774
  },
3775
3775
  },
3776
3776
  splitLine: {