+++
# -----------------------------------------------------------------------
# Do not edit this file. It is automatically generated by API Documenter.
# -----------------------------------------------------------------------
title = "getFlotPairsConstant"
keywords = ["grafana","documentation","sdk","@grafana/data"]
type = "docs"
+++
## getFlotPairsConstant() function
### getFlotPairsConstant() function
Returns a constant series based on the first value from the provide series.
Signature
```typescript
export declare function getFlotPairsConstant(seriesData: GraphSeriesValue[][], range: TimeRange): GraphSeriesValue[][];
```
Import
```typescript
import { getFlotPairsConstant } from '@grafana/data';
```
Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| seriesData | GraphSeriesValue[][]
| Series |
| range | TimeRange
| Start and end time for the constant series |
Returns:
`GraphSeriesValue[][]`