API REFERENCE

print

Prints an inlined snapshot of the chart (Highcharts printChart), brand included. The snapshot goes into a hidden frame of this document that prints itself: the former popup (window.open(…, 'noopener,noreferrer')) always got null back — noopener hides the new window from its opener — so nothing was ever printed, and a popup opened after the awaited export would also meet popup blockers. The frame is built with DOM calls only: the chart title becomes the document title and the image's alt text as plain text (never HTML), and no inline script or handler is needed. Rejects with a ChartLoadError when the type cannot be drawn here.

Definition

typescript
print(): Promise<void>

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