rename 'percentile' plots to 'cumulative distribution'

This commit is contained in:
2019-05-12 14:30:16 +02:00
parent 1f144846db
commit 2eb2a69c17
5 changed files with 21 additions and 12 deletions

View File

@@ -3,7 +3,7 @@ package org.lucares.pdbui;
import org.lucares.pdb.plot.api.AggregateHandler;
import org.lucares.pdb.plot.api.NullAggregate;
import org.lucares.pdb.plot.api.ParallelRequestsAggregate;
import org.lucares.pdb.plot.api.PercentileAggregate;
import org.lucares.pdb.plot.api.CumulativeDistributionHandler;
import org.lucares.pdb.plot.api.PlotSettings;
import org.lucares.pdb.plot.api.TimeRangeUnitInternal;
import org.lucares.pdbui.domain.Aggregate;
@@ -57,8 +57,8 @@ class PlotSettingsTransformer {
switch (aggregate) {
case NONE:
return new NullAggregate();
case PERCENTILES:
return new PercentileAggregate();
case CUM_DISTRIBUTION:
return new CumulativeDistributionHandler();
case PARALLEL:
return new ParallelRequestsAggregate();
}

View File

@@ -1,5 +1,14 @@
package org.lucares.pdbui.domain;
public enum Aggregate {
NONE, PERCENTILES, PARALLEL
NONE,
/**
* Empirical cumulative distribution functions
*
* @see https://serialmentor.com/dataviz/ecdf-qq.html
*/
CUM_DISTRIBUTION,
PARALLEL
}

View File

@@ -777,10 +777,10 @@ Vue.component('search-bar', {
<div class="group" id="group-show-aggregate">
<label for="show-aggregate">Aggregate:</label>
<label for="show-aggregate">X2-Axis:</label>
<select id="show-aggregate" v-model="searchBar.aggregate">
<option value="NONE">-</option>
<option value="PERCENTILES">percentiles</option>
<option value="CUM_DISTRIBUTION" title="cumulative distribution, see https://serialmentor.com/dataviz/ecdf-qq.html">cum. distribution</option>
<option value="PARALLEL">parallel requests</option>
</select>
</div>