exportSVG

Exports the chart as an SVG document.

Inherited from Chart.exportSVG

Parameters

options Object (optional)Export options.
options.raw Boolean (default: false)Resolves the promise with the raw SVG document without the Data URI prefix.

ReturnsPromise A promise that will be resolved with a SVG document encoded as a Data URI.

In this article