Fix wrong presentation of years in code exmple + auto-update graph by clicking on segment controll