Fix php notice in display graphs. closes #96