[EP-tech] API IRStats2

Jean-Marie Le Bechec Jean-Marie.LeBechec at inp-toulouse.fr
Mon Jan 5 11:17:55 GMT 2015


hello all and best wishes for 2015!

I try to show some statistics on the home page of my Eprints but without 
success.. I tried this code:

/<div id="mygraph" class="irstats2_googlegraph"/>//
//
//<script type="text/javascript">//
//document.observe("dom:loaded",function(){//
//         new EPJS_Stats_GoogleGraph( { //
//                'context': { 'datatype': 'downloads' }, //
//                'options': { 'graph_type': 'column', 'container_id': 
'mygraph', 'view': 'Google::Graph', 'show_average': '1', 
'date_resolution': 'month' } //
//        });//
//});//
//</script>//
/
and

/<div id="mytable" class="irstats_table"/>//
//
//<script type="text/javascript">//
//document.observe( "dom:loaded", function() {//
//
//        new EPJS_Stats_Table( {//
//                'context': { 'datatype': 'downloads' },//
//                'options': { 'container_id': 'mytable', 'top': 
'eprint', 'view': 'Table', 'limit': '5' } //
//        } );//
//
//});//
//</script>/


but it does not find a resulting output : "No data found". or it draws a 
blank graph. Has anyone tried to insert these codes?

Thanks,

Jean-Marie

-- 

***********************************************
Jean Marie Le Bechec
Service Commun de la Documentation
Responsable ingenierie documentaire
&
Direction du Systeme d'Information
Referent Etudes

Institut National Polytechnique de Toulouse
6 allee Emile Monso - bp 34038 -
31029 Toulouse cedex 4
Tel : 05 34 32 31 16
Mail : lebechec at inp-toulouse.fr
***********************************************

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20150105/5119714d/attachment-0001.html 


More information about the Eprints-tech mailing list