Drawing line based on driver