mirror of
https://github.com/grafana/grafana.git
synced 2025-08-06 04:19:26 +08:00

* added packages reference menu item. * removed the draft flag. * Updated docs by running script.
62 lines
1.2 KiB
Markdown
62 lines
1.2 KiB
Markdown
+++
|
|
# -----------------------------------------------------------------------
|
|
# Do not edit this file. It is automatically generated by API Documenter.
|
|
# -----------------------------------------------------------------------
|
|
title = "TimeSeries"
|
|
keywords = ["grafana","documentation","sdk","@grafana/data"]
|
|
type = "docs"
|
|
+++
|
|
|
|
## TimeSeries interface
|
|
|
|
<b>Signature</b>
|
|
|
|
```typescript
|
|
export interface TimeSeries extends QueryResultBase
|
|
```
|
|
<b>Import</b>
|
|
|
|
```typescript
|
|
import { TimeSeries } from '@grafana/data';
|
|
```
|
|
<b>Properties</b>
|
|
|
|
| Property | Type | Description |
|
|
| --- | --- | --- |
|
|
| [datapoints](#datapoints-property) | <code>TimeSeriesPoints</code> | |
|
|
| [tags](#tags-property) | <code>Labels</code> | |
|
|
| [target](#target-property) | <code>string</code> | |
|
|
| [unit](#unit-property) | <code>string</code> | |
|
|
|
|
### datapoints property
|
|
|
|
<b>Signature</b>
|
|
|
|
```typescript
|
|
datapoints: TimeSeriesPoints;
|
|
```
|
|
|
|
### tags property
|
|
|
|
<b>Signature</b>
|
|
|
|
```typescript
|
|
tags?: Labels;
|
|
```
|
|
|
|
### target property
|
|
|
|
<b>Signature</b>
|
|
|
|
```typescript
|
|
target: string;
|
|
```
|
|
|
|
### unit property
|
|
|
|
<b>Signature</b>
|
|
|
|
```typescript
|
|
unit?: string;
|
|
```
|