From b6b788ee8d7152548da3a9782560f76275c2f29d Mon Sep 17 00:00:00 2001 From: Anton Romanov Date: Mon, 2 Nov 2020 14:01:27 +0400 Subject: [PATCH] #3 -- fix legend position --- src/main/java/ru/ulstu/pages/IndexView.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/ru/ulstu/pages/IndexView.java b/src/main/java/ru/ulstu/pages/IndexView.java index 4ce2849..be8bfb4 100644 --- a/src/main/java/ru/ulstu/pages/IndexView.java +++ b/src/main/java/ru/ulstu/pages/IndexView.java @@ -75,7 +75,7 @@ public class IndexView implements Serializable { model = initLinearModel(); model.setTitle("Сглаживание временного ряда"); model.setLegendPosition("d"); - model.setLegendPlacement(LegendPlacement.OUTSIDE); + model.setLegendPlacement(LegendPlacement.OUTSIDEGRID); DateAxis xAxis = new DateAxis("Time"); xAxis.setTickFormat("%#d %b %Y"); model.getAxes().put(AxisType.X, xAxis);