added positioning for legend in lineChart.