We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 897459a commit e206b50Copy full SHA for e206b50
CHANGELOG.md
@@ -1,5 +1,10 @@
1
# Changelog
2
3
+## Unreleased:
4
+
5
+### Fixes:
6
+- Fix min/max calculation for single point metrics (mihran113)
7
8
## 3.28.0 Mar 21, 2025
9
10
### Enhancements:
aim/web/ui/src/utils/aggregateGroupData.ts
@@ -113,6 +113,17 @@ export function aggregateGroupData({
113
}
114
115
116
+ // add special case handling for single point metrics
117
+ if (trace.xValues.length === 1) {
118
+ const step = trace.xValues[0];
119
+ let value = chartXValues.indexOf(step);
120
+ let y = trace.yValues[0];
121
+ if (yValuesPerX.hasOwnProperty(value)) {
122
+ yValuesPerX[value].push(y);
123
+ } else {
124
+ yValuesPerX[value] = [y];
125
+ }
126
127
128
129
0 commit comments