SharpPlot Reference > SharpPlot Methods > SaveSvg Method

SharpPlot.SaveSvg Method

This saves your chart as a Scalable Vector Graphic. The SvgMode option allows some control over the way the chart is scaled by the Adobe SVG viewer when it is embedded in a webpage. The header text may be used to add extra attributes into the svg tag which starts the XML document.

Example

sp.SaveSvg("chart.svg",SvgMode.FixedAspect);

Overloads

See RenderSvg for more information on the support for this format in various browsers.

See also ...

SharpPlot Members | SharpPlot.RenderSvg Method


Send comments on this topic
© Dyalog Ltd 2021