restyle timeseries

This commit is contained in:
uccidibuti 2022-11-19 01:15:17 +01:00
parent f77e4ad3ea
commit 56fbae2eaa
8 changed files with 110 additions and 69 deletions

View file

@ -53,7 +53,7 @@ page_utils.print_navbar(title, nav_url,
Selectively render information pages
--]]
if page == "historical" then
graph_utils.drawNewGraphs(container, interface.getId())
graph_utils.drawNewGraphs({ container = container, ifid = interface.getId()})
end
dofile(dirs.installdir .. "/scripts/lua/inc/footer.lua")

View file

@ -52,6 +52,6 @@ page_utils.print_navbar(title, nav_url,
}
)
graph_utils.drawNewGraphs(hash_table, interface.getId())
graph_utils.drawNewGraphs({ hash_table = hash_table, ifid = interface.getId()})
dofile(dirs.installdir .. "/scripts/lua/inc/footer.lua")

View file

@ -49,7 +49,7 @@ page_utils.print_navbar(title, nav_url,
Selectively render information pages
--]]
if page == "historical" then
graph_utils.drawNewGraphs(pod, interface.getId())
graph_utils.drawNewGraphs({ pod = pod, ifid = interface.getId()})
end
dofile(dirs.installdir .. "/scripts/lua/inc/footer.lua")

View file

@ -171,7 +171,7 @@ print [[/lua/system_stats_data.lua',
]]
elseif(page == "historical" and ts_creation) then
graph_utils.drawNewGraphs(nil, interface.getId())
graph_utils.drawNewGraphs({ ifid = interface.getId()})
elseif page == "internals" then
internals_utils.printInternals(getSystemInterfaceId(), false --[[ hash tables ]], true --[[ periodic activities ]], true --[[ checks]], true --[[ queues --]])
end