The Princess of Wales had a challenging year as she underwent treatment after a cancer diagnosis.