From 9b98f3d91c3c854c16e637a77088ccc597ae86c1 Mon Sep 17 00:00:00 2001 From: Peter Bastiani Date: Fri, 20 Mar 2020 10:47:57 +0100 Subject: [PATCH] AW-1072 VanderSat: Balkjes wat dichter bij getallen: % staat soms op volgende regel --- .../common-map/src/fm-map/components/legend/legend.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/common-map/src/fm-map/components/legend/legend.component.ts b/projects/common-map/src/fm-map/components/legend/legend.component.ts index 2ceb5b1..27b8af8 100644 --- a/projects/common-map/src/fm-map/components/legend/legend.component.ts +++ b/projects/common-map/src/fm-map/components/legend/legend.component.ts @@ -59,7 +59,7 @@ export class LegendComponent implements OnInit,AfterViewInit { public getPart(renderer: IRenderer, index: number): string { let max = renderer.band.histogram.entries.reduce((max, entry) => entry.freqency > max ? entry.freqency : max, 0); - let scale = 75 / max; + let scale = 65 / max; let part = (renderer.band.histogram.entries[index].freqency * scale) + "%"; return part;