+++
# -----------------------------------------------------------------------
# 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> |  |
|  [title](#title-property) | <code>string</code> | If name is manually configured via an alias / legend pattern |
|  [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;
```

### title property

If name is manually configured via an alias / legend pattern

<b>Signature</b>

```typescript
title?: string;
```

### unit property

<b>Signature</b>

```typescript
unit?: string;
```
