API Reference@grafana/uipreparePlotFrame

preparePlotFrame() function

preparePlotFrame() function

Signature

export declare function preparePlotFrame(frames: DataFrame[], dimFields: XYFieldMatchers): DataFrame | undefined;

Import

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

Parameters

Parameter Type Description
frames DataFrame[]
dimFields XYFieldMatchers

Returns:

DataFrame | undefined