Added Risk chart functionality