Ad Widget

Collapse

Graph widget time shift option

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • markfree
    Senior Member
    • Apr 2019
    • 868

    #1

    Graph widget time shift option

    Hey guys.
    I attempted to showcase the daily queries of a system through a graph.
    Click image for larger version

Name:	graph_queries.png
Views:	554
Size:	15.3 KB
ID:	475255

    Using the graph widget, I added the "last"​ aggregation function with an interval of 1d.
    Click image for larger version

Name:	image.png
Views:	508
Size:	10.3 KB
ID:	475256

    My intent was for the graph to depict a single bar per day spanning from 00h00 to 23h59.

    The Graph widget documentation says the graph time shift option

    Specify time shift if required. You may use time suffixes in this field. Negative values are allowed.
    With this in mind, I assumed I could employ the time shift option with an absolute time period syntax like "1d:now/d+1d" (representing today).
    Unfortunately, this was not the case.
    When I enter this syntax, the wiget displays the error

    Invalid parameter "Data set/1/timeshift": a time unit is expected.
    Click image for larger version

Name:	image.png
Views:	431
Size:	3.4 KB
ID:	475257

    After reading the doc about aggregation in graphs, I'm not sure I get it.
    It seems that the time shift option of the graph widget is only a visual representation and does not relate to the time shift function parameter.
    I'd appreciate your insights on this matter.
Working...