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
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[][]
Was this page helpful?
Related resources from Grafana Labs
Additional helpful documentation, links, and articles:
Scroll for more