| Contents > SharpPlot > Methods | Index |
SharpPlot.SaveSvg Method
This saves your chart as a Scalable Vector Graphic. The mode 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
- public void SaveSvg(string filename);
- public void SaveSvg(string filename,SvgMode mode);
- public void SaveSvg(string filename,SvgMode mode,string headerText);
See RenderSvg for more information on the support for this format in various browsers.
