IChartMapCountry
interface
Chart
Internal country descriptor produced by the map geometry engine. Holds the pre-resolved fill colour, ARIA metadata, and SVG path string for rendering a country shape.
TypeScript
Definition
The TypeScript interface definition as found in the origam source. Click the copy icon to copy the snippet.
API
Properties
Every property declared by this interface, with its type, optionality and default.
- coderequiredstring
- ISO-3166-1 alpha-2 country code.
- drequiredstring
- SVG <path d="…"> string from WORLD_MAP_PATHS.
- fillrequiredstring
- Resolved CSS fill colour string.
- valuerequirednumber | undefined
- Raw numeric value (undefined for countries not in the dataset).
- namerequiredstring
- Display name (from datum or code fallback).
- hasDatarequiredboolean
- Whether this country has data in the current series.
Ecosystem
Used by
Components and composables that extend or consume this interface.
Usage
Examples
Ready-to-paste code snippets using this interface.
Accessing country descriptors from the map engine