Changed historical chart to bar chart

This commit is contained in:
MatteoBiscosi 2023-01-25 16:53:25 +01:00
parent 01bf5dc0ef
commit 7cc2004c1c
4 changed files with 58 additions and 2 deletions

View file

@ -93,7 +93,7 @@ function ts_rest_utils.get_timeseries(http_context)
res = ts_utils.queryTopk(ts_schema, tags, tstart, tend, options)
else
res = ts_utils.query(ts_schema, tags, tstart, tend, options)
if(not keep_total) and (res) and (res.additional_series) then
-- no need for total serie in normal queries
res.additional_series.total = nil