adding cumulative line chart to the index