Added methods to plot any type of data in a line plot.