what could be the cause of swelling in the whole leg
Leg swelling can occur in any part of the legs, including the feet, ankles, calves and thighs. Leg swelling can result either from fluid buildup (fluid retention) or from inflammation in injured or diseased tissues or joints. Many of the causes of leg swelling, such as an injury or prolonged standing or sitting, are easily identified.
Leg swelling related to fluid buildup. Leg swelling caused by the retention of fluid in leg tissues is known as peripheral edema. It can be caused by a problem with the circulatory system, the lymphatic system or the kidneys. Leg swelling isn't always a sign of a heart or circulation problem.