display graph center and frame style as grid