Restyle timeseries on interface completed

This commit is contained in:
uccidibuti 2022-09-28 12:55:09 +02:00
parent a0b9864790
commit 6250fddf94
10 changed files with 242 additions and 107 deletions

View file

@ -339,7 +339,8 @@ function graph_utils.drawGraphs(ifid, schema, tags, zoomLevel, baseurl, selected
if(zoomLevel == nil) then zoomLevel = min_zoom end
if graph_utils.drawProGraph then
local enable_new_timeseries = ntop.getPref("ntopng.enable_new_timeseries")
local enable_new_timeseries = ntop.getPref("ntopng.enable_new_timeseries")
enable_new_timeseries = "1"
if render_new_chart and render_new_chart == true and enable_new_timeseries == "1" then
local template_utils = require "template_utils"
template_utils.render("pages/components/historical_interface.template", {})