add median and 90% percentile
This commit is contained in:
@@ -36,6 +36,8 @@ class PlotSettingsTransformer {
|
||||
switch (aggregate) {
|
||||
case NONE:return new NullAggregate();
|
||||
case MEAN:return new MeanAggregate();
|
||||
case MEDIAN:return new PercentileAggregate(0.50);
|
||||
case PERCENTILE90:return new PercentileAggregate(0.90);
|
||||
case PERCENTILE95:return new PercentileAggregate(0.95);
|
||||
case PERCENTILE99:return new PercentileAggregate(0.99);
|
||||
case PERCENTILE999:return new PercentileAggregate(0.999);
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
package org.lucares.pdbui.domain;
|
||||
|
||||
public enum Aggregate {
|
||||
NONE, MEAN, PERCENTILE95, PERCENTILE99, PERCENTILE999
|
||||
NONE, MEAN, MEDIAN, PERCENTILE90, PERCENTILE95, PERCENTILE99, PERCENTILE999
|
||||
}
|
||||
|
||||
@@ -70,6 +70,8 @@
|
||||
<select id="show-aggregate">
|
||||
<option value="NONE" selected="selected">-</option>
|
||||
<option value="MEAN">Mean</option>
|
||||
<option value="MEDIAN">Median</option>
|
||||
<option value="PERCENTILE90">90% percentile</option>
|
||||
<option value="PERCENTILE95">95% percentile</option>
|
||||
<option value="PERCENTILE99">99% percentile</option>
|
||||
<option value="PERCENTILE999">99.9% percentile</option>
|
||||
|
||||
Reference in New Issue
Block a user