sync data to line chart