@grafana/ui
Version:
Grafana Components Library
10 lines (9 loc) • 369 B
TypeScript
import { DataFrame, DataFrameFieldIndex, Field } from '@grafana/data';
import { XYFieldMatchers } from './types';
/** @deprecated */
export declare const useGraphNGContext: () => {
dimFields: XYFieldMatchers;
mapSeriesIndexToDataFrameFieldIndex: (index: number) => DataFrameFieldIndex;
getXAxisField: () => Field<any> | null;
alignedData: DataFrame;
};