Commit 1543b029 authored by Nils Richerzhagen's avatar Nils Richerzhagen
Browse files

Merge branch 'master' into 'nr/monitoring-model'

Merge master into nr/monitoring-model

See merge request !13
parents 7d2eca88 beae4fd2
......@@ -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