Three teenagers have been charged in connection with the stabbing of a 17-year-old boy.