Fill under every layer: the theme background. A background that paints nothing, such as "none" or "transparent", leaves the image clear there.
OptionalelementThe plot's element. A background given as var() or currentColor takes the colour it has there, as on screen.
Widget height in CSS px.
Canvases, bottom first.
The SVG over the canvases: axes, labels, legends.
OptionalpaddingSpace around the widget in CSS px, filled with the background. The image grows by it, and the layers and SVGs move in by the left and top padding. None by default.
OptionalscaleMultiplier on top of the device pixel ratio. Default 1.
OptionalunderlayAn SVG under the canvases, such as gridlines that sit under the marks. The canvases over it need a transparent background to show it.
Widget width in CSS px.
What compositePNG draws.