SvgRenderOptions Class

The options of SvgChartRenderer.

public sealed class SvgRenderOptions

Constructors

NameDescription
SvgRenderOptions()

SvgRenderOptions()

SvgRenderOptions.cs
public SvgRenderOptions()

No documentation is available.

Properties

NameDescription
IdPrefixGets or sets the prefix of the identifiers of the gradients and clip paths. Give each chart of an HTML page its own prefix, so the identifiers do not collide. The default is chart.
IncludeNamespaceGets or sets a value that indicates whether the xmlns attribute is written. Turn it off for SVG inlined in HTML. The default is true.
PrecisionGets or sets the number of decimals of the coordinates, from 0 to 15. The default is 2.

Gets or sets the prefix of the identifiers of the gradients and clip paths. Give each chart of an HTML page its own prefix, so the identifiers do not collide. The default is chart.

public string IdPrefix { get; set; }

Property value

string

IncludeNamespace

SvgRenderOptions.cs

Gets or sets a value that indicates whether the xmlns attribute is written. Turn it off for SVG inlined in HTML. The default is true.

public bool IncludeNamespace { get; set; }

Property value

bool

Gets or sets the number of decimals of the coordinates, from 0 to 15. The default is 2.

public int Precision { get; set; }

Property value

int

Exceptions

ArgumentOutOfRangeException
The value is not between 0 and 15.