Added legend for line chart