Skip to main content

TreeMapExportBuilder.SvgToCanvas Method

Name Parameters Description
SvgToCanvas(RazorBlock) jsFunc A function that renders SVG markup on the HTML canvas. Required to export custom SVG elements (for example, markerTemplate). Mirrors the client-side svgToCanvas option.
SvgToCanvas(String) jsFunc A function that renders SVG markup on the HTML canvas. Required to export custom SVG elements (for example, markerTemplate). Mirrors the client-side svgToCanvas option.