Added validation on chart name