mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 15:39:33 +00:00
Avoid timeseries read operations to display the chart icon
Now the icon is displayed whenever the timeseries are enabled for the given context
This commit is contained in:
parent
5b70db90ad
commit
d1140ec9fd
42 changed files with 201 additions and 149 deletions
|
|
@ -12,7 +12,6 @@ local os_utils = require "os_utils"
|
|||
local have_nedge = ntop.isnEdge()
|
||||
|
||||
local ts_utils = require("ts_utils")
|
||||
local ts_common = require("ts_common")
|
||||
|
||||
-- ########################################################
|
||||
|
||||
|
|
@ -67,6 +66,7 @@ local graph_colors = {
|
|||
function normalizeSeriesPoints(series)
|
||||
local max_count = 0
|
||||
local min_step = math.huge
|
||||
local ts_common = require("ts_common")
|
||||
|
||||
for _, serie in pairs(series) do
|
||||
max_count = math.max(max_count, #serie.series[1].data)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue