Menu

Important: This documentation is about an older version. It's relevant only to the release noted, many of the features and functions have been updated or replaced. Please view the current version.

Enterprise Open source

TimeSeries interface

Signature

typescript
export interface TimeSeries extends QueryResultBase 

Import

typescript
import { TimeSeries } from '@grafana/data';

Properties

PropertyTypeDescription
datapointsTimeSeriesPoints
tagsLabels
targetstring
titlestringIf name is manually configured via an alias / legend pattern
unitstring

datapoints property

Signature

typescript
datapoints: TimeSeriesPoints;

tags property

Signature

typescript
tags?: Labels;

target property

Signature

typescript
target: string;

title property

If name is manually configured via an alias / legend pattern

Signature

typescript
title?: string;

unit property

Signature

typescript
unit?: string;