2017-12-21 6 views
1

정지 시간이 20 분인 포털을 만들려고합니다. 일할 시간이 없어. 2 가지 다른 형식을 시도했습니다. 항상 1970 년 1 월 1 일부터 시작합니다. 조언하십시오. startime 설정은 t 누락처럼Axibase 시작 시간 및 종료 시간이 작동하지 않습니다.

[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

보인다.

starttime = 2017-12-21 09:20:00 

당신은 매개 변수를 더 reedable하기 위해 대시 기호를 추가 할 수 있습니다

start-time = 2017-12-21 09:20:00 
    end-time = 2017-12-21 09:45:00 

예 : https://apps.axibase.com/chartlab/47fbef76

나는 또한 [configuration] 섹션의 중복 endtime 설정을 제거합니다. 경우

당신은 단지 timespan을 지정하고 모두 start-timeend-time을 제거, 가장 최근의 20 분 표시해야합니다.

start-timeend-time 설정은 모두 calendar expressions입니다. 다른 방법

start-time = previous_hour 
    end-time = current_hour 

또는는 :

timespan = 1 hour 
    end-time = current_hour 
+0

일했다! 고마워요 :) – user3931382

+0

위대한. 답변을 받아 들여주세요. –

관련 문제