Commit d670b1de authored by Simon Luser's avatar Simon Luser
Browse files

Merge remote-tracking branch 'origin/master' into pl/disasterPrioritization

parents 6d925ec4 beae4fd2
...@@ -104,6 +104,12 @@ public class MetricCDFAdapter implements MetricPlotAdapter { ...@@ -104,6 +104,12 @@ public class MetricCDFAdapter implements MetricPlotAdapter {
series.add(entry.getValue(), entry.getKey(), entry.getKey(), series.add(entry.getValue(), entry.getKey(), entry.getKey(),
entry.getKey()); entry.getKey());
} }
// ValueAxis has errors if maxX is close to 0
if(maxX <= Double.MIN_VALUE){
maxX = 1d;
}
chart.getDomainAxis().setRange(0, maxX); chart.getDomainAxis().setRange(0, maxX);
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment