我有两个系列(#A和#E),一个包含我每分钟获得多少x,另一个包含我需要多少x。我的目标是计算在我完成之前需要多长时间。我尝试使用divideSeries(#A,#E),它会在我的图形上返回"No data“。
#A:
currentAbove(summarize(removeAboveValue(removeBelowValue(derivative(screeps.emil8250.ControllerProgress), 0), 2000), '30m', 'avg', false), 0)
#E:
currentAbove(diffSeries(#C, #D), 0)
目前#A是108,#E是154.003,所以我假设结果是1.425,95。
有什么建议可以解释为什么这个方法不起作用吗?
发布于 2020-08-12 18:25:34
我设法解决了这个问题,将x转换为百分比,然后使用导数来找到增量。然后,我使用scale而不是divideSeries来计算还剩多少小时。
https://stackoverflow.com/questions/63373638
复制相似问题