# getCSV

Returns the chart data as a CSV string (UTF-8 BOM, RFC 4180).

Canonical: https://chart.syidax.com/docs/methods/getCSV/

<a id="definition"></a>

## Definition

```typescript
getCSV(): Promise<string>
```

Return type: `Promise<string>`. Call the method after element registration and await its Promise result.

<a id="related"></a>

## Related charts

- [sy-theme-river](https://chart.syidax.com/docs/components/theme-river.md#method-getCSV)
- [sy-stock-chart](https://chart.syidax.com/docs/components/stock-chart.md#method-getCSV)
- [sy-surface-3d](https://chart.syidax.com/docs/components/surface-3d.md#method-getCSV)
- [sy-bar-3d](https://chart.syidax.com/docs/components/bar-3d.md#method-getCSV)
- [sy-scatter-3d](https://chart.syidax.com/docs/components/scatter-3d.md#method-getCSV)
