From 1d2caa0fe3a46d8436560f44df4f99473d196766 Mon Sep 17 00:00:00 2001 From: Mark van der Wal Date: Thu, 6 Aug 2020 09:15:31 +0200 Subject: [PATCH] Updated statistics labels. --- .../statistics-details.component.html | 10 ++++++---- projects/common-map/src/fm-map/models/color.map.ts | 1 + 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/projects/common-map/src/fm-map/components/legend/statistics-details/statistics-details.component.html b/projects/common-map/src/fm-map/components/legend/statistics-details/statistics-details.component.html index fbceb89..bbd2f31 100644 --- a/projects/common-map/src/fm-map/components/legend/statistics-details/statistics-details.component.html +++ b/projects/common-map/src/fm-map/components/legend/statistics-details/statistics-details.component.html @@ -1,13 +1,13 @@
-
Population count:
+
Data points:
{{statistics.populationCount| number:'1.0-0'}}
Min:
{{statistics.min| number:'1.0-2'}}
Max:
{{statistics.max| number:'1.0-2'}}
-
Min plus:
+
Min+1:
{{statistics.minPlus| number:'1.0-2'}}
-
Max minus:
+
Max-1:
{{statistics.maxMinus| number:'1.0-2'}}
Average:
@@ -27,6 +27,8 @@
Variance:
{{statistics.variance| number:'1.0-2'}}
-
Variance coefficient:
+
Coefficient of variation:
{{statistics.variationCoefficient| number:'1.0-2'}}
+
Confidence interval:
+
{{statistics.confidenceInterval| number:'1.0-2'}}
diff --git a/projects/common-map/src/fm-map/models/color.map.ts b/projects/common-map/src/fm-map/models/color.map.ts index f8adc05..30759e4 100644 --- a/projects/common-map/src/fm-map/models/color.map.ts +++ b/projects/common-map/src/fm-map/models/color.map.ts @@ -42,6 +42,7 @@ export interface IStatistics { skewness: number; variance: number; variationCoefficient: number; + confidenceInterval: number; } export interface IGradientstop {