diff options
author | Ted Trask <ttrask01@yahoo.com> | 2012-11-26 00:50:09 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2012-11-26 00:50:09 +0000 |
commit | fd83468a86d8585601f3ab953884d34bc01fc6fd (patch) | |
tree | 35980823f9cf88512c630c4ee25f7e35e198ea02 | |
parent | 0b761f9b48c384f90124e6105519383eef2e9686 (diff) | |
download | acf-rrdtool-fd83468a86d8585601f3ab953884d34bc01fc6fd.tar.bz2 acf-rrdtool-fd83468a86d8585601f3ab953884d34bc01fc6fd.tar.xz |
Added back viewgraph view
-rw-r--r-- | rrdtool-viewgraph-html.lsp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/rrdtool-viewgraph-html.lsp b/rrdtool-viewgraph-html.lsp new file mode 100644 index 0000000..ac47a6d --- /dev/null +++ b/rrdtool-viewgraph-html.lsp @@ -0,0 +1,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 %> |