tested
This commit is contained in:
@@ -1721,9 +1721,10 @@ def interactive_flexchart_stacked(id, r, xparam='time',
|
||||
if metricsdicts[column]['maysmooth']:
|
||||
nrsteps = int(log2(r.usersmooth))
|
||||
for i in range(nrsteps):
|
||||
column_ew = utils.ewmovingaverage(
|
||||
rowdata[column], 5)
|
||||
rowdata = rowdata.with_columns(
|
||||
utils.ewmovingaverage(
|
||||
rowdata[column], 5).alias(column)
|
||||
column = column_ew
|
||||
)
|
||||
except KeyError:
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user