Skip to content

Canvas & sizing

The Insight fills its target element. Size the host:

html
<div id="chart" style="width:800px;height:480px"></div>

Typical slide-friendly sizes: ~800×450–600.

Background

Host CSS can wash out transparent charts. Set an explicit chart or page background when the surrounding page is light or unknown.

Export bounds

downloadPng() exports what the chart canvas considers the drawable chart — match container size to the slide slot you care about before exporting.

Developer & LLM documentation · Not the end-user Help Center · Help Center