This is documentation for the next version of Grafana. For the latest stable release, go to the latest version.

API Reference@grafana/datatoDataFrame

toDataFrame() function

toDataFrame() function

Inspect any object and return the results as a DataFrame

Signature

export declare function toDataFrame(data: any): DataFrame;

Import

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

Parameters

Parameter Type Description
data any

Returns:

DataFrame