@praxisui/charts 10.0.0-rc.45 → 10.0.0-rc.46

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.
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "schemaVersion": "1.0.0",
3
- "generatedAt": "2026-11-14T23:14:13.846Z",
3
+ "generatedAt": "2026-11-15T00:03:48.148Z",
4
4
  "packageName": "@praxisui/charts",
5
- "packageVersion": "10.0.0-rc.45",
5
+ "packageVersion": "10.0.0-rc.46",
6
6
  "sourceRegistry": "praxis-component-registry-ingestion",
7
7
  "sourceRegistryVersion": "1.0.0",
8
8
  "componentCount": 4,
@@ -7567,6 +7567,12 @@ class AnalyticsChartConfigAdapterService {
7567
7567
  const groupByRequest = executionPlan.operation === 'group-by'
7568
7568
  ? executionPlan.statsRequest
7569
7569
  : undefined;
7570
+ const distributionRequest = executionPlan.operation === 'distribution'
7571
+ ? executionPlan.statsRequest
7572
+ : undefined;
7573
+ const distributionMode = distributionRequest
7574
+ ? (distributionRequest.mode === 'HISTOGRAM' ? 'histogram' : 'terms')
7575
+ : undefined;
7570
7576
  return {
7571
7577
  kind: 'remote',
7572
7578
  resourcePath: executionPlan.resourcePath,
@@ -7578,6 +7584,9 @@ class AnalyticsChartConfigAdapterService {
7578
7584
  ...(groupByRequest?.timezone ? { timezone: groupByRequest.timezone } : {}),
7579
7585
  ...(groupByRequest?.periodField ? { periodField: groupByRequest.periodField } : {}),
7580
7586
  ...(groupByRequest?.periodPreset ? { periodPreset: groupByRequest.periodPreset } : {}),
7587
+ ...(distributionMode ? { distributionMode } : {}),
7588
+ ...(distributionRequest?.bucketSize !== undefined ? { bucketSize: distributionRequest.bucketSize } : {}),
7589
+ ...(distributionRequest?.bucketCount !== undefined ? { bucketCount: distributionRequest.bucketCount } : {}),
7581
7590
  statsPath: executionPlan.statsPath,
7582
7591
  statsRequest: executionPlan.statsRequest,
7583
7592
  dimensions: executionPlan.dimensions,
@@ -7627,10 +7636,13 @@ class AnalyticsChartConfigAdapterService {
7627
7636
  case 'percentile-90':
7628
7637
  case 'percentile-95':
7629
7638
  case 'count':
7639
+ case 'histogram':
7630
7640
  case 'distinct-count':
7631
7641
  case 'sum':
7632
7642
  case 'avg-per-cycle-occurrence':
7633
- return normalizedAggregation;
7643
+ return normalizedAggregation === 'histogram'
7644
+ ? 'count'
7645
+ : normalizedAggregation;
7634
7646
  case 'percentile_90':
7635
7647
  return 'percentile-90';
7636
7648
  case 'percentile_95':
package/package.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "@praxisui/charts",
3
- "version": "10.0.0-rc.45",
3
+ "version": "10.0.0-rc.46",
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": "^10.0.0-rc.45",
8
+ "@praxisui/core": "^10.0.0-rc.46",
9
9
  "@angular/forms": "^21.0.0",
10
10
  "@angular/material": "^21.0.0",
11
- "@praxisui/table": "^10.0.0-rc.45",
11
+ "@praxisui/table": "^10.0.0-rc.46",
12
12
  "rxjs": "~7.8.0"
13
13
  },
14
14
  "dependencies": {