drop 99.9% interval

This commit is contained in:
Damien Elmes 2020-08-05 14:50:08 +10:00
parent 1909d0a9a2
commit 43d8e5c9f0
2 changed files with 1 additions and 12 deletions

View File

@ -53,13 +53,6 @@
<input type="radio" bind:group={range} value={IntervalRange.Percentile95} />
95%
</label>
<label>
<input
type="radio"
bind:group={range}
value={IntervalRange.Percentile999} />
99.9%
</label>
<label>
<input type="radio" bind:group={range} value={IntervalRange.All} />
{all}

View File

@ -24,8 +24,7 @@ export enum IntervalRange {
Month = 0,
Percentile50 = 1,
Percentile95 = 2,
Percentile999 = 3,
All = 4,
All = 3,
}
export function gatherIntervalData(data: pb.BackendProto.GraphsOut): IntervalGraphData {
@ -83,9 +82,6 @@ export function prepareIntervalData(
case IntervalRange.Percentile95:
xMax = quantile(allIntervals, 0.95);
break;
case IntervalRange.Percentile999:
xMax = quantile(allIntervals, 0.999);
break;
case IntervalRange.All:
break;
}