API Reference
ChartJsGeoWorldOptions
Represents options for configuring a world choropleth map with Chart.js.
Inheritance
- Object
- ChartJsGeoWorldOptions
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'.