# getSVG

Returns the chart as standalone SVG markup (canvas families wrap their raster); the drawing overlay rides along as a nested layer, and the brand is the last layer over everything. Keeps its `string | null` contract: null when the type cannot be drawn here (see getDataTable) or there is no surface yet.

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

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

## Definition

```typescript
getSVG(): Promise<string | null>
```

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

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

## Related charts


