png: support graphOnly to hide axes and legends