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

API Reference@grafana/dataanySeriesWithTimeField

anySeriesWithTimeField() function

anySeriesWithTimeField() function

Indicates if there is any time field in the array of data frames

Signature

export declare function anySeriesWithTimeField(data: DataFrame[]): boolean;

Import

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

Parameters

Parameter Type Description
data DataFrame[]

Returns:

boolean