Updated axis, data, line with a new imperative API