# AnalyticsData Interface

> AnalyticsData interface in the Node.js TypeScript API: Detached tabular snapshot. Columns are unique stable field IDs; dates are ISO strings.

- **Product:** TX Sheet Control
- **Section:** Documentation
- **Kind:** Interface
- **Path:** TX Sheet Control > API Reference > TypeScript API > Node.js Server > AnalyticsData Interface
- **384 words**
- **Web URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/analyticsdata/
- **LLMs URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/analyticsdata/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/analyticsdata/llms-full.txt

---

Detached tabular snapshot. Columns are unique stable field IDs; dates are ISO strings. At most 256 columns and 250,000 cells. Runtime snapshots are never saved to TXWB.

Package: `@txtextcontrol/tx-sheet-control-server`. Version: **2.0.0**.

Related workbook object-model type, returned through the server control. Obtain it from its owning workbook or collection; it is not a required browser-package import.

### Members

#### Properties

| Property | Description |
|---|---|
| [columns](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/analyticsdata/columns-property/llms-full.txt) | The columns value of AnalyticsData. |
| [rows](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/analyticsdata/rows-property/llms-full.txt) | The rows value of AnalyticsData. |

### Examples

Pass the AnalyticsData value obtained from its owning control, collection, callback or operation. The function reads that value without constructing a replacement document object.

```typescript
import type { ServerSheetControl } from '@txtextcontrol/tx-sheet-control-server';

function inspectAnalyticsDataColumns(
    analyticsData: Parameters<ServerSheetControl['workbook']['analytics']['setData']>[1],
) {
    const value = analyticsData['columns'];
    console.log('AnalyticsData.columns', value);
}
```

### See Also

- [TypeScript Node.js Server API](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/llms-full.txt)
- [Creating Dashboards](https://docs.textcontrol.com/tx-sheet-control/dashboards/creating/llms-full.txt)

---

## In This Section

- [AnalyticsData.columns Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/analyticsdata/columns-property/llms-full.txt): AnalyticsData.columns property in the TX Sheet Control TypeScript API for Node.js, with its type string[] and a TypeScript example.
- [AnalyticsData.rows Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/analyticsdata/rows-property/llms-full.txt): AnalyticsData.rows property in the TX Sheet Control TypeScript API for Node.js, with its type AnalyticsValue[][] and a TypeScript example.

---

## Nearby

- **Previous:** [AnalyticsAggregation Type](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/analyticsaggregation/llms-full.txt)
- **Next:** [AnalyticsData.columns Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/analyticsdata/columns-property/llms-full.txt)
