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);