API Reference@grafana/datatoFilteredDataFrameDTO

toFilteredDataFrameDTO() function

toFilteredDataFrameDTO() function

Signature

export declare function toFilteredDataFrameDTO(data: DataFrame, fieldPredicate?: (f: Field) => boolean): DataFrameDTO;

Import

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

Parameters

ParameterTypeDescription
dataDataFrame
fieldPredicate(f: Field) => boolean

Returns:

DataFrameDTO