Flexible PVC materials grafted with castor oil derivative containing synergistic flame retardant groups of nitrogen and phosphorus