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} /> <input type="radio" bind:group={range} value={IntervalRange.Percentile95} />
95% 95%
</label> </label>
<label>
<input
type="radio"
bind:group={range}
value={IntervalRange.Percentile999} />
99.9%
</label>
<label> <label>
<input type="radio" bind:group={range} value={IntervalRange.All} /> <input type="radio" bind:group={range} value={IntervalRange.All} />
{all} {all}

View File

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