@kanunilabs/datagrid-enterprise
@kanunilabs/datagrid-enterprise / ChartExportOptions
Interface: ChartExportOptions
Properties
background?
optionalbackground?:string|null
Background colour. Charts are transparent, and a transparent PNG dropped
into a dark viewer or a slide deck loses every dark label on it. Pass
null to keep transparency deliberately.
fileName?
optionalfileName?:string
File name without extension. Default 'chart'.
pixelRatio?
optionalpixelRatio?:number
PNG pixel ratio. Default 2 — a chart exported at CSS pixels looks soft
the moment it lands in a document, and 2× is the cheapest fix.