# ChartMarkerOptions

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

 Class  

`ChartForgeX.Core`

**Namespace**

`ChartForgeX.Core`

**Assembly**

`ChartForgeX`

**Source**

[ChartMarkerOptions.cs:20](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartMarkerOptions.cs#L20)

**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.

### Returned or exposed by 24

- Property [ChartDumbbellOptions.EndMarker](/api/chartforgex-core-chartdumbbelloptions/#property-endmarker)
- Property [ChartDumbbellOptions.StartMarker](/api/chartforgex-core-chartdumbbelloptions/#property-startmarker)
- Property [ChartItemStyle.Markers](/api/chartforgex-core-chartitemstyle/#property-markers)
- Extension method [ChartMarkerOptions.CustomPath](/api/chartforgex-core-chartmarkeroptions/#extension-custompath-chartforgex-core-chartmarkeroptions-chartforgex-core-chartmarkerpath)
- Extension method [ChartMarkerOptions.Enabled](/api/chartforgex-core-chartmarkeroptions/#extension-enabled-chartforgex-core-chartmarkeroptions-nullable-system-boolean)
- Extension method [ChartMarkerOptions.Fill](/api/chartforgex-core-chartmarkeroptions/#extension-fill-chartforgex-core-chartmarkeroptions-nullable-chartforgex-primitives-chartcolor)
- Extension method [ChartMarkerOptions.OutlineStroke](/api/chartforgex-core-chartmarkeroptions/#extension-outlinestroke-chartforgex-core-chartmarkeroptions-chartforgex-core-chartstrokestyle)
- Extension method [ChartMarkerOptions.Radius](/api/chartforgex-core-chartmarkeroptions/#extension-radius-chartforgex-core-chartmarkeroptions-nullable-system-double)
- Extension method [ChartMarkerOptions.Shape](/api/chartforgex-core-chartmarkeroptions/#extension-shape-chartforgex-core-chartmarkeroptions-chartforgex-core-chartmarkershape)
- Extension method [ChartMarkerOptions.Stroke](/api/chartforgex-core-chartmarkeroptions/#extension-stroke-chartforgex-core-chartmarkeroptions-nullable-chartforgex-primitives-chartcolor)
- Extension method [ChartMarkerOptions.StrokeDashOffset](/api/chartforgex-core-chartmarkeroptions/#extension-strokedashoffset-chartforgex-core-chartmarkeroptions-double)
- Extension method [ChartMarkerOptions.StrokeWidth](/api/chartforgex-core-chartmarkeroptions/#extension-strokewidth-chartforgex-core-chartmarkeroptions-nullable-system-double)
- Method [ChartMarkerOptionsFluent.CustomPath](/api/chartforgex-core-chartmarkeroptionsfluent/#method-custompath-chartforgex-core-chartmarkeroptions-chartforgex-core-chartmarkerpath)
- Method [ChartMarkerOptionsFluent.Enabled](/api/chartforgex-core-chartmarkeroptionsfluent/#method-enabled-chartforgex-core-chartmarkeroptions-nullable-system-boolean)
- Method [ChartMarkerOptionsFluent.Fill](/api/chartforgex-core-chartmarkeroptionsfluent/#method-fill-chartforgex-core-chartmarkeroptions-nullable-chartforgex-primitives-chartcolor)
- Method [ChartMarkerOptionsFluent.OutlineStroke](/api/chartforgex-core-chartmarkeroptionsfluent/#method-outlinestroke-chartforgex-core-chartmarkeroptions-chartforgex-core-chartstrokestyle)
- Method [ChartMarkerOptionsFluent.Radius](/api/chartforgex-core-chartmarkeroptionsfluent/#method-radius-chartforgex-core-chartmarkeroptions-nullable-system-double)
- Method [ChartMarkerOptionsFluent.Shape](/api/chartforgex-core-chartmarkeroptionsfluent/#method-shape-chartforgex-core-chartmarkeroptions-chartforgex-core-chartmarkershape)
- Method [ChartMarkerOptionsFluent.Stroke](/api/chartforgex-core-chartmarkeroptionsfluent/#method-stroke-chartforgex-core-chartmarkeroptions-nullable-chartforgex-primitives-chartcolor)
- Method [ChartMarkerOptionsFluent.StrokeDashOffset](/api/chartforgex-core-chartmarkeroptionsfluent/#method-strokedashoffset-chartforgex-core-chartmarkeroptions-double)
- Method [ChartMarkerOptionsFluent.StrokeWidth](/api/chartforgex-core-chartmarkeroptionsfluent/#method-strokewidth-chartforgex-core-chartmarkeroptions-nullable-system-double)
- Method [ChartSeries.GetPointMarkers](/api/chartforgex-core-chartseries/#method-getpointmarkers-int32)
- Property [ChartSeries.Markers](/api/chartforgex-core-chartseries/#property-markers)
- Property [VisualSeriesDefaults.Markers](/api/chartforgex-themes-visualseriesdefaults/#property-markers)

### Accepted by parameters 30

- Extension method [ChartDumbbellOptions.EndMarker](/api/chartforgex-core-chartdumbbelloptions/#extension-endmarker-chartforgex-core-chartdumbbelloptions-action-chartforgex-core-chartmarkeroptions) parameter `configure`
- Extension method [ChartDumbbellOptions.StartMarker](/api/chartforgex-core-chartdumbbelloptions/#extension-startmarker-chartforgex-core-chartdumbbelloptions-action-chartforgex-core-chartmarkeroptions) parameter `configure`
- Method [ChartDumbbellOptionsFluent.EndMarker](/api/chartforgex-core-chartdumbbelloptionsfluent/#method-endmarker-chartforgex-core-chartdumbbelloptions-action-chartforgex-core-chartmarkeroptions) parameter `configure`
- Method [ChartDumbbellOptionsFluent.StartMarker](/api/chartforgex-core-chartdumbbelloptionsfluent/#method-startmarker-chartforgex-core-chartdumbbelloptions-action-chartforgex-core-chartmarkeroptions) parameter `configure`
- Constructor [ChartItemStyle.ChartItemStyle](/api/chartforgex-core-chartitemstyle/#constructor-ctor-nullable-chartforgex-primitives-chartcolor-chartforgex-core-chartfill-chartforgex-core-chartstrokestyle-chartforgex-core-chartmarkeroptions) parameter `markers`
- Extension method [ChartMarkerOptions.CustomPath](/api/chartforgex-core-chartmarkeroptions/#extension-custompath-chartforgex-core-chartmarkeroptions-chartforgex-core-chartmarkerpath) parameter `chartMarkerOptions`
- Extension method [ChartMarkerOptions.Enabled](/api/chartforgex-core-chartmarkeroptions/#extension-enabled-chartforgex-core-chartmarkeroptions-nullable-system-boolean) parameter `chartMarkerOptions`
- Extension method [ChartMarkerOptions.Fill](/api/chartforgex-core-chartmarkeroptions/#extension-fill-chartforgex-core-chartmarkeroptions-nullable-chartforgex-primitives-chartcolor) parameter `chartMarkerOptions`
- Extension method [ChartMarkerOptions.OutlineStroke](/api/chartforgex-core-chartmarkeroptions/#extension-outlinestroke-chartforgex-core-chartmarkeroptions-chartforgex-core-chartstrokestyle) parameter `chartMarkerOptions`
- Extension method [ChartMarkerOptions.Radius](/api/chartforgex-core-chartmarkeroptions/#extension-radius-chartforgex-core-chartmarkeroptions-nullable-system-double) parameter `chartMarkerOptions`
- Extension method [ChartMarkerOptions.Shape](/api/chartforgex-core-chartmarkeroptions/#extension-shape-chartforgex-core-chartmarkeroptions-chartforgex-core-chartmarkershape) parameter `chartMarkerOptions`
- Extension method [ChartMarkerOptions.Stroke](/api/chartforgex-core-chartmarkeroptions/#extension-stroke-chartforgex-core-chartmarkeroptions-nullable-chartforgex-primitives-chartcolor) parameter `chartMarkerOptions`
- Extension method [ChartMarkerOptions.StrokeDashOffset](/api/chartforgex-core-chartmarkeroptions/#extension-strokedashoffset-chartforgex-core-chartmarkeroptions-double) parameter `chartMarkerOptions`
- Extension method [ChartMarkerOptions.StrokeWidth](/api/chartforgex-core-chartmarkeroptions/#extension-strokewidth-chartforgex-core-chartmarkeroptions-nullable-system-double) parameter `chartMarkerOptions`
- Method [ChartMarkerOptionsFluent.CustomPath](/api/chartforgex-core-chartmarkeroptionsfluent/#method-custompath-chartforgex-core-chartmarkeroptions-chartforgex-core-chartmarkerpath) parameter `chartMarkerOptions`
- Method [ChartMarkerOptionsFluent.Enabled](/api/chartforgex-core-chartmarkeroptionsfluent/#method-enabled-chartforgex-core-chartmarkeroptions-nullable-system-boolean) parameter `chartMarkerOptions`
- Method [ChartMarkerOptionsFluent.Fill](/api/chartforgex-core-chartmarkeroptionsfluent/#method-fill-chartforgex-core-chartmarkeroptions-nullable-chartforgex-primitives-chartcolor) parameter `chartMarkerOptions`
- Method [ChartMarkerOptionsFluent.OutlineStroke](/api/chartforgex-core-chartmarkeroptionsfluent/#method-outlinestroke-chartforgex-core-chartmarkeroptions-chartforgex-core-chartstrokestyle) parameter `chartMarkerOptions`
- Method [ChartMarkerOptionsFluent.Radius](/api/chartforgex-core-chartmarkeroptionsfluent/#method-radius-chartforgex-core-chartmarkeroptions-nullable-system-double) parameter `chartMarkerOptions`
- Method [ChartMarkerOptionsFluent.Shape](/api/chartforgex-core-chartmarkeroptionsfluent/#method-shape-chartforgex-core-chartmarkeroptions-chartforgex-core-chartmarkershape) parameter `chartMarkerOptions`
- Method [ChartMarkerOptionsFluent.Stroke](/api/chartforgex-core-chartmarkeroptionsfluent/#method-stroke-chartforgex-core-chartmarkeroptions-nullable-chartforgex-primitives-chartcolor) parameter `chartMarkerOptions`
- Method [ChartMarkerOptionsFluent.StrokeDashOffset](/api/chartforgex-core-chartmarkeroptionsfluent/#method-strokedashoffset-chartforgex-core-chartmarkeroptions-double) parameter `chartMarkerOptions`
- Method [ChartMarkerOptionsFluent.StrokeWidth](/api/chartforgex-core-chartmarkeroptionsfluent/#method-strokewidth-chartforgex-core-chartmarkeroptions-nullable-system-double) parameter `chartMarkerOptions`
- Extension method [ChartSeries.Markers](/api/chartforgex-core-chartseries/#extension-markers-chartforgex-core-chartseries-action-chartforgex-core-chartmarkeroptions) parameter `configure`
- Extension method [ChartSeries.Markers](/api/chartforgex-core-chartseries/#extension-markers-chartforgex-core-chartseries-chartforgex-core-chartmarkeroptions) parameter `value`
- Method [ChartSeries.PointMarkers](/api/chartforgex-core-chartseries/#method-pointmarkers-int32-action-chartforgex-core-chartmarkeroptions) parameter `configure`
- Method [ChartSeriesFluent.Markers](/api/chartforgex-core-chartseriesfluent/#method-markers-chartforgex-core-chartseries-action-chartforgex-core-chartmarkeroptions) parameter `configure`
- Method [ChartSeriesFluent.Markers](/api/chartforgex-core-chartseriesfluent/#method-markers-chartforgex-core-chartseries-chartforgex-core-chartmarkeroptions) parameter `value`
- Extension method [VisualSeriesDefaults.Markers](/api/chartforgex-themes-visualseriesdefaults/#extension-markers-chartforgex-themes-visualseriesdefaults-action-chartforgex-core-chartmarkeroptions) parameter `configure`
- Method [VisualSeriesDefaultsFluent.Markers](/api/chartforgex-themes-visualseriesdefaultsfluent/#method-markers-chartforgex-themes-visualseriesdefaults-action-chartforgex-core-chartmarkeroptions) parameter `configure`

 Filter members   

    Show inherited   

 

## Constructors

 `public ChartMarkerOptions()` [#](#constructor-ctor) 

## Inherited Methods

 `public virtual bool Equals(object? obj)` [#](#method-equals-object) 

Inherited from object

Parameters

**obj object? required**

Returns

 `bool` 

 `public virtual int GetHashCode()` [#](#method-gethashcode) 

Inherited from object

Returns

 `int` 

 `public Type GetType()` [#](#method-gettype) 

Inherited from object

Returns

 `Type` 

 `public virtual string? ToString()` [#](#method-tostring) 

Inherited from object

Returns

 `string?` 

## Properties

 `public ChartMarkerShape Shape { get; set; }` [#](#property-shape) 

[ChartMarkerOptions.cs:20](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartMarkerOptions.cs#L20)

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

 `public double? Radius { get; set; }` [#](#property-radius) 

[ChartMarkerOptions.cs:32](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartMarkerOptions.cs#L32)

Gets or sets the logical marker radius. Null preserves the family and theme default; zero hides glyphs. Bubble series use [ChartOptions.Bubble](/api/chartforgex-core-chartoptions/) radius bounds and reject a non-null marker radius.

 `public bool? Enabled { get; set; }` [#](#property-enabled) 

[ChartMarkerOptions.cs:40](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartMarkerOptions.cs#L40)

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; }` [#](#property-fill) 

[ChartMarkerOptions.cs:43](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartMarkerOptions.cs#L43)

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

 `public ChartColor? Stroke { get; set; }` [#](#property-stroke) 

[ChartMarkerOptions.cs:46](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartMarkerOptions.cs#L46)

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

 `public double? StrokeWidth { get; set; }` [#](#property-strokewidth) 

[ChartMarkerOptions.cs:53](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartMarkerOptions.cs#L53)

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; }` [#](#property-custompath) 

[ChartMarkerOptions.cs:61](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartMarkerOptions.cs#L61)

Gets or sets an immutable unit path overriding [ChartMarkerOptions.Shape](/api/chartforgex-core-chartmarkeroptions/). Null restores the built-in shape.

 `public ChartStrokeStyle? OutlineStroke { get; set; }` [#](#property-outlinestroke) 

[ChartMarkerOptions.cs:68](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartMarkerOptions.cs#L68)

Gets or sets immutable outline overrides, including dashes. Its explicit color/width override [ChartMarkerOptions.Stroke](/api/chartforgex-core-chartmarkeroptions/) and [ChartMarkerOptions.StrokeWidth](/api/chartforgex-core-chartmarkeroptions/); null preserves the existing outline policy.

 `public double StrokeDashOffset { get; set; }` [#](#property-strokedashoffset) 

[ChartMarkerOptions.cs:74](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartMarkerOptions.cs#L74)

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)` [#](#extension-custompath-chartforgex-core-chartmarkeroptions-chartforgex-core-chartmarkerpath) 

Sets [ChartMarkerOptions.CustomPath](/api/chartforgex-core-chartmarkeroptions/): Gets or sets an immutable unit path overriding [ChartMarkerOptions.Shape](/api/chartforgex-core-chartmarkeroptions/). 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

```csharp
// 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)` [#](#extension-enabled-chartforgex-core-chartmarkeroptions-nullable-system-boolean) 

Sets [ChartMarkerOptions.Enabled](/api/chartforgex-core-chartmarkeroptions/): 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

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

 `public static ChartMarkerOptions Fill(ChartMarkerOptions chartMarkerOptions, ChartColor? value)` [#](#extension-fill-chartforgex-core-chartmarkeroptions-nullable-chartforgex-primitives-chartcolor) 

Sets [ChartMarkerOptions.Fill](/api/chartforgex-core-chartmarkeroptions/): 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

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

 `public static ChartMarkerOptions OutlineStroke(ChartMarkerOptions chartMarkerOptions, ChartStrokeStyle? value)` [#](#extension-outlinestroke-chartforgex-core-chartmarkeroptions-chartforgex-core-chartstrokestyle) 

Sets [ChartMarkerOptions.OutlineStroke](/api/chartforgex-core-chartmarkeroptions/): Gets or sets immutable outline overrides, including dashes. Its explicit color/width override [ChartMarkerOptions.Stroke](/api/chartforgex-core-chartmarkeroptions/) and [ChartMarkerOptions.StrokeWidth](/api/chartforgex-core-chartmarkeroptions/); 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

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

 `public static ChartMarkerOptions Radius(ChartMarkerOptions chartMarkerOptions, double? value)` [#](#extension-radius-chartforgex-core-chartmarkeroptions-nullable-system-double) 

Sets [ChartMarkerOptions.Radius](/api/chartforgex-core-chartmarkeroptions/): Gets or sets the logical marker radius. Null preserves the family and theme default; zero hides glyphs. Bubble series use [ChartOptions.Bubble](/api/chartforgex-core-chartoptions/) 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

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

 `public static ChartMarkerOptions Shape(ChartMarkerOptions chartMarkerOptions, ChartMarkerShape value)` [#](#extension-shape-chartforgex-core-chartmarkeroptions-chartforgex-core-chartmarkershape) 

Sets [ChartMarkerOptions.Shape](/api/chartforgex-core-chartmarkeroptions/): 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

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

 `public static ChartMarkerOptions Stroke(ChartMarkerOptions chartMarkerOptions, ChartColor? value)` [#](#extension-stroke-chartforgex-core-chartmarkeroptions-nullable-chartforgex-primitives-chartcolor) 

Sets [ChartMarkerOptions.Stroke](/api/chartforgex-core-chartmarkeroptions/): 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

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

 `public static ChartMarkerOptions StrokeDashOffset(ChartMarkerOptions chartMarkerOptions, double value)` [#](#extension-strokedashoffset-chartforgex-core-chartmarkeroptions-double) 

Sets [ChartMarkerOptions.StrokeDashOffset](/api/chartforgex-core-chartmarkeroptions/): 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

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

 `public static ChartMarkerOptions StrokeWidth(ChartMarkerOptions chartMarkerOptions, double? value)` [#](#extension-strokewidth-chartforgex-core-chartmarkeroptions-nullable-system-double) 

Sets [ChartMarkerOptions.StrokeWidth](/api/chartforgex-core-chartmarkeroptions/): 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

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

<!-- PowerForge markdown artifact sha256:8935F04B773632DF984CD2C04460ECB953E419A110D83CC0EAEEE72BD3F84A96 -->
