An arthrogram is an x-ray of a joint. Dye is injected to help caregivers see your joint clearly. Tell caregivers if you are allergic to iodine or shellfish. You may also be allergic to the dye. Arthrograms are done to help find the cause of joint pain and to see if surgery is needed.