Chandigarh is gorgeous all seasons long.
However, you might want to avoid the summer between May to July, when the sun can get quite hot. Still, we power through by planning the day to avoid direct sun exposure, using specially made UV protective umbrellas, ice cold water and yummy local ice cream to keep us powered through.
This is the peak season for Shimla though!