Skip to content
ChartForgeX
Class

ChartMarkerOptions

ChartForgeX.Core

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

Shared numeric point-marker geometry, visibility and paint overrides.

Inheritance

  • object
  • ChartMarkerOptions

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 ChartMarkerOptions() #

Properties

public ChartMarkerShape Shape { get; set; } #

Gets or sets the marker shape. The default is Circle.

public double? Radius { get; set; } #

Gets or sets the logical marker radius. Null preserves the family and theme default; zero hides glyphs. Bubble series use ChartOptions.Bubble radius bounds and reject a non-null marker radius.

public bool? Enabled { get; set; } #

Gets or sets whether all markers are shown. Null preserves the family visibility policy; false hides glyphs while retaining source descriptions, lines and areas.

public ChartColor? Fill { get; set; } #

Gets or sets the marker fill. Null preserves the family paint; explicit point colors take precedence.

public ChartColor? Stroke { get; set; } #

Gets or sets the marker outline color. Null preserves the family outline.

public double? StrokeWidth { get; set; } #

Gets or sets the logical outline width, independently of the series line width. Null preserves the family default. A positive explicit width creates an outline in the marker fill color when the family has none; zero removes it.

public ChartMarkerPath? CustomPath { get; set; } #

Gets or sets an immutable unit path overriding ChartMarkerOptions.Shape. Null restores the built-in shape.

public ChartStrokeStyle? OutlineStroke { get; set; } #

Gets or sets immutable outline overrides, including dashes. Its explicit color/width override ChartMarkerOptions.Stroke and ChartMarkerOptions.StrokeWidth; null preserves the existing outline policy.

public double StrokeDashOffset { get; set; } #

Gets or sets the finite logical dash phase. It affects an authored dashed outline only.

Extension Methods

public static ChartMarkerOptions CustomPath(ChartMarkerOptions chartMarkerOptions, ChartMarkerPath? value) #

Sets ChartMarkerOptions.CustomPath: Gets or sets an immutable unit path overriding ChartMarkerOptions.Shape. Null restores the built-in shape.

Parameters

chartMarkerOptions ChartForgeX.Core.ChartMarkerOptions required
The instance.
value ChartForgeX.Core.ChartMarkerPath? required
The value.

Returns

ChartMarkerOptions The same instance.

Examples

// C# initializer or property                                              // C# fluent
new global::ChartForgeX.Core.ChartMarkerOptions { CustomPath = value };    chartMarkerOptions.CustomPath(value);
public static ChartMarkerOptions Enabled(ChartMarkerOptions chartMarkerOptions, bool? value = true) #

Sets ChartMarkerOptions.Enabled: Gets or sets whether all markers are shown. Null preserves the family visibility policy; false hides glyphs while retaining source descriptions, lines and areas.

Parameters

chartMarkerOptions ChartForgeX.Core.ChartMarkerOptions required
The instance.
value bool? = true optional
The value; true when omitted.

Returns

ChartMarkerOptions The same instance.

Examples

// C# initializer or property                                           // C# fluent
new global::ChartForgeX.Core.ChartMarkerOptions { Enabled = value };    chartMarkerOptions.Enabled(value);
public static ChartMarkerOptions Fill(ChartMarkerOptions chartMarkerOptions, ChartColor? value) #

Sets ChartMarkerOptions.Fill: Gets or sets the marker fill. Null preserves the family paint; explicit point colors take precedence.

Parameters

chartMarkerOptions ChartForgeX.Core.ChartMarkerOptions required
The instance.
value ChartForgeX.Primitives.ChartColor? required
The value.

Returns

ChartMarkerOptions The same instance.

Examples

// C# initializer or property                                        // C# fluent
new global::ChartForgeX.Core.ChartMarkerOptions { Fill = value };    chartMarkerOptions.Fill(value);
public static ChartMarkerOptions OutlineStroke(ChartMarkerOptions chartMarkerOptions, ChartStrokeStyle? value) #

