Skip to content

Range() start and stop relative values should not crop graphs based on the data that's returned #17132

@asalem1

Description

@asalem1

Problem

Using the dateTimePicker to set the timeRange of a query beyond the confines of the data will display blank parts of the graph when data does not exist. However, when using the range() function in the script editor in conjunction with relative times, the view only displays the data that's returned and not the entire range:

|> range(start: time(v: "2020-03-03T12:00:00Z"), stop: time(v: "2020-03-04T12:00:00Z"))

OR

|> range(start: -12h, stop: 4h)

These should apply the same effect that using the daterangepicker does on the graph view. Related to #15908

range-bug

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions