add-line function

Add a line to a chart