Sets ChartMarkerOptions.OutlineStroke: Gets or sets immutable outline overrides, including dashes. Its explicit color/width override ChartMarkerOptions.Stroke and ChartMarkerOptions.StrokeWidth; null preserves the existing outline policy.

Parameters

chartMarkerOptions ChartForgeX.Core.ChartMarkerOptions required
The instance.
value ChartForgeX.Core.ChartStrokeStyle? required
The value.

Returns

ChartMarkerOptions The same instance.

Examples

// C# initializer or property                                                 // C# fluent
new global::ChartForgeX.Core.ChartMarkerOptions { OutlineStroke = value };    chartMarkerOptions.OutlineStroke(value);
public static ChartMarkerOptions Radius(ChartMarkerOptions chartMarkerOptions, double? value) #

Sets ChartMarkerOptions.Radius: Gets or sets the logical marker radius. Null preserves the family and theme default; zero hides glyphs. Bubble series use ChartOptions.Bubble radius bounds and reject a non-null marker radius.

Parameters

chartMarkerOptions ChartForgeX.Core.ChartMarkerOptions required
The instance.
value double? required
The value.

Returns

ChartMarkerOptions The same instance.

Examples

// C# initializer or property                                          // C# fluent
new global::ChartForgeX.Core.ChartMarkerOptions { Radius = value };    chartMarkerOptions.Radius(value);
public static ChartMarkerOptions Shape(ChartMarkerOptions chartMarkerOptions, ChartMarkerShape value) #

Sets ChartMarkerOptions.Shape: Gets or sets the marker shape. The default is Circle.

Parameters

chartMarkerOptions ChartForgeX.Core.ChartMarkerOptions required
The instance.
value ChartForgeX.Core.ChartMarkerShape required
The value.

Returns

ChartMarkerOptions The same instance.

Examples

// C# initializer or property                                         // C# fluent
new global::ChartForgeX.Core.ChartMarkerOptions { Shape = value };    chartMarkerOptions.Shape(value);
public static ChartMarkerOptions Stroke(ChartMarkerOptions chartMarkerOptions, ChartColor? value) #

Sets ChartMarkerOptions.Stroke: Gets or sets the marker outline color. Null preserves the family outline.

Parameters

chartMarkerOptions ChartForgeX.Core.ChartMarkerOptions required
The instance.
value ChartForgeX.Primitives.ChartColor? required
The value.

Returns

ChartMarkerOptions The same instance.

Examples

// C# initializer or property                                          // C# fluent
new global::ChartForgeX.Core.ChartMarkerOptions { Stroke = value };    chartMarkerOptions.Stroke(value);
public static ChartMarkerOptions StrokeDashOffset(ChartMarkerOptions chartMarkerOptions, double value) #

Sets ChartMarkerOptions.StrokeDashOffset: Gets or sets the finite logical dash phase. It affects an authored dashed outline only.

Parameters

chartMarkerOptions ChartForgeX.Core.ChartMarkerOptions required
The instance.
value double required
The value.

Returns

ChartMarkerOptions The same instance.

Examples

// C# initializer or property                                                    // C# fluent
new global::ChartForgeX.Core.ChartMarkerOptions { StrokeDashOffset = value };    chartMarkerOptions.StrokeDashOffset(value);
public static ChartMarkerOptions StrokeWidth(ChartMarkerOptions chartMarkerOptions, double? value) #

Sets ChartMarkerOptions.StrokeWidth: Gets or sets the logical outline width, independently of the series line width. Null preserves the family default. A positive explicit width creates an outline in the marker fill color when the family has none; zero removes it.

Parameters

chartMarkerOptions ChartForgeX.Core.ChartMarkerOptions required
The instance.
value double? required
The value.

Returns

ChartMarkerOptions The same instance.

Examples

// C# initializer or property                                               // C# fluent
new global::ChartForgeX.Core.ChartMarkerOptions { StrokeWidth = value };    chartMarkerOptions.StrokeWidth(value);