changed legend position, set legend.maxLines