adds subview to line chart