pos add chartype feature