mirror of
https://github.com/grafana/grafana.git
synced 2025-07-29 21:22:15 +08:00

* added packages reference menu item. * removed the draft flag. * Updated docs by running script.
53 lines
994 B
Markdown
53 lines
994 B
Markdown
+++
|
|
# -----------------------------------------------------------------------
|
|
# Do not edit this file. It is automatically generated by API Documenter.
|
|
# -----------------------------------------------------------------------
|
|
title = "TimeRange"
|
|
keywords = ["grafana","documentation","sdk","@grafana/data"]
|
|
type = "docs"
|
|
+++
|
|
|
|
## TimeRange interface
|
|
|
|
<b>Signature</b>
|
|
|
|
```typescript
|
|
export interface TimeRange
|
|
```
|
|
<b>Import</b>
|
|
|
|
```typescript
|
|
import { TimeRange } from '@grafana/data';
|
|
```
|
|
<b>Properties</b>
|
|
|
|
| Property | Type | Description |
|
|
| --- | --- | --- |
|
|
| [from](#from-property) | <code>DateTime</code> | |
|
|
| [raw](#raw-property) | <code>RawTimeRange</code> | |
|
|
| [to](#to-property) | <code>DateTime</code> | |
|
|
|
|
### from property
|
|
|
|
<b>Signature</b>
|
|
|
|
```typescript
|
|
from: DateTime;
|
|
```
|
|
|
|
### raw property
|
|
|
|
<b>Signature</b>
|
|
|
|
```typescript
|
|
raw: RawTimeRange;
|
|
```
|
|
|
|
### to property
|
|
|
|
<b>Signature</b>
|
|
|
|
```typescript
|
|
to: DateTime;
|
|
```
|