Skip to content

Commit

Permalink
Undefined dp min and max values should no longer merge the axes.
Browse files Browse the repository at this point in the history
  • Loading branch information
Enio Sultan committed Oct 21, 2024
1 parent a35d6b8 commit 0ca5026
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/app/datapoints-graph/charts/y-axis.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,10 @@ export class YAxisService {

if (firstOccurrence.has(dp)) {
datapointsWithValues.forEach((dp2) => {
if (dp2.min === dp.min && dp2.max === dp.max) {
if (
(dp2.min === dp.min && dp2.max === dp.max && dp2.min !== null,
dp2.max !== null)
) {
matchingDpSet.add(dp2);
}
});
Expand Down

0 comments on commit 0ca5026

Please sign in to comment.