API Reference@grafana/data › getFlotPairsConstant

getFlotPairsConstant() function

getFlotPairsConstant() function

Returns a constant series based on the first value from the provide series.

Signature

export declare function getFlotPairsConstant(seriesData: GraphSeriesValue[][], range: TimeRange): GraphSeriesValue[][];

Import

import { getFlotPairsConstant } from '@grafana/data';

Parameters

Parameter Type Description
seriesData GraphSeriesValue[][] Series
range TimeRange Start and end time for the constant series

Returns:

GraphSeriesValue[][]