SharpPlot Reference > SharpPlot Methods > RenderXaml Method > (Double,String,Boolean)

SharpPlot.RenderXaml Method (Double,String,Boolean)

Return completed chart as XAML with given resolution, extra header content and optional HTML wrapping.

public string RenderXaml(
    double dpi,
    string header,
    bool html
);
dpi
Resolution to use, in dots per inch (defaults to 96).
header
Arbitrary XAML code to include at top of Canvas.
html
Wrap XAML Canvas into an HTML page, using Silverlight.js and Silverplot.js (defaults to false).
return value
XAML Canvas containing completed chart.

See also ...

SharpPlot Members | SharpPlot.RenderXaml Method


Send comments on this topic
© Dyalog Ltd 2021