Added XYDataSeries and completed example