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

SharpPlot.RenderSvg Method (SvgMode,Double,String)

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

public string RenderSvg(
    SvgMode mode,
    double dpi,
    string header
);
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.
return value
Completed chart as SVG.

See also ...

SharpPlot Members | SharpPlot.RenderSvg Method


Send comments on this topic
© Dyalog Ltd 2021