Fixed bug with pie graph not being displayed properly.