rename 'percentile' plots to 'cumulative distribution'
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user