Modified line chart to handle multiple series