A MAN who allegedly charged at police officers with a chainsaw is to stand trial accused of attempted murder.