API Reference@grafana/uipreparePlotFrame

preparePlotFrame() function

preparePlotFrame() function

Signature

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

Import

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

Parameters

Parameter Type Description
frames DataFrame[]
dimFields XYFieldMatchers
timeRange TimeRange | null

Returns:

DataFrame | null