尝试创建一个仅显示20分钟中断时间的门户网站。无法开始工作。尝试了2种不同的格式。始终从1970年1月1日开始。请告知。
[configuration]
title = ECP_PROD_PEAKVIEW
width-units = 6
height-units = 8
offset-right = 50
update-interval = 15
display-date = true
startime = 2017-12-21 09:20:00
endtime = 2017-12-21 09:45:00
auto-scale = true
auto-period = true
entity = dnvrco-ecp01
endtime = now
alert-style = fill: red; stroke: red
and
[configuration]
title = ECP_PROD_PEAKVIEW
width-units = 6
height-units = 8
offset-right = 50
update-interval = 15
display-date = true
startime = 2017-12-21T09:20:00Z
endtime = 2017-12-21T09:45:00Z
auto-scale = true
auto-period = true
entity = dnvrco-ecp01
endtime = now
alert-style = fill: red; stroke: red
答案 0 :(得分:0)
startime
设置似乎缺少t
。
starttime = 2017-12-21 09:20:00
您可以添加短划线符号以使参数更具可重复性:
start-time = 2017-12-21 09:20:00
end-time = 2017-12-21 09:45:00
示例:https://apps.axibase.com/chartlab/47fbef76
我还会删除endtime
部分中的重复[configuration]
设置。
如果您需要显示最近的20分钟,只需指定timespan
并完全删除start-time
和end-time
。
start-time
和end-time
设置均接受calendar expressions。
start-time = previous_hour
end-time = current_hour
或者,或者:
timespan = 1 hour
end-time = current_hour