Modify drawLine to accept DataLine as param