From 371d199ee9ade2a62ff18960857a3505a5a1bd79 Mon Sep 17 00:00:00 2001 From: "Christian P. MOMON" Date: Fri, 22 Jul 2022 16:26:48 +0200 Subject: [PATCH] Fixed bad display of htmlizeHostNamePieChart. --- src/fr/devinsy/statoolinfos/htmlize/ChartHtmlizer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fr/devinsy/statoolinfos/htmlize/ChartHtmlizer.java b/src/fr/devinsy/statoolinfos/htmlize/ChartHtmlizer.java index 7fa61ed..0221f8c 100644 --- a/src/fr/devinsy/statoolinfos/htmlize/ChartHtmlizer.java +++ b/src/fr/devinsy/statoolinfos/htmlize/ChartHtmlizer.java @@ -219,7 +219,7 @@ public class ChartHtmlizer pie.setLegendPosition(Position.RIGHT); int index = 0; - while ((index < list.size() && (index < 9))) + while ((index < list.size() && (index < 8))) { ChartColor color = colors.get(index); StringCounter counter = list.get(index);