API Reference@grafana/datatoCSV

toCSV() function

toCSV() function

Signature

export declare function toCSV(data: DataFrame[], config?: CSVConfig): string;

Import

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

Parameters

ParameterTypeDescription
dataDataFrame[]
configCSVConfig

Returns:

string