GeoBlazor Pro


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

dymaptic.GeoBlazor.Pro

dymaptic.GeoBlazor.Pro.Components.Renderers

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

Properties

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

dymaptic.GeoBlazor.Core.Objects.MapColor

PieChartOthersCategory.Label Property

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

public string? Label { get; set; }

Property Value

System.String

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

System.Nullable<System.Double>