Change graphic report query.