Skip to content
ChartForgeX
Class

ChartPictorialOptions

ChartForgeX.Core

Namespace
ChartForgeX.Core
Assembly
ChartForgeX
Modifiers
sealed
Attributes
Fluent(Copy = "Clone")

Pictorial symbols, values and artwork. Configure it through ChartOptions.Pictorial.

Inheritance

  • object
  • ChartPictorialOptions

Usage

Explore 54 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Accepted by parameters 30

Constructors

public ChartPictorialOptions() #

Methods

SvgPath 2 overloads
public ChartPictorialOptions SvgPath(string pathData, ChartRect viewBox) #

Draws symbols from SVG path data drawn in viewBox, in SVG and native PNG output.

Parameters

pathData string required
The SVG path data.
viewBox ChartForgeX.Primitives.ChartRect required
The view box the path was drawn in.

Returns

ChartPictorialOptions The same options.
public ChartPictorialOptions SvgPath(string pathData) #

Draws symbols from SVG path data drawn in a 24-unit square, in SVG and native PNG output.

Parameters

pathData string required
The SVG path data.

Returns

ChartPictorialOptions The same options.

Properties

public ChartPictorialShape Shape { get; set; } #

Gets or sets the built-in symbol shape used by pictorial charts.

public int Columns { get; set; } #

Gets or sets the number of repeated symbols used per pictorial chart row.

public double? Max { get; set; } #

Gets or sets the optional scale maximum used by pictorial chart rows.

public double? ValuePerSymbol { get; set; } #

Gets or sets the data value represented by one full pictorial symbol.

public bool ShowValues { get; set; } #

Gets or sets a value indicating whether numeric value labels are rendered for pictorial rows.

public double SymbolScale { get; set; } #

Gets or sets the relative pictorial symbol size inside each symbol slot.

public double EmptyOpacity { get; set; } #

Gets or sets the opacity used by unfilled pictorial symbols.

public string? SvgPathData { get; set; } #

Gets or sets optional input path data used as the pictorial symbol. Prepared SVG and native PNG output paint the same numeric geometry compiled from this path.

public ChartRect SvgPathViewBox { get; set; } #

Gets or sets the viewBox used to scale ChartPictorialOptions.SvgPathData.

public ChartPictorialArtwork? Artwork { get; set; } #

Gets or sets optional immutable image artwork. Null restores the authored custom contour or built-in symbol.

public ChartPictorialFillDirection FillDirection { get; set; } #

Gets or sets the direction of the nominal partial rectangle for built-in, custom contour and image symbols.

Extension Methods

public static ChartPictorialOptions Artwork(ChartPictorialOptions chartPictorialOptions, ChartPictorialArtwork? value) #

Sets ChartPictorialOptions.Artwork: Gets or sets optional immutable image artwork. Null restores the authored custom contour or built-in symbol.

Parameters

chartPictorialOptions ChartForgeX.Core.ChartPictorialOptions required
The instance.
value ChartForgeX.Core.ChartPictorialArtwork? required
The value.

Returns

ChartPictorialOptions The same instance.

Examples

// C# initializer or property                                              // C# fluent
new global::ChartForgeX.Core.ChartPictorialOptions { Artwork = value };    chartPictorialOptions.Artwork(value);
public static ChartPictorialOptions Columns(ChartPictorialOptions chartPictorialOptions, int value) #

Sets ChartPictorialOptions.Columns: Gets or sets the number of repeated symbols used per pictorial chart row.

Parameters

chartPictorialOptions ChartForgeX.Core.ChartPictorialOptions required
The instance.
value int required
The value.

Returns

ChartPictorialOptions The same instance.

Examples

// C# initializer or property                                              // C# fluent
new global::ChartForgeX.Core.ChartPictorialOptions { Columns = value };    chartPictorialOptions.Columns(value);
public static ChartPictorialOptions EmptyOpacity(ChartPictorialOptions chartPictorialOptions, double value) #

Sets ChartPictorialOptions.EmptyOpacity: Gets or sets the opacity used by unfilled pictorial symbols.

Parameters

chartPictorialOptions ChartForgeX.Core.ChartPictorialOptions required
The instance.
value double required
The value.

Returns

ChartPictorialOptions The same instance.

Examples

// C# initializer or property                                                   // C# fluent
new global::ChartForgeX.Core.ChartPictorialOptions { EmptyOpacity = value };    chartPictorialOptions.EmptyOpacity(value);
public static ChartPictorialOptions FillDirection(ChartPictorialOptions chartPictorialOptions, ChartPictorialFillDirection value) #

Sets ChartPictorialOptions.FillDirection: Gets or sets the direction of the nominal partial rectangle for built-in, custom contour and image symbols.

Parameters

