API REFERENCE

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.

정의

typescript
getSVG(): Promise<string | null>

반환 타입: Promise<string | null>. 요소 등록이 끝난 뒤 메서드를 호출하고 Promise 결과를 await로 기다리세요.