ChartImageOptions Class

The options of ChartImageRenderer.

public sealed class ChartImageOptions

Constructors

NameDescription
ChartImageOptions()

ChartImageOptions()

ChartImageOptions.cs
public ChartImageOptions()

No documentation is available.

Properties

NameDescription
BoldFontGets or sets the font of the bold texts (the title), or null for ChartFonts.SansBold when ChartImageOptions.Font is not set, and ChartImageOptions.Font otherwise.
FontGets or sets the font of the regular texts, or null for ChartFonts.Sans. The layout measures the texts with it.
ScaleGets or sets the number of pixels per unit of the chart: 2 draws a chart of 640 by 400 as an image of 1280 by 800, for high-density screens. The default is 1.

Gets or sets the font of the bold texts (the title), or null for ChartFonts.SansBold when ChartImageOptions.Font is not set, and ChartImageOptions.Font otherwise.

public Font? BoldFont { get; set; }

Property value

Font?

Gets or sets the font of the regular texts, or null for ChartFonts.Sans. The layout measures the texts with it.

public Font? Font { get; set; }

Property value

Font?

Gets or sets the number of pixels per unit of the chart: 2 draws a chart of 640 by 400 as an image of 1280 by 800, for high-density screens. The default is 1.

public double Scale { get; set; }

Property value

double

Exceptions

ArgumentOutOfRangeException
The value is not a positive finite number.