From c328763fa218b0839eadc5b9e8e2cdf656f29a10 Mon Sep 17 00:00:00 2001 From: WiednerF Date: Fri, 13 Jan 2017 13:09:48 +0100 Subject: [PATCH] Removed Error in Third Version --- .../app/graph/graph-histogram/graph-histogram.component.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/moongui/src/app/graph/graph-histogram/graph-histogram.component.ts b/moongui/src/app/graph/graph-histogram/graph-histogram.component.ts index 3316bcc..e21d999 100644 --- a/moongui/src/app/graph/graph-histogram/graph-histogram.component.ts +++ b/moongui/src/app/graph/graph-histogram/graph-histogram.component.ts @@ -147,7 +147,7 @@ export class GraphHistogramComponent implements OnChanges, AfterViewInit { private arrayMax(array) { return array.reduce(function(a, b) { return Math.max(a, b); - }); + },0); } /** @@ -157,7 +157,7 @@ export class GraphHistogramComponent implements OnChanges, AfterViewInit { private arrayMin(array) { return array.reduce(function(a, b) { return Math.min(a, b); - }); + },100); } /**