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.
TimeSeries interface
Signature
export interface TimeSeries extends QueryResultBase
Import
import { TimeSeries } from '@grafana/data';
Properties
Property | Type | Description |
---|---|---|
datapoints | TimeSeriesPoints | |
tags | Labels | |
target | string | |
title | string | If name is manually configured via an alias / legend pattern |
unit | string |
datapoints property
Signature
datapoints: TimeSeriesPoints;
tags property
Signature
tags?: Labels;
target property
Signature
target: string;
title property
If name is manually configured via an alias / legend pattern
Signature
title?: string;
unit property
Signature
unit?: string;