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
Définition
La définition TypeScript de l'interface telle que trouvée dans le code source d'origam. Cliquez sur l'icône de copie pour copier l'extrait.
API
Propriétés
Chaque propriété déclarée par cette interface, avec son type, son caractère optionnel et sa valeur par défaut.
- coderequisstring
- ISO-3166-1 alpha-2 country code.
- drequisstring
- SVG <path d="…"> string from WORLD_MAP_PATHS.
- fillrequisstring
- Resolved CSS fill colour string.
- valuerequisnumber | undefined
- Raw numeric value (undefined for countries not in the dataset).
- namerequisstring
- Display name (from datum or code fallback).
- hasDatarequisboolean
- Whether this country has data in the current series.
Écosystème
Utilisé par
Composants et composables qui étendent ou consomment cette interface.
Usage
Exemples
Extraits de code prêts à coller utilisant cette interface.
Accessing country descriptors from the map engine