Appearance
PNG for PowerPoint
- Mount an Insight at slide-like size (
800×480, etc.) await insight.ready- Visually check (or screenshot)
- Export:
js
// Human Save dialog — transparent by default (good for Slides overlays)
await insight.downloadPng();
// Opaque white (or any CSS color) when you need a solid slide asset:
await insight.downloadPng({ background: '#ffffff' });
// Agent / CDP path (no Save dialog; defaults to #ffffff):
const b64 = await insight.toPngBase64({ background: '#ffffff' });Or use Download on the hover ball.
Paste the PNG into PowerPoint. Do not rely on SVG screenshots from DevTools for final slides — use the ChartBuddy export path.
Note: chartData.backgroundColor is not baked into PNG exports (the pipeline strips the SVG background for overlays). Always pass background on the export helpers when you need an opaque PNG.