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

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

Return chart rendered as animated SVG, with one frame per page.

public string RenderAnimatedSvg(
    double delay,
    SvgMode mode,
    double dpi,
    string header
);
delay
Delay between page shifts in seconds (0 will let the user control page shift by keyboard/mouse) (defaults to 1).
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
chart as animated SVG.

See also ...

SharpPlot Members | SharpPlot.RenderAnimatedSvg Method


Send comments on this topic
© Dyalog Ltd 2021