introduced method to draw widget axis