Commit beae4fd2 authored by Björn Richerzhagen's avatar Björn Richerzhagen
Browse files

Merge branch 'MetricCDFAdapterFix' into 'master'

quickFix to prevent adapter dirtNaps

See merge request !6
parents 2ac40564 0dd66226
......@@ -104,6 +104,12 @@ public class MetricCDFAdapter implements MetricPlotAdapter {
series.add(entry.getValue(), 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);
}
......
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