draw() if graph is the first object, don't use the A option

The A option draws ugly lines at (0, 0) as well as the axes frame. Instead use a temporary histogram to draw the axes.

ROOT, your graph classes are horrible.