thermal.lua 457 B

1234567891011121314151617181920
  1. -- Licensed to the public under the Apache License 2.0.
  2. module("luci.statistics.rrdtool.definitions.thermal",package.seeall)
  3. function rrdargs( graph, plugin, plugin_instance, dtype )
  4. return {
  5. title = "%H: Temperature of %pi",
  6. alt_autoscale = true,
  7. vlabel = "Celsius",
  8. number_format = "%3.1lf%s",
  9. data = {
  10. types = { "temperature" },
  11. options = {
  12. temperature = { color = "ff0000", title = "Temperature", noarea=true },
  13. }
  14. }
  15. }
  16. end