chartPictorialOptions ChartForgeX.Core.ChartPictorialOptions required
The instance.
value ChartForgeX.Core.ChartPictorialFillDirection required
The value.

Returns

ChartPictorialOptions The same instance.

Examples

// C# initializer or property                                                    // C# fluent
new global::ChartForgeX.Core.ChartPictorialOptions { FillDirection = value };    chartPictorialOptions.FillDirection(value);
public static ChartPictorialOptions Max(ChartPictorialOptions chartPictorialOptions, double? value) #

Sets ChartPictorialOptions.Max: Gets or sets the optional scale maximum used by pictorial chart rows.

Parameters

chartPictorialOptions ChartForgeX.Core.ChartPictorialOptions required
The instance.
value double? required
The value.

Returns

ChartPictorialOptions The same instance.

Examples

// C# initializer or property                                          // C# fluent
new global::ChartForgeX.Core.ChartPictorialOptions { Max = value };    chartPictorialOptions.Max(value);
public static ChartPictorialOptions Shape(ChartPictorialOptions chartPictorialOptions, ChartPictorialShape value) #

Sets ChartPictorialOptions.Shape: Gets or sets the built-in symbol shape used by pictorial charts.

Parameters

chartPictorialOptions ChartForgeX.Core.ChartPictorialOptions required
The instance.
value ChartForgeX.Core.ChartPictorialShape required
The value.

Returns

ChartPictorialOptions The same instance.

Examples

// C# initializer or property                                            // C# fluent
new global::ChartForgeX.Core.ChartPictorialOptions { Shape = value };    chartPictorialOptions.Shape(value);
public static ChartPictorialOptions ShowValues(ChartPictorialOptions chartPictorialOptions, bool value = true) #

Sets ChartPictorialOptions.ShowValues: Gets or sets a value indicating whether numeric value labels are rendered for pictorial rows.

Parameters

chartPictorialOptions ChartForgeX.Core.ChartPictorialOptions required
The instance.
value bool = true optional
The value; true when omitted.

Returns

ChartPictorialOptions The same instance.

Examples

// C# initializer or property                                                 // C# fluent
new global::ChartForgeX.Core.ChartPictorialOptions { ShowValues = value };    chartPictorialOptions.ShowValues(value);
public static ChartPictorialOptions SvgPathData(ChartPictorialOptions chartPictorialOptions, string? value) #

Sets ChartPictorialOptions.SvgPathData: Gets or sets optional input path data used as the pictorial symbol. Prepared SVG and native PNG output paint the same numeric geometry compiled from this path.

Parameters

chartPictorialOptions ChartForgeX.Core.ChartPictorialOptions required
The instance.
value string? required
The value.

Returns

ChartPictorialOptions The same instance.

Examples

// C# initializer or property                                                  // C# fluent
new global::ChartForgeX.Core.ChartPictorialOptions { SvgPathData = value };    chartPictorialOptions.SvgPathData(value);
public static ChartPictorialOptions SvgPathViewBox(ChartPictorialOptions chartPictorialOptions, ChartRect value) #

Sets ChartPictorialOptions.SvgPathViewBox: Gets or sets the viewBox used to scale ChartPictorialOptions.SvgPathData.

Parameters

chartPictorialOptions ChartForgeX.Core.ChartPictorialOptions required
The instance.
value ChartForgeX.Primitives.ChartRect required
The value.

Returns

ChartPictorialOptions The same instance.

Examples

// C# initializer or property                                                     // C# fluent
new global::ChartForgeX.Core.ChartPictorialOptions { SvgPathViewBox = value };    chartPictorialOptions.SvgPathViewBox(value);
public static ChartPictorialOptions SymbolScale(ChartPictorialOptions chartPictorialOptions, double value) #

Sets ChartPictorialOptions.SymbolScale: Gets or sets the relative pictorial symbol size inside each symbol slot.

Parameters

chartPictorialOptions ChartForgeX.Core.ChartPictorialOptions required
The instance.
value double required
The value.

Returns

ChartPictorialOptions The same instance.

Examples

// C# initializer or property                                                  // C# fluent
new global::ChartForgeX.Core.ChartPictorialOptions { SymbolScale = value };    chartPictorialOptions.SymbolScale(value);
public static ChartPictorialOptions ValuePerSymbol(ChartPictorialOptions chartPictorialOptions, double? value) #

Sets ChartPictorialOptions.ValuePerSymbol: Gets or sets the data value represented by one full pictorial symbol.

Parameters

chartPictorialOptions ChartForgeX.Core.ChartPictorialOptions required
The instance.
value double? required
The value.

Returns

ChartPictorialOptions The same instance.

Examples

// C# initializer or property                                                     // C# fluent
new global::ChartForgeX.Core.ChartPictorialOptions { ValuePerSymbol = value };    chartPictorialOptions.ValuePerSymbol(value);