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

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

Parameter Type Description
data DataFrame[]
config CSVConfig

Returns:

string