mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-02 00:40:10 +00:00
Fixed chart label wrongly formatted (#5552)
This commit is contained in:
parent
f87c6d0166
commit
6c9b183819
5 changed files with 43 additions and 24 deletions
|
|
@ -609,7 +609,8 @@ function driver:query(schema, tstart, tend, tags, options)
|
|||
-- Also calculate per-serie statistics
|
||||
for k, v in pairs(series) do
|
||||
local s = ts_common.calculateStatistics(v.data, unsampled_fstep, tend - tstart, schema.options.metrics_type)
|
||||
stats.by_serie[k] = s
|
||||
-- Adding per timeseries min-max stats
|
||||
stats.by_serie[k] = table.merge(s, ts_common.calculateMinMax(v.data))
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue