preparePlotFrame() function

preparePlotFrame() function

Signature

  1. export declare function preparePlotFrame(frames: DataFrame[], dimFields: XYFieldMatchers, timeRange?: TimeRange | null): DataFrame | null;

Import

  1. import { preparePlotFrame } from '@grafana/ui';

Parameters

ParameterTypeDescription
framesDataFrame[]
dimFieldsXYFieldMatchers
timeRangeTimeRange | null

Returns:

DataFrame | null