<html><body bgcolor="#FFFFFF">
<p><font size="2" face="sans-serif">Bonjour Jean-Marie,</font><br>
<br>
<font size="2" face="sans-serif">you need to add a </font><br>
<br>
<font size="2" face="sans-serif">'range': '_ALL_',</font><br>
<br>
<font size="2" face="sans-serif">before 'datatype': 'downloads', then it should work. Don't forget to carry out generate_static .</font><br>
<br>
<font size="2" face="sans-serif">Best regards,</font><br>
<br>
<font size="2" face="sans-serif">Martin</font><br>
<br>
<font size="2" face="sans-serif">--</font><br>
<font size="2" face="sans-serif">Dr. Martin Brändle</font><br>
<font size="2" face="sans-serif">Zentrale Informatik</font><br>
<font size="2" face="sans-serif">Universität Zürich</font><br>
<font size="2" face="sans-serif">Winterthurerstr. 190</font><br>
<font size="2" face="sans-serif">CH-8057 Zürich</font><br>
<br>
<font size="2" face="sans-serif">mail: martin.braendle@id.uzh.ch</font><br>
<font size="2" face="sans-serif">phone: +41 44 63 56705</font><br>
<font size="2" face="sans-serif">fax: +41 44 63 54505</font><br>
<font size="2" face="sans-serif"><a href="http://www.id.uzh.ch">http://www.id.uzh.ch</a></font><br>
<br>
<img width="16" height="16" src="cid:1__=4EBBF755DFD19CAE8f9e8a93df9@lotus.uzh.ch" border="0" alt="Inactive hide details for Jean-Marie Le Bechec ---05/01/2015 12:46:16---hello all and best wishes for 2015! I try to show some "><font size="2" color="#424282" face="sans-serif">Jean-Marie Le Bechec ---05/01/2015 12:46:16---hello all and best wishes for 2015! I try to show some statistics on the home page of my Eprints but</font><br>
<br>
<font size="1" color="#5F5F5F" face="sans-serif">Von:        </font><font size="1" face="sans-serif">Jean-Marie Le Bechec <Jean-Marie.LeBechec@inp-toulouse.fr></font><br>
<font size="1" color="#5F5F5F" face="sans-serif">An:        </font><font size="1" face="sans-serif">"eprints-tech@ecs.soton.ac.uk" <eprints-tech@ecs.soton.ac.uk></font><br>
<font size="1" color="#5F5F5F" face="sans-serif">Datum:        </font><font size="1" face="sans-serif">05/01/2015 12:46</font><br>
<font size="1" color="#5F5F5F" face="sans-serif">Betreff:        </font><font size="1" face="sans-serif">[EP-tech] API IRStats2</font><br>
<font size="1" color="#5F5F5F" face="sans-serif">Gesendet von:        </font><font size="1" face="sans-serif">eprints-tech-bounces@ecs.soton.ac.uk</font><br>
<hr width="100%" size="2" align="left" noshade style="color:#8091A5; "><br>
<br>
<br>
<font size="3" face="serif">hello all and best wishes for 2015!<br>
<br>
I try to show some statistics on the home page of my Eprints but without success.. I tried this code:<br>
</font><font size="3" face="serif"><i><br>
<div id="mygraph" class="irstats2_googlegraph"/><br>
<br>
<script type="text/javascript"><br>
document.observe("dom:loaded",function(){<br>
new EPJS_Stats_GoogleGraph( { <br>
'context': { 'datatype': 'downloads' }, <br>
'options': { 'graph_type': 'column', 'container_id': 'mygraph', 'view': 'Google::Graph', 'show_average': '1', 'date_resolution': 'month' } <br>
});<br>
});<br>
</script></i></font><font size="3" face="serif"><br>
<br>
and<br>
</font><font size="3" face="serif"><i><br>
<div id="mytable" class="irstats_table"/><br>
<br>
<script type="text/javascript"><br>
document.observe( "dom:loaded", function() {<br>
<br>
new EPJS_Stats_Table( {<br>
'context': { 'datatype': 'downloads' },<br>
'options': { 'container_id': 'mytable', 'top': 'eprint', 'view': 'Table', 'limit': '5' } <br>
} );<br>
<br>
});<br>
</script></i></font><font size="3" face="serif"><br>
<br>
<br>
but it does not find a resulting output : "No data found". or it draws a blank graph. Has anyone tried to insert these codes?<br>
<br>
Thanks,<br>
<br>
Jean-Marie</font><br>
<tt><font size="3">-- <br>
<br>
***********************************************<br>
Jean Marie Le Bechec<br>
Service Commun de la Documentation<br>
Responsable ingenierie documentaire<br>
&<br>
Direction du Systeme d'Information<br>
Referent Etudes<br>
<br>
Institut National Polytechnique de Toulouse<br>
6 allee Emile Monso - bp 34038 -<br>
31029 Toulouse cedex 4<br>
Tel : 05 34 32 31 16<br>
Mail : </font></tt><a href="mailto:lebechec@inp-toulouse.fr"><tt><font size="3" color="#0000FF"><u>lebechec@inp-toulouse.fr</u></font></tt></a><tt><font size="3"><br>
*********************************************** <br>
</font></tt><tt><font size="2">*** Options: </font></tt><tt><font size="2"><a href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech">http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech</a></font></tt><tt><font size="2"><br>
*** Archive: </font></tt><tt><font size="2"><a href="http://www.eprints.org/tech.php/">http://www.eprints.org/tech.php/</a></font></tt><tt><font size="2"><br>
*** EPrints community wiki: </font></tt><tt><font size="2"><a href="http://wiki.eprints.org/">http://wiki.eprints.org/</a></font></tt><tt><font size="2"><br>
*** EPrints developers Forum: </font></tt><tt><font size="2"><a href="http://forum.eprints.org/">http://forum.eprints.org/</a></font></tt><tt><font size="2"><br>
</font></tt><br>
</body></html>