This is documentation for the next version of Grafana. For the latest stable release, go to the latest version.

API Reference@grafana/dataTimeRange

TimeRange interface

Signature

export interface TimeRange 

Import

import { TimeRange } from '@grafana/data';

Properties

Property Type Description
from DateTime
raw RawTimeRange
to DateTime

from property

Signature

from: DateTime;

raw property

Signature

raw: RawTimeRange;

to property

Signature

to: DateTime;