GeoBlazor Pro

layout: pro title: PieChartOthersCategory parent: Pro Classes grand_parent: GeoBlazor Pro —



PieChartOthersCategory Class

Defines the rules for how to aggregate small categories to a generic “others” category.

public class PieChartOthersCategory : dymaptic.GeoBlazor.Core.Components.MapComponent

Inheritance System.Object 🡒 Microsoft.AspNetCore.Components.ComponentBase 🡒 dymaptic.GeoBlazor.Core.Components.MapComponent 🡒 PieChartOthersCategory


PieChartOthersCategory.Color Property

Defines the color used to represent all categories whose pie slices are smaller than the percentage defined by threshold. This is typically used to represent a generic “others” category where slices would otherwise be too small to read.

public dymaptic.GeoBlazor.Core.Objects.MapColor? Color { get; set; }

Property Value


PieChartOthersCategory.Label Property

Describes the color grouping categories smaller than the threshold in the Legend.

public string? Label { get; set; }

Property Value


PieChartOthersCategory.Threshold Property

Represents the minimum size of individual slices as a percentage of the entire pie. Accepted values are between 0 and 1. All slices that make up a smaller percentage than the threshold will automatically be aggregated to an “others” category represented by the color specified in color. For example, if the threshold is 0.05, then all slices that make up less than 5% of the total pie will be represented with the color.

public System.Nullable<double> Threshold { get; set; }

Property Value