# ChartMapOptionsFluent

The fluent methods of ChartMapOptions, generated from its public properties: A property-named method sets a property and a singular-named method adds…

 Class  

`ChartForgeX.Core`

**Namespace**

`ChartForgeX.Core`

**Assembly**

`ChartForgeX`

**Modifiers**

static

The fluent methods of [ChartMapOptions](/api/chartforgex-core-chartmapoptions/), generated from its public properties: A property-named method sets a property and a singular-named method adds to a collection, both returning the same instance.

## Inheritance

- object
- ChartMapOptionsFluent

 Filter members   

    Show inherited   

 

## Methods

 `public static ChartMapOptions BaseLayer(ChartMapOptions chartMapOptions, ChartMapLayer item)` [#](#method-baselayer-chartforgex-core-chartmapoptions-chartforgex-core-chartmaplayer) 

Adds an item to [ChartMapOptions.BaseLayers](/api/chartforgex-core-chartmapoptions/): Gets the non-data geography layers rendered behind region maps.

Parameters

**chartMapOptions ChartForgeX.Core.ChartMapOptions required**

The instance.

**item ChartForgeX.Core.ChartMapLayer required**

The item.

Returns

 `ChartMapOptions` The same instance. 

 `public static ChartMapOptions BaseLayers(ChartMapOptions chartMapOptions, IEnumerable<ChartMapLayer> items)` [#](#method-baselayers-chartforgex-core-chartmapoptions-collections-generic-ienumerable-chartforgex-core-chartmaplayer) 

Adds items to [ChartMapOptions.BaseLayers](/api/chartforgex-core-chartmapoptions/): Gets the non-data geography layers rendered behind region maps.

Parameters

**chartMapOptions ChartForgeX.Core.ChartMapOptions required**

The instance.

**items System.Collections.Generic.IEnumerable<ChartForgeX.Core.ChartMapLayer> required**

The items, in order.

Returns

 `ChartMapOptions` The same instance. 

 `public static ChartMapOptions Callouts(ChartMapOptions chartMapOptions, ChartMapCallouts? value)` [#](#method-callouts-chartforgex-core-chartmapoptions-chartforgex-core-chartmapcallouts) 

Sets [ChartMapOptions.Callouts](/api/chartforgex-core-chartmapoptions/): Gets or sets optional shared collision-aware map captions and straight callout leaders. Null preserves legacy placement.

Parameters

**chartMapOptions ChartForgeX.Core.ChartMapOptions required**

The instance.

**value ChartForgeX.Core.ChartMapCallouts? required**

The value.

Returns

 `ChartMapOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                         // C# fluent
new global::ChartForgeX.Core.ChartMapOptions { Callouts = value };    chartMapOptions.Callouts(value);
```

 ColorDimension 2 overloads 

 `public static ChartMapOptions ColorDimension(ChartMapOptions chartMapOptions, ChartColorDimensionOptions value)` [#](#method-colordimension-chartforgex-core-chartmapoptions-chartforgex-core-chartcolordimensionoptions) 

Sets [ChartMapOptions.ColorDimension](/api/chartforgex-core-chartmapoptions/): Gets the name and number display policy for numeric region and tile-map measurements.

Parameters

**chartMapOptions ChartForgeX.Core.ChartMapOptions required**

The instance.

**value ChartForgeX.Core.ChartColorDimensionOptions required**

The value.

Returns

 `ChartMapOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                               // C# fluent
new global::ChartForgeX.Core.ChartMapOptions { ColorDimension = value };    chartMapOptions.ColorDimension(value);
```

 `public static ChartMapOptions ColorDimension(ChartMapOptions chartMapOptions, Action<ChartColorDimensionOptions> configure)` [#](#method-colordimension-chartforgex-core-chartmapoptions-action-chartforgex-core-chartcolordimensionoptions) 

Configures a copy of [ChartMapOptions.ColorDimension](/api/chartforgex-core-chartmapoptions/) (a new one when not set) and assigns a copy of it once the callback returns, leaving the property unchanged when the callback throws: Gets the name and number display policy for numeric region and tile-map measurements.

Parameters

**chartMapOptions ChartForgeX.Core.ChartMapOptions required**

The instance.

**configure System.Action<ChartForgeX.Core.ChartColorDimensionOptions> required**

Configures the copy.

Returns

 `ChartMapOptions` The same instance. 

 `public static ChartMapOptions ColorScale(ChartMapOptions chartMapOptions, ChartColorScale? value)` [#](#method-colorscale-chartforgex-core-chartmapoptions-chartforgex-core-chartcolorscale) 

Sets [ChartMapOptions.ColorScale](/api/chartforgex-core-chartmapoptions/): Gets or sets the optional color scale used by region and tile maps.

Parameters

**chartMapOptions ChartForgeX.Core.ChartMapOptions required**

The instance.

**value ChartForgeX.Core.ChartColorScale? required**

The value.

Returns

 `ChartMapOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                           // C# fluent
new global::ChartForgeX.Core.ChartMapOptions { ColorScale = value };    chartMapOptions.ColorScale(value);
```

 `public static ChartMapOptions Connector(ChartMapOptions chartMapOptions, ChartMapConnector item)` [#](#method-connector-chartforgex-core-chartmapoptions-chartforgex-core-chartmapconnector) 

Adds an item to [ChartMapOptions.Connectors](/api/chartforgex-core-chartmapoptions/): Gets the connector lines rendered on capable map charts.

Parameters

**chartMapOptions ChartForgeX.Core.ChartMapOptions required**

The instance.

**item ChartForgeX.Core.ChartMapConnector required**

The item.

Returns

 `ChartMapOptions` The same instance. 

 `public static ChartMapOptions Connectors(ChartMapOptions chartMapOptions, IEnumerable<ChartMapConnector> items)` [#](#method-connectors-chartforgex-core-chartmapoptions-collections-generic-ienumerable-chartforgex-core-chartmapconnector) 

Adds items to [ChartMapOptions.Connectors](/api/chartforgex-core-chartmapoptions/): Gets the connector lines rendered on capable map charts.

Parameters

**chartMapOptions ChartForgeX.Core.ChartMapOptions required**

The instance.

**items System.Collections.Generic.IEnumerable<ChartForgeX.Core.ChartMapConnector> required**

The items, in order.

Returns

 `ChartMapOptions` The same instance. 

 `public static ChartMapOptions OverlayLayer(ChartMapOptions chartMapOptions, ChartMapLayer item)` [#](#method-overlaylayer-chartforgex-core-chartmapoptions-chartforgex-core-chartmaplayer) 

Adds an item to [ChartMapOptions.OverlayLayers](/api/chartforgex-core-chartmapoptions/): Gets the non-data geography layers rendered above region maps.

Parameters

**chartMapOptions ChartForgeX.Core.ChartMapOptions required**

The instance.

**item ChartForgeX.Core.ChartMapLayer required**

The item.

Returns

 `ChartMapOptions` The same instance. 

 `public static ChartMapOptions OverlayLayers(ChartMapOptions chartMapOptions, IEnumerable<ChartMapLayer> items)` [#](#method-overlaylayers-chartforgex-core-chartmapoptions-collections-generic-ienumerable-chartforgex-core-chartmaplayer) 

Adds items to [ChartMapOptions.OverlayLayers](/api/chartforgex-core-chartmapoptions/): Gets the non-data geography layers rendered above region maps.

Parameters

**chartMapOptions ChartForgeX.Core.ChartMapOptions required**

The instance.

**items System.Collections.Generic.IEnumerable<ChartForgeX.Core.ChartMapLayer> required**

The items, in order.

Returns

 `ChartMapOptions` The same instance. 

 `public static ChartMapOptions RegionBounds(ChartMapOptions chartMapOptions, ChartRect? value)` [#](#method-regionbounds-chartforgex-core-chartmapoptions-nullable-chartforgex-primitives-chartrect) 

Sets [ChartMapOptions.RegionBounds](/api/chartforgex-core-chartmapoptions/): Gets or sets optional source coordinate bounds used to frame region maps.

Parameters

**chartMapOptions ChartForgeX.Core.ChartMapOptions required**

The instance.

**value ChartForgeX.Primitives.ChartRect? required**

The value.

Returns

 `ChartMapOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                             // C# fluent
new global::ChartForgeX.Core.ChartMapOptions { RegionBounds = value };    chartMapOptions.RegionBounds(value);
```

 `public static ChartMapOptions RegionStrokeColor(ChartMapOptions chartMapOptions, ChartColor? value)` [#](#method-regionstrokecolor-chartforgex-core-chartmapoptions-nullable-chartforgex-primitives-chartcolor) 

Sets [ChartMapOptions.RegionStrokeColor](/api/chartforgex-core-chartmapoptions/): Gets or sets the optional stroke color used for data regions.

Parameters

**chartMapOptions ChartForgeX.Core.ChartMapOptions required**

The instance.

**value ChartForgeX.Primitives.ChartColor? required**

The value.

Returns

 `ChartMapOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                                  // C# fluent
new global::ChartForgeX.Core.ChartMapOptions { RegionStrokeColor = value };    chartMapOptions.RegionStrokeColor(value);
```

 `public static ChartMapOptions RegionStrokeWidth(ChartMapOptions chartMapOptions, double value)` [#](#method-regionstrokewidth-chartforgex-core-chartmapoptions-double) 

Sets [ChartMapOptions.RegionStrokeWidth](/api/chartforgex-core-chartmapoptions/): Gets or sets the stroke width used for data regions.

Parameters

**chartMapOptions ChartForgeX.Core.ChartMapOptions required**

The instance.

**value double required**

The value.

Returns

 `ChartMapOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                                  // C# fluent
new global::ChartForgeX.Core.ChartMapOptions { RegionStrokeWidth = value };    chartMapOptions.RegionStrokeWidth(value);
```

 `public static ChartMapOptions ScaleLegendPosition(ChartMapOptions chartMapOptions, ChartMapScaleLegendPosition value)` [#](#method-scalelegendposition-chartforgex-core-chartmapoptions-chartforgex-core-chartmapscalelegendposition) 

Sets [ChartMapOptions.ScaleLegendPosition](/api/chartforgex-core-chartmapoptions/): Gets or sets where map scale legends are rendered.

Parameters

**chartMapOptions ChartForgeX.Core.ChartMapOptions required**

The instance.

**value ChartForgeX.Core.ChartMapScaleLegendPosition required**

The value.

Returns

 `ChartMapOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                                    // C# fluent
new global::ChartForgeX.Core.ChartMapOptions { ScaleLegendPosition = value };    chartMapOptions.ScaleLegendPosition(value);
```

 `public static ChartMapOptions ShowLabels(ChartMapOptions chartMapOptions, bool value = true)` [#](#method-showlabels-chartforgex-core-chartmapoptions-boolean) 

Sets [ChartMapOptions.ShowLabels](/api/chartforgex-core-chartmapoptions/): Gets or sets a value indicating whether region labels are rendered on map charts.

Parameters

**chartMapOptions ChartForgeX.Core.ChartMapOptions required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

 `ChartMapOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                           // C# fluent
new global::ChartForgeX.Core.ChartMapOptions { ShowLabels = value };    chartMapOptions.ShowLabels(value);
```

 `public static ChartMapOptions ShowSurface(ChartMapOptions chartMapOptions, bool value = true)` [#](#method-showsurface-chartforgex-core-chartmapoptions-boolean) 

Sets [ChartMapOptions.ShowSurface](/api/chartforgex-core-chartmapoptions/): Gets or sets a value indicating whether map charts render their own background surface.

Parameters

**chartMapOptions ChartForgeX.Core.ChartMapOptions required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

 `ChartMapOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                            // C# fluent
new global::ChartForgeX.Core.ChartMapOptions { ShowSurface = value };    chartMapOptions.ShowSurface(value);
```

 `public static ChartMapOptions Viewport(ChartMapOptions chartMapOptions, ChartMapViewport value)` [#](#method-viewport-chartforgex-core-chartmapoptions-chartforgex-core-chartmapviewport) 

Sets [ChartMapOptions.Viewport](/api/chartforgex-core-chartmapoptions/): Gets or sets the longitude/latitude window rendered by dotted map charts.

Parameters

**chartMapOptions ChartForgeX.Core.ChartMapOptions required**

The instance.

**value ChartForgeX.Core.ChartMapViewport required**

The value.

Returns

 `ChartMapOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                         // C# fluent
new global::ChartForgeX.Core.ChartMapOptions { Viewport = value };    chartMapOptions.Viewport(value);
```

## 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?` 

<!-- PowerForge markdown artifact sha256:278E75B9352F3CED6886D78332C85824BA509E58ECBF92032F8356ACC367FA0C -->
