API Reference
ChartJsGeoWorldOptions
Represents options for configuring a world choropleth map with Chart.js.
Inheritance
- Object
- ChartJsGeoWorldOptions
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Accepted by parameters
- Extension method ChartJs.AfricaChoropleth
- Extension method ChartJs.AsiaChoropleth
- Extension method ChartJs.EuropeChoropleth
- Extension method ChartJs.NorthAmericaChoropleth
- Extension method ChartJs.OceaniaChoropleth
- Extension method ChartJs.SouthAmericaChoropleth
- Method ChartJs.USChoropleth
- Method ChartJs.WorldChoropleth
- Method ChartJsGeoRegionsExtensions.AfricaChoropleth
- Method ChartJsGeoRegionsExtensions.AsiaChoropleth
- Method ChartJsGeoRegionsExtensions.EuropeChoropleth
- Method ChartJsGeoRegionsExtensions.NorthAmericaChoropleth
- Method ChartJsGeoRegionsExtensions.OceaniaChoropleth
- Method ChartJsGeoRegionsExtensions.SouthAmericaChoropleth
Constructors
public ChartJsGeoWorldOptions() #Inherited Methods
Properties
public String TopologyUrl { get; set; } #URL to a TopoJSON file with countries topology.
public String ObjectName { get; set; } #Object key inside the topology (e.g., 'countries').
public String Projection { get; set; } #Projection to use (e.g., 'equalEarth', 'mercator').
public Dictionary<String, Double> ValuesByCountry { get; } #Optional values by country name. When absent, random values are used.
public Boolean Legend { get; set; } #Hide legend by default.
public Boolean ColorLegend { get; set; } #Show a color legend based on the color scale.
public String ColorLegendPosition { get; set; } #Color legend position (e.g., 'bottom-right').
public String ColorScheme { get; set; } #Color scale scheme name (e.g., 'blues', 'greens', 'YlOrRd').
public Nullable<Double> ColorDomainMin { get; set; } #Optional explicit lower bound for the color scale; if null, computed from values.
public Nullable<Double> ColorDomainMax { get; set; } #Optional explicit upper bound for the color scale; if null, computed from values.
public Boolean ShowOutline { get; set; } #Show country outline and graticule lines.
public Boolean ShowGraticule { get; set; } #Gets or sets a value indicating whether map graticule lines are rendered.
public Int32 ProjectionPadding { get; set; } #Padding for projection fit in pixels.
public String Region { get; set; } #Optional region filter: 'europe', 'asia', 'africa', 'north_america', 'south_america', 'oceania', 'antarctica'.