Graphing problem
Posted: Sun Feb 12, 2012 6:57 am
I am having problems getting a graph to work. I want to show Gas use from my gas meter sensor and outdoor temperature.
I use the following definition.
timeframe=365D #last 365 days
res=DAY1 #SHOWS WHOLE DAY DATA
zoom=1M # select actual day
gtitle=Gas_Use_Daily # name of graph
gheight=600 # height in pixels of graph
gwidth=900 # width in pixels of graph
glunit=kWh # unit of left y-axis
grunit=°C # unit of right y-axis
gtype=line # type of graph
gtrim=0
sid0=data2 sname0=Total ssel0=suminc sfill0=20 sfactor0=0.00121 scolor0=FF0000
sid1=th0 sname1=Temp°C ssel1=temp scolor1=0000FF # sensor 0, temperature
I can't get the units to show on the right of the y axis and also the temperature is showing as kWh not °C on the top of the graph.
I have tried setting grunit on other graphs with no problem at all.
I use the following definition.
timeframe=365D #last 365 days
res=DAY1 #SHOWS WHOLE DAY DATA
zoom=1M # select actual day
gtitle=Gas_Use_Daily # name of graph
gheight=600 # height in pixels of graph
gwidth=900 # width in pixels of graph
glunit=kWh # unit of left y-axis
grunit=°C # unit of right y-axis
gtype=line # type of graph
gtrim=0
sid0=data2 sname0=Total ssel0=suminc sfill0=20 sfactor0=0.00121 scolor0=FF0000
sid1=th0 sname1=Temp°C ssel1=temp scolor1=0000FF # sensor 0, temperature
I can't get the units to show on the right of the y axis and also the temperature is showing as kWh not °C on the top of the graph.
I have tried setting grunit on other graphs with no problem at all.