Updated snippet to include adding multiple series to a chart.