removeGraphic method