There are so many factors involved that could cause a chocolate pie to be runny. Firstly, if it isn't cooked and thickened properly, it won't set. Also, you need to chill the pie thoroughly so that the filling becomes firm.