fixed js error in annotations if no graph available


git-svn-id: http://dev.piwik.org/svn/trunk@7735 59fd770c-687e-43c8-a1e3-f5a4ff64c105