Give an exported SVG the padding of the plot. The SVG grows by the
padding on each side, through its size and a view box that starts at
minus the left and top padding, so the content keeps its coordinates. A
rectangle in background goes first and fills the whole SVG, the
padding too, as in the PNG. width and height are the size of the
content. With el, the plot's element, a background given as var() or
currentColor is written as the colour it has there, since the file is
read away from the page, and so is every other var() and currentColor
colour in svg. Returns svg.
Give an exported SVG the padding of the plot. The SVG grows by the padding on each side, through its size and a view box that starts at minus the left and top padding, so the content keeps its coordinates. A rectangle in
backgroundgoes first and fills the whole SVG, the padding too, as in the PNG.widthandheightare the size of the content. Withel, the plot's element, a background given as var() or currentColor is written as the colour it has there, since the file is read away from the page, and so is every other var() and currentColor colour insvg. Returnssvg.