add reusable line chart