separate line chart rendering into separate task