2017-12-21 27 views
1

停止時間が20分しかないポータルを作成しようとしています。スタートタイムを稼ぐことができません。 2つの異なるフォーマットを試しました。常に1970年1月1日から始まります。助言してください。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

startime設定がtが欠落しているように見えます。

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設定を削除します。

最新の20分を表示する必要がある場合は、timespanと指定してstart-timeend-timeを完全に削除してください。

start-timeend-timeの両方の設定はcalendar expressionsとなります。働い

timespan = 1 hour 
    end-time = current_hour 
+0

start-time = previous_hour end-time = current_hour 

あるいは、代わりに!ありがとうございます:) – user3931382

+0

素晴らしい。受け入れられた答えを確認してください。 –

関連する問題