projects
/
project
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
luci_statistics: Add y_min, y_max, units_exponent options and clean up some graphs
[project/luci.git]
/
applications
/
luci-statistics
/
luasrc
/
statistics
/
rrdtool
/
definitions
/
cpu.lua
diff --git
a/applications/luci-statistics/luasrc/statistics/rrdtool/definitions/cpu.lua
b/applications/luci-statistics/luasrc/statistics/rrdtool/definitions/cpu.lua
index
adc3f28
..
c0e8624
100644
(file)
--- a/
applications/luci-statistics/luasrc/statistics/rrdtool/definitions/cpu.lua
+++ b/
applications/luci-statistics/luasrc/statistics/rrdtool/definitions/cpu.lua
@@
-19,6
+19,7
@@
function rrdargs( graph, plugin, plugin_instance, dtype )
return {
title = "%H: Processor usage on core #%pi",
return {
title = "%H: Processor usage on core #%pi",
+ y_min = "0",
vlabel = "Percent",
number_format = "%5.1lf%%",
data = {
vlabel = "Percent",
number_format = "%5.1lf%%",
data = {