@praxisui/charts 8.0.0-beta.81 → 8.0.0-beta.84

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.
@@ -1415,6 +1415,9 @@ class PraxisChartCanonicalContractMapperService {
1415
1415
  y: {
1416
1416
  label: metricCount > 1 ? undefined : this.toLabel(firstMetric?.label),
1417
1417
  type: 'value',
1418
+ labels: firstMetric?.format
1419
+ ? { format: firstMetric.format }
1420
+ : undefined,
1418
1421
  },
1419
1422
  ySecondary: contract.kind === 'combo' && secondaryMetric
1420
1423
  ? {
@@ -1441,7 +1444,9 @@ class PraxisChartCanonicalContractMapperService {
1441
1444
  },
1442
1445
  color: metric.color,
1443
1446
  stackId: contract.kind === 'stacked-bar' || contract.kind === 'stacked-area' ? 'stack-1' : undefined,
1444
- labels: labelsVisible ? { visible: true } : undefined,
1447
+ labels: labelsVisible || metric.format
1448
+ ? { visible: labelsVisible, format: metric.format }
1449
+ : undefined,
1445
1450
  smooth: this.shouldSmoothSeries(contract.kind, metric.seriesKind),
1446
1451
  }));
1447
1452
  }
package/package.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "@praxisui/charts",
3
- "version": "8.0.0-beta.81",
3
+ "version": "8.0.0-beta.84",
4
4
  "description": "Metadata-driven charts library for Praxis UI Angular with engine adapters and Apache ECharts as the initial renderer.",
5
5
  "peerDependencies": {
6
6
  "@angular/common": "^21.0.0",
7
7
  "@angular/core": "^21.0.0",
8
- "@praxisui/core": "^8.0.0-beta.81",
8
+ "@praxisui/core": "^8.0.0-beta.84",
9
9
  "@angular/forms": "^21.0.0",
10
10
  "@angular/material": "^21.0.0",
11
- "@praxisui/table": "^8.0.0-beta.81",
11
+ "@praxisui/table": "^8.0.0-beta.84",
12
12
  "rxjs": "~7.8.0"
13
13
  },
14
14
  "dependencies": {