Bug #1503: Fix calculation of min and max in histogram charts
FEA: ItEr76S04BugFixing
This commit is contained in:
parent
e4e1479d5f
commit
22b4084045
1 changed files with 0 additions and 3 deletions
|
|
@ -329,9 +329,6 @@ public class DashboardModel implements IDashboardModel {
|
|||
if (values.isEmpty()) {
|
||||
minDouble = -halfSize;
|
||||
maxDouble = halfSize;
|
||||
} else if (values.size() == 1) {
|
||||
minDouble = values.get(0) - halfSize;
|
||||
maxDouble = values.get(0) + halfSize;
|
||||
} else {
|
||||
minDouble = Collections.min(values);
|
||||
maxDouble = Collections.max(values);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue