put line chart on the correct div