SharpPlot Reference > SharpPlot Methods > SaveSvg Method > (String,SvgMode,Double,String)

SharpPlot.SaveSvg Method (String,SvgMode,Double,String)

Save completed chart as SVG with aspect setting, resolution and extra header text.

public void SaveSvg(
    string filename,
    SvgMode mode,
    double dpi,
    string header
);
filename
Name of output file.
mode
Aspect setting used to display SVG (defaults to SvgMode.FixedSize).
dpi
Display resolution to observe when using SvgMode.FixedSize or SvgMode.Shadowed (defaults to 96 dpi).
header
Arbitrary SVG code to include before chart.

See also ...

SharpPlot Members | SharpPlot.SaveSvg Method


Send comments on this topic
© Dyalog Ltd 2021