+++
# -----------------------------------------------------------------------
# Do not edit this file. It is automatically generated by API Documenter.
# -----------------------------------------------------------------------
title = "toLegacyResponseData"
keywords = ["grafana","documentation","sdk","@grafana/data"]
type = "docs"
+++

## toLegacyResponseData variable

### toLegacyResponseData variable

<b>Signature</b>

```typescript
toLegacyResponseData: (frame: DataFrame) => TimeSeries | TableData
```
<b>Import</b>

```typescript
import { toLegacyResponseData } from '@grafana/data';
```
