adjust the chart legend position