Converted chartInformationView to swift