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); } /**