# exportPNG

Downloads the chart as a PNG file at `exportScale` (). Rejects with a ChartLoadError when the type cannot be drawn here.

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

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

## Definition

```typescript
exportPNG(): Promise<void>
```

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

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

## Related charts

- [sy-stock-chart](https://chart.syidax.com/docs/components/stock-chart.md#method-exportPNG)
