summaryrefslogtreecommitdiffstats
path: root/rrdtool-viewgraph-html.lsp
blob: ac47a6da91e171e46a7d85380a1898e72ac5e280 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
<% local data, viewlibrary, page_info, session = ... 
%>

<% if (data.graph.width) then %>
<IMG SRC='<%= data.output %>' width='<%= data.graph.width or data.option.width %>' height='<%= data.graph.height or data.option.height %>'>
<% else %>
<H1>No valid output available!</H1>
<P>Please check if your syntax is right.<BR>
Read http://oss.oetiker.ch/rrdtool/doc/rrdgraph.en.html for help.</P>
<HR>
<P><% io.write(tostring(data.value)) %></P>
<% end %>