Skip to content
ChartForgeX
Class

ChartMapOptions

ChartForgeX.Core

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

Map viewport, layers, labels and colour scales. Configure it through ChartOptions.Map.

Inheritance

  • object
  • ChartMapOptions

Usage

Explore 73 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 40

Constructors

public ChartMapOptions() #

Properties

public ChartColorDimensionOptions ColorDimension { get; set; } #

Gets the name and number display policy for numeric region and tile-map measurements.

public ChartMapCallouts? Callouts { get; set; } #

Gets or sets optional shared collision-aware map captions and straight callout leaders. Null preserves legacy placement.

public ChartMapViewport Viewport { get; set; } #

Gets or sets the longitude/latitude window rendered by dotted map charts.

public ChartRect? RegionBounds { get; set; } #

Gets or sets optional source coordinate bounds used to frame region maps.

public List<ChartMapLayer> BaseLayers { get; private set; } #

Gets the non-data geography layers rendered behind region maps.

public List<ChartMapLayer> OverlayLayers { get; private set; } #

Gets the non-data geography layers rendered above region maps.

public List<ChartMapConnector> Connectors { get; private set; } #

Gets the connector lines rendered on capable map charts.

public bool ShowLabels { get; set; } #

Gets or sets a value indicating whether region labels are rendered on map charts.

public ChartMapScaleLegendPosition ScaleLegendPosition { get; set; } #

Gets or sets where map scale legends are rendered.

public bool ShowSurface { get; set; } #

Gets or sets a value indicating whether map charts render their own background surface.

public ChartColorScale? ColorScale { get; set; } #

Gets or sets the optional color scale used by region and tile maps.

public ChartColor? RegionStrokeColor { get; set; } #

Gets or sets the optional stroke color used for data regions.

public double RegionStrokeWidth { get; set; } #

Gets or sets the stroke width used for data regions.

Extension Methods

public static ChartMapOptions BaseLayer(ChartMapOptions chartMapOptions, ChartMapLayer item) #

Adds an item to ChartMapOptions.BaseLayers: 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) #

Adds items to ChartMapOptions.BaseLayers: 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) #

Sets ChartMapOptions.Callouts: 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

// 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) #

Sets ChartMapOptions.ColorDimension: 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

// 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) #

Configures a copy of ChartMapOptions.ColorDimension (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) #

Sets ChartMapOptions.ColorScale: 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

// C# initializer or property                                           // C# fluent
new global::ChartForgeX.Core.ChartMapOptions { ColorScale = value };    chartMapOptions.ColorScale(value);
public static ChartMapOptions Connector(ChartMapOptions chartMapOptions, ChartMapConnector item) #

Adds an item to ChartMapOptions.Connectors: 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) #

Adds items to ChartMapOptions.Connectors: 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) #

Adds an item to ChartMapOptions.OverlayLayers: 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) #

Adds items to ChartMapOptions.OverlayLayers: 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) #

Sets ChartMapOptions.RegionBounds: 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

// C# initializer or property                                             // C# fluent
new global::ChartForgeX.Core.ChartMapOptions { RegionBounds = value };    chartMapOptions.RegionBounds(value);
public static ChartMapOptions RegionStrokeColor(ChartMapOptions chartMapOptions, ChartColor? value) #

Sets ChartMapOptions.RegionStrokeColor: 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

// C# initializer or property                                                  // C# fluent
new global::ChartForgeX.Core.ChartMapOptions { RegionStrokeColor = value };    chartMapOptions.RegionStrokeColor(value);
public static ChartMapOptions RegionStrokeWidth(ChartMapOptions chartMapOptions, double value) #

Sets ChartMapOptions.RegionStrokeWidth: 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

// C# initializer or property                                                  // C# fluent
new global::ChartForgeX.Core.ChartMapOptions { RegionStrokeWidth = value };    chartMapOptions.RegionStrokeWidth(value);
public static ChartMapOptions ScaleLegendPosition(ChartMapOptions chartMapOptions, ChartMapScaleLegendPosition value) #

Sets ChartMapOptions.ScaleLegendPosition: 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

// 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) #

Sets ChartMapOptions.ShowLabels: 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

// 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) #

Sets ChartMapOptions.ShowSurface: 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

// C# initializer or property                                            // C# fluent
new global::ChartForgeX.Core.ChartMapOptions { ShowSurface = value };    chartMapOptions.ShowSurface(value);
public static ChartMapOptions Viewport(ChartMapOptions chartMapOptions, ChartMapViewport value) #

Sets ChartMapOptions.Viewport: 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

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