Project

ChartForgeX

Render deterministic charts, dashboards, topology, hierarchy, and report visuals directly from .NET.

Stars 45
Forks 2
NuGet downloads 48,107
Release ChartForgeX-v1.7.0
Language: HTML Updated: 2026-09-02

API Reference

Class

ChartMapDefinition

Namespace ChartForgeX.Core

Describes reusable map geometry that can be rendered with different map visual styles.

Inheritance

  • Object
  • ChartMapDefinition

Usage

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

Accepted by parameters

Constructors

ChartMapDefinition 2 overloads
ChartMapDefinition(System.String id, System.String name, System.Double width, System.Double height, System.Collections.Generic.IEnumerable{ChartForgeX.Core.ChartMapRegion} regions) #

Initializes a new instance of the ChartMapDefinition class with bounds starting at zero.

Parameters

id System.String required
The stable map identifier.
name System.String required
The display name.
width System.Double required
The map coordinate width.
height System.Double required
The map coordinate height.
regions System.Collections.Generic.IEnumerable{ChartForgeX.Core.ChartMapRegion} required
The drawable regions.
ChartMapDefinition(System.String id, System.String name, ChartForgeX.Primitives.ChartRect bounds, System.Collections.Generic.IEnumerable{ChartForgeX.Core.ChartMapRegion} regions) #

Initializes a new instance of the ChartMapDefinition class.

Parameters

id System.String required
The stable map identifier.
name System.String required
The display name.
bounds ChartForgeX.Primitives.ChartRect required
The coordinate bounds occupied by the map paths.
regions System.Collections.Generic.IEnumerable{ChartForgeX.Core.ChartMapRegion} required
The drawable regions.

Methods

FromGeoJson(System.String id, System.String name, System.String geoJson, ChartForgeX.Core.ChartMapGeoJsonOptions options) #

Creates a map definition from a GeoJSON FeatureCollection or Feature.

Parameters

id System.String required
The stable map identifier.
name System.String required
The display name.
geoJson System.String required
The GeoJSON document.
options ChartForgeX.Core.ChartMapGeoJsonOptions required
Optional import settings.

Returns

A reusable map definition.

TryResolveRegion(System.String region, System.String@ code) #

Resolves a caller-provided region code or alias to the canonical region code.

Parameters

region System.String required
The code, name, or alias to resolve.
code System.String@ required
The canonical region code.

Returns

true when the region can be resolved; otherwise false.

Properties

Id #

Gets the stable map identifier.

Name #

Gets the display name of the map.

Bounds #

Gets the coordinate bounds occupied by the map paths.

Regions #

Gets the drawable regions.