added chartpattern enum