#3 -- fix legend position

This commit is contained in:
Anton Romanov 2020-11-02 14:01:27 +04:00
parent 4a78171fe5
commit b6b788ee8d

View File

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