This page last changed on Nov 28, 2013 by bourrin.


I try to draw a draw for my android phone.

My problem is that I can't draw a graph with a size of 300x150.

I get two scrollbar on the grah.

I try to fix height and width in the xml file but it doesn't work.

Here is my xmf file :

<?xml version="1.0" encoding="UTF-8"?>
<rrd4j xmlns="" xmlns:xsi="" xsi:schemaLocation="

<rrdDB fileName="berry.rrd" step="60">
<datasource name="Meteo Meyzieu" type="GAUGE" heartbeat="120" />
<archive function="AVERAGE" xff="0.5" steps="1" rows="300" />
<archive function="AVERAGE" xff="0.5" steps="10" rows="144" />
<archive function="AVERAGE" xff="0.5" steps="15" rows="672" />
<archive function="AVERAGE" xff="0.5" steps="60" rows="744" />
<archive function="AVERAGE" xff="0.5" steps="120" rows="4380" />

<rrd_graph_def name="graph1">
<name>Meteo Meyzieu</name>
<source>Meteo Meyzieu</source>
<datasource>Meteo Meyzieu</datasource>
<legend>Temp Ext\r</legend>


Does someone have the same problem ?

Posted by bourrin at Nov 30, 2013 21:36

Hi, Sylvain.
I also wasn't able to run the RRD graphs. I use the REST API ( to retrieve data for my script which builds graphs through the jquery.sparkline.js.
Also there is a good solution with EmonCMS ( that I use and it works.

Posted by preston at Dec 05, 2013 08:25

thank you, it's what i have done

Posted by bourrin at Dec 06, 2013 09:57
Document generated by Confluence on Jun 05, 2016 09:36