Fixes timeseries charts timezone and removed no more used files

This commit is contained in:
Matteo Biscosi 2023-11-08 17:37:17 +00:00
parent 4bd964b24e
commit b10358277a
10 changed files with 1130 additions and 1258 deletions

View file

@ -1545,6 +1545,7 @@ function driver:timeseries_top(options, top_tags)
local top_serie = self:timeseries_query(options_merged)
local total_serie = {}
tprint(top_serie)
for _, values in pairs(top_serie.series or {}) do
num_point = #values.data
@ -1576,6 +1577,7 @@ function driver:timeseries_top(options, top_tags)
sorted[#sorted + 1] = {
statistics = statistics,
id = id,
name = top_item,
ext_label = ext_label,
type = "line",
data = total_serie