ISvgExportOptions
Type interfaceSince 5.21.0
Options for renderToSVG.
Sources
ISvgExportOptions is an interface: it describes a shape of data and is not imported on its own.
Properties
backgroundType
undefined|stringSince 5.21.0CSS color to fill the image with, behind the chart.
Transparent if not set.
heightType
undefined|numberHeight of the SVG in pixels. Defaults to the chart's height when a
Rootor an element of a chart is passed.idPrefixType
undefined|stringDefault"am5-"Prefix for ids in
<defs>; needed when several SVGs share a page.precisionType
undefined|numberDefault3Decimal places for coordinates.
titleType
undefined|stringName of the image for screen readers, written as the SVG's
<title>.Defaults to the chart's
ariaLabel(Rootsetting), if it has one.widthType
undefined|numberWidth of the SVG in pixels. Defaults to the chart's width when a
Rootor an element of a chart is passed.